Evaluation of ChatGPT’s Potential for Predicting Mortality Among Patients with Sepsis in the Emergency Department at Warinchamrap Hospital, Ubon Ratchathani Province

Main Article Content

Pathtarakun Taepakdee

Abstract

Background: Sepsis is a medical emergency associated with high mortality. Early prognostication is important for treatment planning. However, evidence regarding the potential of ChatGPT for mortality prediction among patients with sepsis in real-world clinical practice in Thailand remains limited.


Objective: To evaluate the potential of ChatGPT in predicting 7-day and 28-day mortality among patients with sepsis presenting to the emergency department.


Methods: This prospective study included 272 patients with sepsis presenting to the emergency department at Warinchamrap Hospital, Ubon Ratchathani Province, between January and May 2026. First-day clinical data were entered into ChatGPT (GPT-4) using a structured prompt to predict 7-day and 28-day mortality. Prediction outputs were converted into binary outcomes and compared with observed outcomes.


Results: Among 272 patients, 12 (4.4%) died within 7 days, while a total of 26 patients (9.6%) had died by 28 days. Patients who died were significantly older, had more comorbidities, and had greater disease severity. They had a higher prevalence of septic shock, lower systolic blood pressure, higher respiratory rate, lower oxygen saturation, more frequent vasopressor use, and greater intravenous fluid administration within the first hour than survivors (p<0.05). ChatGPT predicted 7-day mortality with a sensitivity of 83.3%, specificity of 53.5%, PPV of 7.6%, NPV of 98.6%, and an AUROC of 0.684 (95% CI: 0.57–0.79). For 28-day mortality, the sensitivity was 73.1%, specificity was 56.1%, PPV was 15.0%, NPV was 95.2%, and the AUROC was 0.646 (95% CI: 0.55–0.73).


Conclusions: ChatGPT demonstrated the ability to discriminate between survivors and non-survivors, with an AUROC of 0.684 for predicting 7-day mortality and 0.646 for predicting 28-day mortality.

Article Details

How to Cite
Taepakdee, P. (2026). Evaluation of ChatGPT’s Potential for Predicting Mortality Among Patients with Sepsis in the Emergency Department at Warinchamrap Hospital, Ubon Ratchathani Province. MEDICAL JOURNAL OF SISAKET SURIN BURIRAM HOSPITALS, 41(2), 555–564. retrieved from https://he02.tci-thaijo.org/index.php/MJSSBH/article/view/282338
Section
Original Articles

References

วิมลรัตน์ เสนาะเสียง. การพัฒนาระบบการดูแลผู้ป่วยติดเชื้อในกระแสเลือด (SEPSIS) โรงพยาบาลสมเด็จ. วารสารการศึกษาสุขภาพและการจัดการสิ่งแวดล้อม 2566;8(3):661–667.

Rudd KE, Johnson SC, Agesa KM, Shackelford KA, Tsoi D, Kievlan DR, et al. Global, regional, and national sepsis incidence and mortality, 1990-2017: analysis for the Global Burden of Disease Study. Lancet 2020;395(10219):200-11. doi: 10.1016/S0140-6736(19)32989-7.

Evans L, Rhodes A, Alhazzani W, Antonelli M, Coopersmith CM, French C, et al. Surviving sepsis campaign: international guidelines for management of sepsis and septic shock 2021. Intensive Care Med 2021;47(11):1181-247. doi: 10.1007/s00134-021-06506-y.

Kądziołka I, Świstek R, Borowska K, Tyszecki P, Serednicki W. Validation of APACHE II and SAPS II scales at the intensive care unit along with assessment of SOFA scale at the admission as an isolated risk of death predictor. Anaesthesiol Intensive Ther 2019;51(2):107-11. doi: 10.5114/ait.2019.86275.

Tekin B, Kiliç J, Taşkin G, Solmaz İ, Tezel O, Başgöz BB. The Comparison of scoring systems: SOFA, APACHE-II, LODS, MODS, and SAPS-II in critically ill elderly sepsis patients. J Infect Dev Ctries 2024;18(1):122-30. doi: 10.3855/jidc.18526.

Bao C, Deng F, Zhao S. Machine-learning models for prediction of sepsis patients mortality.

Med Intensiva (Engl Ed) 2023;47(6):315-25. doi: 10.1016/j.medine.2022.06.024.

Zhang G, Shao F, Yuan W, Wu J, Qi X, Gao J, et al. Predicting sepsis in-hospital mortality with machine learning: a multi-center study using clinical and inflammatory biomarkers. Eur J Med Res 2024;29(1):156. doi: 10.1186/s40001-024-01756-0.

Lundberg S, Lee Su-In. A Unified Approach to Interpreting Model Predictions. [Internet]. [cited 2025 Nov 1]. Available from:URL: https://www.researchgate.net/publication/317062430_A_Unified_Approach_to_Interpreting_Model_Predictions.

Chung P, Fong CT, Walters AM, Aghaeepour N, Yetisgen M, O'Reilly-Shah VN. Large Language Model Capabilities in Perioperative Risk Prediction and Prognostication. JAMA Surg 2024;159(8):928-37. doi: 10.1001/jamasurg.2024.1621.

Oh N, Cha WC, Seo JH, Choi SG, Kim JM, Chung CR, et al. ChatGPT Predicts In-Hospital All-Cause Mortality for Sepsis: In-Context Learning with the Korean Sepsis Alliance Database. Healthc Inform Res 2024;30(3):266-76. doi: 10.4258/hir.2024.30.3.266.

Amacher SA, Arpagaus A, Sahmer C, Becker C, Gross S, Urben T, et al. Prediction of outcomes after cardiac arrest by a generative artificial intelligence model. Resusc Plus 2024;18:100587. doi: 10.1016/j.resplu.2024.100587.

Basaran AE, Güresir A, Knoch H, Vychopen M, Güresir E, Wach J. Beyond traditional prognostics: integrating RAG-enhanced AtlasGPT and ChatGPT 4.0 into aneurysmal subarachnoid hemorrhage outcome prediction. Neurosurg Rev 2025;48(1):40. doi: 10.1007/s10143-025-03194-w.

Singer M, Deutschman CS, Seymour CW, Shankar-Hari M, Annane D, Bauer M, et al.

The Third International Consensus Definitions for Sepsis and Septic Shock (Sepsis-3). JAMA 2016;315(8):801-10. doi: 10.1001/jama.2016.0287.

Haas R, McGill SC. Artificial Intelligence for the Prediction of Sepsis in Adults: CADTH Horizon Scan [Internet]. Ottawa (ON): Canadian Agency for Drugs and Technologies in Health; 2022 [cited 2026 May 15]. (CADTH Horizon Scans). Available from:URL https://www.ncbi.nlm.nih.gov/books/NBK596676/.

Liu Z, Shu W, Li T, Zhang X, Chong W. Interpretable machine learning for predicting sepsis risk in emergency triage patients. Sci Rep 2025;15(1):887. doi: 10.1038/s41598-025-85121-z.