Article Open Access

Blood Bag Stock Availability Forecasting System at PMI UDD Lhokseumawe City Using the Random Forest Method

(1) * Rizka Hilmi Putri Mail (Department of Informatics Engineering, Universitas Malikussaleh, Lhokseumawe, 24352, Indonesia)
(2) Eva Darnila Mail (Department of Informatics Engineering, Universitas Malikussaleh, Lhokseumawe, 24352, Indonesia)
(3) Lidya Rosnita Mail (Department of Informatics Engineering, Universitas Malikussaleh, Lhokseumawe, 24352, Indonesia)
*Corresponding author

Abstract


This study aims to develop a blood bag inventory forecasting system at the Blood Donation Unit (UDD) of the Indonesian Red Cross (PMI) in Lhokseumawe City and the UDD of PMI North Aceh using the Random Forest (RF) algorithm. The background of this study focuses on the imbalance between demand and availability of blood bags, which can have serious implications for patient safety. Using historical data comprising 574 records from the period 2022 to 2025, this study employs a quantitative approach with variables such as month, year, PMI location, blood type, incoming blood, and blood distribution. The research methodology includes preprocessing and feature engineering steps, resulting in 17 features for training the Random Forest (RF) model. This process was completed with hyperparameter optimization using RandomizedSearchCV to improve model accuracy. The results show that the PMI UDD Aceh Utara achieved excellent performance with an RMSE of 9.113 for incoming blood and 8.750 for distribution. On the other hand, the UDD PMI Lhokseumawe had an RMSE of 24.635 and 22.737, respectively. Comprehensive predictions for the 2025-2030 period indicate an optimistic projection with 94% surplus months and a positive net balance of 4,406.7 bags. The implemented web-based system supports real-time forecasting and strategic decision-making in blood bag inventory management within the PMI organization.

Keywords


Forecasting; Blood; Transfution; Stock; RF

   

DOI

https://doi.org/10.33122/ejeset.v6i2.1022
      

Article metrics

Abstract views : 156 | PDF views : 20

   

Cite

   

Full Text

Download

References


Adawiyah, R., & Putra, A. (2021). "Analysis of Blood Availability at the Indonesian Red Cross." Journal of Public Health. Vol. 7. 10(5). Doi: 10.33373/jmb. v4i2.2697

Agusyul, AY, & Firmansyah, F. (2023). Heart Disease Prediction Using the Random Forest Algorithm. Jurnal Minfo Polgan, 12(2), 2239–2246. https://doi.org/10.33395/jmp.v12i2.13214

Annisa, S., Rahkmawati, Y., & Hafid, H. (2025). Peramalan Harga Minyak Mentah Indonesia Menggunakan Algoritma Random Forest. Jurnal Gaussian, 13(2), 472–478. https://doi.org/10.14710/j.gauss.13.2.472-478

Anshori, M., Rikatsih, N., & Haris, MS (2023). Predicting Patients with Cardiovascular Disease Using Random Forest. Tektrika - Journal of Research and Development of Telecommunications, Control, Computers, Electricity, and Electronics, 7(2), 58. https://doi.org/10.25124/tektrika.v7i2.5279

Apriliah, W., Kurniawan, I., Baydhowi, M., & Haryati, T. (2021). Predicting the Probability of Diabetes in the Early Stages Using the Random Forest Classification Algorithm. Sistemasi, 10(1), 163. https://doi.org/10.32520/stmsi.v10i1.1129

Arifin Yusuf Permana, Hari Noer Fazri, M. Fakhrizal Nur Athoilah, Mohammad Robi, & Ricky Firmansyah. (2023). Application of Data Mining in Lung Cancer Prediction Analysis Using the Random Forest Algorithm. Scientific Journal of Informatics and Communication Engineering, 3(2), 27–41. https://doi.org/10.55606/juitik.v3i2.472

Auliasari, K., Kertaningtyas, M., & Kriswantono, M. (2020). Application of Forecasting Methods to Identify Consumer Demand. Informal: Informatics Journal, 4(3), 121. https://doi.org/10.19184/isj.v4i3.14615

Bamba, E.A., Syarli, S., & Harianto, H. (2021). Web-Based Agricultural Yield Forecasting System in Mamasa Regency. Journal of Agricultural Research, 3(1), 357-361. http://dx.doi.org/10.35329/jp.v3i1.2091

Darnila, E., Asrianda, A., & Jannah, R. (2019). Application of Forecasting the Number of Passport Applicants Using the Double Exponential Smoothing Method at the Class II Immigration Office of Lhokseumawe City. TECHSI - Journal of Informatics Engineering, 11(2), 257. https://doi.org/10.29103/techsi.v11i2.1481

Efendi, MS, & Zyen, AK (2024). Application of the Random Forest Algorithm for Sales Prediction and Product Inventory Systems. Resolution: Informatics and Information Engineering, 5(1), 12-20. https://doi.org/10.30865/resolusi.v5i1.2149

Feriyanto, F., & Anjariyah, D. (2024). Deep learning approach through meaningful, mindful, and joyful learning: A library research. Electronic Journal of Education, Social Economics and Technology, 5(2), 208-212. https://doi.org/10.33122/ejeset.v5i2.321

Fuadi, W., Fajriana, F., & M, R. (2021). Rice Harvest Yield Forecasting Using the Double Exponential Smoothing Method in Meurah Mulia District. TECHSI - Journal of Informatics Engineering, 13(1), 26. https://doi.org/10.29103/techsi.v13i1.2772

