| Literature DB >> 35629084 |
Niranjani Prasad1, Aishwarya Mandyam1,2, Corey Chivers3, Michael Draugelis3, C William Hanson3,4, Barbara E Engelhardt1,2, Krzysztof Laudanski4,5,6.
Abstract
Both provider- and protocol-driven electrolyte replacement have been linked to the over-prescription of ubiquitous electrolytes. Here, we describe the development and retrospective validation of a data-driven clinical decision support tool that uses reinforcement learning (RL) algorithms to recommend patient-tailored electrolyte replacement policies for ICU patients. We used electronic health records (EHR) data that originated from two institutions (UPHS; MIMIC-IV). The tool uses a set of patient characteristics, such as their physiological and pharmacological state, a pre-defined set of possible repletion actions, and a set of clinical goals to present clinicians with a recommendation for the route and dose of an electrolyte. RL-driven electrolyte repletion substantially reduces the frequency of magnesium and potassium replacements (up to 60%), adjusts the timing of interventions in all three electrolytes considered (potassium, magnesium, and phosphate), and shifts them towards orally administered repletion over intravenous replacement. This shift in recommended treatment limits risk of the potentially harmful effects of over-repletion and implies monetary savings. Overall, the RL-driven electrolyte repletion recommendations reduce excess electrolyte replacements and improve the safety, precision, efficacy, and cost of each electrolyte repletion event, while showing robust performance across patient cohorts and hospital systems.Entities:
Keywords: MIMIC-IV; artificial intelligence; decision support systems; electrolytes; electronic health records; machine learning; reinforcement learning; retrospective studies
Year: 2022 PMID: 35629084 PMCID: PMC9143326 DOI: 10.3390/jpm12050661
Source DB: PubMed Journal: J Pers Med ISSN: 2075-4426
Selected 52 clinical features from patient EHRs based on their influence on electrolyte levels. We also included imputed measurements at each 6 h interval for a number of key vitals and labs.
| Features | |
|---|---|
| Static | Age, Gender, Weight, Floor/ICU |
| Vitals | Heart rate, Respiratory rate, Temperature, O2 saturation pulse oximetry (SpO2), Urine output, Non-invasive blood pressure (systolic, diastolic) |
| Labs—Raw | K, Mg, P, Ma, Chloride, Anion gap, Creatinine, Hemoglobin, Glucose, Blood Urea Nitrogen, WBC Count |
| Labs—Indicator | Ca (Ionized), Glucose, CPK, LDH, ALT, AST, PTH |
| Drugs | K-IV, K-PO, Mg-IV, Mg-PO, P-IV, P-PO, Ca-IV, Ca-PO, Loop diuretics, Thiazides, Acetazolamide, Spironolactone, Fluids, Vasopressors, β-blockers, Ca-blockers, Dextrose, Insulin, Kayexalate, TPN, PN, PO nutrition |
| Procedures | Packed-cell transfusion, Dialysis |
Figure 1Data cohort selection criteria (demonstrated in the UPHS database). Heart rate, (HR); Respiratory rate, (RR); Oxygen saturation, (SPO2); Temperature, (TEMP); Systolic blood pressure (BPSYS); Diastolic blood pressure, (BPDIA).
Repletion of K, Mg, and P replacements in terms of dose and duration.
| Oral (PO) | Intravenous (IV) | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| PO1 | PO2 | PO3 | IV1 | IV2 | IV3 | IV4 | IV5 | IV6 | ||
|
| 0 | 20 mg | 40 mg | 60 mg | 20 mEq | 40 mEq | 60 mEq | 20 mEq | 40 mEq | 60 mEq |
|
| 0 | 400 mg | 800 mg | 1200 mg | 0.5 g | 1 g | 1 g | 1 g | ||
|
| 0 | 250 mg | 500 mg | 750 mg | 15 mEq | 30 mEq | 45 mEq | |||
Figure 2Distribution of electrolyte levels as executed by providers in historical dataset representing pre-repletion (red) and post-repletion events (green), along with the target range of electrolyte levels, in gray.
Weights of four variables driving electrolyte repletion (IV repletion cost, PO cost, abnormally high, and abnormally low electrolyte values) in the historical dataset and after application of reinforcement learning (RL) algorithm showed substantial changes.
| Historical Policy Drivers | AI Policy Drivers | |
|---|---|---|
|
| (−0.05, −0.08, 0.20, 0.67) | (0.07, 0.04, 0.15, 0.74) |
|
| (−0.05, −0.01, 0.33, 0.61) | (0.01, 0.01, 0.48, 0.48) |
|
| (−0.25, 0.11, 0.30, 0.34) | (0.08, 0.07, 0.5, 0.35) |
Figure 3Distribution of repletion dosage levels chosen for three electrolytes in the historical data (UPHS) vs. dosages recommended by the learned RL policy.
Figure 4Panel (A) captures measured potassium (y-axis) across hours into patient admission (x-axis) with the gray ribbon visualizing the optimal range of potassium. Panel (B) is potassium repletion as performed by provider in historical data across hours into patient admission. Panel (C) is the recommendation for repletion across hours into patient admission driven by the learned RL protocol. The length of the shaded K-IV events indicates duration of infusion time.
Figure 5Estimated performance of policy for potassium (K), magnesium (Mg), and phosphate (P) measured by the Q-value prediction, which corresponds to the expected total rewards (time saved, money saved, avoidance of near misses, and side effects) during the entire patient admission. For all three electrolyte policies, the mean Q-value prediction of state–action pairs in the test set was higher for the learned RL policy than for clinician behavior observed in the UPHS data. This suggests that RL optimizes the reward function to create a learned policy that is better than clinician behavior.
Figure 6The performance of providers in the MIMIC database was similar to that observed in UPHS with frequent over-repletion (Panel (A)). Implementation of the RL AI-driven policy resulted in an insignificant shift in repletion patterns (Panel (B)), but only when the repletion was adequate (Panel (C)).