Pharmaceutical inventory control