Calcular comorbilidades Charlson/Elixhauser para Chile
Usage
cie_comorbid(data, id, code, map = c("charlson", "elixhauser"), assign0 = TRUE)See also
cie_map_comorbid(), cie_norm()
Other comorbilidades:
cie_map_comorbid()
Examples
# Ver documentacion de parametros
args(cie_comorbid)
#> function (data, id, code, map = c("charlson", "elixhauser"),
#> assign0 = TRUE)
#> NULL
if (FALSE) { # interactive()
df <- data.frame(
id_pac = c(1, 1, 2, 2),
diag = c("E11.0", "I21.0", "C50.9", "E10.9")
)
cie_comorbid(df, id = "id_pac", code = "diag", map = "charlson")
}
