Start datetime leaf node


URI

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

Label

Start datetime

Description

For Condition Occurrence: If a source does not specify datetime the convention is to set the time to midnight (00:00:0000) - 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: 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 Visit Occurrence: If no time is given for the start date of a visit, set it to midnight (00:00:0000). - For Visit Detail: If no time is given for the start date of a visit, set it to midnight (00:00:0000).

Usage

DOMAINPROPERTYRANGE
Datetime duration Start 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:start_datetime a owl:DatatypeProperty,
        owl:FunctionalProperty ;
    rdfs:label "Start 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: 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 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 Visit Detail: If no time is given for the start date of a visit, set it to midnight (00:00:0000)."@en,
        "For Visit Occurrence: If no time is given for the start 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_start_datetime#64 AS datetime"^^xsd:string,
        "device_exposure.device_exposure_start_datetime#119 AS datetime"^^xsd:string,
        "drug_exposure.drug_exposure_start_datetime#80 AS datetime"^^xsd:string,
        "visit_detail.visit_detail_start_datetime#45 AS datetime"^^xsd:string,
        "visit_occurrence.visit_start_datetime#28 AS datetime"^^xsd:string .