Package: medicalrisk 1.3.9001

Patrick McCormick
medicalrisk: Medical Risk and Comorbidity Tools for ICD-9-CM Data
Generates risk estimates and comorbidity flags from ICD-9-CM codes available in administrative medical datasets. The package supports the Charlson Comorbidity Index, the Elixhauser Comorbidity classification, the Revised Cardiac Risk Index, and the Risk Stratification Index. Methods are table-based, fast, and use the 'plyr' package, so parallelization is possible for large jobs. Also includes a sample of real ICD-9 data for 100 patients from a publicly available dataset. Compatibility updates by Renova.
Authors:
medicalrisk_1.3.9001.tar.gz
medicalrisk_1.3.9001.zip(r-4.7-any)medicalrisk_1.3.9001.zip(r-4.6-any)medicalrisk_1.3.9001.zip(r-4.5-any)
medicalrisk_1.3.9001.tgz(r-4.6-any)medicalrisk_1.3.9001.tgz(r-4.5-any)
medicalrisk_1.3.9001.tar.gz(r-4.7-any)medicalrisk_1.3.9001.tar.gz(r-4.6-any)
medicalrisk_1.3.9001.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
medicalrisk/json (API)
| # Install 'medicalrisk' in R: |
| install.packages('medicalrisk', repos = c('https://renova-r.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/patrickmdnet/medicalrisk/issues
- charlson_list - List of Charlson comorbidities
- charlson_weights - Map of Charlson comorbidity categories to revised weights
- charlson_weights_orig - Map of Charlson comorbidity categories to weights
- elixhauser_list - List of Elixhauser comorbidities
- icd9cm_list - List of ICD-9-CM diagnostic and procedural codes
- rsi_beta_1yrpod - Values for calculating RSI for 1 year mortality
- rsi_beta_30dlos - Values for calculating RSI for 30-day length of stay
- rsi_beta_30dpod - Values for calculating RSI for 30-day mortality
- rsi_beta_inhosp - Values for calculating RSI for in-hospital mortality.
- rsi_sample_data - Sample data for validating RSI
- rsi_sample_results - Sample results for validating RSI
- vt_inp_sample - First 100 patients and their ICD-9-CM codes from the Vermont Uniform Hospital Discharge Data Set for 2011, Inpatient.
Last updated from:bde34970c8 (on renova-1.3.9001). Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 119 | ||
| source / vignettes | OK | 185 | ||
| linux-release | OK | 114 | ||
| macos-release | OK | 86 | ||
| macos-oldrel | OK | 106 | ||
| windows-devel | OK | 72 | ||
| windows-release | OK | 73 | ||
| windows-oldrel | OK | 63 | ||
| wasm-release | OK | 104 |
Exports:generate_charlson_index_dfgenerate_comorbidity_dficd9cm_charlson_deyoicd9cm_charlson_quanicd9cm_charlson_romanoicd9cm_elixhauser_ahrq37icd9cm_elixhauser_quanicd9cm_rcriicd9cm_sessler_rsimelt_icd9listmerge_icd9_dx_and_procssessler_get_single_betaverify_sessler_rsi
Dependencies:cligluehashlifecyclemagrittrplyrRcppreshape2rlangstringistringrvctrs
Last update: 2026-11-15
Started: 2026-11-15
Last update: 2026-11-15
Started: 2026-11-15
