<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.0 20040830//EN" "journalpublishing.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="2.0" xml:lang="en" article-type="letter"><front><journal-meta><journal-id journal-id-type="nlm-ta">JMIR AI</journal-id><journal-id journal-id-type="publisher-id">ai</journal-id><journal-id journal-id-type="index">41</journal-id><journal-title>JMIR AI</journal-title><abbrev-journal-title>JMIR AI</abbrev-journal-title><issn pub-type="epub">2817-1705</issn><publisher><publisher-name>JMIR Publications</publisher-name><publisher-loc>Toronto, Canada</publisher-loc></publisher></journal-meta><article-meta><article-id pub-id-type="publisher-id">v4i1e73342</article-id><article-id pub-id-type="doi">10.2196/73342</article-id><article-categories><subj-group subj-group-type="heading"><subject>Letter to the Editor</subject></subj-group></article-categories><title-group><article-title>Authors&#x2019; Reply: Predicting the Emergency Department Patient Journey Using a Machine Learning Approach</article-title></title-group><contrib-group><contrib contrib-type="author" corresp="yes"><name name-style="western"><surname>Patel</surname><given-names>Dhavalkumar</given-names></name><degrees>MSc</degrees><xref ref-type="aff" rid="aff1"/></contrib><contrib contrib-type="author"><name name-style="western"><surname>Klang</surname><given-names>Eyal</given-names></name><degrees>MD</degrees><xref ref-type="aff" rid="aff1"/></contrib><contrib contrib-type="author"><name name-style="western"><surname>Timsina</surname><given-names>Prem</given-names></name><degrees>PhD</degrees><xref ref-type="aff" rid="aff1"/></contrib></contrib-group><aff id="aff1"><institution>Icahn School of Medicine at Mount Sinai, Institute for Healthcare Delivery Science</institution><addr-line>7400 River Rd #231</addr-line><addr-line>New York City</addr-line><addr-line>NJ</addr-line><country>United States</country></aff><contrib-group><contrib contrib-type="editor"><name name-style="western"><surname>Emam</surname><given-names>Khaled El</given-names></name></contrib></contrib-group><author-notes><corresp>Correspondence to Dhavalkumar Patel, MSc, Icahn School of Medicine at Mount Sinai, Institute for Healthcare Delivery Science, 7400 River Rd #231, New York City, NJ, 10017, United States, 1 2018794854; <email>pateldhaval021@hotmail.com</email></corresp></author-notes><pub-date pub-type="collection"><year>2025</year></pub-date><pub-date pub-type="epub"><day>19</day><month>12</month><year>2025</year></pub-date><volume>4</volume><elocation-id>e73342</elocation-id><history><date date-type="received"><day>02</day><month>03</month><year>2025</year></date><date date-type="accepted"><day>22</day><month>05</month><year>2025</year></date></history><copyright-statement>&#x00A9; Dhavalkumar Patel, Eyal Klang, Prem Timsina. Originally published in JMIR AI (<ext-link ext-link-type="uri" xlink:href="https://ai.jmir.org">https://ai.jmir.org</ext-link>), 19.12.2025. </copyright-statement><copyright-year>2025</copyright-year><license license-type="open-access" xlink:href="https://creativecommons.org/licenses/by/4.0/"><p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (<ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link>), 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 <ext-link ext-link-type="uri" xlink:href="https://www.ai.jmir.org/">https://www.ai.jmir.org/</ext-link>, as well as this copyright and license information must be included.</p></license><self-uri xlink:type="simple" xlink:href="https://ai.jmir.org/2025/1/e73342"/><related-article related-article-type="commentary article" id="v3" ext-link-type="doi" xlink:href="10.2196/52190" xlink:title="Comment on" vol="3" xlink:type="simple">https://ai.jmir.org/2024/1/e52190</related-article><related-article related-article-type="commentary article" ext-link-type="doi" xlink:href="10.2196/67321" xlink:title="Comment on" xlink:type="simple">https://ai.jmir.org/2025/1/e67321/</related-article><kwd-group><kwd>Bio-Clinical-BERT</kwd><kwd>term frequency&#x2013;inverse document frequency</kwd><kwd>TF-IDF</kwd><kwd>hospital resource management</kwd><kwd>resource management</kwd><kwd>logistic regression</kwd><kwd>retrospective analysis</kwd><kwd>large language model</kwd><kwd>emergency department</kwd><kwd>health informatics</kwd><kwd>patient care</kwd><kwd>language model</kwd><kwd>machine learning</kwd><kwd>hospitalization</kwd><kwd>deep learning</kwd></kwd-group></article-meta></front><body><p>We appreciate the letter by Kovoor et al [<xref ref-type="bibr" rid="ref1">1</xref>] referencing our recent article on predicting hospitalizations from nurse triage notes [<xref ref-type="bibr" rid="ref2">2</xref>]. 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.</p><p>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 [<xref ref-type="bibr" rid="ref3">3</xref>].</p><p>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 [<xref ref-type="bibr" rid="ref3">3</xref>].</p><p>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&#x2019; demonstration that XGBoost excels in their cohort supports the evolving role of various algorithms across diverse health systems.</p><p>We appreciate their contribution and share their view that ongoing validation and broader integration of machine learning can aid ED decision-making.</p></body><back><fn-group><fn fn-type="conflict"><p>None declared.</p></fn></fn-group><glossary><title>Abbreviations</title><def-list><def-item><term id="abb1">ED</term><def><p>emergency department</p></def></def-item><def-item><term id="abb2">LLM</term><def><p>large language model</p></def></def-item><def-item><term id="abb3">XGBoost</term><def><p>extreme gradient boosting</p></def></def-item></def-list></glossary><ref-list><title>References</title><ref id="ref1"><label>1</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Kovoor</surname><given-names>JG</given-names> </name><name name-style="western"><surname>Carmichael</surname><given-names>GJ</given-names> </name><name name-style="western"><surname>Stretton</surname><given-names>B</given-names> </name><name name-style="western"><surname>Gupta</surname><given-names>AK</given-names> </name></person-group><article-title>Predicting the emergency department patient journey using a machine learning approach</article-title><source>JMIR AI</source><year>2025</year><volume>4</volume><fpage>e67321</fpage><pub-id pub-id-type="doi">10.2196/67321</pub-id></nlm-citation></ref><ref id="ref2"><label>2</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Patel</surname><given-names>D</given-names> </name><name name-style="western"><surname>Timsina</surname><given-names>P</given-names> </name><name name-style="western"><surname>Gorenstein</surname><given-names>L</given-names> </name><etal/></person-group><article-title>Traditional machine learning, deep learning, and BERT (large language model) approaches for predicting hospitalizations from nurse triage notes: comparative evaluation of resource management</article-title><source>JMIR AI</source><year>2024</year><month>08</month><day>27</day><volume>3</volume><fpage>e52190</fpage><pub-id pub-id-type="doi">10.2196/52190</pub-id><pub-id pub-id-type="medline">39190905</pub-id></nlm-citation></ref><ref id="ref3"><label>3</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Glicksberg</surname><given-names>BS</given-names> </name><name name-style="western"><surname>Timsina</surname><given-names>P</given-names> </name><name name-style="western"><surname>Patel</surname><given-names>D</given-names> </name><etal/></person-group><article-title>Evaluating the accuracy of a state-of-the-art large language model for prediction of admissions from the emergency room</article-title><source>J Am Med Inform Assoc</source><year>2024</year><month>09</month><day>1</day><volume>31</volume><issue>9</issue><fpage>1921</fpage><lpage>1928</lpage><pub-id pub-id-type="doi">10.1093/jamia/ocae103</pub-id><pub-id pub-id-type="medline">38771093</pub-id></nlm-citation></ref></ref-list></back></article>