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

Bring back "infer" functionality #5

Open
jrlegrand opened this issue Sep 29, 2024 · 0 comments
Open

Bring back "infer" functionality #5

jrlegrand opened this issue Sep 29, 2024 · 0 comments

Comments

@jrlegrand
Copy link
Member

jrlegrand commented Sep 29, 2024

Infer functionality was really built as part of the API and lost as a core part of the script. It would let you include an NDC or RXCUI with the free-text sig and it would fill in the blank using RxNorm where possible (i.e. if the NDC was an oral tablet, and the sig didn't specify a dose unit, it would infer a dose unit of "tablet").

This will require updating the optional arguments (as well as the CSV input file) to accommodate NDCs and/or RXCUIs in addition to sig text.

This is the infer method:

def infer(self, match_dict, ndc=None, rxcui=None):

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