Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

akiFlagger-1.0.10.tar.gz (10.0 kB view hashes)

Uploaded Source

Built Distribution

akiFlagger-1.0.10-py3-none-any.whl (10.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page