Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to populate drug_exposure.quantity when the dose form of the drug is liquid #139

Open
burrowse opened this issue Apr 12, 2024 · 2 comments
Labels
Needs a sponsor Someone needs to sponsor this issue and advance it through the Themis process

Comments

@burrowse
Copy link

How to populate drug_exposure.quantity when the dose form of the drug is liquid

CDM or THEMIS convention?

Themis

Table or Field level?

Field

Is this a general convention?

No

Summary of issues

  • Quantity is represented several different ways depending on the dose form of a drug.
  • For liquids it may be unclear how to store quantity.

Summary of answer

  • To find the dose form of a drug the RELATIONSHIP table can be used where the relationship_id is ‘Has dose form’.
  • If the drug is a liquid, quantity stands for the total amount dispensed or ordered of ingredient in the units given by the drug_strength table (typically stored as some measure of volume e.g. milliliters etc)
  • If the unit from the source data does not align with the unit in the DRUG_STRENGTH table the quantity should be converted to the correct unit given in DRUG_STRENGTH.

Related links

@burrowse burrowse converted this from a draft issue Apr 12, 2024
@burrowse burrowse moved this from Hunters - In Progress to Hunters - Needs Docs in OMOP CDM & THEMIS Conventions Apr 12, 2024
@MNairn MNairn self-assigned this Apr 17, 2024
@MNairn MNairn moved this from Hunters - Needs Docs to Writers - Docs In Progress in OMOP CDM & THEMIS Conventions Apr 17, 2024
@MNairn
Copy link
Collaborator

MNairn commented Apr 17, 2024

PLEASE COPY THIS TEMPLATE INTO ASSIGNED ISSUE
Note: if no information available, put in 'NA'.

Issue # and location

Themis

Format as follows:
Themis issue #139

Issue summary

Quantity is represented in several different formats which all depends on the form of the drug. For drugs in the form of liquids it may be unclear how to store quantity.

Convention type

Field

CDM table

Drug Exposure

CDM field

Quantity

Links to issue discussion

Links to location of discussion on forums, CDM GitHub, Themis GitHub, etc.

Format as follows:
Themis issue #139
CDM Documentation
[Original Forum Post] ( https://forums.ohdsi.org/t/proposal-for-conventions-regarding-quantity-and-strength/1015/33 )
[Forum Post for Solution] (https://forums.ohdsi.org/t/how-to-store-medication-dose-and-or-quantity-in-drug-exposure-table/6460)
[Wiki Proposal] (https://www.ohdsi.org/web/wiki/doku.php?id=documentation:next_cdm:denominator_units ]

Provenance of data

This applies to all data. Different types of sources will have drug information.

The ratified convention

To find the dose form of a drug the RELATIONSHIP table can be used where the relationship_id is ‘Has dose form’.If the drug is a liquid, quantity stands for the total amount dispensed or ordered of ingredient in the units given by the drug_strength table (typically stored as some measure of volume e.g. milliliters etc). If the unit from the source data does not align with the unit in the DRUG_STRENGTH table the quantity should be converted to the correct unit given in DRUG_STRENGTH.

Date of ratification/published

April 17, 2024

Downstream implications

No

Link to DQD check

No

Format as follows:

Related conventions/further information

#Tags
#drugexposure #drugquantity #quantity

@MNairn MNairn moved this from Writers - Docs In Progress to Writers - Ready for Review in OMOP CDM & THEMIS Conventions Apr 17, 2024
@MelaniePhilofsky MelaniePhilofsky moved this from Writers - Ready for Review to Cancelled/Needs more work in OMOP CDM & THEMIS Conventions Apr 17, 2024
@MelaniePhilofsky
Copy link
Collaborator

Moving all "quantity" convention issues to Needs More Work column for further review of wording.

@MelaniePhilofsky MelaniePhilofsky added the Needs a sponsor Someone needs to sponsor this issue and advance it through the Themis process label May 10, 2024
@MelaniePhilofsky MelaniePhilofsky moved this to Needs a sponsor in Themis Kanban board May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs a sponsor Someone needs to sponsor this issue and advance it through the Themis process
Projects
Status: Needs a sponsor
Development

No branches or pull requests

3 participants