DEVELOPMENT OF A MACHINE LEARNING MODEL FOR FORECASTING HEALTHCARE SERVICE UTILIZATION BASED ON EMR DATA

Bajeng Nurul Widyaningrum, Maulina Latifah

Abstract


This study develops and evaluates a reproducible proof-of-concept (PoC) pipeline for forecasting day-ahead hospital service utilization from routinely collected electronic medical record (EMR) data. Three anonymized Excel extracts from August 2025 were used—outpatient visits (4,247 rows), laboratory actions (2,044 rows; August subset), and radiology examinations (31 rows)—then cleaned, time-parsed, and aggregated to daily counts. Features comprised day-of-week (DOW) and lagged outpatient volume (OPD_{t−1}) to avoid same-day leakage. We trained a linear regression model to predict daily laboratory counts and a Random Forest to flag daily high/low laboratory workload (threshold = within-month median ≈79 actions/day), evaluated with blocked time-series cross-validation. Outpatient visits ranged 154–204/day (median ≈172) and laboratory actions 61–171/day (median ≈79); radiology volumes were too sparse for reliable day-level modeling. The regression baseline achieved R² = −20.52 (mean CV), indicating that OPD_{t−1}+DOW alone cannot explain intra-month variability, while the classifier reached Accuracy = 0.53 ± 0.16, sufficient to validate the end-to-end pipeline but inadequate for autonomous staffing or reagent planning. These findings suggest that accurate operational forecasting requires multi-month horizons and clinically richer features (e.g., sending unit/poliklinik, grouped test panels, provider schedules, payer, and holiday effects) alongside additional temporal signals (multi-day lags/leads, rolling statistics).

Keywords


Electronic Medical Records; Healthcare Demand Forecasting; Service Utilization; Time-series Modeling; Machine Learning

Full Text:

PDF

References


E. Shappell, S. Dutta, S. Sakaria, D. S. McEvoy, and D. J. Egan, “Variability in Emergency Department Procedure Rates and Distributions in a Regional Health System: A Cross-Sectional Observational Study,” Ann. Emerg. Med., vol. 81, no. 5, pp. 624–629, May 2023, doi: 10.1016/j.annemergmed.2022.12.016.

J. V. Rawson, D. Smetherman, and E. Rubin, “Short-Term Strategies for Augmenting the National Radiologist Workforce,” Am. J. Roentgenol., vol. 222, no. 6, Jun. 2024, doi: 10.2214/AJR.24.30920.

B. Fan, J. Peng, H. Guo, H. Gu, K. Xu, and T. Wu, “Accurate Forecasting of Emergency Department Arrivals With Internet Search Index and Machine Learning Models: Model Development and Performance Evaluation,” JMIR Med. Informatics, vol. 10, no. 7, p. e34504, Jul. 2022, doi: 10.2196/34504.

C. Pagel, D. A. Robertson, and C. A. Yates, “Foresight approaches for future health shocks: integration into policy making and accompanying research priorities,” BMJ, p. e078647, Oct. 2024, doi: 10.1136/bmj-2023-078647.

F. Orhan and M. N. Kurutkan, “Predicting total healthcare demand using machine learning: separate and combined analysis of predisposing, enabling, and need factors,” BMC Health Serv. Res., vol. 25, no. 1, p. 366, Mar. 2025, doi: 10.1186/s12913-025-12502-5.

C. J. Troupis, R. A. H. Knight, and K. K. Lau, “What is the appropriate measure of radiology workload: Study or image numbers?,” J. Med. Imaging Radiat. Oncol., vol. 68, no. 5, pp. 530–539, Aug. 2024, doi: 10.1111/1754-9485.13713.

T. C. Kwee and R. M. Kwee, “Workload of diagnostic radiologists in the foreseeable future based on recent (2024) scientific advances: Updated growth expectations,” Eur. J. Radiol., vol. 187, p. 112103, Jun. 2025, doi: 10.1016/j.ejrad.2025.112103.

A. E. Sherman, A. M. Shokrekhuda, D. P. Kalbi, J. T. Bencardino, and K. J. Chun, “Bone Mineral Density and Trabecular Microarchitecture Screening in Lung Transplant Candidates,” J. Am. Coll. Radiol., vol. 22, no. 3, pp. 342–348, Mar. 2025, doi: 10.1016/j.jacr.2024.12.009.

T. Martín-Noguerol, P. López-Úbeda, and A. Luna, “Bidirectional Encoder Representations From Transformers, Bias, and Babel’s Tower in Radiology,” J. Am. Coll. Radiol., vol. 22, no. 5, p. 519, May 2025, doi: 10.1016/j.jacr.2024.12.012.

G. Almeida, F. Brito Correia, A. R. Borges, and J. Bernardino, “Hospital Length-of-Stay Prediction Using Machine Learning Algorithms—A Literature Review,” Appl. Sci., vol. 14, no. 22, p. 10523, Nov. 2024, doi: 10.3390/app142210523.

