Analysis and Prediction of Emergency Department Length of Stay Categories Based on Triage Acuity

Authors

  • Salwa Nur JB Universitas Pembangunan Panca Budi
  • Muhammad Syahputra Novelan Universitas Pembangunan Panca Budi
  • Solly Aryza Universitas Pembangunan Panca Budi

Keywords:

Emergency Department Length of Stay, Triage Acuity, Arrival-Time Features, Machine Learning, XGBoost, Patient-Grouped Validation, SHAP.

Abstract

This research used a machine learning model to classify the length of stay in the Emergency Department Length of Stay (ED LOS) RSUD Langsa. Source workbook has 16,739 non-empty visit records from May 21 to November 6, 2026. Visits with incomplete timestamps, negative duration, ED length of stay greater than 24 hours, or invalid triage category were excluded, leaving 15,415 visits from 12,596 patient group visits. Dummy Classifier, Logistic Regression, Random Forest and XGBoost are tested on 5 random groups for cross validation. ED LOS is the number of exercise data and categorized Short, Medium and Long. XGBoost achieves 43.95% out-of-fold macro-F1, 44.70% holdout random grouped and 39.04% holdout temporal. Currently SHAP logs the month, hour and day of arrival of each.Triase Hijau menunjukkan bias seleksi dengan nilai timestamp tidak lengkap tertinggi (67.91%). The results do not support use as an automatic clinical decision tool because it functions only.

References

K. Kishore, G. Braitberg, N. E. Holmes, and R. Bellomo, “Early prediction of hospital admission of emergency department patients,” EMA - Emerg. Med. Australas., vol. 35, no. 4, pp. 572–588, 2023, doi: 10.1111/1742-6723.14169.

M. M. Canellas et al., “A Granular View of Emergency Department Length of Stay: Improving Predictive Power and Extracting Real-Time, Actionable Insights,” Ann. Emerg. Med., vol. 84, no. 4, pp. 386–398, 2024, doi: 10.1016/j.annemergmed.2024.02.004.

S. Sezik, M. Ö. Cingiz, and E. İbiş, “Machine Learning-Based Model for Emergency Department Disposition at a Public Hospital,” Appl. Sci., vol. 15, no. 3, pp. 1–14, 2025, doi: 10.3390/app15031628.

E. E. Etu et al., “Prediction of Length of Stay in the Emergency Department for COVID-19 Patients: A Machine Learning Approach,” IEEE Access, vol. 10, pp. 42229–42237, 2022, doi: 10.1109/ACCESS.2022.3168045.

W. A. Sulaiman et al., “Leveraging machine learning and rule extraction for enhanced transparency in emergency department length of stay prediction,” Front. Digit. Heal., vol. 6, no. February, pp. 1–19, 2024, doi: 10.3389/fdgth.2024.1498939.

P. A. Moreno-Sánchez, M. Aalto, and M. van Gils, “Prediction of patient flow in the emergency department using explainable artificial intelligence,” Digit. Heal., vol. 10, 2024, doi: 10.1177/20552076241264194.

L. Song et al., “Developing interpretable machine learning models to predict length of stay and disposition decision for adult patients in emergency departments,” BMJ Heal. Care Informatics, vol. 32, no. 1, pp. 1–8, 2025, doi: 10.1136/bmjhci-2024-101152.

R. M. Farimani et al., “Models to predict length of stay in the emergency department: a systematic literature review and appraisal,” BMC Emerg. Med., vol. 24, no. 1, pp. 1–39, 2024, doi: 10.1186/s12873-024-00965-4.

B. M. Porto, “Improving triage performance in emergency departments using machine learning and natural language processing: a systematic review,” BMC Emerg. Med., vol. 24, no. 1, 2024, doi: 10.1186/s12873-024-01135-2.

Downloads

Published

2025-10-27