ResearchBMC Emergency Medicine · Jan 5, 2026

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

Cheng CY, Hsu TH, Hung YL, Hsu TY, Cheng FJ, Pan HY, et al
Emergency MedicineDigital Health & AIAdult

Study type: Observational study: it can show a link, but not prove that one thing causes another.

Read the full paper free at PubMed Central ↗

Abstract

BACKGROUND: 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. OBJECTIVE: 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. METHODS: 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). RESULTS: 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. CONCLUSION: 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.

More on this topic

AI in medicine

Subject terms

Humans; Retrospective Studies; Emergency Service, Hospital; Clinical Deterioration; Predictive Learning Models; Machine Learning; Random Forest; Boosting Machine Learning Algorithms; Female; Male; Early Warning Score; Aged

DOI: 10.1186/s12873-025-01464-w · PubMed: 41491420

Cite this article

Cheng CY, Hsu TH, Hung YL, et al. Early prediction of in-hospital deterioration after emergency department admission using machine learning models. BMC Emerg Med. 2026;26(1):39. doi:10.1186/s12873-025-01464-w

RIS (EndNote, Zotero, Mendeley)BibTeX

Spotted a mistake? Suggest a correction

Top Emergency Medicine studies every Monday

The week’s key trials and guidelines, free to read, in one short email. No account; unsubscribe in one click.

Choose specialties and topics

Similar articles

Research · BMC Emerg Med · Apr 24, 2026 · Emergency Medicine, Digital Health & AI

Comparative performance of manual triage systems and ML models in predicting clinical outcomes among patients transported to the emergency department by emergency medical services

Research · BMC Emerg Med · Mar 10, 2026 · Pediatric · Emergency Medicine, Digital Health & AI

AI-powered surveillance of bronchiolitis in the Nirsevimab era: comparative performance of machine learning, deep learning, and large language models on free-text ED records

Research · Rheumatology · Apr 22, 2026 · Rheumatology, Digital Health & AI

Amyloidosis secondary to familial Mediterranean fever: machine learning-based prediction models

Research · J Thorac Cardiovasc Surg · May 4, 2026 · Cardiothoracic & Vascular Surgery, Surgery

Machine learning predicts postoperative mortality in a Latin American cardiovascular surgery multicenter cohort: Toward precision risk stratification

Research · Crit Care Explor · Feb 9, 2026 · Pediatric · Critical Care, Digital Health & AI

Prediction of Adverse Events in Single Ventricle Physiology Infants Using Artificial Intelligence Tools