Comparative Analysis of Machine Learning Algorithms for Predicting Consultation Wait Times in Outpatient Clinics
Comparative Analysis of Machine Learning Algorithms for Predicting Consultation Wait Times in Outpatient Clinics |
||
![]() |
![]() |
|
© 2025 by IJETT Journal | ||
Volume-73 Issue-2 |
||
Year of Publication : 2025 | ||
Author : Jeffin Joseph, S. Senith, A. Alfred Kirubaraj, S.R Jino Ramson |
||
DOI : 10.14445/22315381/IJETT-V73I2P108 |
How to Cite?
Jeffin Joseph, S. Senith, A. Alfred Kirubaraj, S.R Jino Ramson, "Comparative Analysis of Machine Learning Algorithms for Predicting Consultation Wait Times in Outpatient Clinics," International Journal of Engineering Trends and Technology, vol. 73, no. 2, pp. 92-106, 2025. Crossref, https://doi.org/10.14445/22315381/IJETT-V73I2P108
Abstract
Accurate prediction of consultation wait times significantly improves patient satisfaction and operational efficiency in outpatient clinics. This paper develops predictive models for consultation wait times using machine learning techniques, which include comprehensive predictors: patient demographics, temporal factors, queueing metrics, and historical wait time data. Fifteen Machine Learning models, including six regression and nine classification algorithms, were trained and evaluated using a dataset of 28,787 patient records from a multispecialty hospital. Results show that the tree-based models have better performance, in which the Decision Tree Regressor has the best performance among regression models with R² = 0.98, MAE = 0.40, and RMSE = 3.75, while the Random Forest Classifier is among the classification models with Accuracy = 95.65%, ROC-AUC = 98.91%. The analysis of feature importance using linear regression underscores the dominance of temporal factors and queueing metrics over demographic and historical wait time predictors in determining consultation wait times. This paper demonstrates that machine learning algorithms could be a good approach to predicting consultation wait time to help clinic operations. However, these findings need to be interpreted in the context of limitations in the dataset and the exclusion of some potentially important predictors. Future studies should validate the models in different clinical settings and include more variables to increase their generalizability and clinical usefulness.
Keywords
Hospital management, Machine learning, Wait time, Outpatient clinic, Random forest, Decision tree.
References
[1] John Launer, “Waiting Rooms and the Unconscious,” Postgraduate Medical Journal, vol. 88, no. 1040, pp. 361-362, 2012.
[CrossRef] [Google Scholar] [Publisher Link]
[2] Luigi Siciliani, and Rossella Verzulli, “Waiting Times and Socioeconomic Status among Elderly Europeans: Evidence from SHARE,” Health Economics, vol. 18, no. 11, pp. 1295-1306, 2009.
[CrossRef] [Google Scholar] [Publisher Link]
[3] Shane Mesko et al., “Using Patient Flow Analysis with Real-Time Patient Tracking to Optimize Radiation Oncology Consultation Visits,” BMC Health Services Research, vol. 22, no. 1, pp. 1-7, 2022.
[CrossRef] [Google Scholar] [Publisher Link]
[4] Christoper A. Alarcon-Ruiz, Paula Heredia, and Alvaro Taype-Rondan, “Association of Waiting and Consultation Time with Patient Satisfaction: Secondary-Data Analysis of a National Survey in Peruvian Ambulatory Care Facilities,” BMC Health Services Research, vol. 19, no. 1, pp. 1-9, 2019.
[CrossRef] [Google Scholar] [Publisher Link]
[5] Hui Zhang et al., “How to Adjust the Expected Waiting Time to Improve Patient’s Satisfaction?,” BMC Health Services Research, vol. 23, no. 1, pp. 1-8, 2023.
[CrossRef] [Google Scholar] [Publisher Link]
[6] Xiaoqing Li et al., “Prediction of Outpatient Waiting Time: Using Machine Learning in a Tertiary Children’s Hospital,” Translational Pediatrics, vol. 12, no. 11, pp. 2030-2043, 2023.
[CrossRef] [Google Scholar] [Publisher Link]
[7] Holly Chu et al., “The Psychology of the Wait Time Experience - What Clinics Can Do to Manage the Waiting Experience for Patients: A Longitudinal, Qualitative Study,” BMC Health Services Research, vol. 19, no. 1, pp. 1-10, 2019.
[CrossRef] [Google Scholar] [Publisher Link]
[8] Diego A. Martinez et al., “Prolonged Wait Time is Associated with Increased Mortality for Chilean Waiting List Patients with Non-Prioritized Conditions,” BMC Public Health, vol. 19, no. 1, pp. 1-11, 2019.
[CrossRef] [Google Scholar] [Publisher Link]
[9] Oleg S. Pianykh et al., “Improving Healthcare Operations Management with Machine Learning,” Nature Machine Intelligence, vol. 2, no. 5, pp. 266-273, 2020.
[CrossRef] [Google Scholar] [Publisher Link]
[10] A. Joseph et al., “Predicting Waiting Times in Radiation Oncology Using Machine Learning,” 16th IEEE International Conference on Machine Learning and Applications (ICMLA), Cancun, Mexico, pp. 1024-1029, 2017.
[CrossRef] [Google Scholar] [Publisher Link]
[11] Hamed Javadifard et al., “Predicting Patient Waiting Time in Phlebotomy Units using a Deep Learning Method,” Innovations in Intelligent Systems and Applications Conference (ASYU), Izmir, Turkey, pp. 1-4, 2019.
[CrossRef] [Google Scholar] [Publisher Link]
[12] Wei-Chun Lin et al., “Predicting Wait Times in Pediatric Ophthalmology Outpatient Clinic using Machine Learning,” AMIA Annual Symposium Proceedings, vol. 2019, pp. 1121-1128, 2020.
[Google Scholar] [Publisher Link]
[13] Suhaila Zainudin, and Dzulhusni Anjang Ab. Rahman, “Analysis of Outpatient Visit Pattern and Waiting Time Prediction for Selected Public Health Clinics in Selangor,” Proceedings of International Conference on Emerging Technologies and Intelligent Systems, pp. 603-612, 2021.
[CrossRef] [Google Scholar] [Publisher Link]
[14] Amir Rastpour, and Carolyn McGregor, “Predicting Patient Wait Times by Using Highly De-Identified Data in Mental Health Care: Enhanced Machine Learning Approach,” JMIR Mental Health, vol. 9, no. 8, pp. 1-11, 2022.
[CrossRef] [Google Scholar] [Publisher Link]
[15] Katie Walker et al., “Emergency Medicine Patient Wait Time Multivariable Prediction Models: A Multicentre Derivation and Validation Study,” Emergency Medicine Journal, vol. 39, no. 5, pp. 386-393, 2021.
[CrossRef] [Google Scholar] [Publisher Link]
[16] Catherine Curtis MS et al., “Machine Learning for Predicting Patient Wait Times and Appointment Delays,” Journal of the American College of Radiology, vol. 15, no. 9, pp. 1310-1316, 2018.
[CrossRef] [Google Scholar] [Publisher Link]
[17] Lin Lin Guo et al., “Characteristics and Admission Preferences of Pediatric Emergency Patients and Their Waiting Time Prediction Using Electronic Medical Record Data: Retrospective Comparative Analysis,” Journal of Medical Internet Research, vol. 25, pp. 1-16, 2023.
[CrossRef] [Google Scholar] [Publisher Link]
[18] Yan Sun et al., “Real-Time Prediction of Waiting Time in the Emergency Department, using Quantile Regression,” Annals of Emergency Medicine, vol. 60, no. 3, pp. 299-308, 2012.
[CrossRef] [Google Scholar] [Publisher Link]
[19] Wei-Chun Lin et al., “Secondary Use of Electronic Health Record Data for Prediction of Outpatient Visit Length in Ophthalmology Clinics,” AMIA Annual Symposium Proceedings, vol. 2018, pp. 1387-1394, 2018.
[Google Scholar] [Publisher Link]
[20] Amjed Al‐Mousa, Hamza Al-Zubaidi, and Mohammad Al-Dweik, “A Machine Learning‐based Approach for Wait‐Time Estimation in Healthcare Facilities with Multi‐Stage Queues,” IET Smart Cities, vol. 6, no. 4, pp. 333-350, 2024.
[CrossRef] [Google Scholar] [Publisher Link]
[21] Filipe Gonçalves et al., Predictive Analysis in Healthcare: Emergency Wait Time Prediction, Ambient Intelligence-Software and Applications-, 9th International Symposium on Ambient Intelligence, Advances in Intelligent Systems and Computing, Springer, Cham, pp. 138-145, 2018.
[CrossRef] [Google Scholar] [Publisher Link]
[22] Yong-Hong Kuo et al., “An Integrated Approach of Machine Learning and Systems Thinking for Waiting Time Prediction in an Emergency Department,” International Journal of Medical Informatics, vol. 139, 2020.
[CrossRef] [Google Scholar] [Publisher Link]
[23] Abdulkadir Atalan, “Neural Network and Random Forest Algorithms for Estimation of the Waiting Times based on the DES in ED,” 1st International Conference on Contemporary Academic Research ICCAR, Turkey, vol. 1, pp. 14-20, 2023.
[CrossRef] [Google Scholar] [Publisher Link]
[24] Elisabetta Benevento, Davide Aloini, and Nunzia Squicciarini, “Towards a Real-Time Prediction of Waiting Times in Emergency Departments: A Comparative Analysis of Machine Learning Techniques,” International Journal of Forecasting, vol. 39, no. 1, pp. 192-208, 2021.
[CrossRef] [Google Scholar] [Publisher Link]
[25] Mustafa Gökalp Ataman, and Görkem Sarıyer, “Predicting Waiting and Treatment Times in Emergency Departments using Ordinal Logistic Regression Models,” The American Journal of Emergency Medicine, vol. 46, pp. 45-50, 2021.
[CrossRef] [Google Scholar] [Publisher Link]
[26] Hassan Hijry, and Richard Olawoyin, “Predicting Patient Waiting Time in the Queue System Using Deep Learning Algorithms in the Emergency Room,” International Journal of Industrial Engineering and Operations Management, vol. 3, no. 1, pp. 33-45, 2021.
[Google Scholar] [Publisher Link]
[27] Anton Pak, Brenda Gannon, and Andrew Staib, “Predicting Waiting Time to Treatment for Emergency Department Patients,” International Journal of Medical Informatics, vol. 145, 2021.
[CrossRef] [Google Scholar] [Publisher Link]
[28] Kevin K. Dobbin, and Richard M. Simon, “Optimally Splitting Cases for Training and Testing High Dimensional Classifiers,” BMC Medical Genomics, vol. 4, no. 1, pp. 1-8, 2011.
[CrossRef] [Google Scholar] [Publisher Link]
[29] Mensur Biya et al., “Waiting Time and its Associated Factors in Patients Presenting to Outpatient Departments at Public Hospitals of Jimma Zone, Southwest Ethiopia,” BMC Health Services Research, vol. 22, no. 1, pp. 1-8, 2022.
[CrossRef] [Google Scholar] [Publisher Link]
[30] Shyamkumar Sriram, and Rakchanok Noochpoung, “Determinants of Hospital Waiting Time for Outpatient Care in India: How Demographic Characteristics, Hospital Ownership, and Ambulance Arrival Affect Waiting Time,” International Journal of Community Medicine and Public Health, vol. 5, no. 7, pp. 2692-2698, 2018.
[CrossRef] [Google Scholar] [Publisher Link]
[31] Deepak Yaduvanshi, Ashu Sharma, and Praful Vijay More, “Application of Queuing Theory to Optimize Waiting-Time in Hospital Operations,” Operations and Supply Chain Management: An International Journal, vol. 12, no. 3, pp. 165-174, 2019.
[CrossRef] [Google Scholar] [Publisher Link]
[32] David W. Scott, Multivariate Density Estimation: Theory, Practice, and Visualization, Wiley, 2015.
[CrossRef] [Google Scholar] [Publisher Link]
[33] G.O. Odu, “Weighting Methods for Multi-Criteria Decision-Making Technique,” Journal of Applied Sciences and Environmental Management, vol. 23, no. 8, pp. 1449-1547, 2019.
[CrossRef] [Google Scholar] [Publisher Link]