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

Remove drug end date convention #694

Merged
merged 2 commits into from
Feb 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 2 additions & 17 deletions docs/cdm53.html
Original file line number Diff line number Diff line change
Expand Up @@ -985,7 +985,7 @@
Due to the small number of options, this tends to be zero.
</td>
<td style="text-align:left;">
If the source data codes asigned sex at birth in a non-standard

Check failure on line 988 in docs/cdm53.html

View workflow job for this annotation

GitHub Actions / Check for spelling errors

asigned ==> assigned
vocabulary, store the concept_id here.
</td>
<td style="text-align:left;">
Expand Down Expand Up @@ -3552,23 +3552,8 @@
</td>
<td style="text-align:left;">
If this information is not explicitly available in the data, infer the
end date using the following methods:<br><br> 1. Start first with
duration or days supply using the calculation drug start date + days
supply -1 day. 2. Use quantity divided by daily dose that you may obtain
from the sig or a source field (or assumed daily dose of 1) for solid,
indivisibile, drug products. If quantity represents ingredient amount,
quantity divided by daily dose * concentration (from drug_strength) drug
concept id tells you the dose form. 3. If it is an administration
record, set drug end date equal to drug start date. If the record is a
written prescription then set end date to start date + 29. If the record
is a mail-order prescription set end date to start date + 89. The end
date must be equal to or greater than the start date. Ibuprofen 20mg/mL
oral solution concept tells us this is oral solution. Calculate duration
as quantity (200 example) * daily dose (5mL) /concentration (20mg/mL)
200*5/20 = 50 days. <a
href="https://ohdsi.github.io/CommonDataModel/drug_dose.html">Examples
by dose form</a><br><br>For detailed conventions for how to populate
this field, please see the <a
end date from start date and duration.<br>For detailed conventions for
how to populate this field, please see the <a
href="https://ohdsi.github.io/Themis/tag_drug_exposure.html">THEMIS
repository</a>.
</td>
Expand Down
19 changes: 2 additions & 17 deletions docs/cdm54.html
Original file line number Diff line number Diff line change
Expand Up @@ -1093,7 +1093,7 @@
Due to the small number of options, this tends to be zero.
</td>
<td style="text-align:left;">
If the source data codes asigned sex at birth in a non-standard

Check failure on line 1096 in docs/cdm54.html

View workflow job for this annotation

GitHub Actions / Check for spelling errors

asigned ==> assigned
vocabulary, store the concept_id here.
</td>
<td style="text-align:left;">
Expand Down Expand Up @@ -3676,23 +3676,8 @@
</td>
<td style="text-align:left;">
If this information is not explicitly available in the data, infer the
end date using the following methods:<br><br> 1. Start first with
duration or days supply using the calculation drug start date + days
supply -1 day. 2. Use quantity divided by daily dose that you may obtain
from the sig or a source field (or assumed daily dose of 1) for solid,
indivisibile, drug products. If quantity represents ingredient amount,
quantity divided by daily dose * concentration (from drug_strength) drug
concept id tells you the dose form. 3. If it is an administration
record, set drug end date equal to drug start date. If the record is a
written prescription then set end date to start date + 29. If the record
is a mail-order prescription set end date to start date + 89. The end
date must be equal to or greater than the start date. Ibuprofen 20mg/mL
oral solution concept tells us this is oral solution. Calculate duration
as quantity (200 example) * daily dose (5mL) /concentration (20mg/mL)
200*5/20 = 50 days. <a
href="https://ohdsi.github.io/CommonDataModel/drug_dose.html">Examples
by dose form</a><br><br>For detailed conventions for how to populate
this field, please see the <a
end date from start date and duration.<br>For detailed conventions for
how to populate this field, please see the <a
href="https://ohdsi.github.io/Themis/tag_drug_exposure.html">THEMIS
repository</a>.
</td>
Expand Down
Loading
Loading