https://w3id.org/omop/ontology/has_domain
For Location History: The domain of the entity that is related to the location. Either PERSON, PROVIDER, or CARE_SITE. - For Concept: A foreign key to the [DOMAIN](https://ohdsi.github.io/CommonDataModel/cdm531.html#domain) table the Concept belongs to.
DOMAIN | PROPERTY | RANGE |
---|---|---|
Blank node (see implementation) | Has domain | Domain |
@prefix omop: <https://w3id.org/omop/ontology/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix owlready: <http://www.lesfleursdunormal.fr/static/_downloads/owlready_ontology.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:has_domain a owl:FunctionalProperty,
owl:ObjectProperty ;
rdfs:label "Has domain"^^xsd:string ;
owlready:python_name "domain"^^xsd:string ;
rdfs:comment "For Concept: A foreign key to the [DOMAIN](https://ohdsi.github.io/CommonDataModel/cdm531.html#domain) table the Concept belongs to."@en,
"For Location History: The domain of the entity that is related to the location. Either PERSON, PROVIDER, or CARE_SITE."@en ;
rdfs:domain [ a owl:Class ;
owl:unionOf ( omop:LocationHistory omop:Concept ) ] ;
rdfs:range omop:Domain ;
omop:omop_cdm_name "concept.domain_id#364 AS Domain"^^xsd:string,
"location_history.domain_id#263 AS Domain"^^xsd:string .