Has preceding visit occurrence leaf node


URI

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

Label

Has preceding visit occurrence

Description

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

Usage

DOMAINPROPERTYRANGE
Visit occurrence Has preceding visit occurrence Visit occurrence

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_occurrence a owl:FunctionalProperty,
        owl:ObjectProperty ;
    rdfs:label "Has preceding visit occurrence"^^xsd:string ;
    owlready:python_name "preceding_visit_occurrence"^^xsd:string ;
    rdfs:comment """For Visit Occurrence: Use this field to find the visit that occurred for the person prior to the given visit. There could be a few days or a few years in between.
The preceding_visit_id can be used to link a visit immediately preceding the current visit. Note this is not symmetrical, and there is no such thing as a "following_visit_id"."""@en ;
    rdfs:domain omop:VisitOccurrence ;
    rdfs:range omop:VisitOccurrence ;
    omop:omop_cdm_name "visit_occurrence.preceding_visit_occurrence_id#41 AS VisitOccurrence"^^xsd:string .