Has relationship type leaf node


URI

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

Label

Has relationship type

Description

For Location History: This is the relationship between the location and the entity (PERSON, PROVIDER, or CARE_SITE)
Concepts in this field must be in the Location class. [Accepted Concepts](https://athena.ohdsi.org/search-terms/terms?standardConcept=Standard&conceptClass=Location&page=1&pageSize=15&query=&boosts). If the DOMAIN_ID is CARE_SITE this should be 0 and when the domain is PROVIDER the value is [Office](https://athena.ohdsi.org/search-terms/terms/4121722).

Usage

DOMAINPROPERTYRANGE
Location history Has relationship type Concept

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 rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

omop:has_relationship_type a owl:FunctionalProperty,
        owl:ObjectProperty ;
    rdfs:label "Has relationship type"^^xsd:string ;
    owlready:python_name "relationship_type"^^xsd:string ;
    rdfs:comment """For Location History: This is the relationship between the location and the entity (PERSON, PROVIDER, or CARE_SITE)
Concepts in this field must be in the Location class. [Accepted Concepts](https://athena.ohdsi.org/search-terms/terms?standardConcept=Standard&conceptClass=Location&page=1&pageSize=15&query=&boosts). If the DOMAIN_ID is CARE_SITE this should be 0 and when the domain is PROVIDER the value is [Office](https://athena.ohdsi.org/search-terms/terms/4121722)."""@en ;
    rdfs:domain omop:LocationHistory ;
    rdfs:range omop:Concept ;
    omop:omop_cdm_name "location_history.relationship_type_concept_id#262 AS Concept"^^xsd:string .