Learn R Programming

medExtractR

The medExtractR package provides a tool to extract medication dosing information from free-text clinical notes. For a specified drug of interest, the system will identify drug entities such as strength, dose amount (units of the drug taken), frequency, or drug intake time.

Users will typically call the function medExtractR, specifying the drug names of interest for a clinical note. The medExtractR function also heavily relies on the extract_entities function, which focuses on identifying drug entities within a search window around the drug name.

Install from CRAN using install.packages("medExtractR").

Copy Link

Version

Install

install.packages('medExtractR')

Monthly Downloads

301

Version

0.4.1

License

GPL (>= 2)

Maintainer

Leena Choi

Last Published

June 6th, 2022

Functions in medExtractR (0.4.1)

duration_vals

Keywords Specifying Duration
extract_lastdose

Extract Last Dose Time From Phrase
extract_entities_tapering

extract_entities

Extract Medication Entities From Phrase
dosechange_vals

Keywords Specifying Dose Change
doseschedule_vals

Keywords Specifying Dose Schedule
extract_type

Internal handler for generic entity extraction
addl_expr

Additional expressions for drug_list
entity_metadata

Grab Entity Metadata
frequency_vals

Keywords Specifying Frequency
intaketime_vals

Keywords Specifying Intake Time
extract_generic

Extract Generic Entities From Phrase
medExtractR_tapering

preposition_vals

Keywords Specifying Preposition
string_occurs

Find Strings in Text
string_suggestions

Find Strings and Suggest Misspellings
medExtractR

Extract Medication Entities From Clinical Note
medExtractR-package

Medication Extraction With R
strings-internal

Internal String Functions
replace_tab

String Replace Tablet With Tabs
time_regex

Keywords Specifying Time Expressions
route_vals

Keywords Specifying Route
string_counts

Counts Strings in Text
rxnorm_druglist

List of Medications
internal_censor_dates

Preprocess Phrase for Date-times
internal_find_numbers

Preprocess Phrase for Numbers
timekeyword_vals

Keywords Specifying Time Keyword
transition_vals

Keywords/Symbols Specifying Transition