Learn R Programming

icd (version 3.3)

icd9_generate_map_elix: Generate Elixhauser comorbidities

Description

This function uses the %i9d% operator, so cannot be done as an R file in the data directory. The data is documented in datadocs.R.

Usage

icd9_generate_map_elix(save_data = TRUE)

icd10_generate_map_elix(save_data = TRUE)

Arguments

save_data

logical whether to save the result in the source tree. Defaults to FALSE.

condense

Deprecated. The map is not condensed by default. If required, it can reduced to a smaller set of codes using icd_condense.

Value

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