powered by
A named character vector. Names represent patterns to match dose units and values represent standardised names for those units.
drug_units
An object of class character of length 28.
character
Use with a function like str_replace_all to standardise a freetext prescription. Used internally in extract_from_prescription.
str_replace_all
extract_from_prescription