medExtractR-package {medExtractR} | R Documentation |
Medication Extraction With R
Description
Provides a function medExtractR
for extracting
dose attributes for medications within a given electronic health record (EHR) note.
Author(s)
Hannah Weeks hannah.l.weeks@vanderbilt.edu,
Cole Beck cole.beck@vumc.org,
Leena Choi leena.choi@vumc.org
Maintainer: Leena Choi leena.choi@vumc.org
Examples
note1 <- "Progrf Oral Capsule 1 mg 3 capsules by mouth twice a day - last
dose at 10pm"
note2 <- "Currently on lamotrigine 150-200, but will increase to lamotrigine 200mg bid"
medExtractR(note1, c("prograf", "tacrolimus"), 60, "mg", 2, lastdose=TRUE)
medExtractR(note2, c("lamotrigine", "ltg"), 130, "mg", 1, strength_sep = "-")
[Package medExtractR version 0.4.1 Index]