Pharmacy inventory management