View source: R/convert_antibiotics.R
ndc_to_antimicrobial | R Documentation |
Function to convert 'ndc' code to corresponding Antibiotic code.
ndc_to_antimicrobial(ndc,
class_names,
include_missing_NDCs = TRUE)
ndc |
A vector containing ndc codes. Will be coerced to character. |
class_names |
A vector containing antibacterial class names - eg: c("antimicrobial", "antibacterial"). |
include_missing_NDCs |
includes a hardcoded database of NDCs that are present in MIMIC-IV but not in NDC database. |
ndc_to_antimicrobial
Vector of antimicrobials in antibiotic class from AMR package.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.