Has location leaf node


URI

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

Label

Has location

Description

For Location History: This is the LOCATION_ID for the LOCATION_HISTORY record. - For Person: The location refers to the physical address of the person. This field should capture the last known location of the person. Any prior locations are captured in the [LOCATION_HISTORY](https://ohdsi.github.io/CommonDataModel/cdm60.html#location_history) table.
Put the location_id from the LOCATION table here that represents the most granular location information for the person. This could represent anything from postal code or parts thereof, state, or county for example. Since many databases contain deidentified data, it is common that the precision of the location is reduced to prevent re-identification. This field should capture the last known location. Any prior locations are captured in the [LOCATION_HISTORY](https://ohdsi.github.io/CommonDataModel/cdm60.html#location_history) table. - 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 Location History: This is the LOCATION_ID for the LOCATION_HISTORY record."@en,
        """For Person: The location refers to the physical address of the person. This field should capture the last known location of the person.  Any prior locations are captured in the [LOCATION_HISTORY](https://ohdsi.github.io/CommonDataModel/cdm60.html#location_history) table.
Put the location_id from the LOCATION table here that represents the most granular location information for the person. This could represent anything from postal code or parts thereof, state, or county for example. Since many databases contain deidentified data, it is common that the precision of the location is reduced to prevent re-identification. This field should capture the last known location. Any prior locations are captured in the [LOCATION_HISTORY](https://ohdsi.github.io/CommonDataModel/cdm60.html#location_history) table."""@en ;
    rdfs:domain [ a owl:Class ;
            owl:unionOf ( omop:LocationHistory omop:CareSite omop:Person ) ] ;
    rdfs:range omop:Location ;
    omop:omop_cdm_name "care_site.location_id#270 AS Location"^^xsd:string,
        "location_history.location_id#261 AS Location"^^xsd:string,
        "person.location_id#10 AS Location"^^xsd:string .