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
28 stars 9 forks source link

Should drug_exposure.quantity be recalculated if a patient discontinues a drug #135

Closed burrowse closed 6 months ago

burrowse commented 7 months ago

Should drug_exposure.quantity be recalculated if a patient discontinues a drug

CDM or THEMIS convention?

Themis

Table or Field level?

Field

Is this a general convention?

No

Summary of issues

Summary of answer

Related links

MelaniePhilofsky commented 7 months ago

Issue # and location

Issue summary

Patients can choose to discontinue drugs, which may make the quantity of a drug look inconsistent with the duration of a drug for a given patient when looking at start and end dates The question then becomes, should drug_exposure.quantity be recalculated if a patient discontinues a drug?

Convention type

Table

CDM table

Drug_Exposure

CDM field

quantity

Links to issue discussion

Format as follows:

Provenance of data

All

The ratified convention

The quantity should represent the actual quantity of the drug dispensed and should not be recalculated/inferred based on dates if a patient discontinues a drug.

Date of ratification/published

Downstream implications

No

Link to DQD check

No

Related conventions/further information

#Tags drug_exposure, medication, quantity, calculation, infer

clairblacketer commented 6 months ago

@MelaniePhilofsky I am going to open this back up until it is built into the repo

clairblacketer commented 6 months ago

https://github.com/OHDSI/Themis/pull/151