The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Introduccion a ciecl: CIE-10 Chile en R

Rodolfo Tasso Suazo

2026-01-23

Version 0.9.0: Release candidate para CRAN con optimizaciones FTS5.

Acerca del dataset

El paquete incluye 39,873 codigos CIE-10 del catalogo oficial MINSAL/DEIS v2018, incluyendo categorias (3 digitos) y subcategorias (4+ digitos).

Instalacion

# Desde GitHub (version beta)
pak::pak("RodoTasso/ciecl")

# Alternativa con devtools
devtools::install_github("RodoTasso/ciecl")

Busqueda SQL rapida

# Todos los codigos diabetes tipo 2
cie10_sql("SELECT codigo, descripcion FROM cie10 WHERE codigo LIKE 'E11%' LIMIT 5")

Busqueda por codigo

# Busqueda de un solo codigo
cie_lookup("E11.0")

# Busqueda vectorizada - multiples codigos a la vez
codigos <- c("E11.0", "I10", "Z00", "J44.0")
resultados <- cie_lookup(codigos)

# Expansion jerarquica
cie_lookup("E11", expandir = TRUE)  # Retorna todos los E11.x

Busqueda fuzzy con typos

# Encuentra aunque este mal escrito
cie_search("diabetis con coma", threshold = 0.75)

Comorbilidades Charlson

# Requiere: install.packages("comorbidity")
df_pacientes <- data.frame(
  id_pac = c(1, 1, 2, 2, 3),
  diagnostico = c("E11.0", "I50.9", "C50.9", "N18.5", "J44.0")
)

cie_comorbid(df_pacientes, id = "id_pac", code = "diagnostico", map = "charlson")

Tablas interactivas

# Requiere: install.packages("gt")
cie_table("E11")  # Visualizacion GT completa

Fuente de datos

Datos oficiales CIE-10 Chile MINSAL/DEIS v2018:

Mas informacion

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.