Skip to content

Commit

Permalink
Fix missing 0 for 'drug product'
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesaoverton committed Jul 25, 2024
1 parent 50a9599 commit a10d7e5
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 57 deletions.
2 changes: 1 addition & 1 deletion src/scripts/update-dron-from-rxnorm.sql
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ CREATE TABLE new_clinical_drug_form AS
SELECT
RXCUI AS rxcui,
STR AS label,
COALESCE(df.curie, 'DRON:0000005') AS parent -- default 'drug product'
COALESCE(df.curie, 'DRON:00000005') AS parent -- default 'drug product'
FROM rxnorm.RXNCONSO AS c
LEFT JOIN rxnorm.RXNREL AS r ON r.RXCUI2 = c.RXCUI
LEFT JOIN dron.dose_form AS df ON r.RXCUI1 = df.rxcui
Expand Down
Loading

0 comments on commit a10d7e5

Please sign in to comment.