latin_medical_terms {doseminer} | R Documentation |
A named character vector. Names represent Latin terms and values the English translations. Used for converting terms like "q4h" into "every 4 hours", which can then be parsed into a dosage frequency/interval.
latin_medical_terms
An object of class character
of length 47.
Use with a function like str_replace_all
to translate a prescription from Latin to English (thence to numbers).
https://en.wikipedia.org/wiki/List_of_abbreviations_used_in_medical_prescriptions
stringr::str_replace_all('Take two tablets q4h', latin_medical_terms)