Convenience wrapper around map_to() for mapping National Drug Codes
(NDCs) to RxNorm Concept Unique Identifiers (RxCUIs).
Usage
map_ndc_to_rxcui(x, show_progress = interactive())Arguments
- x
Character vector of NDCs.
- show_progress
Logical; if
TRUE, show a progress bar for vectorized mapping operations. Defaults tointeractive().
Value
A tibble with columns:
- input
Original input NDC.
- ndc11
Normalized 11-digit NDC.
- rxcui
Mapped RxCUI, if found.
