Implementation of the Hash-Based Algorithm for Analyzing Drug Sales Patterns at Permata Pharmacy

Authors

  • Sahira Reggina Putri STMIK PPKIA Tarakanita Rahmawati
  • Fitria Fitria STMIK PPKIA Tarakanita Rahmawati
  • Risma Sakila STMIK PPKIA Tarakanita Rahmawati

DOI:

https://doi.org/10.71302/jbidai.v8i1.68

Keywords:

data mining, hash-based algorithm, sales, drug

Abstract

In an era of increasingly intense business competition, entrepreneurs in the healthcare sector, such as pharmacies, are required to optimize the use of transaction data. Apotek Permata Sejahtera has experienced a daily increase in sales transaction volume, resulting in an accumulation of data without further analysis. Therefore, a method is needed to identify associations between pharmaceutical products that are frequently purchased together by customers to support sales strategies and product arrangement. This study applies the Hash-Based algorithm to discover association patterns from drug sales transaction data between February and September 2024. The research stages include tabular data construction, determination of minimum support, hash address computation, calculation of minimum confidence, confidence evaluation, and formulation of association rules. The results show that the maximum itemset combination meeting the minimum support threshold of 40% reaches only up to the 5-itemset level, with a single final combination. From the 41 combinations that met the support criteria, 37 rules were identified with a minimum confidence of 80%, indicating strong relationships among pharmaceutical products. These findings offer practical contributions to sales strategy planning, inventory management, and product layout optimization in pharmacies to enhance operational efficiency and customer satisfaction

References

[1] P. M. Andini, D. Suranti, D. Sartika, and U. Dehasen, “Implementasi Algoritma Hash-Based untuk Mengetahui Pola Penjualan Obat pada Apotek Mitra Sehat Manna Bengkulu Selatan,” vol. 4307, no. 4, pp. 1446–1452, 2024.

[2] N. Febriyan and R. Juliansyah, “Implementasi Data Mining Menggunakan Algoritma Hash Based Terhadap Pola Pengeluaran Obat Pada Rumah Sakit Pertamina Tarakan,” vol. 7, no. 1, pp. 14–20, 2024.

[3] R. Fauzi, A. W. Aranski, and E. Hutabri, “Implementasi Data Mining Pada Penjualan Pakaian dengan Algoritma FP-Growth,” vol. 10, no. 2, pp. 436–445, 2023, doi: 10.30865/jurikom.v10i2.5795.

[4] S. Lailiyah and R. Andrea, “Penerapan Algoritma Hash Based Terhadap Penentuan Rule Asosiasi Transaksi Penjualan Sparepart Sepeda Motor,” vol. 8, no. April, pp. 866–877, 2024, doi: 10.30865/mib.v8i2.7410.

[5] M. F. H. Lubis, “Data Mining Market Basket Analysis Menggunakan Algoritma Hash Based Pada Sistem Penjualan Produk,” vol. 10, pp. 163–170, 2023.

[6] A. Triayudi, “Penerapan Algoritma Hash Based dalam Penemuan Aturan Asosiasi Penjualan Tanaman Hias,” vol. 4, no. 3, pp. 1293–1300, 2022, doi: 10.47065/bits.v4i3.2626.

[7] R. T. Aldisa, “Penerapan Data Mining Pada Analisa Pola Pembelian Obat Menerapkan Algoritma Hash Based,” vol. 4, no. 4, pp. 1892–1898, 2023, doi: 10.47065/bits.v4i4.3142.

[8] A. Saputra, H. L. Sari, and D. Sartika, “Implementasi Metode Association Rule Mining Pada Penjualan Barang Di Toko Bangunan Ada Mas Menggunakan Algoritma Apriori,” J. Multidisiplin Dehasen, vol. 2, no. 4, pp. 709–718, 2023, doi: 10.37676/mude.v2i4.4805.

[9] B. V. Christioko, K. Khoirudin, and A. Nugroho, “Penentuan Pola Asosiatif Data Tracer Study Universitas Semarang dengan Algoritma Hash Based,” Aiti, vol. 20, no. 2, pp. 150–166, 2023, doi: 10.24246/aiti.v20i2.150-166.

[10] U. R. Amanda and D. P. Utomo, “Penerapan Data Mining Algoritma Hash Based Pada Data Pemesanan Buah Impor Cv. Green Uni Fruit,” KOMIK (Konferensi Nas. Teknol. Inf. dan Komputer), vol. 5, no. 1, pp. 86–93, 2021, doi: 10.30865/komik.v5i1.3653.

Published

06/30/2025

How to Cite

Sahira Reggina Putri, Fitria, F., & Risma Sakila. (2025). Implementation of the Hash-Based Algorithm for Analyzing Drug Sales Patterns at Permata Pharmacy. Journal of Big Data Analytic and Artificial Intelligence, 8(1), 22–29. https://doi.org/10.71302/jbidai.v8i1.68