Early prediction of in-hospital deterioration after emergency department admission using machine learning models

Early prediction of clinical deterioration in patients admitted to general wards from the emergency department (ED) is crucial for timely interventions and improved outcomes. Traditional scoring systems often fail to account for dynamic physiological changes occurring during ED stays. Machine learning (ML) offers a promising alternative by integrating comprehensive patient data for enhanced predictive capabilities. This study aimed to develop and validate an ML-based early warning system to predict adverse events, including cardiac arrest, mechanical ventilation, or intensive care unit (ICU) transfer, within 48 h of hospitalization. This retrospective multicenter study included data from 169,807 patients across two medical centers to train ML models for predicting adverse events occurring within 48 h of hospitalization. The prediction time origin (T0) was the moment of hospital admission. All ED data obtained before T0 were included as model input, and adverse events were defined as those occurring within 48 h after T0. Three machine learning models were trained and evaluated: logistic regression (LR), random forest (RF), and extreme gradient boosting (XGB). The ML models were evaluated in external test cohorts with 54,515 patients from a regional teaching hospital. Model performance was assessed against traditional early warning scores, including the National Early Warning Score (NEWS) and the Modified Early Warning Score (MEWS), and Modified Sequential Organ Failure Assessment Score (mSOFA) using the area under the curve (AUC). In the internal test set, XGB achieved the highest AUC of 0.87 (95% CI: 0.85–0.89), followed by RF 0.85 (95% CI: 0.83–0.87) and LR 0.83 (95% CI: 0.81–0.85), outperforming NEWS (AUC 0.71), MEWS (0.69), and mSOFA (0.69). In the external test set, XGB maintained the best discrimination (AUC 0.82, 95% CI: 0.80–0.83), followed by RF 0.78 (95% CI: 0.77–0.80) and LR 0.77 (95% CI: 0.76–0.79), again exceeding NEWS (0.67), MEWS (0.65), and mSOFA (0.69). SHAP analyses identified respiratory rate and oxygen support as the most influential predictors. The ML-based early warning system demonstrated strong predictive performance across diverse healthcare settings, significantly surpassing the capabilities of traditional scoring systems. This approach has the potential to improve risk stratification and enable timely interventions, ultimately enhancing patient outcomes.

Authors

Institutions

Publication Details

Journal
BMC Emergency Medicine
Published
2026-01-05
DOI
https://doi.org/10.1186/s12873-025-01464-w
Primary Topic
Sepsis Diagnosis and Treatment
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Early prediction of in-hospital deterioration after emergency department admission using machine learning models

I-Min Chiu, Hsiu-Yung Pan, Chun-Hung Richard Lin, Ting-Yu Hsu et al.
BMC Emergency Medicine
Sepsis Diagnosis and Treatment
article

Early prediction of in-hospital deterioration after emergency department admission using machine learning models

I-Min Chiu, Hsiu-Yung Pan, Chun-Hung Richard Lin, Ting-Yu Hsu, Ting-Hsuan Hsu, Yu-Lun Hung, Chi-Yung Cheng, Fu-Jen Cheng
article en

Abstract

Early prediction of clinical deterioration in patients admitted to general wards from the emergency department (ED) is crucial for timely interventions and improved outcomes. Traditional scoring systems often fail to account for dynamic physiological changes occurring during ED stays. Machine learning (ML) offers a promising alternative by integrating comprehensive patient data for enhanced predictive capabilities. This study aimed to develop and validate an ML-based early warning system to predict adverse events, including cardiac arrest, mechanical ventilation, or intensive care unit (ICU) transfer, within 48 h of hospitalization. This retrospective multicenter study included data from 169,807 patients across two medical centers to train ML models for predicting adverse events occurring within 48 h of hospitalization. The prediction time origin (T0) was the moment of hospital admission. All ED data obtained before T0 were included as model input, and adverse events were defined as those occurring within 48 h after T0. Three machine learning models were trained and evaluated: logistic regression (LR), random forest (RF), and extreme gradient boosting (XGB). The ML models were evaluated in external test cohorts with 54,515 patients from a regional teaching hospital. Model performance was assessed against traditional early warning scores, including the National Early Warning Score (NEWS) and the Modified Early Warning Score (MEWS), and Modified Sequential Organ Failure Assessment Score (mSOFA) using the area under the curve (AUC). In the internal test set, XGB achieved the highest AUC of 0.87 (95% CI: 0.85–0.89), followed by RF 0.85 (95% CI: 0.83–0.87) and LR 0.83 (95% CI: 0.81–0.85), outperforming NEWS (AUC 0.71), MEWS (0.69), and mSOFA (0.69). In the external test set, XGB maintained the best discrimination (AUC 0.82, 95% CI: 0.80–0.83), followed by RF 0.78 (95% CI: 0.77–0.80) and LR 0.77 (95% CI: 0.76–0.79), again exceeding NEWS (0.67), MEWS (0.65), and mSOFA (0.69). SHAP analyses identified respiratory rate and oxygen support as the most influential predictors. The ML-based early warning system demonstrated strong predictive performance across diverse healthcare settings, significantly surpassing the capabilities of traditional scoring systems. This approach has the potential to improve risk stratification and enable timely interventions, ultimately enhancing patient outcomes.

BMC Emergency MedicineVol. 26(1)
National Sun Yat-sen University (TW), Kaohsiung Chang Gung Memorial Hospital (TW)
Peace, Justice and strong institutions
Openalex Percentile: Top 98%
Sepsis Diagnosis and Treatment
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.