Generate Quan's revised Elixhauser comorbidities
parseQuanElix(condense = FALSE, save = FALSE, path = "data")
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 time trade-off.
logical whether to save the result in the source tree. Defaults
to FALSE
.
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.
invisibly returns the list of vectors, where a co-morbidity name is associated with a character vector of ICD-9 codes.