OHDSI / Themis

Repository for OMOP CDM conventions as defined by THEMIS. These can be reference lists of concepts, pieces of standardized code for data generation or quality certification, and debates.
Apache License 2.0
27 stars 8 forks source link

How to populate days_supply when it is missing in the source data #125

Closed burrowse closed 5 months ago

burrowse commented 5 months ago

How to populate days_supply when days supply is missing the source data

CDM or THEMIS convention?

Themis

Table or Field level?

Field

Is this a general convention?

No

Summary of issues

Summary of answer

Related links

clairblacketer commented 5 months ago

Issue # and location

Issue summary

How should days_supply be populated when it is missing from the source data?

Convention type

Table

CDM table

drug_exposure

CDM field

days_supply

Links to issue discussion

Provenance of data

General

The ratified convention

The field should be left empty if the source data does not contain a verbatim days_supply, and should not be calculated from other fields.

Date of ratification/published

Sept 24, 2021 (CDM v5.4 release date)

Downstream implications

No

Link to DQD check

No

Related conventions/further information

NA

#Tags drug_exposure, days_supply