Machine Learning–Driven Identification of Determinants Affecting Clinical Outcomes in Outpatient Surgery

Authors

  • Najmeh Jamali * Department of Industrial Engineering, University of Torbat Heydarieh, Torbat Heydarieh, Iran. https://orcid.org/0009-0008-6990-2092
  • Mohammad Mehdi Ebrahimi Department of Industrial Engineering, University of Torbat Heydarieh, Torbat Heydarieh, Iran.

https://doi.org/10.22105/ahse.v3i3.66

Abstract

The increasing use of Artificial Intelligence (AI) and Machine Learning (ML) techniques in healthcare delivery organizations has opened up many possibilities to predict patients' outcomes and to optimize throughput in those organizations. The current paper introduces a simulation modeling framework to predict the outcomes of patients in outpatient surgery settings using the power of ML algorithms with a special focus on ensemble approaches to Random Forest models. Based on the ideas from Process Mining (PM) and predictive analytics in perioperative healthcare systems, the current paper proposes the process-aware modeling framework that consists of four steps: 1) Creation of synthetic data sets based on empirical probability distributions which are used to mimic the real-world patient flows, 2) Feature engineering and process-aware variables creation (including pre-operative risk factors – ASA physical status, intra-operative parameters and temporal metrics obtained from PM), 3) prediction of Length of Stay (LOS) and complication occurrence using the Random Forest Regressors and Random Forest Classifiers, and 4) system-level operational performance assessment based on the Key Performance Indicators (KPIs) which evaluate the effectiveness and efficiency of the workflow and bed occupancy. Applying the proposed modeling framework to synthetic patient flows results in identification of three most important factors affecting the post-surgical recovery: Surgical duration time, pre-operative physical status of a patient and process-aware waiting times. The predictive model shows high predictive performance: R²=0.81 and MAE=0.29 days for length-of-stay estimation and strong discriminative power for complication prediction.

Keywords:

Machine learning, Outpatient surgical analytics, Postoperative outcome prediction, Data-driven predictive modeling, Process mining

References

  1. [1] Goldhaber, N., Harjai, B., Waterman, R. S., Curran, B. P., Simpson, S., & Gabriel, R. A. (2022). Machine Learning-based models predicting outpatient surgery end time and recovery room discharge at an ambulatory surgery center. Anesthesia & Analgesia, 135(1), 159–169. https://doi.org/10.1213/ANE.0000000000006015

  2. [2] Nair, A. A., Velagapudi, M. A., Lang, J. A., Behara, L., Venigandla, R., Velagapudi, N., … ., & Nair, B. G. (2020). Machine learning approach to predict postoperative opioid requirements in ambulatory surgery patients. PloS One, 15(7), e0236833. https://doi.org/10.1371/journal.pone.0236833

  3. [3] Abdelrazig Merghani, A. M., Ahmed Esmail, A. K., Mubarak Osman, A. M. E., Abdelfrag Mohamed, N. A., Mohamed Ali Shentour, S. M., & Abdelrazig Merghani, S. M. (2025). The role of machine learning in management of operating room: A systematic review. Cureus, 17(2), e79400. https://doi.org/10.7759/cureus.79400

  4. [4] Bellini, V., Valente, M., Bertorelli, G., Pifferi, B., Craca, M., Mordonini, M., … ., & Bignami, E. (2022). Machine learning in perioperative medicine: a systematic review. Journal of Anesthesia, Analgesia and Critical Care, 2(1), 2. https://doi.org/10.1186/s44158-022-00033-y

  5. [5] Gabriel, R. A., Park, B. H., Hsu, C.-N., & Macias, A. A. (2025). A review of leveraging artificial intelligence to predict persistent postoperative opioid use and opioid use disorder and its ethical considerations. Current Pain and Headache Reports, 29(1), 30. https://doi.org/10.1007/s11916-024-01319-2

  6. [6] Tully, J. L., Zhong, W., Simpson, S., Curran, B. P., Macias, A. A., Waterman, R. S., & Gabriel, R. A. (2023). Machine learning prediction models to reduce length of stay at ambulatory surgery centers through case resequencing. Journal of Medical Systems, 47(1), 71. https://doi.org/10.1007/s10916-023-01966-9

  7. [7] Patel, S., Mishra, V., & Manda, V. (2026). Artificial intelligence and machine learning applications in ambulatory surgery – A systematic review. The American Journal of Surgery, 255, 116775. https://doi.org/10.1016/j.amjsurg.2025.116775

  8. [8] Wellington, I. J., Karsmarski, O. P., Murphy, K. V, Shuman, M. E., Ng, M. K., & Antonacci, C. L. (2023). The use of machine learning for predicting candidates for outpatient spine surgery: A review. Journal of Spine Surgery (Hong Kong), 9(3), 323–330. https://doi.org/10.21037/jss-22-121

  9. [9] Howell, T. C., Zaribafzadeh, H., Sumner, M. D., Rogers, U., Rollman, J., Buckland, D. M., ... ., & Rogers, B. (2024). Ambulatory surgery ensemble: predicting adult and pediatric same-day surgery cases across specialties. Annals of Surgery Open, 6(1), e534. https://doi.org/10.1097/AS9.0000000000000534

  10. [10] Mahajan, A., Esper, S., Oo, T. H., McKibben, J., Garver, M., Artman, J., … ., & Marroquin, O. C. (2023). Development and validation of a machine learning model to identify patients before surgery at high risk for postoperative adverse events. JAMA Network Open, 6(7), e2322285. https://doi.org/10.1001/jamanetworkopen.2023.22285

  11. [11] Singh, A., Farmer, P. E., Tully, J. L., Waterman, R. S., & Gabriel, R. A. (2025). Forecasting surgical bed utilization: Architectural design of a machine learning pipeline incorporating predicted length of stay and surgical volume. Journal of Medical Systems, 49(1), 67. https://doi.org/10.1007/s10916-025-02201-3

  12. [12] Renshaw, S., Satija, D., Aly, A., Edwards, P., Shannon, K., Guertin, M., ... & Poulose, B. K. (2026). Toward opioid-free ambulatory surgery: A prospective study using machine learning to predict postoperative opioid use. Journal of the American College of Surgeons, 242(4), 950–957. https://doi.org/10.1097/XCS.0000000000001803

  13. [13] Celik, U., Korkmaz, A., & Stoyanov, I. (2025). Integrating process mining and machine learning for surgical workflow optimization: A real-world analysis using the MOVER EHR dataset. Applied Sciences, 15(20), 1–29. https://doi.org/10.3390/app152011014

  14. [14] Limon, D., Satish, V., Raghavan, N., Morris, M. X., Muir, M. T., & Rajesh, A. (2026). Artificial intelligence in surgery revisited: A 2025 update on machine learning for predicting complications and outcomes. The american surgeon, 92(3), 658–674. https://doi.org/10.1177/00031348251393934

  15. [15] Liu, L., Zhang, P., Jia, Y., Hou, L., Peng, D., Li, Z., & Liang, P. (2025). Artificial intelligence in ambulatory surgery: Current applications, challenges, and future directions. Journal of Medical Systems, 49(1), 146. https://doi.org/10.1007/s10916-025-02286-w

Published

2026-07-07

How to Cite

Jamali, N., & Ebrahimi, M. M. (2026). Machine Learning–Driven Identification of Determinants Affecting Clinical Outcomes in Outpatient Surgery. Annals of Healthcare Systems Engineering, 3(3), 148-158. https://doi.org/10.22105/ahse.v3i3.66

Similar Articles

1-10 of 44

You may also start an advanced similarity search for this article.