Integrating machine learning demand forecasting and adaptive operational control in inpatient stroke care: an analysis with real hospital data

Authors

DOI:

https://doi.org/10.59681/2175-4411.v18.2026.1684

Keywords:

Clinical Decision Support Systems, Machine Learning, Hospital Bed Capacity

Abstract

Objective: To compare capacity allocation policies for inpatient stroke care integrating Random Forest demand forecasting with machine-learning model predictive control (ML-MPC). Methods: Retrospective simulation study using 6,224 stroke admissions at a public neurological reference hospital in Southeastern Brazil (2006–2022). A daily series (2015–2022) was split into training (2015–2019), validation (2020) and test (2021–2022). Base capacity was derived from the 90th percentile of the observed daily census. Six policies were simulated over 727 days, with multi-step forecasts generated recursively from information available at each decision instant; uncertainty was assessed by moving-block bootstrap, re-executing all policies on resampled trajectories. Results: ML-MPC attained a mean simulated queue of 0.55 patients and the lowest objective-function value, 58% below the robust policy using 71% less extraordinary capacity (708 fewer units), and 46% below a naive fixed-capacity policy; 95% intervals excluded zero for blocks of 14, 30 and 60 days. Random Forest accuracy exceeded a historical-mean benchmark only marginally (MAE 0.994 vs 0.999). Conclusion: Within model conditions, how forecasts, uncertainty and capacity constraints entered sequential decisions mattered more than forecast accuracy. Outcomes are simulation estimates; no patient was exposed, the risk term is a non-validated relative index, and objective weights are judgment-based, not monetary.

Downloads

Download data is not yet available.

Author Biographies

Guilherme Coelho, Faculdade de Ciências Médicas, Universidade Estadual de Campinas (UNICAMP), Campinas, SP, Brasil

Medical doctor from the Federal University of Rio de Janeiro (UFRJ), with residency in Family and Community Medicine and a master's degree from the State University of Campinas (UNICAMP). PhD candidate in Obstetrics and Gynecology (FCM/UNICAMP), with a project on climatic determinants of perinatal health, based on national records of live births (SINASC, with ~37 million records).

Daniel Correa da Silva, Escola Politécnica e de Artes, Pontifícia Universidade Católica de Goiás (PUC Goiás), Goiânia, GO, Brasil

Graduated in Computer Engineering from the Catholic University of Goiás (2004). Currently holds a master's degree from the School of Electrical and Computer Engineering at the Federal University of Goiás. Assistant Professor at the Pontifical Catholic University of Goiás (PUC-GO) and the Senai Faculty of Technology for Management Development (FATESG).

Maurício Wesley Perroud Júnior, Faculdade de Ciências Médicas, Universidade Estadual de Campinas (UNICAMP), Campinas, SP, Brasil

Holds a degree in medicine from the Pontifical Catholic University of São Paulo (1994). Completed medical residency in Internal Medicine and Pulmonology at the Faculty of Medical Sciences of the State University of Campinas (FCM-Unicamp) between 1995-1998; completed master's and doctoral degrees in Internal Medicine at the State University of Campinas, respectively, on molecular biology and immunotherapy in lung cancer (2002; 2012). Holds an MBA in Health Management from the Getúlio Vargas Foundation (2003) and certification in pharmacovigilance from the Uppsala Monitoring Centre/WHO (Uppsala, 2015), in addition to training in pharmacovigilance and clinical research from the Management Forum, Falconbury Group (London, 2009/2010). Member of the support group for ANVISA in the drafting of the first pharmacovigilance legislation in Brazil (2008 to 2009). UNESCO consultant for the implementation of care pathways in federal university hospitals (project 914BRZ1146; 2015/2016), in addition to collaborating on the development of training projects in healthcare management and the preparation of quality certification for the Brazilian Hospital Services Company (EBSERH). He has experience in implementing quality management and medication safety systems in healthcare units and the pharmaceutical industry since 2003. He has served as a reviewer for the Journal of Pharmacy Practice. Currently, he is an assistant professor of Pulmonology at the State University of Campinas, Superintendent of the Sumaré State Hospital - UNICAMP, and owner of AS & Perroud Consultoria e Assessoria Médica Ltda.

Clarimar José Coelho, Escola Politécnica e de Artes, Pontifícia Universidade Católica de Goiás (PUC Goiás), Goiânia, GO, Brasil

Postdoctorate by the Instituto de Ciências Matemáticas e Computação da Universidade São Paulo, São Carlos campus (2014), Postdoctorate by the Instituto Tecnológico de Aeronáutica (2011), Doutorado em Engenharia Eletrônica e Computação by the Instituto Tecnológico de Aeronáutica (2002). Professor at the Pontifical Catholic University of Goiás. Coordinator of the Scientific Computing Laboratory (LCC). I am interested in scientific computing and in the construction of mathematical models and algorithms for numerical solutions to problems in science and engineering with an emphasis on digital image processing, multivariate calibration and pattern recognition.

References

1. Ministry of Health of Brazil. Hospital Information System of the SUS (SIH/SUS): admissions for stroke, 2018–2022 [Internet]. Brasília: DATASUS; 2023. [cited Apr 2026]. Available from: http://tabnet.datasus.gov.br

2. Kim J, Olaiya MT, De Silva DA, Norrving B, Bosch J, De Sousa DA, et al. Global stroke statistics 2023: availability of reperfusion services around the world. Int J Stroke. 2024;19(3):253-70. doi: https://doi.org/10.1177/17474930231210448

