NDC
Adding support for UCUM would be beneficial in terms of FHIR support(as many resources use it as a codeset) and a MAR(Medication Administration Record)
See FHIR resource for Medication Administration:
https://www.hl7.org/fhir/medicationadministration.html
Take a look at this example:
https://www.hl7.org/fhir/medicationadministration0303.html
It uses NDC(National Drug Code directory) to identify the drug, instead of RxNorm. NDC is managed by the FDA so it may be more US specific than RxNorm.
You can download a table, I believe updated daily, from this site here.
You can also download it here:
https://open.fda.gov/apis/drug/ndc/download/
I got the ndc xls version, the text file might have been better. Not sure how it’s delineated. Once you unzip the file you see a package and product xls file.
If you go to the search the directory page here:
It points out that there’s a new API.
https://open.fda.gov/apis/drug/ndc/
Here’s a list of currently supported searchable fields:
https://open.fda.gov/apis/drug/ndc/searchable-fields/
I think at least for now we should just need product_ndc
Let’s try building an API query and running it in our browser.
https://open.fda.gov/apis/drug/ndc/how-to-use-the-endpoint/
Let’s use the NDC code from the example FHIR .json file.
0206-8862-02 this should be piperacillin.
Putting together a super basic query we should get:
https://api.fda.gov/drug/ndc.json?search=product_ndc:“0206-8862-02”
Okay, that didn’t work because I had a typo in the above and replaced the / between drug and ndc with a .
After correcting the typo I got a new error:
I tried removing the hyphens and still got the same error.
Let’s try a different one:
25021-166-48
Maybe it’s supposed to be the package_ndc but that didn’t work either.
When I look it up using this site it works.
https://labels.fda.gov/packagecode.cfm
Also apparently there are a number of openFDA apps available.
https://open.fda.gov/community/