Metadata-Version: 2.1
Name: comorbidipy
Version: 0.4.4
Summary: Python Boilerplate contains all the boilerplate you need to create a Python package.
Home-page: https://github.com/vvcb/comorbidipy
Author: vvcb
Author-email: vvcb.n1@gmail.com
License: MIT license
Keywords: comorbidipy
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Python: >=3.6
License-File: LICENSE
License-File: AUTHORS.rst

===========
comorbidipy
===========


.. image:: https://img.shields.io/pypi/v/comorbidipy.svg
        :target: https://pypi.python.org/pypi/comorbidipy

.. image:: https://img.shields.io/travis/vvcb/comorbidipy.svg
        :target: https://travis-ci.com/vvcb/comorbidipy

.. image:: https://readthedocs.org/projects/comorbidipy/badge/?version=latest
        :target: https://comorbidipy.readthedocs.io/en/latest/?version=latest
        :alt: Documentation Status

Python package to calculate comorbidity scores including Charlson Comorbidity Score and Elixhauser Score and their weighted variants as well as 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/>).
Please check out his work and the excellent documentation he has produced.
The Python API has been modified slightly to allow adjusting for age. 
Only the `comorbidity` function from that library has been reproduced here at present.

Comorbidipy also includes additional clinical risk calculators listed under *Features*.

List of Risk Scores
-------------------

- Charlson Comorbidity index
- Elixhauser index
- Hospital Frailty Risk Score

License and Documentation
-------------------------

* Free software: MIT license
* Documentation: https://comorbidipy.readthedocs.io. (TODO)


Credits
-------

This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage


=======
History
=======

0.3.0 (2022-02-11)
------------------
* Add SHMI variant of Charlson Comorbidity Score. Based on SHMI Specification Version 1.35 2020-09-24 (https://files.digital.nhs.uk/B8/F8D021/SHMI%20specification%20v1.35.pdf)

0.2.1 (2021-01-02)
------------------

* Rewritten HFRS calculator that is 5x faster than previous version.

0.2.0 (2021-12-31)
------------------

* Add function for calculating Hospital Frailty Risk Score (https://www.thelancet.com/journals/lancet/article/PIIS0140-6736(18)30668-8/)

0.1.0 (2021-12-20)
------------------

* First release.
