Developing and validating predictive models for emergency department mortality in critically ill patients

Early mortality risk stratification of critically ill patients in the emergency department is difficult, particularly where data are incomplete and resources are limited. We developed and internally validated machine learning models for mortality using routinely collected data from a tertiary hospital in Nepal. We conducted a retrospective cohort study of 597 critically ill adults presenting to the emergency department of Patan Hospital between 2005 and 2024. Death in the emergency department or in hospital was modelled as a binary outcome. Predictors were selected using an ensemble of importance rankings from random forest, XGBoost and histogram-based gradient boosting models with 5-fold stratified cross-validation. Logistic regression, histogram-based gradient boosting and random forest models were compared. The final model was evaluated on a held-out test set (20%, n = 120) and compared with a modified National Early Warning Score 2 (NEWS2). Natural language processing and synthetic data augmentation were also explored. Five predictors were selected: arterial lactate, creatinine, urea, platelet count and resuscitation received. The cross-validated area under the receiver operating characteristic curve (ROC-AUC) was 0.654 for logistic regression, 0.694 for histogram-based gradient boosting and 0.707 (SD 0.054) for random forest. On the test set, at a threshold of 0.612, the random forest had recall 0.80 (95% CI 0.71–0.87), precision 0.77 (0.67–0.84) and F1-score 0.78 (0.71–0.85), but specificity was 0.38 (0.24–0.55). Test-set ROC-AUC was 0.666 for the random forest and 0.627 for the NEWS2-derived score. Natural language processing gave descriptive insight without adding predictive value, and synthetic data augmentation reduced the ROC-AUC (0.707 to 0.523). A five-variable random forest using routinely available data identified most patients who died, but discrimination was modest, specificity was low, and the evidence comes from one centre with internal validation only. Prospective and external validation are needed before any clinical use.

Authors

Institutions

Publication Details

Journal
medRxiv
Published
2026-12-01
DOI
https://doi.org/10.64898/2026.11.26.26369107
Primary Topic
Machine Learning in Healthcare
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Developing and validating predictive models for emergency department mortality in critically ill patients

Ashis Shrestha, Kripa Maharjan, Shruti Silwal, Rony Maharjan et al.
medRxiv
Machine Learning in Healthcare
preprint

Developing and validating predictive models for emergency department mortality in critically ill patients

Ashis Shrestha, Kripa Maharjan, Shruti Silwal, Rony Maharjan, Mala Deep Upadhaya, Saugat Bhandari, Bharat Kumar Bhattarai, Aayush Chaulagain, Aayush Rizal, Maneesh Kumar Tripathi, Rusy Shrestha
preprint en

Abstract

Early mortality risk stratification of critically ill patients in the emergency department is difficult, particularly where data are incomplete and resources are limited. We developed and internally validated machine learning models for mortality using routinely collected data from a tertiary hospital in Nepal. We conducted a retrospective cohort study of 597 critically ill adults presenting to the emergency department of Patan Hospital between 2005 and 2024. Death in the emergency department or in hospital was modelled as a binary outcome. Predictors were selected using an ensemble of importance rankings from random forest, XGBoost and histogram-based gradient boosting models with 5-fold stratified cross-validation. Logistic regression, histogram-based gradient boosting and random forest models were compared. The final model was evaluated on a held-out test set (20%, n = 120) and compared with a modified National Early Warning Score 2 (NEWS2). Natural language processing and synthetic data augmentation were also explored. Five predictors were selected: arterial lactate, creatinine, urea, platelet count and resuscitation received. The cross-validated area under the receiver operating characteristic curve (ROC-AUC) was 0.654 for logistic regression, 0.694 for histogram-based gradient boosting and 0.707 (SD 0.054) for random forest. On the test set, at a threshold of 0.612, the random forest had recall 0.80 (95% CI 0.71–0.87), precision 0.77 (0.67–0.84) and F1-score 0.78 (0.71–0.85), but specificity was 0.38 (0.24–0.55). Test-set ROC-AUC was 0.666 for the random forest and 0.627 for the NEWS2-derived score. Natural language processing gave descriptive insight without adding predictive value, and synthetic data augmentation reduced the ROC-AUC (0.707 to 0.523). A five-variable random forest using routinely available data identified most patients who died, but discrimination was modest, specificity was low, and the evidence comes from one centre with internal validation only. Prospective and external validation are needed before any clinical use.

medRxiv
Patan Academy of Health Sciences (NP), Kathmandu University (NP)
Machine Learning in Healthcare
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.

Laika access coming soon