Skip to content

medExtractR

Extraction of Medication Information from Clinical Text

v0.4.1 · Jun 6, 2022 · GPL (>= 2)

Description

Function and support for medication and dosing information extraction from free-text clinical notes. Medication entities for the basic medExtractR implementation that can be extracted include drug name, strength, dose amount, dose, frequency, intake time, dose change, and time of last dose. The basic medExtractR is outlined in Weeks, Beck, McNeer, Williams, Bejan, Denny, Choi (2020) <doi: 10.1093/jamia/ocz207>. The extended medExtractR_tapering implementation is intended to extract dosing information for more tapering schedules, which are far more complex. The tapering extension allows for the extraction of additional entities including dispense amount, refills, dose schedule, time keyword, transition, and preposition.

Downloads

297

Last 30 days

10599th

297

Last 90 days

297

Last year

CRAN Check Status

14 NOTE
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang NOTE
r-devel-linux-x86_64-fedora-gcc NOTE
r-devel-macos-arm64 NOTE
r-devel-windows-x86_64 NOTE
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 NOTE
r-release-linux-x86_64 NOTE
r-release-macos-arm64 NOTE
r-release-macos-x86_64 NOTE
r-release-windows-x86_64 NOTE
Check details (14 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

Rd files

checkRd: (-1) strings-internal.Rd:14: Lost braces
    14 | code{stringPlaceExact}: find location of string, using exact match
       |     ^
checkRd: (-1) strings-internal.Rd:17: Lost braces
    17 | code{stringPlaceFuzzy}: find location of string, using partial match
       |     ^
checkRd: (-1) strings-internal.Rd:19: Lost braces
    19 | code{stringPlace}: find location of string, generic
       |     ^
checkRd: (-1) strings-internal.Rd:21: Lost braces
    21 | code{checkFuzzy}: check for "close" string matches
       |     ^
NOTE r-devel-linux-x86_64-debian-gcc

Rd files

checkRd: (-1) strings-internal.Rd:14: Lost braces
    14 | code{stringPlaceExact}: find location of string, using exact match
       |     ^
checkRd: (-1) strings-internal.Rd:17: Lost braces
    17 | code{stringPlaceFuzzy}: find location of string, using partial match
       |     ^
checkRd: (-1) strings-internal.Rd:19: Lost braces
    19 | code{stringPlace}: find location of string, generic
       |     ^
checkRd: (-1) strings-internal.Rd:21: Lost braces
    21 | code{checkFuzzy}: check for "close" string matches
       |     ^
NOTE r-devel-linux-x86_64-fedora-clang

Rd files

checkRd: (-1) strings-internal.Rd:14: Lost braces
    14 | code{stringPlaceExact}: find location of string, using exact match
       |     ^
checkRd: (-1) strings-internal.Rd:17: Lost braces
    17 | code{stringPlaceFuzzy}: find location of string, using partial match
       |     ^
checkRd: (-1) strings-internal.Rd:19: Lost braces
    19 | code{stringPlace}: find location of string, generic
       |     ^
checkRd: (-1) strings-internal.Rd:21: Lost braces
    21 | code{checkFuzzy}: check for "close" string matches
       |     ^
NOTE r-devel-linux-x86_64-fedora-gcc

Rd files

checkRd: (-1) strings-internal.Rd:14: Lost braces
    14 | code{stringPlaceExact}: find location of string, using exact match
       |     ^
checkRd: (-1) strings-internal.Rd:17: Lost braces
    17 | code{stringPlaceFuzzy}: find location of string, using partial match
       |     ^
checkRd: (-1) strings-internal.Rd:19: Lost braces
    19 | code{stringPlace}: find location of string, generic
       |     ^
checkRd: (-1) strings-internal.Rd:21: Lost braces
    21 | code{checkFuzzy}: check for "close" string matches
       |     ^
NOTE r-devel-macos-arm64

Rd files

checkRd: (-1) strings-internal.Rd:14: Lost braces
    14 | code{stringPlaceExact}: find location of string, using exact match
       |     ^
checkRd: (-1) strings-internal.Rd:17: Lost braces
    17 | code{stringPlaceFuzzy}: find location of string, using partial match
       |     ^
checkRd: (-1) strings-internal.Rd:19: Lost braces
    19 | code{stringPlace}: find location of string, generic
       |     ^
checkRd: (-1) strings-internal.Rd:21: Lost braces
    21 | code{checkFuzzy}: check for "close" string matches
       |     ^
NOTE r-devel-windows-x86_64

Rd files

checkRd: (-1) strings-internal.Rd:14: Lost braces
    14 | code{stringPlaceExact}: find location of string, using exact match
       |     ^
checkRd: (-1) strings-internal.Rd:17: Lost braces
    17 | code{stringPlaceFuzzy}: find location of string, using partial match
       |     ^
checkRd: (-1) strings-internal.Rd:19: Lost braces
    19 | code{stringPlace}: find location of string, generic
       |     ^
checkRd: (-1) strings-internal.Rd:21: Lost braces
    21 | code{checkFuzzy}: check for "close" string matches
       |     ^
NOTE r-oldrel-macos-arm64

Rd files

checkRd: (-1) strings-internal.Rd:14: Lost braces
    14 | code{stringPlaceExact}: find location of string, using exact match
       |     ^
checkRd: (-1) strings-internal.Rd:17: Lost braces
    17 | code{stringPlaceFuzzy}: find location of string, using partial match
       |     ^
checkRd: (-1) strings-internal.Rd:19: Lost braces
    19 | code{stringPlace}: find location of string, generic
       |     ^
checkRd: (-1) strings-internal.Rd:21: Lost braces
    21 | code{checkFuzzy}: check for "close" string matches
       |     ^
NOTE r-oldrel-macos-x86_64

Rd files

checkRd: (-1) strings-internal.Rd:14: Lost braces
    14 | code{stringPlaceExact}: find location of string, using exact match
       |     ^
checkRd: (-1) strings-internal.Rd:17: Lost braces
    17 | code{stringPlaceFuzzy}: find location of string, using partial match
       |     ^
checkRd: (-1) strings-internal.Rd:19: Lost braces
    19 | code{stringPlace}: find location of string, generic
       |     ^
checkRd: (-1) strings-internal.Rd:21: Lost braces
    21 | code{checkFuzzy}: check for "close" string matches
       |     ^
NOTE r-oldrel-windows-x86_64

Rd files

checkRd: (-1) strings-internal.Rd:14: Lost braces
    14 | code{stringPlaceExact}: find location of string, using exact match
       |     ^
checkRd: (-1) strings-internal.Rd:17: Lost braces
    17 | code{stringPlaceFuzzy}: find location of string, using partial match
       |     ^
checkRd: (-1) strings-internal.Rd:19: Lost braces
    19 | code{stringPlace}: find location of string, generic
       |     ^
checkRd: (-1) strings-internal.Rd:21: Lost braces
    21 | code{checkFuzzy}: check for "close" string matches
       |     ^
NOTE r-patched-linux-x86_64

Rd files

checkRd: (-1) strings-internal.Rd:14: Lost braces
    14 | code{stringPlaceExact}: find location of string, using exact match
       |     ^
checkRd: (-1) strings-internal.Rd:17: Lost braces
    17 | code{stringPlaceFuzzy}: find location of string, using partial match
       |     ^
checkRd: (-1) strings-internal.Rd:19: Lost braces
    19 | code{stringPlace}: find location of string, generic
       |     ^
checkRd: (-1) strings-internal.Rd:21: Lost braces
    21 | code{checkFuzzy}: check for "close" string matches
       |     ^
NOTE r-release-linux-x86_64

Rd files

checkRd: (-1) strings-internal.Rd:14: Lost braces
    14 | code{stringPlaceExact}: find location of string, using exact match
       |     ^
checkRd: (-1) strings-internal.Rd:17: Lost braces
    17 | code{stringPlaceFuzzy}: find location of string, using partial match
       |     ^
checkRd: (-1) strings-internal.Rd:19: Lost braces
    19 | code{stringPlace}: find location of string, generic
       |     ^
checkRd: (-1) strings-internal.Rd:21: Lost braces
    21 | code{checkFuzzy}: check for "close" string matches
       |     ^
NOTE r-release-macos-arm64

Rd files

checkRd: (-1) strings-internal.Rd:14: Lost braces
    14 | code{stringPlaceExact}: find location of string, using exact match
       |     ^
checkRd: (-1) strings-internal.Rd:17: Lost braces
    17 | code{stringPlaceFuzzy}: find location of string, using partial match
       |     ^
checkRd: (-1) strings-internal.Rd:19: Lost braces
    19 | code{stringPlace}: find location of string, generic
       |     ^
checkRd: (-1) strings-internal.Rd:21: Lost braces
    21 | code{checkFuzzy}: check for "close" string matches
       |     ^
NOTE r-release-macos-x86_64

Rd files

checkRd: (-1) strings-internal.Rd:14: Lost braces
    14 | code{stringPlaceExact}: find location of string, using exact match
       |     ^
checkRd: (-1) strings-internal.Rd:17: Lost braces
    17 | code{stringPlaceFuzzy}: find location of string, using partial match
       |     ^
checkRd: (-1) strings-internal.Rd:19: Lost braces
    19 | code{stringPlace}: find location of string, generic
       |     ^
checkRd: (-1) strings-internal.Rd:21: Lost braces
    21 | code{checkFuzzy}: check for "close" string matches
       |     ^
NOTE r-release-windows-x86_64

Rd files

checkRd: (-1) strings-internal.Rd:14: Lost braces
    14 | code{stringPlaceExact}: find location of string, using exact match
       |     ^
checkRd: (-1) strings-internal.Rd:17: Lost braces
    17 | code{stringPlaceFuzzy}: find location of string, using partial match
       |     ^
checkRd: (-1) strings-internal.Rd:19: Lost braces
    19 | code{stringPlace}: find location of string, generic
       |     ^
checkRd: (-1) strings-internal.Rd:21: Lost braces
    21 | code{checkFuzzy}: check for "close" string matches
       |     ^

Check History

NOTE 0 OK · 14 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
NOTE r-devel-linux-x86_64-debian-clang

Rd files

checkRd: (-1) strings-internal.Rd:14: Lost braces
    14 | code{stringPlaceExact}: find location of string, using exact match
       |     ^
checkRd: (-1) strings-internal.Rd:17: Lost braces
    17 | code{stringPlaceFuzzy}: find location of string, using partial match
       |     ^
checkRd: (-1) strings-internal.Rd:19: Lost braces
    19 | code{stringPlace}: find location of string, generic
       |     ^
checkRd: (-1) strings-internal.Rd:21: Lost braces
    21 | code{checkFuzzy}: check for "cl
NOTE r-devel-linux-x86_64-debian-gcc

Rd files

checkRd: (-1) strings-internal.Rd:14: Lost braces
    14 | code{stringPlaceExact}: find location of string, using exact match
       |     ^
checkRd: (-1) strings-internal.Rd:17: Lost braces
    17 | code{stringPlaceFuzzy}: find location of string, using partial match
       |     ^
checkRd: (-1) strings-internal.Rd:19: Lost braces
    19 | code{stringPlace}: find location of string, generic
       |     ^
checkRd: (-1) strings-internal.Rd:21: Lost braces
    21 | code{checkFuzzy}: check for "cl
NOTE r-devel-linux-x86_64-fedora-clang

Rd files

checkRd: (-1) strings-internal.Rd:14: Lost braces
    14 | code{stringPlaceExact}: find location of string, using exact match
       |     ^
checkRd: (-1) strings-internal.Rd:17: Lost braces
    17 | code{stringPlaceFuzzy}: find location of string, using partial match
       |     ^
checkRd: (-1) strings-internal.Rd:19: Lost braces
    19 | code{stringPlace}: find location of string, generic
       |     ^
checkRd: (-1) strings-internal.Rd:21: Lost braces
    21 | code{checkFuzzy}: check for "cl
NOTE r-devel-linux-x86_64-fedora-gcc

Rd files

checkRd: (-1) strings-internal.Rd:14: Lost braces
    14 | code{stringPlaceExact}: find location of string, using exact match
       |     ^
checkRd: (-1) strings-internal.Rd:17: Lost braces
    17 | code{stringPlaceFuzzy}: find location of string, using partial match
       |     ^
checkRd: (-1) strings-internal.Rd:19: Lost braces
    19 | code{stringPlace}: find location of string, generic
       |     ^
checkRd: (-1) strings-internal.Rd:21: Lost braces
    21 | code{checkFuzzy}: check for "cl
NOTE r-devel-macos-arm64

Rd files

checkRd: (-1) strings-internal.Rd:14: Lost braces
    14 | code{stringPlaceExact}: find location of string, using exact match
       |     ^
checkRd: (-1) strings-internal.Rd:17: Lost braces
    17 | code{stringPlaceFuzzy}: find location of string, using partial match
       |     ^
checkRd: (-1) strings-internal.Rd:19: Lost braces
    19 | code{stringPlace}: find location of string, generic
       |     ^
checkRd: (-1) strings-internal.Rd:21: Lost braces
    21 | code{checkFuzzy}: check for "cl
NOTE r-devel-windows-x86_64

Rd files

checkRd: (-1) strings-internal.Rd:14: Lost braces
    14 | code{stringPlaceExact}: find location of string, using exact match
       |     ^
checkRd: (-1) strings-internal.Rd:17: Lost braces
    17 | code{stringPlaceFuzzy}: find location of string, using partial match
       |     ^
checkRd: (-1) strings-internal.Rd:19: Lost braces
    19 | code{stringPlace}: find location of string, generic
       |     ^
checkRd: (-1) strings-internal.Rd:21: Lost braces
    21 | code{checkFuzzy}: check for "cl
NOTE r-patched-linux-x86_64

Rd files

checkRd: (-1) strings-internal.Rd:14: Lost braces
    14 | code{stringPlaceExact}: find location of string, using exact match
       |     ^
checkRd: (-1) strings-internal.Rd:17: Lost braces
    17 | code{stringPlaceFuzzy}: find location of string, using partial match
       |     ^
checkRd: (-1) strings-internal.Rd:19: Lost braces
    19 | code{stringPlace}: find location of string, generic
       |     ^
checkRd: (-1) strings-internal.Rd:21: Lost braces
    21 | code{checkFuzzy}: check for "cl
NOTE r-release-linux-x86_64

Rd files

checkRd: (-1) strings-internal.Rd:14: Lost braces
    14 | code{stringPlaceExact}: find location of string, using exact match
       |     ^
checkRd: (-1) strings-internal.Rd:17: Lost braces
    17 | code{stringPlaceFuzzy}: find location of string, using partial match
       |     ^
checkRd: (-1) strings-internal.Rd:19: Lost braces
    19 | code{stringPlace}: find location of string, generic
       |     ^
checkRd: (-1) strings-internal.Rd:21: Lost braces
    21 | code{checkFuzzy}: check for "cl
NOTE r-release-macos-arm64

Rd files

checkRd: (-1) strings-internal.Rd:14: Lost braces
    14 | code{stringPlaceExact}: find location of string, using exact match
       |     ^
checkRd: (-1) strings-internal.Rd:17: Lost braces
    17 | code{stringPlaceFuzzy}: find location of string, using partial match
       |     ^
checkRd: (-1) strings-internal.Rd:19: Lost braces
    19 | code{stringPlace}: find location of string, generic
       |     ^
checkRd: (-1) strings-internal.Rd:21: Lost braces
    21 | code{checkFuzzy}: check for "cl
NOTE r-release-macos-x86_64

Rd files

checkRd: (-1) strings-internal.Rd:14: Lost braces
    14 | code{stringPlaceExact}: find location of string, using exact match
       |     ^
checkRd: (-1) strings-internal.Rd:17: Lost braces
    17 | code{stringPlaceFuzzy}: find location of string, using partial match
       |     ^
checkRd: (-1) strings-internal.Rd:19: Lost braces
    19 | code{stringPlace}: find location of string, generic
       |     ^
checkRd: (-1) strings-internal.Rd:21: Lost braces
    21 | code{checkFuzzy}: check for "cl
NOTE r-release-windows-x86_64

Rd files

checkRd: (-1) strings-internal.Rd:14: Lost braces
    14 | code{stringPlaceExact}: find location of string, using exact match
       |     ^
checkRd: (-1) strings-internal.Rd:17: Lost braces
    17 | code{stringPlaceFuzzy}: find location of string, using partial match
       |     ^
checkRd: (-1) strings-internal.Rd:19: Lost braces
    19 | code{stringPlace}: find location of string, generic
       |     ^
checkRd: (-1) strings-internal.Rd:21: Lost braces
    21 | code{checkFuzzy}: check for "cl
NOTE r-oldrel-macos-arm64

Rd files

checkRd: (-1) strings-internal.Rd:14: Lost braces
    14 | code{stringPlaceExact}: find location of string, using exact match
       |     ^
checkRd: (-1) strings-internal.Rd:17: Lost braces
    17 | code{stringPlaceFuzzy}: find location of string, using partial match
       |     ^
checkRd: (-1) strings-internal.Rd:19: Lost braces
    19 | code{stringPlace}: find location of string, generic
       |     ^
checkRd: (-1) strings-internal.Rd:21: Lost braces
    21 | code{checkFuzzy}: check for "cl
NOTE r-oldrel-macos-x86_64

Rd files

checkRd: (-1) strings-internal.Rd:14: Lost braces
    14 | code{stringPlaceExact}: find location of string, using exact match
       |     ^
checkRd: (-1) strings-internal.Rd:17: Lost braces
    17 | code{stringPlaceFuzzy}: find location of string, using partial match
       |     ^
checkRd: (-1) strings-internal.Rd:19: Lost braces
    19 | code{stringPlace}: find location of string, generic
       |     ^
checkRd: (-1) strings-internal.Rd:21: Lost braces
    21 | code{checkFuzzy}: check for "cl
NOTE r-oldrel-windows-x86_64

Rd files

checkRd: (-1) strings-internal.Rd:14: Lost braces
    14 | code{stringPlaceExact}: find location of string, using exact match
       |     ^
checkRd: (-1) strings-internal.Rd:17: Lost braces
    17 | code{stringPlaceFuzzy}: find location of string, using partial match
       |     ^
checkRd: (-1) strings-internal.Rd:19: Lost braces
    19 | code{stringPlace}: find location of string, generic
       |     ^
checkRd: (-1) strings-internal.Rd:21: Lost braces
    21 | code{checkFuzzy}: check for "cl

Reverse Dependencies (1)

suggests

EHR

Dependency Network

Dependencies Reverse dependencies stringi stringr EHR medExtractR

Version History

new 0.4.1 Mar 9, 2026