https://w3id.org/omop/ontology/end_datetime
For Visit Detail: If no time is given for the end date of a visit, set it to midnight (00:00:0000). - For Dose Era: The date the Person was no longer exposed to the dosage of the specific drug ingredient. An era is ended if there are 31 days or more between dosage records. - 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 Drug Era: The Drug Era End Date is the end date of the last Drug Exposure. The End Date of each Drug Exposure is either taken from the field drug_exposure_end_date or, as it is typically not available, inferred using the following rules:
For pharmacy prescription data, the date when the drug was dispensed plus the number of days of supply are used to extrapolate the End Date for the Drug Exposure. Depending on the country-specific healthcare system, this supply information is either explicitly provided in the day_supply field or inferred from package size or similar information.
For Procedure Drugs, usually the drug is administered on a single date (i.e., the administration date).
A standard Persistence Window of 30 days (gap, slack) is permitted between two subsequent such extrapolated DRUG_EXPOSURE records to be considered to be merged into a single Drug Era. - For Device Exposure: If a source does not specify datetime the convention is to set the time to midnight (00:00:0000) - For Condition Era: The end date for the Condition Era
constructed from the individual
instances of Condition Occurrences.
It is the end date of the final
continuously recorded instance of the
Condition. - For Visit Occurrence: 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)
DOMAIN | PROPERTY | RANGE |
---|---|---|
Datetime duration | End datetime | dateTime |
@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 Era: The end date for the Condition Era
constructed from the individual
instances of Condition Occurrences.
It is the end date of the final
continuously recorded instance of the
Condition."""@en,
"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 Dose Era: The date the Person was no longer exposed to the dosage of the specific drug ingredient. An era is ended if there are 31 days or more between dosage records."@en,
"""For Drug Era: The Drug Era End Date is the end date of the last Drug Exposure. The End Date of each Drug Exposure is either taken from the field drug_exposure_end_date or, as it is typically not available, inferred using the following rules:
For pharmacy prescription data, the date when the drug was dispensed plus the number of days of supply are used to extrapolate the End Date for the Drug Exposure. Depending on the country-specific healthcare system, this supply information is either explicitly provided in the day_supply field or inferred from package size or similar information.
For Procedure Drugs, usually the drug is administered on a single date (i.e., the administration date).
A standard Persistence Window of 30 days (gap, slack) is permitted between two subsequent such extrapolated DRUG_EXPOSURE records to be considered to be merged into a single Drug Era."""@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 end date of a visit, set it to midnight (00:00:0000)."@en,
"For Visit Occurrence: 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_era.condition_era_end_datetime#343 AS datetime"^^xsd:string,
"condition_occurrence.condition_end_datetime#67 AS datetime"^^xsd:string,
"device_exposure.device_exposure_end_datetime#120 AS datetime"^^xsd:string,
"dose_era.dose_era_end_datetime#338 AS datetime"^^xsd:string,
"drug_era.drug_era_end_datetime#329 AS datetime"^^xsd:string,
"drug_exposure.drug_exposure_end_datetime#83 AS datetime"^^xsd:string,
"visit_detail.visit_detail_end_datetime#48 AS datetime"^^xsd:string,
"visit_occurrence.visit_end_datetime#31 AS datetime"^^xsd:string .