Stroke modelling: outcome calculations with time to treatment.
Project description
Stroke outcome
Toolkit for calculating patient outcomes after stroke depending on time to treatment.
- Source code: https://github.com/stroke-modelling/stroke-outcome/
- Full background and methods: https://samuel-book.github.io/stroke_outcome/intro.html
- Parent project: https://github.com/stroke-modelling
Motivation in brief:
Disability levels may be measured in various ways. In this project we are using the modified Rankin Scale (mRS). It is a commonly used scale for measuring the degree of disability or dependence in the daily activities of people who have suffered a stroke. The scale runs from 0-6, running from perfect health without symptoms to death.
In addition to mRS, we may calculate utility-weighted mRS (UW-mRS). UW-mRS incorporates both treatment effect and patient perceived quality of life as a single outcome measure for stroke trials.
Patients with ischaemic stroke can be defined by the location of the clot: those with a large vessel occlusion (LVO); and those not with a large vessel occlusion (nLVO). Patients with an nLVO can be treated with thrombolysis (IVT), a clot-busting medication. Patients with an LVO can be treated with IVT and/or thrombectomy (MT), which physically removes the clot.
This method calculates disability outcome estimates for three patient-treatment cohorts:
- nLVO-IVT (patients with an nLVO that are treated with IVT),
- LVO-IVT (patients with an LVO that are treated with IVT),
- LVO-MT (patients with an LVO that are treated with MT).
The result is provided as a distribution of disability (with six levels) following reperfusion treatment at any point between these two time stages:
- receiving reperfusion treatment as soon as their stroke began (this will be referred to as time of stroke onset, and we will use the terminology “t = 0”), and
- receiving reperfusion treatment at the duration after stroke onset where the treatment has no effect (this will be referred to as time of no effect, and we will use the terminology “t = No Effect”).
The method is built by synthesising data from multiple sources to define the distribution of disability for each of the three patient-treatment cohorts at the two time stages (t = 0 & t = No Effect), and we use interpolation to determine the disability distribution at any point in between.
For more details, please see the online book.
Package details:
The package includes the following data:
- mRS cumulative probability distributions as derived in the online book.
- A selection of utility scores for each mRS level.
Optionally, other data can be used instead of these provided files. The required formats are described in the continuous outcome demo.
The package includes the following processes:
- Continuous outcomes: Each "patient" uses the population mRS probability distribution rather than being assigned a single mRS score.
External resources
The following resources are not included within the package files and are accessible on the GitHub repository.
A conda environment file, environment.yml
, is provided in the GitHub repository for use with the demonstration Jupyter notebooks.
Continuous outcomes:
Demonstration Jupyter notebook
- [TO DO]: A worked example of how the code actually works.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for stroke_outcome-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78d77b177e1ca7a7af265297ca90d28a12807fe08965ac7960828fda3728938b |
|
MD5 | 82626835d9c458c725f6b40c9a20aa56 |
|
BLAKE2b-256 | 11d93448632b47dfc5d75e52d43087e6a3400359b601f7e441a4f359450c7b3f |