Published on in Vol 4 (2025)

Preprints (earlier versions) of this paper are available at https://preprints.jmir.org/preprint/73342, first published .
Authors’ Reply: Predicting the Emergency Department Patient Journey Using a Machine Learning Approach

Authors’ Reply: Predicting the Emergency Department Patient Journey Using a Machine Learning Approach

Authors’ Reply: Predicting the Emergency Department Patient Journey Using a Machine Learning Approach

Authors of this article:

Dhavalkumar Patel1 Author Orcid Image ;   Eyal Klang1 Author Orcid Image ;   Prem Timsina1 Author Orcid Image

Icahn School of Medicine at Mount Sinai, Institute for Healthcare Delivery Science, 7400 River Rd #231, New York City, NJ, United States

Corresponding Author:

Dhavalkumar Patel, MSc



We appreciate the letter by Kovoor et al [1] referencing our recent article on predicting hospitalizations from nurse triage notes [2]. We congratulate the authors on their work using XGBoost (extreme gradient boosting), random forest, and logistic regression to predict multiple emergency department (ED) outcomes, including prolonged length of stay and inpatient admissions. Their integration of systemic factors, such as bed occupancy, underscores how operational data can enhance model performance.

One key area of interest is the integration of structured electronic health record data, such as vitals or laboratory values, with free-text triage notes. Our experience suggests that combining narrative descriptions with numerical features can yield deeper insights than either source alone, capturing both clinical context and objective measurements. Furthermore, recent studies point toward improved performance when text-based features are complemented by relevant structured data, offering a richer perspective on patient acuity and ED workflow [3].

Another promising direction involves large language models (LLMs). We have explored the use of GPT-4 for predicting ED admissions using real-world triage scenarios. Our approach used two methods: a naive application of the LLM and an augmented approach incorporating retrieval-augemented generation examples and probabilities derived from established machine learning models. Although a naive LLM approach might be outperformed traditional approaches, providing relevant clinical examples and numeric predictions can significantly enhance its performance, narrowing the gap. This synergy between LLMs and conventional machine learning could pave the way for more adaptive and interpretable decision support tools in the ED [3].

We agree with the authors that incorporating systemic variables can enrich predictive power and look forward to further exploration in real-time settings. Our findings suggest that simpler methods can be effective in resource-limited environments. The authors’ demonstration that XGBoost excels in their cohort supports the evolving role of various algorithms across diverse health systems.

We appreciate their contribution and share their view that ongoing validation and broader integration of machine learning can aid ED decision-making.

Conflicts of Interest

None declared.

  1. Kovoor JG, Carmichael GJ, Stretton B, Gupta AK. Predicting the emergency department patient journey using a machine learning approach. JMIR AI. 2025;4:e67321. [CrossRef]
  2. Patel D, Timsina P, Gorenstein L, et al. Traditional machine learning, deep learning, and BERT (large language model) approaches for predicting hospitalizations from nurse triage notes: comparative evaluation of resource management. JMIR AI. Aug 27, 2024;3:e52190. [CrossRef] [Medline]
  3. Glicksberg BS, Timsina P, Patel D, et al. Evaluating the accuracy of a state-of-the-art large language model for prediction of admissions from the emergency room. J Am Med Inform Assoc. Sep 1, 2024;31(9):1921-1928. [CrossRef] [Medline]


ED: emergency department
LLM: large language model
XGBoost: extreme gradient boosting


Edited by Khaled El Emam; This is a non–peer-reviewed article. submitted 02.Mar.2025; accepted 22.May.2025; published 19.Dec.2025.

Copyright

© Dhavalkumar Patel, Eyal Klang, Prem Timsina. Originally published in JMIR AI (https://ai.jmir.org), 19.Dec.2025.

This is an open-access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in JMIR AI, is properly cited. The complete bibliographic information, a link to the original publication on https://www.ai.jmir.org/, as well as this copyright and license information must be included.