Has visit detail leaf node


URI

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

Label

Has visit detail

Description

reversed relation, For Visit Detail: Use this field to link the VISIT_DETAIL record to its VISIT_OCCURRENCE.
Put the VISIT_OCCURRENCE_ID that subsumes the VISIT_DETAIL record here.

Usage

DOMAINPROPERTYRANGE
Blank node (see implementation) Has visit detail Visit detail

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_visit_detail a owl:ObjectProperty ;
    rdfs:label "Has visit detail"^^xsd:string ;
    owlready:python_name "visit_details"^^xsd:string ;
    rdfs:comment """reversed relation, For Visit Detail: Use this field to link the VISIT_DETAIL record to its VISIT_OCCURRENCE.
Put the VISIT_OCCURRENCE_ID that subsumes the VISIT_DETAIL record here."""@en ;
    rdfs:domain [ a owl:Class ;
            owl:unionOf ( omop:Person omop:VisitOccurrence ) ] ;
    rdfs:range omop:VisitDetail ;
    omop:omop_cdm_name "visit_detail.person_id#43 AS Person"^^xsd:string,
        "visit_detail.visit_occurrence_id#60 AS VisitOccurrence"^^xsd:string .