INCEPTdk / omop_etl

3 stars 2 forks source link

Fix one second difference between source and cdm for continuos drugs #109

Closed daplaci closed 4 months ago

daplaci commented 4 months ago

comparing the data in the source and the cdm, there is one second difference in the timestamp. this seems to be the case only for continuous drugs while bolus seems to have exact match

epiben commented 4 months ago

This is intended: continuous administrations have a start_datetime that is set 59 second before the timestamp in the source data, and the timestamp is used as the end_datetime. Closing the issue is it's not a bug.