EHR0.4-11 package

Electronic Health Record (EHR) Data Processing and Analysis Tool

addLastDose

Add Lastdose Data

analysisPheWAS

Statistical Analysis for PheWAS

build-internal

Internal functions for buildDose process

build_lastdose

PK oral functions

buildDose

Combine Dose Data

collapse-internal

Internal functions for collapseDose process

collapseDose

Collapse Dose Data

dataTransformation

Data Transformation

dd.baseline

dd.baseline

dd.baseline.small

dd.baseline.small

dd

dd

dd.small

dd.small

EHR-package

Electronic Health Record (EHR) Data Processing and Analysis Tool

extractMed-internal

Internal functions for Extract-Med module

extractMed

Extract medication information from clinical notes

freqNum

Convert Character Frequency to Numeric

idCrosswalk

Create ID Crosswalk

lastdose-internal

Internal functions for lastdose

Logistf

Firth's penalized-likelihood logistic regression with more decimal pla...

makeDose

Make Dose Data

mod-internal

Internal functions for EHR modules

parse-internal

Internal functions for parse process

parseCLAMP

Parse CLAMP NLP Output

parseMedEx

Parse MedEx NLP Output

parseMedExtractR

Parse medExtractR NLP Output

parseMedXN

Parse MedXN NLP Output

pk-internal

Internal functions for pk analysis

processLastDose

Process and standardize extracted last dose times

pullFakeId

Pull Fake/Mod ID

pullRealId

Pull Real ID

readTransform

Read and Transform

run_Build_PK_IV

Build-PK-IV Module

run_Build_PK_Oral

Build-PK-Oral Module

run_Demo

Run Demographic Data

run_DrugLevel

Run Drug Level Data

run_Labs

Run Lab Data

run_MedStrI

Run Str Data I

run_MedStrII

Run Structured E-Prescription Data

stdzDose

Standardize Dose Entity

stdzDoseChange

Standardize Dose Change Entity

stdzDoseSchedule

Standardize Dose Schedule Entity

stdzDuration

Standardize Duration Entity

stdzFreq

Standardize Frequency Entity

stdzRoute

Standardize Route Entity

stdzStrength

Standardize Strength Entity

writeCheckData

Write Check File as CSV

zeroOneTable

Make Zero One Contingency Tables

Process and analyze electronic health record (EHR) data. The 'EHR' package provides modules to perform diverse medication-related studies using data from EHR databases. Especially, the package includes modules to perform pharmacokinetic/pharmacodynamic (PK/PD) analyses using EHRs, as outlined in Choi, Beck, McNeer, Weeks, Williams, James, Niu, Abou-Khalil, Birdwell, Roden, Stein, Bejan, Denny, and Van Driest (2020) <doi:10.1002/cpt.1787>. Additional modules will be added in future. In addition, this package provides various functions useful to perform Phenome Wide Association Study (PheWAS) to explore associations between drug exposure and phenotypes obtained from EHR data, as outlined in Choi, Carroll, Beck, Mosley, Roden, Denny, and Van Driest (2018) <doi:10.1093/bioinformatics/bty306>.