Skip to content

Python package to calculate comorbidity scores including Charlson Comorbidity Score and Elixhauser Score and their weighted variants.

License

Notifications You must be signed in to change notification settings

georgm8/comorbidipy

 
 

Repository files navigation

comorbidiPy

PyPi Build Build Docs

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.

Feature List

  • Charlson Comorbidity Score
  • Elixhauser Comorbidity Index
  • Hospital Frailty Risk Score
  • Disability and Sensory Impairments

Variants of Charlson and Elixhauser Scores

The comorbidity function allows calculation of Charlson and Elixhauser score using ICD9 or ICD10 codes and the following variations.

Variations of Charlson Comorbidity Score

  • Mapping:

    • Quan version
    • Swedish version
    • Australian version
    • UK version (from Summary Hospital-Level Mortality Indicator - SHMI)
  • Weights:

    • Charlson
    • Quan
    • SHMI
    • Modified SHMI

Elixhauser Comorbidity Index

  • Mapping:

    • Quan
  • Weights:

    • van Walraven
    • Swiss

License and Documentation

Credits

About

Python package to calculate comorbidity scores including Charlson Comorbidity Score and Elixhauser Score and their weighted variants.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 95.6%
  • Makefile 4.4%