Has preceding visit detail leaf node


URI

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

Label

Has preceding visit detail

Description

For Visit Detail: Use this field to find the visit detail that occurred for the person prior to the given visit detail record. There could be a few days or a few years in between.
The PRECEDING_VISIT_DETAIL_ID can be used to link a visit immediately preceding the current Visit Detail. Note this is not symmetrical, and there is no such thing as a "following_visit_id".

Usage

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

omop:has_preceding_visit_detail a owl:FunctionalProperty,
        owl:ObjectProperty ;
    rdfs:label "Has preceding visit detail"^^xsd:string ;
    owlready:python_name "preceding_visit_detail"^^xsd:string ;
    rdfs:comment """For Visit Detail: Use this field to find the visit detail that occurred for the person prior to the given visit detail record. There could be a few days or a few years in between.
The PRECEDING_VISIT_DETAIL_ID can be used to link a visit immediately preceding the current Visit Detail. Note this is not symmetrical, and there is no such thing as a "following_visit_id"."""@en ;
    rdfs:domain omop:VisitDetail ;
    rdfs:range omop:VisitDetail ;
    omop:omop_cdm_name "visit_detail.preceding_visit_detail_id#58 AS VisitDetail"^^xsd:string .