Skip to content

Commit

Permalink
Merge pull request #141 from OHDSI/update_cprd_refills
Browse files Browse the repository at this point in the history
Update CPRD to remove therapy.issueseq mapping to refills
  • Loading branch information
bradanton authored Dec 6, 2024
2 parents 33a26ba + 27620e7 commit a9b6dc1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions docs/CPRD/CPRD_Therapy_STEM.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,4 @@ The days_supply field in the drug_exposure table will hold the original ‘numda
| type_concept_id | | Use **32838** - EHR prescription| |
| end_date | numdays | Follow the imputation logic as described above. | |
| sig | dosageid | Use dosageid as a lookup in the commondosages table and store the field 'text' from the commondosages table here. | |
|refills|||
Binary file modified docs/CPRD/images/image16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
select
ch.person_id as patid,
a.staffid,
a.issueseq,
a.eventdate,
product.gemscriptcode,
round(case when a.qty < 0 then null else a.qty end, 0) qty,
Expand Down Expand Up @@ -98,7 +97,6 @@
<EndDate>eventdate</EndDate>
<DaysSupply>days_supply</DaysSupply>
<VisitDetailId>visit_occurrence_id</VisitDetailId>
<Refill>issueseq</Refill>
<Sig>dosage_text</Sig>
<Quantity>qty</Quantity>
<ProviderId>staffid</ProviderId>
Expand Down

0 comments on commit a9b6dc1

Please sign in to comment.