Patent ID: 8823510

Claim:
A system, comprising: a computer, wherein the computer is configured to: receive a prescription identifier scanned from a prescription vial, send a request to a pharmacy records database storing a plurality of prescriptions for a prescription message corresponding to the prescription identifier, receive the prescription message from the pharmacy records database, parse a SIG code from the prescription message, obtain a translation of the SIG code into a language, determine a free text portion corresponding to the SIG code, concatenate the translated SIG code with the free text portion to produce a concatenated string, send the concatenated string to a parser, perform, using the parser, pattern matching on the concatenated string, determine, based on the pattern matching, programming information to configure a timer to send an alert at a time designated by the programming information, and initiate a transmission of the programming information; and a wirelessly programmable prescription bottle cap, comprising: a first sensor configured to wirelessly receive the programming information, and a control unit comprising: a memory configured to store the programming information, and a processor configured to set the timer and to instruct the wirelessly programmable prescription bottle cap to send the alert at the time designated by the programming information.