R. Jain, M. Singh, A. R. Rao, and R. Garg, “Predicting hospital length of stay using machine learning on a large open health dataset,” BMC Health Serv. Res., vol. 24, no. 1, p. 860, Jul. 2024, doi: 10.1186/s12913-024-11238-y.

H. Lee et al., “Hospital Length of Stay Prediction for Planned Admissions Using Observational Medical Outcomes Partnership Common Data Model: Retrospective Study,” J. Med. Internet Res., vol. 26, p. e59260, Nov. 2024, doi: 10.2196/59260.

I. T. Akbasli, A. Z. Birbilen, and O. Teksam, “Artificial intelligence-driven forecasting and shift optimization for pediatric emergency department crowding,” JAMIA Open, vol. 8, no. 2, Mar. 2025, doi: 10.1093/jamiaopen/ooae138.

J. Tuominen et al., “Forecasting emergency department occupancy with advanced machine learning models and multivariable input,” Int. J. Forecast., vol. 40, no. 4, pp. 1410–1420, Oct. 2024, doi: 10.1016/j.ijforecast.2023.12.002.

R. Juliansyah, B. M. Aqid, A. P. Salsabila, and K. Nurfiyanti, “Implementation of EMR System in Indonesian Health Facilities: Benefits and Constraints,” Oct. 2024, [Online]. Available: http://arxiv.org/abs/2410.12226

D. S. K. Sandhe, I. Krisnana, and R. Pradanie, “Innovations for Successful Electronic Medical Records (EMR) Implementation in Hospitals,” Indones. J. Innov. Stud., vol. 26, no. 2, Feb. 2025, doi: 10.21070/ijins.v26i2.1360.

J. Suh, A., & Lee, “Pedagogical challenges in electronic medical record (EMR) training: A content analysis approach,” Health Informatics J., vol. 27, no. 2, pp. 1460–1474, 2021, doi: https://doi.org/10.1177/14604582211012345.

S. Siswati, D. Muslimah, and Syafrawati, “Analysis the readiness of implementing Electronic Medical Records (EMR) at dr. Rasidin Padang Regional Public Health Hospital,” E3S Web Conf., vol. 464, p. 06003, Dec. 2023, doi: 10.1051/e3sconf/202346406003.

M. R. Saputra, T. Yanuar Rahmad, and S. Dewi, “Technology Readiness and Nurses’ Acceptance Model Towards the Implementation of Electronic Medical Record (EMR) at Hospital X Tangerang,” Orig. Res. Int. J. Nurs. Heal. Serv., vol. 8, no. 3, 2025, doi: 10.35654/ijnhs.v8i3.855.

I. G. A. A. Sekarini, I. M. Candiasa, and K. Y. E. Aryanto, “Audit Sistem Electronic Medical Records (EMR) pada RSU Kasih Ibu menggunakan Framework COBIT 5,” J. Sist. Dan Inform., vol. 15, no. 2, pp. 134–143, 2021, doi: 10.30864/jsi.v15i2.362.

H. Bui, S. D. Ekşiog˜lu, A. A. Villafranca, J. A. Sanford, and K. W. Sexton, “A long short-term memory model for forecasting the surgical case volumes at a hospital,” IISE Trans. Healthc. Syst. Eng., vol. 13, no. 3, pp. 226–236, Jul. 2023, doi: 10.1080/24725579.2023.2205180.

J. T. Lee et al., “Methods for health workforce projection model: systematic review and recommended good practice reporting guideline,” Hum. Resour. Health, vol. 22, no. 1, p. 25, Apr. 2024, doi: 10.1186/s12960-024-00895-z.

B. Rostami-Tabar, J. Browell, and I. Svetunkov, “Probabilistic forecasting of hourly emergency department arrivals,” Heal. Syst., vol. 13, no. 2, pp. 133–149, Apr. 2024, doi: 10.1080/20476965.2023.2200526.

E. Silva, M. F. Pereira, J. T. Vieira, J. Ferreira‐Coimbra, M. Henriques, and N. F. Rodrigues, “Predicting hospital emergency department visits accurately: A systematic review,” Int. J. Health Plann. Manage., vol. 38, no. 4, pp. 904–917, Jul. 2023, doi: 10.1002/hpm.3629.




DOI: https://doi.org/10.29100/jipi.v10i4.9306

Refbacks

  • There are currently no refbacks.


Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

JIPI (Jurnal Ilmiah Penelitian dan Pembelajaran Informatika)
ISSN 2540-8984
Published by
Prodi Pendidikan Teknologi Informasi
Universitas Bhinneka PGRI

Website :https://jurnal.stkippgritulungagung.ac.id/index.php/jipi/index
Email: jipistkippti@gmail.com


Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.