Package: medicalcoder 0.8.1

medicalcoder: A Unified and Longitudinally Aware Framework for ICD-Based Comorbidity Assessment

Provides comorbidity classification algorithms such as the Pediatric Complex Chronic Conditions (PCCC), Charlson, and Elixhauser indices, supports longitudinal comorbidity flagging across encounters, and includes utilities for working with medical coding schemas such as the International Classification of Diseases (ICD).

Authors:Peter DeWitt [aut, cre, cov], Tell Bennett [ctb], Seth Russell [ctb], Meg Rebull [ctb], Vincent Rubinetti [cov]

medicalcoder_0.8.1.tar.gz
medicalcoder_0.8.1.zip(r-4.7)medicalcoder_0.8.1.zip(r-4.6)medicalcoder_0.8.1.zip(r-4.5)
medicalcoder_0.8.1.tgz(r-4.6-any)medicalcoder_0.8.1.tgz(r-4.5-any)
medicalcoder_0.8.1.tar.gz(r-4.7-any)medicalcoder_0.8.1.tar.gz(r-4.6-any)
medicalcoder_0.8.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
medicalcoder/json (API)
NEWS

# Install 'medicalcoder' in R:
install.packages('medicalcoder', repos = c('https://dewittpe.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/dewittpe/medicalcoder/issues

Pkgdown/docs site:https://www.peteredewitt.com

Datasets:

On CRAN:

Conda:

charlsoncharlson-comorbidity-indexcomorbiditieselixhausericd-10icd-9pcccpediatric-complex-chronic-conditionspediatrics

7.73 score 10 stars 57 scripts 256 downloads 12 exports 0 dependencies

Last updated from:5792ff7844. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK288
source / vignettesOK209
linux-release-x86_64OK344
macos-release-arm64OK356
macos-oldrel-arm64OK338
windows-develOK348
windows-releaseOK350
windows-oldrelOK252
wasm-releaseOK109

Exports:comorbiditiesget_charlson_codesget_charlson_index_scoresget_elixhauser_codesget_elixhauser_index_scoresget_elixhauser_poaget_icd_codesget_pccc_codesget_pccc_conditionsicd_compact_to_fullis_icdlookup_icd_codes

Dependencies:

Charlson Comorbidities

Rendered fromcharlson.Rmdusingknitr::rmarkdownon May 06 2026.

Last update: 2025-11-22
Started: 2025-09-21

Comorbidities

Rendered fromcomorbidities.Rmdusingknitr::rmarkdownon May 06 2026.

Last update: 2026-02-20
Started: 2025-09-21

Elixhauser Comorbidities

Rendered fromelixhauser.Rmdusingknitr::rmarkdownon May 06 2026.

Last update: 2025-12-19
Started: 2025-09-21

ICD Codes

Rendered fromicd.Rmdusingknitr::rmarkdownon May 06 2026.

Last update: 2025-12-12
Started: 2025-09-21

Pediatric Complex Chronic Conditions

Rendered frompccc.Rmdusingknitr::rmarkdownon May 06 2026.

Last update: 2025-11-22
Started: 2025-09-21

Readme and manuals

Help Manual

Help pageTopics
Comorbiditiescomorbidities
Get Charlson Codesget_charlson_codes
Get Charlson Index Scoresget_charlson_index_scores
Get Elixhauser Codesget_elixhauser_codes
Get Elixhauser Index Scoresget_elixhauser_index_scores
Get Elixhauser Present-on-Admission Requirementsget_elixhauser_poa
Get ICD Codesget_icd_codes
Pediatric Complex Chronic Conditions ICD Codesget_pccc_codes
Pediatric Complex Chronic Condition and Subconditionsget_pccc_conditions
Convert ICD Compact Codes to Full Codesicd_compact_to_full
Is ICDis_icd
Lookup ICD Codeslookup_icd_codes
Synthetic Datamdcr
Synthetic Longitudinal Datamdcr_longitudinal
Summaries of Comorbiditiessummary.medicalcoder_comorbidities
Summaries of Comorbidities with Subconditionssummary.medicalcoder_comorbidities_with_subconditions