PREDIKSI PERMINTAAN OBAT MENGGUNAKAN TIME SERIES DAN MACHINE LEARNING UNTUK SISTEM PERINGATAN DINI KETERSEDIAAN OBAT

Authors

  • Muhamad Satriadi Magister Ilmu Komputer, Universitas Budi Luhur
  • Rusdah Rusdah Universitas Budi Luhur

DOI:

https://doi.org/10.36080/skanika.v9i2.3928

Keywords:

Antihypertensive Drugs, Early Warning System, Forecasting, KDD, Machine Learning

Abstract

Effective pharmaceutical inventory management is crucial for sustaining healthcare services in hospitals. Inaccurate demand planning can lead to stockouts or overstock situations, resulting in budget inefficiencies of 25–40%. This study aims to develop and compare pharmaceutical demand forecasting models and implement the results into the SmartMed application, which integrates Safety Stock, Reorder Point (ROP), and an early warning system at RSUD Kota Bogor. The study employs the Knowledge Discovery in Databases methodology using data from January 2020 to December 2025. The study compared five forecasting methods—ARIMA, Exponential Smoothing, Prophet, Random Forest, and XGBoost—using MAE, RMSE, and MAPE metrics. Evaluation results indicate that Random Forest was the best model for four medication types, XGBoost for three, ARIMA for two, and Exponential Smoothing for one, while Prophet did not emerge as the best model for any. For Amlodipine 10 mg, Random Forest yielded an MAE of 715.94, an RMSE of 845.07, and a MAPE of 6.72% (rated "Very Good"). The best-performing models were subsequently incorporated into SmartMed to support inventory monitoring via Safety Stock, ROP, and the early warning system. This system is expected to help management make proactive decisions about pharmaceutical inventory.

Downloads

Download data is not yet available.

References

[1] Kementerian Kesehatan Republik Indonesia, Peraturan Menteri Kesehatan Republik Indonesia Nomor 72 Tahun 2016 tentang Standar Pelayanan Kefarmasian di Rumah Sakit, Jakarta: Kementerian Kesehatan RI, 2016.

[2] J. Heizer, B. Render, and C. Munson, Operations Management: Sustainability and Supply Chain Management, 13th ed. Pearson, 2020.

[3] S. Chopra, and P. Meindl, Supply Chain Management: Strategy, Planning, and Operation, 7th ed. Pearson, 2019.

[4] World Health Organization, Global Report on Hypertension: The Race Against a Silent Killer, Geneva: WHO, 2023.

[5] Kementerian Kesehatan Republik Indonesia, Laporan Riset Kesehatan Dasar (Riskesdas) 2023, Jakarta: Badan Penelitian dan Pengembangan Kesehatan, 2023.

[6] X. Shu, and Y. Ye, "Knowledge Discovery: Methods from data mining and machine learning," Social Science Research, vol. 110, p. 102817, 2023, doi: 10.1016/j.ssresearch.2022.102817.

[7] W. Widayat, et al., "Data Mining Implementation: A Survey," Indonesian Journal of Electrical Engineering and Computer Science, vol. 36, no. 3, pp. 1960-1968, 2024, doi: 10.11591/ijeecs.v36.i3.pp1960-1968.

[8] V. A. Putri, S. Achmadi, and A. Mahmudi, “Rancang Bangun Sistem Peramalan Penjualan Es Krim Dengan Metode Double Exponential Smoothing,” SKANIKA: Sistem Komputer dan Teknik Informatika, vol. 9, no. 1, pp. 24-34, 2026, doi: 10.36080/skanika.v9i1.3618.

[9] S. Imron, A. Faizah, and Sugianto, “Prediksi Kelulusan Mahasiswa Menggunakan Algoritma XGBoost,” SKANIKA: Sistem Komputer dan Teknik Informatika, vol. 9, no. 1, pp. 76-86, 2026, doi: 10.36080/skanika.v9i1.3647.

[10] N. D. Vannesa, and F. Budiman, “Klasifikasi Kelayakan Kredit Menggunakan Random Forest Dengan Optimisasi SMOTENC dan GridSearchCV,” SKANIKA: Sistem Komputer dan Teknik Informatika, vol. 9, no. 2, pp. 270-283, 2026, doi: 10.36080/skanika.v9i2.3829.

[11] K. R. Maulana, W. Widiyono, and A. S. Darmawan, “Predicting Tablet Drug Expenditures Using Python-Based Facebook Prophet in Pharmaceutical Installations,” Jurnal Teknologi dan Open Source, vol. 8, no. 2, pp. 709–721, 2025, doi: 10.36378/jtos.v8i2.4907.

[12] K. Arunika, and L. J. E. Dewi, "Perbandingan Model SARIMA, Exponential Smoothing, dan XGBoost untuk Prediksi Penjualan Super Store," Jurnal Informatika dan Teknik Elektro Terapan, vol. 13, no. 1, pp. 60-69, 2025, doi: 10.23960/jitet.v13i3S1.8173.

[13] F. R. Hariri, and C. Mashuri, “Sistem Informasi Peramalan Penjualan dengan Menerapkan Metode Double Exponential Smoothing Berbasis Web,” Generation Journal, vol. 6, no. 1, pp. 68–77, 2022, doi: 10.29407/gj.v6i1.16204.

[14] S. J. Taylor and B. Letham, “Forecasting at Scale,” The American Statistician, vol. 72, no. 1, pp. 37–45, 2018, doi: 10.1080/00031305.2017.1380080.

[15] L. Breiman, “Random Forests,” Machine Learning, vol. 45, no. 1, pp. 5–32, 2001, doi: 10.1023/A:1010933404324.

[16] T. Chen and C. Guestrin, “XGBoost: A Scalable Tree Boosting System,” Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 785–794, 2016, doi: 10.1145/2939672.2939785.

[17] E. A. Silver, D. F. Pyke, and D. J. Thomas, Inventory and Production Management in Supply Chains, 4th ed. Boca Raton, FL: CRC Press, 2017, doi: 10.1201/9781315374406.

[18] D. Rakasiwi, R. Arafiyah, and F. H. Indiyah, “Rancang Bangun Sistem Electronic Prescribing Dokter dengan Menggunakan Codeigniter,” J-KOMA : Jurnal Ilmu Komputer dan Aplikasi, vol. 2, no. 1, 2018, doi: 10.21009/j-koma.v2i1.6484.

[19] M. D. A. Alhamdi, Herman, and W. Astuti, “Peramalan Kebutuhan Obat Menggunakan XGBoost Studi Kasus pada Rumah Sakit XYZ,” Indonesian Journal of Computer Science, vol. 12, no. 5, pp. 2758–2764, 2023, doi: 10.33022/ijcs.v12i5.3344.

[20] E. M. Padilla, Utari, and R. Y. Simanullang, "Optimization of Tomato Production Prediction Using XGBoost and CatBoost Based on Lag Features in Aceh Province," Jurnal Armada Informatika, vol. 10, no. 1, pp. 34-42, 2026, doi: 10.36520/jai.v10i1.305.

Downloads

Published

2026-07-31

How to Cite

[1]
M. Satriadi and R. Rusdah, “PREDIKSI PERMINTAAN OBAT MENGGUNAKAN TIME SERIES DAN MACHINE LEARNING UNTUK SISTEM PERINGATAN DINI KETERSEDIAAN OBAT”, SKANIKA, vol. 9, no. 2, pp. 385–395, Jul. 2026.