Skip to content

fixed duplicate NDCs, updated script to hopefully prevent them in the…#104

Merged
hoganwr merged 4 commits intomainfrom
resolve-duplicate-ndcs
Jan 10, 2026
Merged

fixed duplicate NDCs, updated script to hopefully prevent them in the…#104
hoganwr merged 4 commits intomainfrom
resolve-duplicate-ndcs

Conversation

@hoganwr
Copy link
Collaborator

@hoganwr hoganwr commented Dec 31, 2025

… future. Still need to add command to delete NDCs from ndc_clinical_drug that get inserted into ndc_branded_drug. Addresses #103

… future. Still need to add command to delete NDCs from ndc_clinical_drug that get inserted into ndc_branded_drug. Addresses #103
Added comments to clarify the purpose of SQL operations related to NDC and branded drugs.
Copy link
Collaborator Author

@hoganwr hoganwr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did build on second machine. Got same results. Resolves numerous duplicate NDCs. Only thing left is to test the new script on next RxNorm build (tentatively Jan 6 2026).

…un that update as a separate PR, so only checking in the correct script for doing the update in this PR.
@hoganwr
Copy link
Collaborator Author

hoganwr commented Jan 7, 2026

Status update: need to check the updated script update-dron-from-rxnorm.sql on a separate machine, and once verified that it works, can merge this PR (and then do Jan 2026 RxNorm update as next but separate PR)

@hoganwr
Copy link
Collaborator Author

hoganwr commented Jan 10, 2026

Ok this checks out on both machines, merging.

@hoganwr hoganwr merged commit d9d10c8 into main Jan 10, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant