journal article·2026-05-29Open access

Machine Learning for Predicting Medical Error Risks in Greek Surgery Departments

Ioanna Michou, Ioannis Maroulis, Ioannis Chatzilygeroudis, Constantinos Koutsojannis

Applied Sciences· Volume 16· Issue 11

Abstract

Patient safety remains a global priority, with surgical errors, including in-hospital infections, procedural mishaps, and delays in diagnosis or treatment, causing over 7 million adverse events and 1 million deaths annually. This study evaluates machine learning (ML) to predict the risk of medical errors in the general surgery department of a Greek tertiary university hospital. Medical error risk was operationalized using several proxy indicators derived from prolonged hospitalization and elevated treatment costs, validated against diagnosis-related complication codes. Using a 10-year dataset of 19,965 anonymized patient records (13.5% error cases, n = 2700), we applied ensemble ML algorithms via WEKA, achieving 94.3% accuracy (Random Forest) in detecting errors such as healthcare-associated infections (HAIs), medication errors, and equipment failures. Given the clinical importance of minimizing missed adverse events, model evaluation prioritized both sensitivity and AUC-ROC in addition to overall accuracy. Key predictors were hospitalization duration (ranked #1 via information gain) and initial diagnosis, enabling early risk flagging (e.g., post-op day 5). Further exploratory analyses excluding hospitalization duration from the predictor set demonstrated a moderate reduction in predictive performance while preserving clinically meaningful discriminative capability, suggesting that model performance was not exclusively dependent on hospitalization duration. Compared to US benchmarks like ACS NSQIP (90% accuracy), our model outperformed by 4.3%, filling a gap in EU/Greek studies amid data silos and resource constraints. Integration with tools like the WHO Surgical Safety Checklist could enable proactive interventions, such as enhanced monitoring for prolonged stays. However, the proposed framework should be interpreted as identifying high adverse-event risk patterns rather than directly detecting clinically adjudicated preventable medical errors. Limitations include retrospective biases and workflow integration challenges; ethical issues like data privacy and algorithmic fairness were addressed via anonymization and ethics approval. Future work will focus on multi-center validation, calibration analysis, longitudinal modeling, and integration of explainable artificial intelligence (XAI) techniques to improve transparency and clinical trust. By blending ML with clinician expertise, this approach shifts healthcare from reactive to proactive error mitigation, improving outcomes and reducing costs.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Quality and Safety in Healthcare · Occupational Health and Safety Research

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Physiotherapy Department, School of Health Rehabilitation Sciences, University of Patras, 26504 Patras, Greece

Department of Surgery, School of Health Sciences, University of Patras, 26504 Patras, Greece

Computer Engineering & Informatics Department, School of Engineering, University of Patras, 26504 Patras, Greece

Health Physics & Computational Intelligence Laboratory, Physiotherapy Department, School of Health Rehabilitation Sciences, University of Patras, 26504 Patras, Greece

References (44)

Show source-provided references
1. World Health Organization (2025, December 01). WHO Calls for Urgent Action to Reduce Patient Harm in Healthcare [Press Release], Available online: https://www.who.int/news/item/13-09-2019-who-calls-for-urgent-action-to-reduce-patient-harm-in-healthcare.
2. Medical error—The third leading cause of death in the US10.1136/bmj.i2139 ↗
3. Reporting and preventing medical mishaps: Lessons from non-medical near miss reporting systems10.1136/bmj.320.7237.759 ↗
4. High-performance medicine: The convergence of human and artificial intelligence10.1038/s41591-018-0300-7 ↗
5. Errors in surgery10.1016/j.ijsu.2005.04.003 ↗
6. Institute of Medicine (2000). To Err is Human: Building a Safer Health System, National Academies Press.
7. Flin, R., and O’Connor, P. (2017). Safety at the Sharp End: A Guide to Non-Technical Skills, CRC Press. [2nd ed.].10.1201/9781315607467 ↗
8. Defining and Studying Errors in Surgical Care: A Systematic Review10.1097/SLA.0000000000005351 ↗
9. Henriksen, K., Battles, J.B., Marks, E.S., and Lewin, D.I. (2025, December 01). Advances in Patient Safety: From Research to Implementation (Vols. 1–4), Available online: https://www.ncbi.nlm.nih.gov/books/NBK20545/.
10. Safety of inpatient care in surgical settings: Cohort study10.1136/bmj-2024-080480 ↗
11. Rates of serious surgical errors in California and plans to prevent recurrence10.1001/jamanetworkopen.2021.7058 ↗
12. Machine learning-enhanced T cell neoepitope discovery for immunotherapy design10.1177/1176935119852081 ↗
13. Patient safety at ten: Unmistakable progress, troubling gaps10.1377/hlthaff.2009.0785 ↗
14. Machine Learning and Surgical Outcomes Prediction: A Systematic Review10.1016/j.jss.2021.02.045 ↗
15. Dissecting racial bias in an algorithm used to manage the health of populations10.1126/science.aax2342 ↗
16. Natural language processing in medicine: A review
17. Machine learning for medical error prevention in departments of surgery: A review of challenges and biases10.30574/wjbphs.2025.22.1.0410 ↗
18. Addressing bias in big data and AI for health care: A call for open science10.1016/j.patter.2021.100347 ↗
19. Burnout and medical errors among American surgeons10.1097/SLA.0b013e3181bfdab3 ↗
20. Surgeon burnout, impact on patient safety and professionalism: A systematic review and meta-analysis10.1016/j.amjsurg.2021.12.027 ↗
21. The surgeon as a risk factor
22. “Global trigger tool” shows that adverse events in hospitals may be ten times greater than previously measured10.1377/hlthaff.2011.0190 ↗
23. Artificial intelligence, bias and clinical safety10.1136/bmjqs-2018-008370 ↗
24. Actionable artificial intelligence: Overcoming barriers to adoption of prediction tools10.1016/j.surg.2023.03.019 ↗
25. Machine-learning models for predicting surgical site infections using patient pre-operative risk and surgical procedure factors10.1016/j.ajic.2022.08.013 ↗
26. Zhou, Z.-H. (2012). Ensemble Methods: Foundations and Algorithms, CRC Press.10.1201/b12207 ↗
27. Zhou, Z.-H. (2021). Machine Learning, Springer. [2nd ed.].10.1007/978-981-15-1967-3 ↗
28. Holmes, G., Donkin, A., and Witten, I.H. (1994). WEKA: A machine learning workbench. Proceedings of ANZIIS ’94-Australian New Zealand Intelligent Information Systems Conference, IEEE.10.1109/ANZIIS.1994.396988 ↗
29. A multilayer perceptron-based medical decision support system for heart disease diagnosis10.1016/j.eswa.2005.07.022 ↗
30. Hall, M.A., and Smith, L.A. (1998). Practical feature subset selection for machine learning. Computer Science ‘98: Proceedings of the 21st Australasian Computer Science Conference, Springer.
31. Development and evaluation of the universal ACS NSQIP surgical risk calculator: A decision aid and informed consent tool for patients and surgeons10.1016/j.jamcollsurg.2013.07.385 ↗
32. Surgical Risk Is Not Linear: Derivation and Validation of a Novel, User-Friendly, and Machine-Learning-Based Predictive OpTimal Trees in Emergency Surgery Risk (POTTER) Calculator10.1097/SLA.0000000000002956 ↗
33. Stop explaining black box machine learning models for high stakes decisions and use interpretable models instead10.1038/s42256-019-0048-x ↗
34. Machine learning in medicine10.1056/NEJMra1814259 ↗
35. The incidence and nature of in-hospital adverse events: A systematic review10.1136/qshc.2007.023622 ↗
36. A unified approach to interpreting model predictions
37. Artificial intelligence in surgery: Promises and perils10.1097/SLA.0000000000002693 ↗
38. Cross, J.L., Choma, M.A., and Onofrey, J.A. (2024). Bias in medical AI: Implications for clinical decision-making. PLoS Digit. Health, 3.10.1371/journal.pdig.0000651 ↗
39. Applications of artificial intelligence in oral and maxillofacial cosmetic surgery: A systematic review of diagnostic, planning, and outcome assessment tools
40. Factors influencing hearing preservation in cochlear implant patients: A predictive modelling approach
41. Artificial intelligence–driven patient selection for preoperative portal vein embolization for patients with colorectal cancer liver metastases10.1016/j.jvir.2024.11.025 ↗
42. Michou, I., Fouras, A., Chrysanthakopoulou, D., Theodoritsi, M., Mariettou, S., Stellatou, S., and Koutsojannis, C. (2026). AI-Powered Physiotherapy: Evaluating LLMs Against Students in Clinical Rehabilitation Scenarios. Appl. Sci., 16.10.3390/app16031165 ↗
43. Preoperative prediction of intraoperative complications in cataract surgery: A machine learning approach10.1007/s10792-025-03837-3 ↗
44. Applications of artificial intelligence-based conversational agents in healthcare: A systematic umbrella review10.1016/j.ijmedinf.2025.106204 ↗