Has location leaf node


URI

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

Label

Has location

Description

For Person: The location refers to the physical address of the person. This field should capture the last known location of the person. Put the location_id from the [LOCATION](https://ohdsi.github.io/CommonDataModel/cdm54.html#location) table here that represents the most granular location information for the person. For additional information on how to populate this field, please refer to the [THEMIS repository](https://ohdsi.github.io/Themis/populate_person_location_id.html). - For Care Site: The location_id from the LOCATION table representing the physical location of the care_site.

Usage

DOMAINPROPERTYRANGE
Blank node (see implementation) Has location Location

Implementation

@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_location a owl:FunctionalProperty,
        owl:ObjectProperty ;
    rdfs:label "Has location"^^xsd:string ;
    owlready:python_name "location"^^xsd:string ;
    rdfs:comment "For Care Site: The location_id from the LOCATION table representing the physical location of the care_site."@en,
        "For Person: The location refers to the physical address of the person. This field should capture the last known location of the person. Put the location_id from the [LOCATION](https://ohdsi.github.io/CommonDataModel/cdm54.html#location) table here that represents the most granular location information for the person. For additional information on how to populate this field, please refer to the [THEMIS repository](https://ohdsi.github.io/Themis/populate_person_location_id.html)."@en ;
    rdfs:domain [ a owl:Class ;
            owl:unionOf ( omop:Person omop:CareSite ) ] ;
    rdfs:range omop:Location ;
    omop:omop_cdm_name "care_site.location_id#250 AS Location"^^xsd:string,
        "person.location_id#9 AS Location"^^xsd:string .