https://github.com/crhntr/go-ndcd
A bit of code to help with downloading and parsing the National Drug Code Directory from the FDA
https://github.com/crhntr/go-ndcd
biotechnology fda medical medical-information pharmacy prescription
Last synced: 10 months ago
JSON representation
A bit of code to help with downloading and parsing the National Drug Code Directory from the FDA
- Host: GitHub
- URL: https://github.com/crhntr/go-ndcd
- Owner: crhntr
- Archived: true
- Created: 2016-08-26T03:10:08.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2025-01-01T05:03:39.000Z (over 1 year ago)
- Last Synced: 2025-09-01T09:18:15.394Z (11 months ago)
- Topics: biotechnology, fda, medical, medical-information, pharmacy, prescription
- Language: Go
- Homepage:
- Size: 9.67 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# National Drug Code Directory
> On July 22, 2022, FDA announced the availability of [Proposed Rule on Revising the National Drug Code Format](https://www.fda.gov/drugs/drug-approvals-and-databases/proposed-rule-revising-national-drug-code-format).
This package can be used to download and parse the NDCD database.
I am not affiliated with the FDA in any way. I initially wrote this to practice
writing text parsers; however, I have used it in conjunction with the openfda api
for data mining.
Feel free to submit pull requests.
## About NDCD
[fda.gov/Drugs/InformationOnDrugs](http://www.fda.gov/Drugs/InformationOnDrugs/ucm142438.htm)
## TODO
Write methods
1. Refactor panics to instead return an error value
2. Support parsing package.txt into a ProductPackage data structure linked to the proper product