Flag patients with acute kidney injury as per the KDIGO guidelines.
Project description
AKIFlagger
Introduction
Acute Kidney Injury (AKI) is a sudden onset of kidney failure and damage marked by an increase in the serum creatinine levels (amongst other biomarkers) of the patient. Kidney Disease Improving Global Outcomes (KDIGO) has a set of guidelines and standard definitions of AKI:
-
Stage 1: 50% increase in creatinine in < 7 days or 0.3 increase in creatinine in < 48 hours
-
Stage 2: 100% increase in (or doubling of) creatinine in < 48 hours
-
Stage 3: 200% increase in (or tripling of) creatinine in < 48 hours
This package contains a flagger to determine if a patient has developed AKI based on longitudinal data of serum creatinine measurements. More information about the specific data input format can be found in the documentation under the Getting Started section.
Installation
You can install the flagger with pip
. Simply type the following into command line and the
package should install properly.
pip install akiFlagger
To ensure that it is working properly, you can open a Python session and test it with.
import akiFlagger
print(akiFlagger.__version__)
>> '1.0.0'
Alternatively, you can download the source and wheel files to build manually from https://pypi.org/project/akiFlagger/.
Getting started
There is a walk-through notebook available on Github to introduce the necessary components and parameters of the flagger. The notebook can be accessed via Google Colab notebooks. The notebook has also been adapted in the documentation.
Change Log
Version 0.1.x - Function-based implementation of flagger.
Version 0.2.x - Switched to class-based implementation (OOP approach).
Version 0.3.x - Switched to single-column output for AKI column.
Version 0.4.x - Removed encounter and admission as optional columns.
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file akiFlagger-1.0.10.tar.gz
.
File metadata
- Download URL: akiFlagger-1.0.10.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | feb2fe7dce4aafb15d1d69e1a3b6f2a23e94a53f8619f93be4ade4a154fd5156 |
|
MD5 | e33e5d184e51c4af2fab4cd8d681bcdb |
|
BLAKE2b-256 | f114151dd6fe2bc6823157d3151fdbbc09b6745f424c5214bb34f7dced58a317 |
File details
Details for the file akiFlagger-1.0.10-py3-none-any.whl
.
File metadata
- Download URL: akiFlagger-1.0.10-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db648a00894489410ed5104d7144088d2b1ee97d9a6523a2a5dcd693715923b5 |
|
MD5 | 9679a59fb25326c79147b1296ec56e63 |
|
BLAKE2b-256 | 62256e904faa65541a8080d00c360206fcfe8d204ad58cb25f9a014d68de1b81 |