I. Data integration

icdDxDecimalToShort() icdDxShortToDecimal()

Code format transformation

icdDxToCCS() icdDxToCCSLvl()

Code classification for CCS

icdDxToCCSR()

Code classification for CCSR

icdDxToPheWAS()

Code classification for PheWAS

icdDxToComorbid()

Code classification for Comorbidity

icdDxToCustom() icdDxToCustomGrep()

Code classification for customized group

II. Data wrangling

selectCases()

Data integration for case selection

getEligiblePeriod()

Data integration for patient record period

splitDataByDate()

Data integration for data split

getConditionEra()

Data integration for condition era calculation

groupedDataLongToWide()

Data format transformation

III. Visualization

plotICDError()

Plot for error ICD list

plotDiagCat()

Plot of diagnostic categories

ICD-PCS function

icdPrDecimalToShort() icdPrShortToDecimal()

Code format transformation

icdPrToCCS() icdPrToCCSLvl()

Code classification for CCS

icdPrToProcedureClass()

Code classification for procedure code

Data - Diagnosis

ICD9DxwithTwoFormat ICD10DxwithTwoFormat

Datasets for code standardization

ccsDxICD9 ccsDxICD10 phecode_icd9_2 icd9_ahrq icd10_ahrq icd9_charlson icd10_charlson icd9_elix icd10_elix

Datasets for code classification

Data - Procedure

ICD9PrwithTwoFormat prICD10

Datasets for code standardization

ccsPrICD9 ccsPrICD10 pcICD9 pcICD10

Datasets for code classification

Data - Sample File

sampleDxFile

Sample file for demo with diagnostic codes

samplePrFile

Sample file for demo with procedure codes

sampleMIMICIII

Sample file for patients with patent ductus arteriosus (PDA) from MIMIC-III.