Skip to content

Bring back "infer" functionality #5

@jrlegrand

Description

@jrlegrand

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):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions