TY - JOUR
T1 - Machine learning enhanced expert system for detecting heart failure decompensation using patient reported vitals and electronic health records
AU - Saha, Shumit
AU - Ross, Heather
AU - Velmovitsky, Pedro Elkind
AU - Wang, Chloe X
AU - Vishram-Nielsen, Julie K K
AU - Manlhiot, Cedric
AU - Wang, Bo
AU - Cafazzo, Joseph A
N1 - © 2025. The Author(s).
PY - 2025/8/22
Y1 - 2025/8/22
N2 - Heart failure (HF) is a condition with periods of stability interrupted by periods of worsening symptoms, known as decompensation episodes. Digital interventions are promising tools to alleviate burdens on HF management through automated alerts at the earliest decompensation sign. To accomplish this, our lab developed Medly, an expert system-enhanced digital therapeutic program for HF patients. Medly's algorithm is a knowledge-based system that analyzes weight, blood pressure, and heart rate and sends automated alerts to clinicians and patients if deterioration is identified. Rules were set conservatively to account for false negatives. However, reducing false negatives resulted in an increase in false positives, which can lead to unnecessary clinical workload. Further, patients' electronic health records (EHR) were not used when developing the rules-based algorithm. This study aimed to enhance Medly's performance with machine learning and include a richer set of data, including EHR, for predicting decompensated HF episodes. We performed a retrospective study using XGBoost for the binary classification of whether the patient needed to be contacted for a possible decompensation episode. Features included blood pressure, weight change, heart rate, and EHR data (e.g., blood work, medication history). We further performed interpretability analysis to investigate the importance of including EHR data in the model. The enhanced algorithm achieved 98.08% accuracy, 95.26% sensitivity, 98.86% specificity, and a PPV of 88.18% - a marked improvement over the 55.8% in the rules-based algorithm. EHR data, mainly B-type natriuretic peptide (BNP) and total cholesterol, was crucial in predicting decompensation and correcting false-positive alerting.
AB - Heart failure (HF) is a condition with periods of stability interrupted by periods of worsening symptoms, known as decompensation episodes. Digital interventions are promising tools to alleviate burdens on HF management through automated alerts at the earliest decompensation sign. To accomplish this, our lab developed Medly, an expert system-enhanced digital therapeutic program for HF patients. Medly's algorithm is a knowledge-based system that analyzes weight, blood pressure, and heart rate and sends automated alerts to clinicians and patients if deterioration is identified. Rules were set conservatively to account for false negatives. However, reducing false negatives resulted in an increase in false positives, which can lead to unnecessary clinical workload. Further, patients' electronic health records (EHR) were not used when developing the rules-based algorithm. This study aimed to enhance Medly's performance with machine learning and include a richer set of data, including EHR, for predicting decompensated HF episodes. We performed a retrospective study using XGBoost for the binary classification of whether the patient needed to be contacted for a possible decompensation episode. Features included blood pressure, weight change, heart rate, and EHR data (e.g., blood work, medication history). We further performed interpretability analysis to investigate the importance of including EHR data in the model. The enhanced algorithm achieved 98.08% accuracy, 95.26% sensitivity, 98.86% specificity, and a PPV of 88.18% - a marked improvement over the 55.8% in the rules-based algorithm. EHR data, mainly B-type natriuretic peptide (BNP) and total cholesterol, was crucial in predicting decompensation and correcting false-positive alerting.
KW - Humans
KW - Electronic Health Records
KW - Heart Failure/diagnosis
KW - Machine Learning
KW - Retrospective Studies
KW - Male
KW - Female
KW - Algorithms
KW - Expert Systems
KW - Aged
KW - Middle Aged
KW - Heart Rate
KW - Blood Pressure
U2 - 10.1038/s41598-025-16376-9
DO - 10.1038/s41598-025-16376-9
M3 - Article
C2 - 40846740
SN - 2045-2322
VL - 15
JO - Scientific Reports
JF - Scientific Reports
IS - 1
M1 - 30979
ER -