Patent ID: 8215543

Claim:
A method for filling prescriptions in a customer order by processing a plurality of products in an automated machine, each of the products containing a pharmaceutical and marked with a first barcode containing information relating to the pharmaceutical, each of the products marked with a second barcode containing information relating to an expiration date of the pharmaceutical in each of the products, and each of the products free of markings relating to the prescriptions prior to loading into the automated machine, the method comprising: loading the products to be used to fill the customer order into an automated machine; using the automated machine to read the first barcode and the second barcode on each of the products loaded into the automated machine; in response to reading the second barcode on each of the products, determining whether the pharmaceutical is projected to be dispensed according to the respective one of the prescriptions by an end date occurring before the expiration date; and if the expiration date occurs after the end date, rejecting the product to prevent labeling by the automated machine.