return_g_rxcui: Xwalk ATC4 to Generic RXCUI

Description Usage Arguments Value

Description

Find all generic rxcui codes associated with a vector of atc codes

Usage

1
return_g_rxcui(atc_codes, rxcui_xwalk, atc_ind)

Arguments

atc_codes

character vector of atc code(s)

rxcui_xwalk

data.table with 2 columns lab_prod (9 digit ndc) and g_rxcui (the generic rxcui code)

atc_ind

data.table, xwalk between lab_prod and atc levels, atc levels are indicators by column

Value

character vector of all generic rxcui codes associated with the given atc codes


evanjflack/cfo.behavioral documentation built on Oct. 10, 2020, 11:52 p.m.