Evaluating the accuracy of a state-of-the-art large language model for prediction of admissions from the emergency room
Open accessAbstract
BACKGROUND: Artificial intelligence (AI) and large language models (LLMs) can play a critical role in emergency room operations by augmenting decision-making about patient admission. However, there are no studies for LLMs using real-world data and scenarios, in comparison to and being informed by traditional supervised machine learning (ML) models. We evaluated the performance of GPT-4 for predicting patient admissions from emergency department (ED) visits. We compared performance to traditional ML models both naively and when informed by few-shot examples and/or numerical probabilities. METHODS: We conducted a retrospective study using electronic health records across 7 NYC hospitals. We trained Bio-Clinical-BERT and XGBoost (XGB) models on unstructured and structured data, respectively, and created an ensemble model reflecting ML performance. We then assessed GPT-4 capabilities in many scenarios: through Zero-shot, Few-shot with and without retrieval-augmented generation (RAG), and with and without ML numerical probabilities. RESULTS: The Ensemble ML model achieved an area under the receiver operating characteristic curve (AUC) of 0.88, an area under the precision-recall curve (AUPRC) of 0.72 and an accuracy of 82.9%. The naïve GPT-4's performance (0.79 AUC, 0.48 AUPRC, and 77.5% accuracy) showed substantial improvement when given limited, relevant data to learn from (ie, RAG) and underlying ML probabilities (0.87 AUC, 0.71 AUPRC, and 83.1% accuracy). Interestingly, RAG alone boosted performance to near peak levels (0.82 AUC, 0.56 AUPRC, and 81.3% accuracy). CONCLUSIONS: The naïve LLM had limited performance but showed significant improvement in predicting ED admissions when supplemented with real-world examples to learn from, particularly through RAG, and/or numerical probabilities from traditional ML models. Its peak performance, although slightly lower than the pure ML model, is noteworthy given its potential for providing reasoning behind predictions. Further refinement of LLMs with real-world data is necessary for successful integration as decision-support tools in care settings.
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
Large language models (LLMs) can be integrated to analyze social media data and patient-generated content, providing insights into the social and environmental factors influencing health outcomes across communities and networks.
“Moreover, large language models (LLMs) can be integrated into this principle to analyze social media data and patient-generated content, providing insights into the social and environmental factors influencing health outcomes across communities and networks [23, 48–52].”
From Integrating machine learning and artificial intelligence in life-course epidemiology: pathways to innovative public health solutions (2024) · cites this paper as [51]
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Cites
Boonstra, A., & Laven, M. (2022) · BMC Health Services Research · doi:10.1186/s12913-022-08070-7 · Cited by 87 · see citing works
Flagged first, then by citations
Research works printed but not linked: 16
- Boyle J, Jessup M, Crilly J, et al. Predicting emergency department admissions. Emerg Med J. 2012;29(5):358-365.
- Somanchi S, Adjerid I, Gross R. To predict or not to predict: the case of the emergency department. Prod Oper Manag. 2022;31 (2):799-818.
- Brink A, Alsma J, van Attekum LA, et al. Predicting inhospital admission at the emergency department: a systematic review. Emerg Med J. 2022;39(3):191-198.
- S� anchez-Salmer� on R, G� omez-Urquiza JL, Albend� ın-Garc� ıa L, et al. Machine learning methods applied to triage in emergency services: A systematic review. Int Emerg Nurs. 2022;60:101109.
- Thirunavukarasu AJ, Ting DSJ, Elangovan K, et al. Large language models in medicine. Nat Med. 2023;29(8):1930-1940.
- Yang X, Chen A, PourNejatian N, et al. A large language model for electronic health records. NPJ Digit Med. 2022;5(1):194.
- Jiang LY, Liu XC, Nejatian NP, et al. Health system-scale lan- guage models are all-purpose prediction engines. Nature. 2023;619(7969):357-362.
- Peng C, Yang X, Chen A, et al. A study of generative large lan- guage model for medical research and healthcare. NPJ Digit Med. 2023;6(1):210.
- Lewis P, Pertz E, Piktus A, et al. Retrieval-augmented generation for knowledge-intensive NLP tasks. Adv Neural Inf Process Syst. 2020;33:9459-9474.
- Gao Y, Xiong Y, Xinyu G, et al. Retrieval-augmented generation for large language models: a survey. http://arxiv.org/abs/2312. 10997, 2024, preprint: not peer reviewed.
- Vaid A, Lampert J, Lee J, et al. Generative Large Language Models are autonomous practitioners of evidence-based medicine. http:// arxiv.org/abs/2401.02851, 2024, preprint: not peer reviewed. · arXiv
- Eriksen A, Moller S, Ryg J. Use of GPT-4 to diagnose complex clinical cases. NEJM AI. 2023;1(1). https://doi.org/10.1056/ AIp2300031 · DOI · Paper page
- Gebrael G, Sahu KK, Chigarira B, et al. Enhancing triage efficiency and accuracy in emergency rooms for patients with metastatic prostate cancer: a retrospective analysis of artificial intelligence- assisted triage using ChatGPT 4.0. Cancers. 2023;15(14):3717.
- Ling Y. BioþClinical BERT, BERT Base, and CNN performance comparison for predicting drug-review satisfaction. http://arxiv. org/abs/2308.03782, 2023, preprint: not peer reviewed 1928 Journal of the American Medical Informatics Association, 2024, Vol. 31, No. 9
- # The Author(s) 2024. Published by Oxford University Press on behalf of the American Medical Informatics Association.
- All rights reserved. For permissions, please email: journals.permissions@oup.com Journal of the American Medical Informatics Association, 2024, 31, 1921-1928 https://doi.org/10.1093/jamia/ocae103 Research and Applications · DOI
Cited by
Sorted by citations
Liu, S., McCoy, A. B., & Wright, A. (2025) · Journal of the American Medical Informatics Association · doi:10.1093/jamia/ocaf008 · Cited by 200 · see citing works
Sociodemographic biases in medical decision making by large language models
Omar, M., Soffer, S., Agbareia, R., Bragazzi, N. L., Apakama, D. U., Horowitz, C. R., Charney, A. W., Freeman, R., Kummer, B., Glicksberg, B. S., et al. (2025) · Nature Medicine · doi:10.1038/s41591-025-03626-6 · Cited by 173 · see citing works
Self-citationChen, S., Yu, J., Chamouni, S., Wang, Y., & Li, Y. (2024) · BMC Medicine · doi:10.1186/s12916-024-03566-x · Cited by 73 · see citing works
Generative artificial intelligence: implications for biomedical and health professions education
Hersh, W. (2025) · Annual Review of Biomedical Data Science · doi:10.1146/annurev-biodatasci-103123-094756 · Cited by 28 · see citing works
Transforming Informed Consent Generation Using Large Language Models: Mixed Methods Study
Shi, Q., Luzuriaga, K., Allison, J. J., Oztekin, A., Faro, J. M., Lee, J. L., Hafer, N., McManus, M., & Zai, A. H. (2025) · JMIR Medical Informatics · doi:10.2196/68139 · Cited by 23 · see citing works
“LLMs show significant potential in health informatics, including tasks such as name entity extraction [11], patient trial matching [12,13], biomedical reasoning and classification [14], prediction of admissions [15], automation of administrative tasks [16], and so forth.”
Du, X., Zhou, Z., Wang, Y., Chuang, Y.-W., Li, Y., Yang, R., Hong, P., Bates, D. W., & Zhou, L. (2026) · International Journal of Medical Informatics · doi:10.1016/j.ijmedinf.2025.106091 · Cited by 26 · see citing works
Benchmarking the Confidence of Large Language Models in Clinical Questions
Omar, M., Agbareia, R., Glicksberg, B. S., Nadkarni, G. N., & Klang, E. (2024) · doi:10.1101/2024.08.11.24311810 · Cited by 10 · see citing works
Self-citationBejan, C. A., Reed, A. M., Mikula, M., Zhang, S., Xu, Y., Fabbri, D., Embí, P. J., & Hsi, R. S. (2025) · Scientific Reports · doi:10.1038/s41598-025-86632-5 · Cited by 8 · see citing works
Assessing retrieval-augmented large language models for medical coding
Klang, E., Tessler, I., Apakama, D. U., Abbott, E., Glicksberg, B. S., Arnold, M., Moses, A., Sakhuja, A., Soroush, A., Charney, A. W., et al. (2025) · NEJM AI · doi:10.1056/aics2401161 · Cited by 6 · see citing works
Self-citation
- Authors
- Glicksberg, B. S., Timsina, P., Patel, D., Sawant, A., Vaid, A., Raut, G., Charney, A. W., Apakama, D., Carr, B. G., Freeman, R., Nadkarni, G. N., & Klang, E.
- Affiliations
- Icahn School of Medicine at Mount Sinai (US)
- Corresponding author
- Nadkarni, Girish N
- Klang, Eyal
- ORCID
- Venue
- Journal of the American Medical Informatics Association
- Publisher
- Oxford University Press (OUP)
- Published
- 2024-05-21
- Volume
- 31
- Issue
- 9
- Pages
- 1921-1928
- ISSN
- 1067-5027 (ISSN-L)
- 1527-974X
- PMC
- PMC11339523
- OpenAlex
- W4398183427
- Cited by
- 82
- References
- 1
- Citations by year
- 2026: 18 · 2025: 46 · 2024: 18
- FWCI
- 12.05
- Type
- journal article
- Language
- en
- Open access
- green
- www.ncbi.nlm.nih.gov
- Locations
- Journal of the American Medical Informatics Association (publishedVersion)
- PubMed Central (publishedVersion)
- PubMed (publishedVersion)
- Funders
- National Heart Lung and Blood Institute
- NIH (5R01HL141841-05)
- Topics
- Physical Sciences › Computer Science › Artificial Intelligence › Machine Learning in Healthcare
- Health Sciences › Medicine › Health Informatics › Artificial Intelligence in Healthcare and Education
- Health Sciences › Health Professions › Health Information Management › Artificial Intelligence in Healthcare
- Keywords
- large language models, GPT-4, emergency department admission, retrieval-augmented generation, few-shot learning, clinical decision support, ensemble learning, XGBoost, electronic health records
- MeSH terms
- Machine Learning, Supervised Machine Learning, Artificial Intelligence, Emergency Service, Hospital, Humans, Natural Language Processing, Patient Admission, Retrospective Studies, Electronic Health Records
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review