icd9 (version 1.3.1)

parseQuanElix: Generate Quan's revised Elixhauser comorbidities

Description

Generate Quan's revised Elixhauser comorbidities

Usage

parseQuanElix(condense = FALSE, save = FALSE, path = "data")

Arguments

condense
logical whether to condense the result ranges to the minimal set of parent ICD-9 codes which exactly define the list. Defaults to FALSE so that the saved list will allow rapid look-up of codes without further processing. Small memory versus t
save
logical whether to save the result in the source tree. Defaults to FALSE.
path
path to directory to save the data. This is typically the data folder in the devleopment source tree. Defaults to "~/icd9/data". Could possibly avoid hard-coding path with devtools functions.

Value

  • invisibly returns the list of vectors, where a co-morbidity name is associated with a character vector of ICD-9 codes.