% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/map.R
\name{map_ndc_to_rxcui}
\alias{map_ndc_to_rxcui}
\title{Map NDCs to RxCUIs}
\usage{
map_ndc_to_rxcui(x, show_progress = interactive())
}
\arguments{
\item{x}{Character vector of NDCs.}

\item{show_progress}{Logical; if \code{TRUE}, show a progress bar for vectorized
mapping operations. Defaults to \code{interactive()}.}
}
\value{
A tibble with columns:
\describe{
\item{input}{Original input NDC.}
\item{ndc11}{Normalized 11-digit NDC.}
\item{rxcui}{Mapped RxCUI, if found.}
}
}
\description{
Convenience wrapper around \code{\link[=map_to]{map_to()}} for mapping National Drug Codes
(NDCs) to RxNorm Concept Unique Identifiers (RxCUIs).
}
\details{
NDCs may be supplied as 10-digit, 11-digit, or hyphenated values. Input
NDCs are normalized to 11-digit format before querying RxNorm.
}
\examples{
\dontrun{
map_ndc_to_rxcui("00093-7424-56")
}

}
