Skip to content

Commit b44c265

Browse files
authored
Merge pull request #75 from mcwdsi/RxNorm-Jul2025-3
RxNorm Update 07072025 and script bug fix
2 parents d3ce1d6 + b23c55f commit b44c265

11 files changed

+3455
-2
lines changed

src/scripts/update-dron-from-rxnorm.sql

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,23 @@ CREATE TABLE new_ingredient (
5656
-- the RXCUI1 is the ingredient
5757
-- and the RXCUI2 is the clinical drug form.
5858
INSERT OR IGNORE INTO new_ingredient
59+
SELECT DISTINCT
60+
c.RXCUI AS rxcui,
61+
c.STR AS label
62+
FROM new_clinical_drug_form AS cdf
63+
LEFT JOIN rxnorm.RXNREL AS r ON r.RXCUI2 = cdf.rxcui
64+
LEFT JOIN rxnorm.RXNCONSO AS c ON c.RXCUI = r.RXCUI1
65+
WHERE r.RELA = 'has_ingredient'
66+
AND c.SAB = 'RXNORM'
67+
AND c.RXCUI NOT IN (SELECT rxcui FROM dron.ingredient);
68+
69+
-- Find new ingredients for existing clinical drug forms.
70+
-- Shouldn't happen going forward but needed to fix first time.
71+
-- We join the RXNREL table
72+
-- where the relation is 'has_ingredient'
73+
-- the RXCUI1 is the ingredient
74+
-- and the RXCUI2 is the clinical drug form.
75+
INSERT OR IGNORE INTO new_ingredient
5976
SELECT DISTINCT
6077
c.RXCUI AS rxcui,
6178
c.STR AS label

src/templates/branded_drug.tsv

Lines changed: 45 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28580,7 +28580,7 @@ DRON:01068148 phenobarbital 15 MG Oral Tablet [Fidoquel] DRON:00045742 2709599
2858028580
DRON:01068149 chlorthalidone 12.5 MG Oral Tablet [Hemiclor] DRON:00051271 2709679
2858128581
DRON:01068150 chenodeoxycholate 250 MG Oral Tablet [Ctexli] DRON:00054789 2710422
2858228582
DRON:01068151 cobicistat 150 MG / darunavir 675 MG Oral Tablet [Prezcobix] DRON:01068114 2710426
28583-
DRON:01068152 berdazimer 0.103 MG/MG Topical Gel [Zelsumvi] DRON:01068126 2710443
28583+
DRON:01068152 berdazimer 0.103 MG/MG Topical Gel [Zelsuvmi] DRON:01068126 2710443
2858428584
DRON:01068153 atrasentan 0.75 MG Oral Tablet [Vanrafia] DRON:01068127 2710460
2858528585
DRON:01068154 24 HR diazoxide choline 150 MG Extended Release Oral Tablet [Vykat] DRON:01068129 2711556
2858628586
DRON:01068155 diazoxide choline 150 MG Extended Release Oral Tablet [Vykat] DRON:01068130 2711557
@@ -28629,3 +28629,47 @@ DRON:01070222 ustekinumab-ttwe 90 MG/ML Injection [Pyzchiva] DRON:01070190 27138
2862928629
DRON:01070223 buspirone hydrochloride 7.5 MG Oral Capsule [Bucapsol] DRON:01065745 2714180
2863028630
DRON:01070224 buspirone hydrochloride 10 MG Oral Capsule [Bucapsol] DRON:01065743 2714182
2863128631
DRON:01070225 buspirone hydrochloride 15 MG Oral Capsule [Bucapsol] DRON:01065744 2714184
28632+
DRON:01071770 defactinib 200 MG Oral Tablet [Fakzynja] DRON:01071758 2714513
28633+
DRON:01071771 avutometinib 0.8 MG Oral Capsule [Avmapki] DRON:01071759 2714526
28634+
DRON:01071772 treprostinil 0.0265 MG Inhalation Powder [Yutrepia] DRON:01071754 2714664
28635+
DRON:01071773 treprostinil 0.053 MG Inhalation Powder [Yutrepia] DRON:01071755 2714668
28636+
DRON:01071774 treprostinil 0.0795 MG Inhalation Powder [Yutrepia] DRON:01071756 2714672
28637+
DRON:01071775 treprostinil 0.106 MG Inhalation Powder [Yutrepia] DRON:01071757 2714676
28638+
DRON:01071776 sodium chloride 9 MG/ML Nasal Spray [Rhinomel] DRON:00047417 2714714
28639+
DRON:01071777 1.7 ML denosumab-bbdz 70 MG/ML Injection [Wyost] DRON:01071745 2715393
28640+
DRON:01071778 denosumab-bbdz 70 MG/ML Injection [Wyost] DRON:01071746 2715394
28641+
DRON:01071779 0.05 ML aflibercept-yszy 40 MG/ML Injection [Opuviz] DRON:01071747 2715410
28642+
DRON:01071780 aflibercept-yszy 40 MG/ML Injection [Opuviz] DRON:01071748 2715411
28643+
DRON:01071781 1 ML denosumab-bbdz 60 MG/ML Prefilled Syringe [Jubbonti] DRON:01071739 2715520
28644+
DRON:01071782 denosumab-bbdz 60 MG/ML Prefilled Syringe [Jubbonti] DRON:01071740 2715521
28645+
DRON:01071783 amdinocillin pivoxil 185 MG Oral Tablet [Pivya] DRON:01071725 2715871
28646+
DRON:01071784 lidocaine hydrochloride 40 MG/ML Topical Cream [Lidoguard] DRON:00062809 2716403
28647+
DRON:01071785 28 ACTUAT teriparatide 0.02 MG/ACTUAT Pen Injector [Bonsity] DRON:00775299 2716408
28648+
DRON:01071786 teriparatide 0.02 MG/ACTUAT Pen Injector [Bonsity] DRON:00775302 2716409
28649+
DRON:01071787 sitagliptin 25 MG/ML Oral Solution [Brynovin] DRON:01071762 2716491
28650+
DRON:01071788 hydrocortisone 1 MG/ML Oral Solution [Khindivi] DRON:01071763 2716556
28651+
DRON:01071789 deuruxolitinib 8 MG Oral Tablet [Leqselvi] DRON:01071764 2716569
28652+
DRON:01071790 amprolium 96 MG/ML Oral Solution [Ampromax] DRON:00064432 2716695
28653+
DRON:01071791 deflazacort 18 MG Oral Tablet [Jaythari] DRON:00789951 2716704
28654+
DRON:01071792 deflazacort 30 MG Oral Tablet [Jaythari] DRON:00035288 2716706
28655+
DRON:01071793 deflazacort 36 MG Oral Tablet [Jaythari] DRON:00789954 2716708
28656+
DRON:01071794 deflazacort 6 MG Oral Tablet [Jaythari] DRON:00035251 2716710
28657+
DRON:01071795 simethicone 500 MG Oral Capsule [Gas-X] DRON:00935173 2716712
28658+
DRON:01071796 praziquantel 50 MG/ML Oral Suspension [Giarcidia] DRON:01068136 2716723
28659+
DRON:01071797 fenbendazole 42.9 MG/ML / pyrantel 28.5 MG/ML Oral Suspension [GiarcidiaZap-Wormer] DRON:01071766 2716736
28660+
DRON:01071798 bacitracin zinc 0.5 UNT/MG / lidocaine 0.04 MG/MG / polymyxin B sulfate 10 UNT/MG Topical Ointment [Bactine Antibiotic] DRON:01071765 2716742
28661+
DRON:01071799 baloxavir marboxil 30 MG Granules for Oral Suspension [Xofluza] DRON:01071753 2716800
28662+
DRON:01071800 acoltremon 0.03 MG/ML Ophthalmic Solution [Tryptyr] DRON:01071767 2716826
28663+
DRON:01071801 taletrectinib 200 MG Oral Capsule [Ibtrozi] DRON:01071768 2716931
28664+
DRON:01071802 26 ML ustekinumab-srlf 5 MG/ML Injection [Imuldosa] DRON:01071743 2717074
28665+
DRON:01071803 ustekinumab-srlf 5 MG/ML Injection [Imuldosa] DRON:01071744 2717075
28666+
DRON:01071804 0.5 ML ustekinumab-srlf 90 MG/ML Prefilled Syringe [Imuldosa] DRON:01071736 2717083
28667+
DRON:01071805 ustekinumab-srlf 90 MG/ML Prefilled Syringe [Imuldosa] DRON:01071737 2717084
28668+
DRON:01071806 1 ML ustekinumab-srlf 90 MG/ML Prefilled Syringe [Imuldosa] DRON:01071738 2717086
28669+
DRON:01071807 lenacapavir 300 MG Oral Tablet [Yeztugo] DRON:01003357 2717197
28670+
DRON:01071808 1.5 ML lenacapavir 309 MG/ML Injection [Yeztugo] DRON:01003358 2717201
28671+
DRON:01071809 lenacapavir 309 MG/ML Injection [Yeztugo] DRON:01003359 2717202
28672+
DRON:01071810 nicotine 4 MG Chewing Gum [Habitrol] DRON:00045557 2717264
28673+
DRON:01071811 lidocaine 0.04 MG/MG Medicated Patch [Lidoguard Pain Relief] DRON:00777436 2717286
28674+
DRON:01071812 1 ML meloxicam 30 MG/ML Injection [Xifyrm] DRON:00875111 2717320
28675+
DRON:01071813 meloxicam 30 MG/ML Injection [Xifyrm] DRON:00875112 2717321

0 commit comments

Comments
 (0)