Retrieve a copy of internal lookup tables of index scores used in assessing Charlson comorbidities.
Value
A data.frame with the following columns:
condition: Character vector of the conditionsindex: Character vector indicating if the score is for the mortality or the readmission index scorecharlson_<variant>: the index scores for the variant
See also
get_charlson_codes()for a lookup table of the ICD codes mapping to the Charlson comorbidities.comorbidities()for applying comorbidity algorithms to a data set.
Examples
head(get_charlson_index_scores())
#> condition_description condition charlson_cdmf2019 charlson_quan2011
#> 1 AIDS aids 6 NA
#> 2 AIDS/HIV aidshiv NA 4
#> 3 HIV infection, no AIDS hiv 3 NA
#> 4 Any malignancy mal 2 2
#> 5 Cerebrovascular disease cebvd 1 0
#> 6 Chronic pulmonary disease copd 1 1
#> charlson_quan2005 charlson_deyo1992
#> 1 NA NA
#> 2 6 6
#> 3 NA NA
#> 4 2 2
#> 5 1 1
#> 6 1 1
str(get_charlson_index_scores())
#> 'data.frame': 21 obs. of 6 variables:
#> $ condition_description: chr "AIDS" "AIDS/HIV" "HIV infection, no AIDS" "Any malignancy" ...
#> $ condition : chr "aids" "aidshiv" "hiv" "mal" ...
#> $ charlson_cdmf2019 : int 6 NA 3 2 1 1 1 1 2 1 ...
#> $ charlson_quan2011 : int NA 4 NA 2 0 1 2 2 1 0 ...
#> $ charlson_quan2005 : int NA 6 NA 2 1 1 1 1 2 1 ...
#> $ charlson_deyo1992 : int NA 6 NA 2 1 1 1 1 2 1 ...