Abstract
Traditional methods have long been used for clinical demand forecasting. Machine learning methods represent the next evolution in forecasting, but model choice and optimization remain challenging for achieving optimal results. To determine the best method to predict demand for outpatient appointments comparing machine learning and traditional methods, this retrospective study analyzed “appointment requests” at a major outpatient department in a destination medical center. Two separate locations (A and B) were assessed with 20 traditional, hybrid (traditional + machine learning) and machine learning methods to determine the best forecasting outcome (lowest Forecast Standard Error, FSE). Data characteristics from both datasets were examined. 20 forecasting models were then assessed and compared for the best result. Location A’s data displayed a cyclical and non-trending pattern while Location B’s displayed a cyclical and trending pattern. Both Location A and B yielded the feature engineered XGBoost model (machine learning) with the lowest out-of-sample FSE. It is important to carefully analyze and understand the underlying data set pattern and then test a variety of traditional, machine learning, and hybrid prediction methods to achieve optimal predictive results. Additionally, the use of feature engineering or hybrid methods can augment the usefulness of machine learning methods.
Similar content being viewed by others
References
DeLurgio, S., Denton, B., Cabanela, R. et al., Forecasting weekly outpatient demands at clinics within a large medical center. Production and Inventory Management Journal 45(2):35–46, 2009.
Brownlee, J., Deep Learning for Time Series Forecasting, 2018. Retrieved from https://machinelearningmastery.com/deep-learning-for-time-series-forecasting/
Jain, A., What I learnt about Time Series Analysis in 3 hour Mini DataHack?, 2016. https://www.analyticsvidhya.com/blog/2016/02/hand-learn-time-series-3-hours-mini-datahack/
How to Compute the Estimated SEs of Forecasted Y and the Forecast Error. www3.wabash.edu/econometrics/econometricsbook/.../HowToFindSEForecast.doc
XGBoost developers. Introduction to Boosted Trees. XGBoost, 2016. https://xgboost.readthedocs.io/en/latest/tutorials/model.html. Accessed 28 December 2018
Abdus-Salaam, H., Davis, L., de Oliveira Mota, D., Modeling dependent demand arrivals within an open-access scheduling system. Paper presented at: Science and Technology for Humanity (TIC-STH), 2009 IEEE Toronto International Conference, 2009.
Abraham, G., Byrnes, G. B., and Bain, C. A., Short-term forecasting of emergency inpatient flow. IEEE transactions on information technology in biomedicine: a publication of the IEEE Engineering in Medicine and Biology Society. 13(3):380–388, 2009.
Afilal, M., Yalaoui, F., Dugardin, F., Amodeo, L., Laplanche, D., and Blua, P., Forecasting the Emergency Department Patients Flow. J Med Syst. 40(7):175, 2016.
Ahmadi-Javid, A., Jalali, Z., and Klassen, K. J., Outpatient appointment systems in healthcare: A review of optimization studies. European Journal of Operational Research. 258(1):3–34, 2017.
Akyuz, A. O., Uysal, M., Bulbul, B. A., Uysal, M. O., Ensemble approach for time series analysis in demand forecasting: Ensemble learning. Paper presented at: 2017 IEEE International Conference on Innovations in Intelligent SysTems and Applications (INISTA), 2017.
Al-Haque, S., Ceyhan, M. E., Chan, S. H., and Nightingale, D. J., Responding to traveling patients' seasonal demand for health care services. Mil Med. 180(1):111–117, 2015.
Bouckaert, N., Van den Heede, K., and Van de Voorde, C., Improving the forecasting of hospital services: A comparison between projections and actual utilization of hospital services. Health Policy. 122(7):728–736, 2018.
Boutsioli, Z., Measuring Unexpected Hospital Demand: The Application of a Univariate Model to Public Hospitals in Greece. Hospital Topics. 87(4):14–21, 2009.
Calegari, R., Fogliatto, F. S., Lucini, F. R., Neyeloff, J., Kuchenbecker, R. S., and Schaan, B. D., Forecasting Daily Volume and Acuity of Patients in the Emergency Department. Computational and Mathematical Methods in Medicine. 2016:3863268, 2016.
Cheng, C. Y., Chiang, K. L., and Chen, M. Y., Intermittent Demand Forecasting in a Tertiary Pediatric Intensive Care Unit. J Med Syst. 40(10):217, 2016.
Claudio, D., Miller, A., and Huggins, A., Time series forecasting in an outpatient cancer clinic using common-day clustering. IIE Transactions on Healthcare Systems Engineering. 4(1):16–26, 2014.
Côté, M. J., Smith, M. A., Eitel, D. R., and Akçali, E., Forecasting Emergency Department Arrivals: A Tutorial for Emergency Department Directors. Hospital Topics. 91(1):9–19, 2013.
Côté, M. J., and Tucker, S. L., Four methodologies to improve healthcare demand forecasting. Healthcare Financial Management. 55(5):54–58, 2001.
Heroman, W. M., Davis, C. B., Farmer Jr, K. L., Demand forecasting and capacity management in primary care. Physician executive. 38(1):30–34, 2012. http://ovidsp.ovid.com/ovidweb.cgi?T=JS&PAGE=reference&D=emed13&NEWS=N&AN=369644991
Hong, W. S., Haimovich, A. D., and Taylor, R. A., Predicting hospital admission at emergency department triage using machine learning. PloS one. 13(7):e0201016, 2018.
Kadri, F., Harrou, F., Chaabane, S., and Tahon, C., Time Series Modelling and Forecasting of Emergency Department Overcrowding. J Med Syst. 38(9):1–20, 2014.
Luo, L., Luo, L., Zhang, X., and He, X., Hospital daily outpatient visits forecasting using a combinatorial model based on ARIMA and SES models. BMC Health Serv Res. 17(1):469, 2017.
Mai, Q., Aboagye, S. P., Sanfilippo, F. M., Preen, D. B., and Fatovich, D. M., Predicting the number of emergency department presentations in Western Australia: A population-based time series analysis. Emergency Medicine Australasia. 27(1):16–21, 2015. https://doi.org/10.1111/1742-6723.12344.
Ouyang, Y., and Yin, H., Multi-Step Time Series Forecasting with an Ensemble of Varied Length Mixture Models. Int J Neural Syst. 28(4):1750053, 2018.
Schweigler, L. M., Desmond, J. S., McCarthy, M. L., Bukowski, K. J., Ionides, E. L., and Younger, J. G., Forecasting models of emergency department crowding. Acad Emerg Med. 16(4):301–308, 2009.
Shan, J., Zhang, H., Liu, W., and Liu, Q., Online Active Learning Ensemble Framework for Drifted Data Streams. IEEE Transactions on Neural Networks and Learning Systems.:1–13, 2018. https://doi.org/10.1109/TNNLS.2018.2844332.
Sun, Y., Heng, B. H., Seow, Y. T., and Seow, E., Forecasting daily attendances at an emergency department to aid resource planning. BMC Emergency Medicine. 9:1, 2009.
Villani, M., Earnest, A., Nanayakkara, N., Smith, K., de Courten, B., and Zoungas, S., Time series modelling to forecast prehospital EMS demand for diabetic emergencies. BMC Health Services Research. 17:1–9, 2017.
Yu, L., Hang, G., Tang, L., Zhao, Y., and Lai, K., Forecasting Patient Visits to Hospitals using a WD&ANN-based Decomposition and Ensemble Model. Eurasia Journal of Mathematics, Science and Technology Education. 13(12):7615–7627, 2017.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors declare that they have no conflict of interest.
Clinical relevance statement
This study aims to accurately forecast patient appointments by comparing various machine learning, traditional and hybrid methods. The step-by-step approach discussed can help clinics to develop their own patient appointment predictive model, and thus effectively plan the appropriate resources and improve patient satisfaction.
Protection of human and animal subjects
Only retrospectively collected data were used, and no patients were contacted for the study. The study did not involve any protected health information (PHI) and all data points were de-identified.
Informed consent
Informed consent was obtained from all individual participants included in the study.
Additional information
Publisher’s Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
This article is part of the Topical Collection on Systems-Level Quality Improvement
Rights and permissions
About this article
Cite this article
Klute, B., Homb, A., Chen, W. et al. Predicting Outpatient Appointment Demand Using Machine Learning and Traditional Methods. J Med Syst 43, 288 (2019). https://doi.org/10.1007/s10916-019-1418-y
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s10916-019-1418-y