{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,18]],"date-time":"2026-08-18T04:38:59Z","timestamp":1787027939410,"version":"build-2736575974"},"reference-count":23,"publisher":"MDPI AG","issue":"11","license":[{"start":{"date-parts":[[2026,5,26]],"date-time":"2026-05-26T00:00:00Z","timestamp":1779753600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Diagnostics"],"abstract":"<jats:p>Background\/Objectives: Acute gastrointestinal (GI) emergencies require timely and accurate prediction of surgical necessity to avoid delayed intervention and improve patient outcomes. Traditional scoring systems offer limited accuracy and fail to integrate multimodal data. This study aimed to develop and validate an explainable machine learning model for early prediction of surgical necessity in patients presenting with GI emergencies. Methods: A retrospective cohort of 1032 consecutive adult patients admitted with acute GI emergencies at a tertiary referral center (2019\u20132024) was analyzed. Three predictive models were developed: logistic regression, Random Forest, and XGBoost. Features included clinical, laboratory, and contrast-enhanced CT imaging variables available within the first 24 h. Model performance was evaluated using AUC, sensitivity, specificity, PPV, NPV, and F1-score. Shapley Additive Explanations (SHAP) were applied for global and individual-level interpretability. The study followed STROBE and TRIPOD+AI reporting guidelines. Results: Surgical intervention was required in 312 patients (30.2%). The XGBoost model achieved the highest AUC (0.89; 95% CI: 0.86\u20130.92), outperforming Random Forest (AUC 0.86) and logistic regression (AUC 0.79), with sensitivity 0.84, specificity 0.81, and NPV 0.90. The most influential predictors were serum lactate, CT findings (free intraperitoneal air, bowel ischemia), IL-6, and shock index. Decision curve analysis confirmed net clinical benefit across threshold probabilities of 10\u201370%. Subgroup performance remained robust across diagnostic categories (AUC 0.87\u20130.91). Conclusions: An explainable XGBoost model integrating early clinical, laboratory, and imaging data accurately predicts surgical necessity in GI emergencies and outperforms traditional scoring systems. SHAP-based explainability supports clinical adoption and transparency. Prospective multicenter validation is warranted. The positive predictive value of 0.74 indicates that approximately one in four patients flagged as requiring surgery may not need operative intervention. The model should be regarded as a decision-support adjunct, rather than a standalone surgical decision tool, that is most relevant in settings where immediate experienced surgical judgment is limited.<\/jats:p>","DOI":"10.3390\/diagnostics16111626","type":"journal-article","created":{"date-parts":[[2026,5,26]],"date-time":"2026-05-26T11:02:51Z","timestamp":1779793371000},"page":"1626","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":1,"title":["Explainable Machine Learning for Early Prediction of Surgical Necessity in Gastrointestinal Emergencies: A Multimodal Diagnostic Study"],"prefix":"10.3390","volume":"16","author":[{"given":"Oprescu Macovei","family":"Anca Monica","sequence":"first","affiliation":[{"name":"Faculty of General, University of Medicine and Pharmacy Carol Davila, 050474 Bucharest, Romania"},{"name":"Gastroenterology Department, Emergency Clinical Hospital Agrippa Ionescu, 011356 Bucharest, Romania"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Dana Paula","family":"Venter","sequence":"additional","affiliation":[{"name":"Faculty of General, University of Medicine and Pharmacy Carol Davila, 050474 Bucharest, Romania"},{"name":"Gastroenterology Department, Emergency Clinical Hospital Agrippa Ionescu, 011356 Bucharest, Romania"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Stefan","family":"Mihai","sequence":"additional","affiliation":[{"name":"Faculty of General, University of Medicine and Pharmacy Carol Davila, 050474 Bucharest, Romania"},{"name":"General Surgery Department, Emergency Clinical Hospital Floreasca, 014461 Bucharest, Romania"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Constantin","family":"Oprescu","sequence":"additional","affiliation":[{"name":"Faculty of General, University of Medicine and Pharmacy Carol Davila, 050474 Bucharest, Romania"},{"name":"General Surgery Department, Emergency Clinical Hospital Floreasca, 014461 Bucharest, Romania"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0007-1533-7668","authenticated-orcid":false,"given":"Andrei","family":"Gabriel","sequence":"additional","affiliation":[{"name":"Faculty of General, University of Medicine and Pharmacy Carol Davila, 050474 Bucharest, Romania"},{"name":"General Surgery Department, Emergency Clinical Hospital Floreasca, 014461 Bucharest, Romania"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Dumitriu","family":"Bogdan","sequence":"additional","affiliation":[{"name":"Faculty of General, University of Medicine and Pharmacy Carol Davila, 050474 Bucharest, Romania"},{"name":"General Surgery Department, Emergency Clinical Hospital Floreasca, 014461 Bucharest, Romania"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Micle","family":"Bianca-Maria","sequence":"additional","affiliation":[{"name":"Faculty of General, University of Medicine and Pharmacy Carol Davila, 050474 Bucharest, Romania"},{"name":"General Surgery Department, Emergency Clinical Hospital Floreasca, 014461 Bucharest, Romania"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Valcea","family":"Sebastian","sequence":"additional","affiliation":[{"name":"Faculty of General, University of Medicine and Pharmacy Carol Davila, 050474 Bucharest, Romania"},{"name":"General Surgery Department, Emergency Clinical Hospital Floreasca, 014461 Bucharest, Romania"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-5730-9381","authenticated-orcid":false,"given":"Oana-Mihaela","family":"Plotogea","sequence":"additional","affiliation":[{"name":"General Surgery Department, Emergency Clinical Hospital Floreasca, 014461 Bucharest, Romania"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Ilie","family":"Madalina","sequence":"additional","affiliation":[{"name":"Faculty of General, University of Medicine and Pharmacy Carol Davila, 050474 Bucharest, Romania"},{"name":"Gastroenterology Department, Emergency Clinical Hospital Floreasca, 014461 Bucharest, Romania"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2026,5,26]]},"reference":[{"key":"ref_1","first-page":"69","article-title":"Prognostic signs and the role of operative management in acute pancreatitis","volume":"139","author":"Ranson","year":"1974","journal-title":"Surg. Gynecol. Obstet."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"818","DOI":"10.1097\/00003246-198510000-00009","article-title":"APACHE II: A severity of disease classification system","volume":"13","author":"Knaus","year":"1985","journal-title":"Crit. Care Med."},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"707","DOI":"10.1007\/BF01709751","article-title":"The SOFA score to describe organ dysfunction\/failure. On behalf of the Working Group on Sepsis-Related Problems of the European Society of Intensive Care Medicine","volume":"22","author":"Vincent","year":"1996","journal-title":"Intensive Care Med."},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"557","DOI":"10.1016\/S0196-0644(86)80993-3","article-title":"A practical score for the early diagnosis of acute appendicitis","volume":"15","author":"Alvarado","year":"1986","journal-title":"Ann. Emerg. Med."},{"key":"ref_5","first-page":"84","article-title":"The Mannheim peritonitis index. An instrument for the intraoperative prognosis of peritonitis","volume":"369","author":"Linder","year":"1987","journal-title":"Langenbecks Arch. Surg."},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"331","DOI":"10.1148\/radiology.174.2.2296641","article-title":"Acute pancreatitis: Value of CT in establishing prognosis","volume":"174","author":"Balthazar","year":"1990","journal-title":"Radiology"},{"key":"ref_7","doi-asserted-by":"crossref","unstructured":"Zhu, J., Wu, L., Wang, Y., Fang, M., Liu, Q., and Zhang, X. (2024). Predictive value of the Ranson and BISAP scoring systems for the severity and prognosis of acute pancreatitis: A systematic review and meta-analysis. PLoS ONE, 19.","DOI":"10.1371\/journal.pone.0302046"},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"825","DOI":"10.1002\/ueg2.12464","article-title":"Clinical usefulness of scoring systems to predict severe acute pancreatitis: A systematic review and meta-analysis with pre and post-test probability assessment","volume":"11","author":"Capurso","year":"2023","journal-title":"United Eur. Gastroenterol. J."},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"995","DOI":"10.1007\/s00595-021-02380-9","article-title":"Machine learning in gastrointestinal surgery","volume":"52","author":"Sakamoto","year":"2022","journal-title":"Surg. Today"},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"3527","DOI":"10.1097\/JS9.0000000000001276","article-title":"Machine learning based peri-surgical risk calculator for abdominal related emergency general surgery: A multicenter retrospective study","volume":"110","author":"Chen","year":"2024","journal-title":"Int. J. Surg."},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"711","DOI":"10.1016\/j.athoracsur.2021.08.040","article-title":"Machine learning to predict outcomes and cost by phase of care after coronary artery bypass grafting","volume":"114","author":"Ryan","year":"2022","journal-title":"Ann. Thorac. Surg."},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Critelli, B., Hassan, A., Lahooti, I., Noh, L., Park, J.S., Tong, K., Lahooti, A., Matzko, N., Adams, J.N., and Liss, L. (2025). Systematic review of machine learning-based prognostic models for acute pancreatitis: Towards improving methods and reporting quality. PLoS Med., 22.","DOI":"10.1371\/journal.pmed.1004432"},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"1927","DOI":"10.21037\/qims-22-821","article-title":"Early prediction of acute pancreatitis severity based on changes in pancreatic and peripancreatic computed tomography radiomics nomogram","volume":"13","author":"Zhao","year":"2023","journal-title":"Quant. Imaging Med. Surg."},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"13651","DOI":"10.2147\/JIR.S538345","article-title":"A nomogram for early prediction of infected pancreatic necrosis based on contrast-enhanced CT radiomics and inflammatory indicators","volume":"18","author":"Yao","year":"2025","journal-title":"J. Inflamm. Res."},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"e078378","DOI":"10.1136\/bmj-2023-078378","article-title":"TRIPOD+AI statement: Updated guidance for reporting clinical prediction models","volume":"385","author":"Collins","year":"2024","journal-title":"BMJ"},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"27","DOI":"10.1186\/s13017-020-00306-3","article-title":"Diagnosis and treatment of acute appendicitis: 2020 update of the WSES Jerusalem guidelines","volume":"15","author":"Podda","year":"2020","journal-title":"World J. Emerg. Surg."},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"61","DOI":"10.1186\/s13017-020-00336-x","article-title":"2020 World Society of Emergency Surgery updated guidelines for the diagnosis and treatment of acute calculus cholecystitis","volume":"15","author":"Pisano","year":"2020","journal-title":"World J. Emerg. Surg."},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"3","DOI":"10.1186\/s13017-019-0283-9","article-title":"Perforated and bleeding peptic ulcer: WSES guidelines","volume":"15","author":"Tarasconi","year":"2020","journal-title":"World J. Emerg. Surg."},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"20","DOI":"10.1186\/s13017-019-0240-7","article-title":"Bowel obstruction: A narrative review for all physicians","volume":"14","author":"Catena","year":"2019","journal-title":"World J. Emerg. Surg."},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"27","DOI":"10.1186\/s13017-019-0247-0","article-title":"2019 WSES guidelines for the management of severe acute pancreatitis","volume":"14","author":"Leppaniemi","year":"2019","journal-title":"World J. Emerg. Surg."},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"54","DOI":"10.1186\/s13017-022-00443-x","article-title":"Acute mesenteric ischemia: Updated guidelines of the World Society of Emergency Surgery","volume":"17","author":"Bala","year":"2022","journal-title":"World J. Emerg. Surg."},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"32","DOI":"10.1186\/s13017-020-00313-4","article-title":"2020 update of the WSES guidelines for the management of acute colonic diverticulitis in the emergency setting","volume":"15","author":"Sartelli","year":"2020","journal-title":"World J. Emerg. Surg."},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"69","DOI":"10.1186\/s13049-017-0415-8","article-title":"Serum lactate is an independent predictor of hospital mortality in critically ill patients in the emergency department: A retrospective study","volume":"25","author":"Shami","year":"2017","journal-title":"Scand. J. Trauma Resusc. Emerg. Med."}],"container-title":["Diagnostics"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2075-4418\/16\/11\/1626\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,5,26]],"date-time":"2026-05-26T11:20:53Z","timestamp":1779794453000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2075-4418\/16\/11\/1626"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,5,26]]},"references-count":23,"journal-issue":{"issue":"11","published-online":{"date-parts":[[2026,6]]}},"alternative-id":["diagnostics16111626"],"URL":"https:\/\/doi.org\/10.3390\/diagnostics16111626","relation":{},"ISSN":["2075-4418"],"issn-type":[{"value":"2075-4418","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,5,26]]}}}