Assessing the impact of emergency department short stay units using length-of-stay prediction and discrete event simulation

Mucahit Cevik, Can Kavaklioglu, Fahad Razak, Amol Verma, Ayse BasararXiv 2023 · DOI

Abstract

Hospital overcrowding and Emergency Department (ED) boarding are critical global issues. Short Stay Units (SSUs) offer a potential solution for patients requiring brief hospitalizations, but their efficiency depends on accurate length-of-stay (LOS) prediction. This paper presents a data-driven framework combining LightGBM-based classification with discrete-event simulation (DES) to optimize patient flow. By predicting whether a patient requires a "short stay" (<72 hours) at admission, the proposed model outperforms clinical intuition, reducing bed bottlenecks and wait times. Results indicate that the machine learning approach significantly reduces unnecessary bed sterilization cycles and can decrease general ward wait times by nearly 25%.

Introduction

Emergency Department (ED) "boarding"—where patients wait for inpatient beds—is a primary driver of hospital overcrowding. Short Stay Units (SSUs) are specialized wards designed for patients expected to be discharged quickly, typically within 72 hours. However, current triage methods rely on ad hoc clinical judgment, which is often only 50% accurate.

Misclassification leads to operational inefficiencies: long-stay patients in SSUs require eventual transfer and extra sterilization cycles ("double-handling"), while short-stay patients in general wards (GW) occupy high-resource beds unnecessarily. This study seeks to replace clinical guesswork with a robust predictive model and quantify its impact through operational simulation.

Methods

The research utilizes a two-stage methodology: machine learning classification followed by discrete-event simulation (DES).

Data and Classification

The study analyzed 16,222 hospital encounters from the GEMINI project (2010–2015) at a Toronto hospital. Features included demographics, lab results, vitals, and clinical notes. The researchers treated LOS prediction as a binary classification task (Short Stay vs. Long Stay) using a 72-hour threshold. Among several architectures, Light Gradient Boosting Machines (LGBM) provided the best performance balance.

Simulation Framework

To evaluate operational impact, a DES model was constructed to mimic patient movement through the hospital system. This model accounts for triage, physician visits, bed assignments, and sterilization processes.

Patient flow and bed assignment logic within the simulation framework.

As shown in Figure 1, the simulation tracks the path from arrival to discharge. Patients are assigned to either a General Ward (GW) or SSU bed based on the model's prediction. If the preferred bed type is unavailable, patients wait in a designated area, highlighting how capacity constraints interact with triage logic.

Results

The LGBM model achieved an AUC of 0.69, significantly outperforming the ~50% accuracy typical of human physicians in similar contexts.

Operational Efficiency

The simulation revealed that using the LGBM model for triage resulted in only a 6.3% increase in bed sterilization counts compared to a "perfect" prediction model. In contrast, random assignment led to a 34% increase. Furthermore, introducing an SSU managed by the ML model reduced average general ward wait times by approximately 24.8% compared to a hospital configuration without an SSU.

Insights into Model Errors

Interestingly, the model's "useful errors" provided additional value. Long-stay patients misclassified as short-stay (False Negatives) had an average LOS of 176 hours—much shorter than the 262-hour average for correctly identified long-stay patients. This suggests the model captures a spectrum of clinical severity rather than just a binary threshold. However, the simulation also showed that in "capacitated" scenarios (near-full hospitals), the benefits of improved prediction are limited by physical bed availability.

Discussion and Limitations

While the results are promising, the study is limited by its single-site nature, potentially affecting the model's generalizability. Additionally, the current model lacks social determinants of health data (e.g., housing status), which frequently influence discharge delays. Future research should explore multi-class classification or regression to provide continuous discharge probabilities, allowing for more dynamic bed management. Despite these limitations, the integration of ML-based LOS prediction with operational simulation provides a powerful tool for hospital resource optimization.

Summary updated

BibTeX
@misc{cevik2023assessing,
  author = {Mucahit Cevik and Can Kavaklioglu and Fahad Razak and Amol Verma and Ayse Basar},
  title = {{Assessing the impact of emergency department short stay units using length-of-stay prediction and discrete event simulation}},
  year = {2023},
  eprint = {2308.02730},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.02730},
}
Figure