Year of birth leaf node


URI

https://w3id.org/omop/ontology/year_of_birth

Label

Year of birth

Description

For Person: Compute age using year_of_birth.
For data sources with date of birth, the year should be extracted. For data sources where the year of birth is not available, the approximate year of birth could be derived based on age group categorization, if available.

Usage

DOMAINPROPERTYRANGE
Blank node (see implementation) Year of birth integer

Implementation

@prefix omop: <https://w3id.org/omop/ontology/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

omop:year_of_birth a owl:DatatypeProperty,
        owl:FunctionalProperty ;
    rdfs:label "Year of birth"^^xsd:string ;
    rdfs:comment """For Person: Compute age using year_of_birth.
For data sources with date of birth, the year should be extracted. For data sources where the year of birth is not available, the approximate year of birth could be derived based on age group categorization, if available."""@en ;
    rdfs:domain [ a owl:Class ;
            owl:unionOf ( omop:Provider omop:Person ) ] ;
    rdfs:range xsd:integer ;
    omop:omop_cdm_name "person.year_of_birth#3 AS int"^^xsd:string,
        "provider.year_of_birth#279 AS int"^^xsd:string .