3. Feigin VL, Brainin M, Norrving B, Martins S, Sacco RL, Hacke W, et al. World Stroke Organization (WSO): Global Stroke Fact Sheet 2022. Int J Stroke. 2022;17(1):18-29. doi: https://doi.org/10.1177/17474930211065917

4. Saver JL. Time is brain: quantified. Stroke. 2006;37(1):263-6. doi: https://doi.org/10.1161/01.str.0000196957.55928.ab

5. Emberson J, Lees KR, Lyden P, Blackwell L, Albers G, Bluhmki E, et al. Effect of treatment delay, age, and stroke severity on the effects of intravenous thrombolysis with alteplase for acute ischaemic stroke: a meta-analysis of individual patient data from randomised trials. Lancet. 2014;384(9958):1929-35. doi: https://doi.org/10.1016/S0140-6736(14)60584-5

6. Stroke Unit Trialists' Collaboration. Organised inpatient (stroke unit) care for stroke. Cochrane Database Syst Rev. 2013:CD000197. doi: https://doi.org/10.1002/14651858.cd000197.pub3

7. Lotufo PA, Goulart AC, Passos VMA, Satake FM, Souza MFM, França EB, et al. Cerebrovascular disease in Brazil from 1990 to 2015: Global Burden of Disease 2015. Rev Bras Epidemiol. 2017;20(Suppl 1):129-41. doi: https://doi.org/10.1590/1980-5497201700050011

8. Green L. Queueing analysis in healthcare. In: Hall RW, editor. Patient flow: reducing delay in healthcare delivery. New York: Springer; 2006. p. 281-307. doi: https://doi.org/10.1007/978-0-387-33636-7_10

9. Little JDC. A proof for the queuing formula: L = λW. Oper Res. 1961;9(3):383-7. doi: https://doi.org/10.1287/opre.9.3.383

10. Sudarshan VK, Brabrand M, Range TM, Wiil UK. Performance evaluation of emergency department patient arrivals forecasting models by including meteorological and calendar information: a comparative study. Comput Biol Med. 2021;135:104541. doi: https://doi.org/10.1016/j.compbiomed.2021.104541

11. Porto BM, Fogliatto FS. Enhanced forecasting of emergency department patient arrivals using feature engineering approach and machine learning. BMC Med Inform Decis Mak. 2024;24(1):377. doi: https://doi.org/10.1186/s12911-024-02788-6

12. Tello M, Reich ES, Puckey J, Maff R, Garcia-Arce A, Bhattacharya BS, et al. Machine learning based forecast for the prediction of inpatient bed demand. BMC Med Inform Decis Mak. 2022;22(1):55. doi: https://doi.org/10.1186/s12911-022-01787-9

13. Hillier FS, Lieberman GJ. Introduction to operations research. 7th ed. New York: McGraw-Hill; 2001.

14. Ben-Tal A, El Ghaoui L, Nemirovski A. Robust optimization. Princeton: Princeton University Press; 2009. doi: https://doi.org/10.1515/9781400831050

15. Zhu T, Liao P, Luo L, Ye HQ. Data-driven models for capacity allocation of inpatient beds in a Chinese public hospital. Comput Math Methods Med. 2020;2020:8740457. doi: https://doi.org/10.1155/2020/8740457

16. Camacho EF, Bordons C. Model predictive control. 2nd ed. London: Springer; 2007. doi: https://doi.org/10.1007/978-0-85729-398-5

17. Doyle FJ 3rd, Huyett LM, Lee JB, Zisser HC, Dassau E. Closed-loop artificial pancreas systems: engineering the algorithms. Diabetes Care. 2014;37(5):1191-7. doi: https://doi.org/10.2337/dc13-2108

18. Coelho G, Gonçalves AL, Coelho CJ, Perroud Junior MW. Trends in hospitalization and mortality among stroke patients in a Brazilian public hospital: a 16-year retrospective analysis. Rev Bras Neurol. 2025;61(2). doi: https://doi.org/10.46979/rbn.v61i2.67441

19. Markus HS, Brainin M. COVID-19 and stroke: a global World Stroke Organization perspective. Int J Stroke. 2020;15(4):361-4. doi: https://doi.org/10.1177/1747493020923472

20. Breiman L. Random forests. Mach Learn. 2001;45(1):5-32. doi: https://doi.org/10.1023/a:1010933404324

21. Powell WB. Reinforcement learning and stochastic optimization: a unified framework for sequential decisions. Hoboken: John Wiley & Sons; 2022. doi: https://doi.org/10.1002/9781119815068

22. Benchimol EI, Smeeth L, Guttmann A, Harron K, Moher D, Petersen I, et al. The REporting of studies Conducted using Observational Routinely-collected health Data (RECORD) statement. PLoS Med. 2015;12(10):e1001885. doi: https://doi.org/10.1371/journal.pmed.1001885

23. Collins GS, Moons KGM, Dhiman P, Riley RD, Beam AL, Van Calster B, et al. TRIPOD+AI statement: updated guidance for reporting clinical prediction models that use regression or machine learning methods. BMJ. 2024;385:e078378. doi: https://doi.org/10.1136/bmj-2023-078378

Blue-toned illustration with a bar time series, a forecast curve with uncertainty bands and a grid of beds, some of them occupied, in orange.

Published

2026-11-15

How to Cite

Coelho, G., Correa da Silva, D., Perroud Júnior, M. W., & Coelho, C. J. (2026). Integrating machine learning demand forecasting and adaptive operational control in inpatient stroke care: an analysis with real hospital data. Journal of Health Informatics, 18(1), 1684. https://doi.org/10.59681/2175-4411.v18.2026.1684

Issue

Section

Original Articles

Similar Articles

1 2 3 4 5 6 7 8 9 10 > >> 

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