Skip to content

Commit

Permalink
Siva | OB-761 | Fixing drug names when multiple drugs created from sa…
Browse files Browse the repository at this point in the history
…me concept (#31)
  • Loading branch information
sivareddyp authored Jul 31, 2020
1 parent 7ce5c67 commit 96a037f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/readerSql/drugOrder.sql
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ FROM
LEFT JOIN concept_name quantityUnitcn ON quantityUnitcn.concept_id = drug_order.quantity_units AND
quantityUnitcn.concept_name_type = "FULLY_SPECIFIED" AND
quantityUnitcn.voided = 0
LEFT JOIN drug ON drug.concept_id = orders.concept_id
LEFT JOIN drug ON drug.concept_id = orders.concept_id AND drug.drug_id = drug_order.drug_inventory_id
LEFT JOIN concept_name dosecn
ON dosecn.concept_id = drug_order.dose_units AND dosecn.concept_name_type = "FULLY_SPECIFIED" AND
dosecn.voided = 0
Expand Down

0 comments on commit 96a037f

Please sign in to comment.