Machine learning enhanced expert system for detecting heart failure decompensation using patient reported vitals and electronic health records

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.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2025-08-22
DOI
https://doi.org/10.1038/s41598-025-16376-9
Citations
5
Primary Topic
Artificial Intelligence in Healthcare
Type
article
Field-Weighted Citation Impact
14.69

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Machine learning enhanced expert system for detecting heart failure decompensation using patient reported vitals and electronic health records

Chloe X. Wang, Heather Joan Ross, Pedro Elkind Velmovitsky, Joseph A Cafazzo et al.
5 citations
Scientific Reports
Artificial Intelligence in Healthcare
14.69
article

Machine learning enhanced expert system for detecting heart failure decompensation using patient reported vitals and electronic health records

Chloe X. Wang, Heather Joan Ross, Pedro Elkind Velmovitsky, Joseph A Cafazzo, Julie K.K. Vishram‐Nielsen, Cedric Manlhiot, Bo Wang, Shumit Saha
article en
5 citations

Abstract

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.

Scientific ReportsVol. 15(1)
Meharry Medical College (US), University Health Network (CA), University of Toronto (CA), Zealand University Hospital (DK), Ted Rogers Centre for Heart Research (CA), Public Health Ontario (CA), Vector Institute (CA)
University Health Network
Good health and well-being
Openalex Percentile: Top 1%
Artificial Intelligence in Healthcare
14.69
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.