Has care site leaf node


URI

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

Label

Has care site

Description

For Visit Detail: This field provides information about the Care Site where the Visit Detail took place.
There should only be one Care Site associated with a Visit Detail. - For Person: The Care Site refers to where the Provider typically provides the primary care. - For Provider: This is the CARE_SITE_ID for the location that the provider primarily practices in.
If a Provider has more than one Care Site, the main or most often exerted CARE_SITE_ID should be recorded. - For Visit Occurrence: This field provides information about the care site where the visit took place.
There should only be one care site associated with a visit.

Usage

DOMAINPROPERTYRANGE
Blank node (see implementation) Has care site Care site

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_care_site a owl:FunctionalProperty,
        owl:ObjectProperty ;
    rdfs:label "Has care site"^^xsd:string ;
    owlready:python_name "care_site"^^xsd:string ;
    rdfs:comment "For Person: The Care Site refers to where the Provider typically provides the primary care."@en,
        """For Provider: This is the CARE_SITE_ID for the location that the provider primarily practices in.
If a Provider has more than one Care Site, the main or most often exerted CARE_SITE_ID should be recorded."""@en,
        """For Visit Detail: This field provides information about the Care Site where the Visit Detail took place.
There should only be one Care Site associated with a Visit Detail."""@en,
        """For Visit Occurrence: This field provides information about the care site where the visit took place.
There should only be one care site associated with a visit."""@en ;
    rdfs:domain [ a owl:Class ;
            owl:unionOf ( omop:BaseVisit omop:BasePerson ) ] ;
    rdfs:range omop:CareSite ;
    omop:omop_cdm_name "person.care_site_id#12 AS CareSite"^^xsd:string,
        "provider.care_site_id#278 AS CareSite"^^xsd:string,
        "visit_detail.care_site_id#51 AS CareSite"^^xsd:string,
        "visit_occurrence.care_site_id#34 AS CareSite"^^xsd:string .