End datetime leaf node


URI

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

Label

End datetime

Description

For Visit Detail: If a Person is still an inpatient in the hospital at the time of the data extract and does not have a visit_end_datetime, then set the visit_end_datetime to the datetime of the data pull. If no time is given for the end date of a visit, set it to midnight (00:00:0000). - For Visit Occurrence: If a Person is still an inpatient in the hospital at the time of the data extract and does not have a visit_end_datetime, then set the visit_end_datetime to the datetime of the data pull. If no time is given for the end date of a visit, set it to midnight (00:00:0000). - For Condition Occurrence: If a source does not specify datetime the convention is to set the time to midnight (00:00:0000) - For Procedure Occurrence: Use this field to house the datetime that the procedure ended. This is meant to house the end datetime of the procedure and will most often be used in conjunction with the procedure_start_datetime to determine the length of the procedure. - For Drug Exposure: This is not required, though it is in v6. If a source does not specify datetime the convention is to set the time to midnight (00:00:0000) - For Device Exposure: If a source does not specify datetime the convention is to set the time to midnight (00:00:0000)

Usage

DOMAINPROPERTYRANGE
Datetime duration End datetime dateTime

Implementation

@prefix omop: <https://w3id.org/omop/ontology/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

omop:end_datetime a owl:DatatypeProperty,
        owl:FunctionalProperty ;
    rdfs:label "End datetime"^^xsd:string ;
    rdfs:comment "For Condition Occurrence: If a source does not specify datetime the convention is to set the time to midnight (00:00:0000)"@en,
        "For Device Exposure: If a source does not specify datetime the convention is to set the time to midnight (00:00:0000)"@en,
        "For Drug Exposure: This is not required, though it is in v6. If a source does not specify datetime the convention is to set the time to midnight (00:00:0000)"@en,
        "For Procedure Occurrence: Use this field to house the datetime that the procedure ended. This is meant to house the end datetime of the procedure and will most often be used in conjunction with the procedure_start_datetime to determine the length of the procedure."@en,
        "For Visit Detail: If a Person is still an inpatient in the hospital at the time of the data extract and does not have a visit_end_datetime, then set the visit_end_datetime to the datetime of the data pull. If no time is given for the end date of a visit, set it to midnight (00:00:0000)."@en,
        "For Visit Occurrence: If a Person is still an inpatient in the hospital at the time of the data extract and does not have a visit_end_datetime, then set the visit_end_datetime to the datetime of the data pull. If no time is given for the end date of a visit, set it to midnight (00:00:0000)."@en ;
    rdfs:domain omop:DatetimeDuration ;
    rdfs:range xsd:dateTime ;
    omop:omop_cdm_name "condition_occurrence.condition_end_datetime#66 AS datetime"^^xsd:string,
        "device_exposure.device_exposure_end_datetime#121 AS datetime"^^xsd:string,
        "drug_exposure.drug_exposure_end_datetime#82 AS datetime"^^xsd:string,
        "procedure_occurrence.procedure_end_datetime#105 AS datetime"^^xsd:string,
        "visit_detail.visit_detail_end_datetime#47 AS datetime"^^xsd:string,
        "visit_occurrence.visit_end_datetime#30 AS datetime"^^xsd:string .