Python package to calculate comorbidity scores and other clinical risk scores.
The comorbidity
function of this library is effectively a rewrite of the excellent R library comorbidity
(https://github.com/ellessenne/comorbidity/) by Alessandro Gasparini (https://www.ellessenne.xyz/).
Comorbidipy also includes additional clinical risk calculators listed below.
- Charlson Comorbidity Score
- Elixhauser Comorbidity Index
- Hospital Frailty Risk Score
- Disability and Sensory Impairments
The comorbidity
function allows calculation of Charlson and Elixhauser score using ICD9 or ICD10 codes and the following variations.
-
Mapping:
- Quan version
- Swedish version
- Australian version
- UK version (from Summary Hospital-Level Mortality Indicator - SHMI)
-
Weights:
- Charlson
- Quan
- SHMI
- Modified SHMI
-
Mapping:
- Quan
-
Weights:
- van Walraven
- Swiss
- Free software: MIT license
- Documentation: https://comorbidipy.readthedocs.io. (TODO)
- Cookiecutter https://github.com/audreyr/cookiecutter
- R library
comorbidity
https://github.com/ellessenne/comorbidity/