Hospital pharmacy plays an important role in ensuring drug availability and effective stock management. With the increasing number of drug redemptions, manual data management becomes inefficient and can lead to understocking or overstocking. Therefore, a method is needed that is able to automatically analyze drug sales patterns to improve stock management efficiency. One approach that can be used is the Apriori algorithm, an effective data mining technique for finding patterns in drug redemptions. This study aims to analyze drug redemption patterns at the Belawan Navy Hospital Pharmacy using the Apriori algorithm. The data used is drug redemption data. The Apriori algorithm is applied to find relationships between drug items that are often purchased together, so that it can provide useful insights in drug stock management. The results of the study showed that the Apriori algorithm successfully identified several significant drug redemption patterns. These patterns can be used to improve the efficiency of drug stock management and ensure timely drug availability, as well as reduce the risk of understocking or overstocking. The results of the study used logistic regression to predict discrete (binary) values from a column based on values from other columns and the accuracy obtained was 1.0 or 100%. This study concludes that the application of data mining with the Apriori algorithm can provide significant benefits in optimizing the management of drug stock redemption in hospital pharmacies.
Read full abstract