Prediction of hospitalization and waiting time within 24 hours of emergency department patients with unstructured text data

Health Care Manag Sci. 2024 Mar;27(1):114-129. doi: 10.1007/s10729-023-09660-5. Epub 2023 Nov 3.

Abstract

Overcrowding of emergency departments is a global concern, leading to numerous negative consequences. This study aimed to develop a useful and inexpensive tool derived from electronic medical records that supports clinical decision-making and can be easily utilized by emergency department physicians. We presented machine learning models that predicted the likelihood of hospitalizations within 24 hours and estimated waiting times. Moreover, we revealed the enhanced performance of these machine learning models compared to existing models by incorporating unstructured text data. Among several evaluated models, the extreme gradient boosting model that incorporated text data yielded the best performance. This model achieved an area under the receiver operating characteristic curve score of 0.922 and an area under the precision-recall curve score of 0.687. The mean absolute error revealed a difference of approximately 3 hours. Using this model, we classified the probability of patients not being admitted within 24 hours as Low, Medium, or High and identified important variables influencing this classification through explainable artificial intelligence. The model results are readily displayed on an electronic dashboard to support the decision-making of emergency department physicians and alleviate overcrowding, thereby resulting in socioeconomic benefits for medical facilities.

Keywords: Electronic medical record; Emergency department; Explainable artificial intelligence; Hospital admission prediction; Machine learning; Natural language processing.

MeSH terms

  • Artificial Intelligence*
  • Emergency Service, Hospital
  • Hospitalization
  • Humans
  • Machine Learning
  • Retrospective Studies
  • Waiting Lists*