Hatta, M., & Fauziah Fitri, A. (2020). Blood Stock Inventory Prediction System Using the Least Square Method in the Blood Transfusion Unit: A Case Study of the Indonesian Red Cross (PMI) in Cirebon City. Scientific Journal of Computer Science, 6(1), 41–45. https://doi.org/10.35329/jiik.v6i1.130

Indah, N. (2025). Building Harmony Between Tradition and Progress Through The Actualization Of Iman Gozali's Vision In The Management Of Modern Salaf Pesantren. Electronic Journal of Education, Social Economics and Technology, 6(1). https://doi.org/10.33122/ejeset.v6i1.385

Juliantika, R., & Mulyani, N. (2025). Single Moving Average (SMA) Analysis for Gold Jewelry Sales a Pegadaian Outlet Labuhan Ruku. 6(1), 949–959. https://doi.org/10.33122/ejeset.v6i1.479

Kesuma, M. (2023). Liver Disease Prediction Using the Random Forest Algorithm. Journal of Information and Computer Science, 11(2), 2023. https://doi.org/10.35959/jik.v11i02.499

Lusiana, A., & Yuliarty, P. (2020). Application of Forecasting Methods to Roof Demand at PT X. Innovative Industry: Journal of Industrial Engineering, 10(1), 11–20. https://doi.org/10.36040/industri.v10i1.2530

Lusiana, A., & Yuliarty, P. (2020). Penerapan Metode Peramalan (Forecasting) Pada Permintaan Atap di PT X. Industri Inovatif : Jurnal Teknik Industri, 10(1), 11–20. https://doi.org/10.36040/industri.v10i1.2530

Ngantung, M., Jan, A.H., Peramalan, A., Obat, P., & Jan, A.H. (2020). Analysis of Antibiotic Drug Demand Forecasting at Edelweis Tatelu Pharmacy. EMBA Journal: Journal of Economics, Management, Business, and Accounting Research, 7(4), 4859–4867. https://doi.org/10.35794/emba.v7i4.25439

Nurdin, N., & Rosnita, L. (2024). Implementation of Data Mining for Raw Material Stock Prediction in Clothing Production Using the C4.5 Algorithm Method. 2022, 2. https://doi.org/10.29103/icomden.v2.xxxx

PMI. (2021). Indonesian Red Cross Annual Report 2021: Moving Together for Others. South Jakarta: PMI Central Blood Donor Unit.

Pribadi, T., Indrayanti, AL, and Yanti, EV (2020). Increasing Community Participation in Blood Donation Activities in Palangka Raya. Al-Ikhlas Community Service Journal, 3(1), 50–58. https://doi.org/10.33373/jmb.v4i2.2697

Primasari, D., Purnamasari, I., Larasati, M., & Amelia, R. (2021). Increasing Public Awareness of Blood Donation During the Month of Ramadan. Journal of Community Service in Health, 3(2), 41-46. Doi: 10.33373/jmb.v4i2.2697

Purwati, D., Rofinda, ZD and Husni, H. (2020). Characteristics of Blood Transfusion Patients with Crossmatch Incompatibility at the UTD of Dr. M. Djamil Padang General Hospital, Andalas Health Journal, 9(3), 308–312. Doi: 10.25077/jka.v9i3.1328

Putri, M. (2024). Stroke Disease Prediction Using Machine Learning with the Random Forest Algorithm. Jurnal Infomedia: Teknik Informatika, 9(2), 16–21. http://dx.doi.org/10.30811/jim.v9i1.5199

Rahman, A., Setiawan, B., & Pratama, R. (2022). Application of Machine Learning to Predict Blood Needs Using Random Forest. Journal of Information Technology and Computer Science (JTIIK), 9(2), 321-330. http://dx.doi.org/10.35329/jp.v3i1.2091

Safitri, Annisa Anggi; Widuri, Sasi; Reswari, PAD (2021). Blood Donation Socialization Efforts to Fulfill Blood Stocks During the Pandemic at the Surabaya City Indonesian Red Cross Blood Center in 2020. Journal of Community Engagement in Health, Vol. 4 No. 2, 468–474. https://doi.org/10.30994/Jceh.V4I2.271

Salman, H. A., Kalakech, A., & Steiti, A. (2024). Random Forest Algorithm Overview. Babylonian Journal of Machine Learning, 2024, 69–79. https://doi.org/10.58496/bjml/2024/007

Santoso, H., Hakim, L., Afiyati, A., Jokonowo, B., Informatika, T., Buana, U. M., & Artikel, I. (2025). Implementation of the Random Forest algorithm to predict rice needs in DKI Jakarta. 22(1), 20–29. https://doi.org/10.31515/telematika.v22i2.12850

Satmoko, ND, Rosmayati, S., Vikaliana, R., Arum, LPI, Manggabarani, AS, Utomo, KP, Ramadhani, I., Zulfikar, R., Ganika, G., Agustina, T., & Maknunah, LU (2020). Operations management (Theoretical and practical review). Bandung: Widina Bhakti Persada Bandung.

Setiawan, D. (2020). The Role of PMI in Disaster Mitigation in Indonesia. Journal of Humanity and Social Affairs, 5(3), 145-157. https://doi.org/10.59141/comserva.v3i10.1213


Refbacks

  • There are currently no refbacks.


Copyright (c) 2025 Rizka Hilmi Putri, Eva Darnila*, Lidya Rosnita

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

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