Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NDC9 issues related to DailyMed label images #321

Open
jrlegrand opened this issue Oct 5, 2024 · 0 comments
Open

NDC9 issues related to DailyMed label images #321

jrlegrand opened this issue Oct 5, 2024 · 0 comments

Comments

@jrlegrand
Copy link
Member

jrlegrand commented Oct 5, 2024

Problem Statement

Representative labeling at the NDC9 level which "counts" for all pack sizes

Maybe account for NDC9 as a last ditch effort?

https://dailymed.nlm.nih.gov/dailymed/drugInfo.cfm?setid=621062c2-9d8d-4441-8f37-695512cafb35

image

8 digit NDC9 in the image alt text

I think we need to grab the first two segments from the known SPL NDC (i.e. 72789-422) and then remove the hyphen (i.e. 72789422) in order to search for those matches in the text. Makes me wonder if we should just search for known NDCs of all different formats within the body text of the XML instead of using known NDCs to filter out found NDCs.

Example 1

image

https://dailymed.nlm.nih.gov/dailymed/drugInfo.cfm?setid=7db10b76-4520-496e-b450-66a662cc95f6

Example 2

72789422 label

Can confirm this is the first two segments of the NDC. Essentially the NDC9, but missing the zero padding.

image
925918d5-9f89-4f2f-9bb9-d9c53d90bb0a

Criteria for Success

Come up with a solution to safely account for NDC9 label images.

Additional Information

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

No branches or pull requests

1 participant