METHOD AND SYSTEM FOR AUTOMATICALLY GENERATING ADVISORY INFORMATION FOR PHARMACY PATIENTS ALONG WITH NORMALLY TRANSMITTED DATA

Abstract: A method and system for generating advisory messages to pharmacy patients includes appending patient-specific information to a data record containing normally transmitted information. The data record is transmitted between a third party computer and a pharmacy computer during a pharmacy transaction. The data record transmitted to the pharmacy computer is captured by an advisory computer as the data record is received by the pharmacy computer or after the data record is transmitted to the pharmacy computer, and the patient-specific information is extracted from the captured data record. The advisory computer generates an advisory message based on the extracted patient-specific information, and it transmits the generated advisory message to a pharmacy printer. The advisory computer includes a memory containing a data structure for storing the patient-specific information, the normally transmitted information, and the generated advisory message. A computer program product includes a computer storage medium and a computer program code mechanism embedded in the computer storage medium for causing a computer to generate an advisory message. The computer program code mechanism includes a first computer code device configured to append the patient-specific information, a second computer code device configured to capture the data record transmitted to the pharmacy computer, a third computer code devise configured to extract the patient-specific information from the captured data record, a fourth computer code device configured to generate the advisory message based on the extracted patient specific information, and a fifth computer code device configured to transmit the generated advisory message to the pharmacy printer.

Description: METHOD AND SYSTEM FOR AUTOMATICALLY GENERATING ADVISORY INFORMATION FOR PHARMACY PATIENTS ALONG WITH NORMALLY TRANSMITTED DATA Cross References to Related Applications The present invention is related to commonly owned U.S. Patent Numbers 4,723,212; 4,910,672; 5,173,851; and 5,612,868 and to commonly owned U.S. Patent Application Serial Numbers 08/764,139; and 08/953,646; all of which are incorporated herein by reference. BACKGROUND OF THE INVENTION Field of the Invention: This invention related generally to point-of-sale systems for use in pharmacies and, more specifically, to systems for automatically generating advisory and/or other information for distribution to pharmacy patients. Discussion of Background: In recent years, various systems have been used to distribute advisory and other information to pharmacy patients based principally on the identification of a prescription drug being purchased. Prescription drugs in the United States are uniquely identifiable by a National Drug Code (NDC). The NDC for a prescription drug is typically entered into a computer terminal by a pharmacist at the time of sale, and it may be encoded on the product itself in bar-code form. Other prescription drug identification systems are employed in other countries, but the principle is the same: to provide a unique code for each prescription drug dispensed by the pharmacy. Based on the nature of the drug, a computer at the point of sale may be used (1) to generate advisory messages to the patient, some of which may be required by governmental regulation and/or (2) to generate promotional materials concerning related or complementary products sold in the pharmacy. Although such systems available prior to the present invention are satisfactory for some purposes, the advisory messages they provide are not always appropriately focused on the probable needs of the patients purchasing the drugs. In addition, the systems available prior to the present invention do not provide a means for transmitting information to a patient from a concerned third party, such as a Health Maintenance Organization (HMO), a Preferred Provider Organization (PPO), etc. Moreover, the systems existing and proposed prior to the present invention typically require major software or hardware changes to existing pharmacy computer systems, the principal function of which is to print prescription labels, simple advisory messages, and billing information. Ideally, additional functions should be provided without the need for major modification of existing pharmacy computer systems. In addition, most systems available prior to the present invention do not appropriately target the advisory information, except to the extent that information may be provided based on the identification of the prescribed drug. OBJECTS OF THE INVENTION Accordingly, one object of this invention is to provide a novel method and system for generating advisory and other information custom-tailored for each patient. Another object of the present invention to provide a novel method and system for generating advisory and other information without major modification of an existing pharmacy computer system. It is also an object of the present invention to provide a novel method and system for generating advisory and other information custom-tailored for each patient integrated with information from a third party, such as an HMO, PPO, etc. It is further object of the present invention to provide a novel method and system for generating advisory and other information without major modification of an existing computer system of a third party, such as an HMO, PPO, etc. SUMMARY OF THE INVENTION The above and other objects are achieved according to the present invention by providing a new and improved method and system for generating advisory messages to pharmacy patients. The method includes appending patient-specific information to a data record containing normally transmitted information at a third party computer and transmitting the data record between the third party computer and a pharmacy computer during a pharmacy transaction. The data record transmitted to the pharmacy computer is captured by an advisory computer as the data record is received by the pharmacy computer or after the data record is transmitted by the pharmacy computer, and the patient-specific information is extracted from the captured data record. The advisory computer generates an advisory message based on the extracted patient-specific information, it transmits the generated advisory message to a pharmacy printer, and the pharmacy printer prints the advisory message. In another aspect of the present invention, the advisory computer includes a memory containing a data structure for storing the patient-specific information, the normally transmitted information, and the generated advisory message. In a further aspect of the present invention, there is provided a computer program product including a computer storage medium and a computer program code mechanism embedded in the computer storage medium for causing a computer to generate an advisory message. The computer program code mechanism includes a first computer code device configured to append the patient-specific information, a second computer code device configured to capture the data record transmitted to the pharmacy computer, a third computer code device configured to extract the patient specific information from the captured data record, a fourth computer code device configured to generate the advisory message based on the extracted patient-specific information, and a fifth computer code device configured to transmit the generated advisory message to the pharmacy printer. Moreover, this goal is achieved without major modification of the existing third party and/or pharmacy computer systems. In the context of the present invention, the terms "message" and "advisory message" include all types of information provided to pharmacy patients, including information about the prescribed product being dispensed, information about related products or procedures, patient-specific information (such scheduling of appointments, physicals etc.), promotional materials and/or discount information pertaining to the purchase of prescription products and/or other products, and/or simply news items pertaining to the dispensed product and or to pharmaceutical products and/or health in general. The information may take the form of multiple-color, two-sided papers, a newsletter, etc., depending on the available printer technology. Some of the information may be generated as a result of a patient condition inferred from other factors, such as the patient's age and the type of medication prescribed. That information may be provided by a third party, such as an HMO, PPO, etc. The hardware interface in the advisory computer system may take any of various forms, depending primarily on the configuration of the existing pharmacy and third party computer systems. For example, if the pharmacy and/or third party computer systems output data in a parallel format, in a serial format, as a modem transaction, etc., the hardware interface would include appropriate hardware for extracting information from the transmitted data and for transferring the generated advisory message for printing on the pharmacy printer. The hardware interface would further include logic for mediating printer conflicts arising between print data transmitted from the pharmacy computer system and the advisory computer system. It will be appreciated from the foregoing that the present invention represents a significant advance in providing information to pharmacy patients from third parties, such as HMOs and PPOs. In particular, more targeted information can be provided in an automatic and convenient manner, without having to make significant modifications to existing third party and pharmacy computer systems. Another important advantage of the invention is that, because it "eavesdrops" passively to obtain data from the pharmacy computer and/or third party computer systems' print stream, any malfunction in the advisory computer system does not affect operation of the pharmacy and/or third party computer systems, which can continue to process prescriptions and to print labels. The present invention pertains to a system and a related method for automatically providing advisory information to pharmacy patients based on (1) the identification of the drugs being dispensed and/or (2) other information pertaining to the patient and to the prescription and/or (3) patient-specific information provided by a third party, such as an HMO, PPO, etc. Other aspects and advantages of the invention will become apparent from the more detailed description that follows, taken in conjunction with the drawings, which are briefly described below. BRIEF DESCRIPTION OF THE DRAWINGS A more complete appreciation of the invention and many of the attendant advantages thereof will be readily obtained as the same becomes better understood by reference to the following detailed descriptions when considered in connection with the accompanying drawings, wherein: Fig. 1 is a top level flowchart of the functions performed in accordance with the method of the invention; Fig. 2 is a top level block diagram illustrating the advisory computer system of the present invention in relation to pharmacy and third party computer systems and pharmacy computer system printing resources; Fig. 3 is a detailed diagram illustrating details of the advisory computer system of Fig. 2; Fig. 4 are detailed flowcharts of the functions performed in Fig. 1 in accordance with the method of the invention; and Fig. 5 is an illustration of the contents of a generated advisory message, according to the present invention. DESCRIPTION OF THE PREFERRED EMBODIMENTS Referring now to the drawings, wherein like reference numerals designate identical or corresponding parts throughout the several views, and more particularly to Figs. 1 and 2 thereof, there is illustrated a top level flowchart and a system block diagram of the respective method and system of the present invention including functions performed at a third party computer system 100 at step SI 00, functions performed at a pharmacy computer system 200 at step S200, functions performed at an advisory computer system 300 at step S300, and functions performed at a the pharmacy computer system's printing resources 400 at step S400. Referring to Figs. 1 and 2, at step SI 20. data is transmitted from the third party computer system 100 along with appended customer specific information, such as reminders to take other medication or to schedule a physical, etc., to the pharmacy computer system 200 over a data link Dl, such as a parallel, serial, or modem data link, etc. The transmitted data is received at the pharmacy computer system 200 and the advisory computer system 300 at respective steps S220 and S320, over the data link Dl and a corresponding data link D3, such as a parallel, a serial, or a modem data link, etc. Optionally, at step S320, the transmitted data may be received by the advisory computer system 300 after passing through the pharmacy computer system 200 via a data link D2 and a corresponding data link D4, such as a parallel data link, a serial data link, a modem data link, etc. At step S240, the pharmacy computer system 200 transmits normal data, such as label information, drug type, etc. to the pharmacy computer system's printing resources 400 over the data link D2. If the data transmitted from the third party computer system 100 is being intercepted after passing through the pharmacy computer system 200 by the advisory computer system 300, the normal data transmitted by the pharmacy computer system 200 at step S240 would also include the patient-specific information appended by the third party computer system 100. After the advisory computer system 300 either intercepts the transmitted data before reaching the pharmacy computer system 200 or after passing through the pharmacy computer system 200 at step S320, the advisory computer system 300 transmits a generated advisory message to the pharmacy computer system's printing resources 400 at step S340. As previously discussed, the advisory computer system 300 includes a hardware interface 328 (see Fig. 3) for performing printing mediation to resolve printer conflicts between the advisory computer system 300 and the pharmacy computer system 200 using methods and/or systems, for example, as are known in the art or as described in commonly owned U.S. Patent Application Serial Number 08/764,139. The pharmacy computer system's printing resources 400 print the advisory message generated and transmitted by the advisory computer system 300 and/or the normal data transmitted from the pharmacy computer system 200 at steps S420 and S440, respectively. It is noted that, in the preferred embodiment of the invention, the third party computer system 100, the pharmacy computer system 200, and the advisory computer system 300 typically use modem, parallel, and/or serial data transmission formats with appropriate logic and/or software functions provided in hardware interface 328 of the advisory computer system 300 -for example, as is described in commonly owned U.S. Patent Application Serial Number 08/764,139. In Fig. 3, the advisory computer system 300 is shown. It includes a display device 302, such as a conventional display device or a touch screen monitor with a touch-screen interface: a keyboard 304; a pointing device 306, such as a mouse, a mouse pad 308, or a digitizing pad; a hard disk 310; a floppy drive 312; a tape or CD ROM drive 314 with tape or CD media 316; and a mother board 318. The motherboard 318 includes a processor 320; a RAM 322; a ROM 324; I/O ports 326 which are used to couple to the third party computer system 100 and to the pharmacy computer system 200; the previously mentioned hardware interface 328 for performing specialized hardware/software functions, such as modem interfacing, serial-to-parallel and parallel to serial conversion, printer conflict mediation, sound processing, image processing, etc.; a microphone 330; and a speaker or speakers 332. In addition, the third party computer system 100 and the pharmacy computer system 200 also include any combination of the above described features and/or components of the advisory computer system 300. The details of the operation of the system and method according to the present invention will now be described with reference to the flowchart of Fig. 4 and Figs. 1-3. In Fig. 4. the third party computer system 100 appends the patient-specific information, such as personalized messages, appointment reminders, etc., to the normally transmitted data, such as the NDC, etc., at step SI 02. The patient-specific information may be appended in various forms— including, for example, appending the patient-specific information in unused fields, added fields, etc. of the normally transmitted data. Next, the appended data is transmitted from the third party computer system 100 to the pharmacy computer system 200 at step SI 20. As previously discussed, the advisory computer system 300 passively monitors the data transmitted by the third party computer system 100 via the data link D3. After the data is transmitted by the third party computer system 100, the transmitted data is received by the pharmacy computer system 200 at step S220, and * e normal data, such as the NDC, etc., is extracted by the pharmacy computer system 200 at step S222. The extraction step may include simply ignoring the appended patient-specific information in the unused or added fields of the normal data. Next, the extracted normal data is transmitted to the pharmacy computer system's printing resources 400 at step S240. As previously discussed, if the advisory computer system 300 monitors the transmitted data from the third party computer system 100 after the transmitted data passes through the pharmacy computer system 200, the data transmitted at step S240 by the pharmacy computer system 200 would include the normal data along with the appended patient-specific information. The data transmitted, including the appended patient-specific information either transmitted by the third party computer system 100 or passing through the pharmacy computer system 200, is passively intercepted and received by the advisory computer system 300 at step S320. The appended patient-specific information is extracted by the advisory computer system 300 at step S322 and is used by the advisory computer system 300 to generate a patient-specific advisory message. Optionally, each different combination of information (such as the NDC, the age of the patient, the gender of the patient, whether the prescription is new or a refill, and the payer) may be used to trigger generation of a different advisory message, for example, as is described in commonly owned U.S. Patent Application Serial Number 08/764,139, along with the patient-specific information provided by the third party computer system 100. The various combinations selected to trigger a message are stored in a database, such as the hard disk 310 of the advisory computer system 300 or to trigger a matrix associated with the advisory computer system 300. In the latter case, the trigger matrix is queried to determine which, if any, advisory messages are to be printed, for example, as is described in commonly owned U.S. Patent Application Serial Number 08/764,139. The advisory message is generated by the advisory computer system 300 at step S324 and is transmitted to the pharmacy computer system's printing resources 400 at step S340. The pharmacy computer system's printing resources 400 receive the messages transmitted by the advisory computer system 300 or the pharmacy computer system 200 at steps S402 and S404, and it prints the respective information at steps S420 and S440. The received messages may be messages that are normally transmitted by the pharmacy computer system 200 and received by the pharmacy computer system's printing resources 400 at step 404. Such received messages are not acted upon by the advisory computer system 300, and they are printed by pharmacy computer system's printing resources 400 at step S440. Alternatively, the received messages may be the patient-specific advisory messages transmitted by the advisory computer system 300 at step S340 and received by the pharmacy computer system's printing resources 400 at step 402. Such received message are printed by the pharmacy computer system's printing resources 400 at step S420. In this way, the normal printing functions performed by the third party computer system 100 via the pharmacy computer system 200 and the pharmacy computer system's printing resources 400 are not interrupted by the printing of the advisory messages from the advisory computer system 300. An example of the contents of an advisory message 440 printed by the pharmacy computer system's printing resources 400 in response to data transmitted from the advisory computer system 300 is shown in Fig. 5. In Fig. 5, the advisory message 440 includes patient-specific information 442 and regular information 444. The patient-specific information 442 includes, for example, a greeting, a doctor's appointment reminders, billing information, promotional material, information concerning related products, discounts, coupons, government warnings, and news items. The regular information includes, for example, a prescription label, dosage information, information concerning side effects, etc. The advisory message 440 can be in the form of a patient-customized newsletter, and it can be delivered to the patient by the pharmacist. Studies have shown that patients regularly use pharmacists as a source of medical information since pharmacists are believed act objectively for the patient's best interests. Accordingly, having the advisory information presented to a patient by his or her pharmacist is a reliable and effective method of providing health advisory information as compared to conventional methods, such as mass mailings, targeted mailings, etc. The invention represents a significant advance in the field of point-of-sale systems in the pharmacy environment. More specifically, the invention provides for distribution of patient specific information to pharmacy patients, taking into account information provided by interested third parties, such as HMOs and PPOs, and optionally important factors such as age, gender, prescription status, and payer identity, as well as the identification of the drug being dispensed. Furthermore, the invention achieves these goals without major modification of existing third party and pharmacy computer systems. An added advantage is that, because the system of the invention taps passively into data streams from the third party computer system either entering or leaving the pharmacy computer system, any malfunction of the invention has no affect on the basic operation of the third party or pharmacy computer systems, which can continue to process prescriptions and print labels. The ability of the invention to provide targeted information to patients can be extended to the provision of product samples that are similarly targeted, based on the same data stream entering and or leaving of the pharmacy system. Yet another advantage of the invention is that, if the advisory computer 300 is connected to a network of similar computers, advisory messages can be directed to pharmacists over this network and printed on the pharmacy printer. Although the preferred embodiment of the invention is described in terms of a third party computer system 100, a pharmacy computer system 200, and an advisory computer system 300 employing parallel, serial, and/or modem data transmission formats, as will be apparent to those skilled in the computer art, other forms of data transmission formats may be used, such as network, coaxial cable, fiber optic, wireless, etc., by modifying the hardware interface 328 of the advisory computer system 200 to include appropriate interface logic and/or software functions. The present invention includes a computer program product for implementing the processes of the present invention (e.g., as shown in Figs. 1 and 4). The computer program product may be on a storage medium including instructions and/or data structures which can be used to program the advisory computer system 300 and the third party computer system 100 (Figs. 2 and 3) to perform a process of the invention. The storage medium can include, but is not limited to, any type of disk including floppy disks, optical discs, CD-ROMs, and magneto-optical disks; ROMs; RAMs; EPROMs; EEPROMs, magnetic or optical cards; or any type of media suitable for storing electronic instructions (e.g., the hard disk 310, the floppy drive 312, the tape or CD ROM drive 314 with the tape or the CD media 316, the RAM 322, and the ROM 324 of the advisory computer system 300 and similar devices in the third party computer system 100). In addition, the ROM and RAM devices of the advisory computer system 200 and the third party computer system 100 are used to implement data structures for storing the patient-specific information, information normally transmitted by the third party computer system 200, information received by the advisory computer system 200, and the advisory message generated by the advisory computer system 300. However, as will be readily apparent to those skilled in the art, this invention may also be implemented by - l i ¬ the preparation of application-specific integrated circuits or by interconnecting an appropriate network of conventional component circuits, Obviously, numerous modifications and variations of the present invention are possible in light of the above teachings. It is therefore to be imderstood that, within the scope of the appended claims, the invention may be practiced otherwise than as specifically described herein.

Claims: Claims: 1. A method for generating advisory messages to pharmacy patients, said method comprising the steps of: (a) appending patient-specific information to a data record: (i) containing normally transmitted information (ii) transmitted between a third party computer and a pharmacy computer during a pharmacy transaction; (b) capturing the data record transmitted to the pharmacy computer as the data record is received by the pharmacy computer or after the data record is transmitted to the pharmacy computer; (c) extracting the patient-specific information from the captured data record; (d) generating an advisory message based on the extracted patient-specific information; and (e) transmitting the generated advisory message to a pharmacy printer. 2. The method of claim 1 wherein the step of appending patient-specific information comprises appending any one of a patient greeting, a doctor's appointment reminder, billing information, promotional materials, information concerning related products, information concerning related discounts, government warnings, and news items. 3. The method of claim 1 wherein the step of appending patient-specific information comprises appending the patient-specific information to a data record containing normally transmitted information including any one of a prescription label, dosage information, and information concerning side effects. 4. The method of claim 1 wherein the step of generating an advisory message based on the extracted patient-specific information comprises generating an advisory message in the form of a newsletter. 5. A system for generating advisory messages to pharmacy patients during pharmacy transactions with a pharmacy computer having a pharmacy printer, said system comprising: (a) a third party computer configured to append patient-specific information to a data record: (i) containing normally transmitted information (ii) transmitted between the third party computer and the pharmacy computer during the pharmacy transaction and (b) an advisory computer configured to: (i) capture the data record transmitted to the pharmacy computer as the data record is received by the pharmacy computer or after the data is transmitted to the pharmacy computer; (ii) extract the patient-specific information from the captured data record; (iii) generate an advisory message based on the extracted patient-specific information; and (iv) transmit the generated advisory message to the pharmacy printer. 6. The system of claim 5 wherein the patient-specific information comprises any one of a patient greeting, a doctor's appointment reminder, billing information, promotional materials, information concerning related products, information concerning related discounts, government warnings, and news items. 7. The system of claim 5 wherein the normally transmitted information includes any one of a prescription label, dosage information, and information concerning side effects. 8. The system of claim 1 wherein the advisory message is in the form of a newsletter. 9. A memory containing a data structure for storing information relating to a pharmacy transaction, said memory comprising: (a) fields which store patient-specific information; (b) fields which store normally transmitted information; and (c) fields which store a generated advisory message. 10. The memory according to claim 9 wherein the fields which store the patient- specific information comprise fields which store any one of a patient greeting, a doctor's appointment reminder, billing information, promotional materials, information concerning related products, information concerning related discounts, government warnings, and news items. 11. The memory according to claim 9 wherein the fields which store the normally transmitted information comprise fields which store any one of a prescription label, dosage information, and information concerning side effects. 12. The memory according to claim 9 wherein the fields which store the generated advisory message comprise fields which store any one of a patient greeting, a doctor's appointment reminder, billing information, promotional materials, information concerning related products, information concerning related discounts, government warnings, news items, a prescription label, dosage information, and information concerning side effects. 13. A computer program product comprising a computer storage medium having a computer program code mechanism embedded in said computer storage medium for causing a computer to generate an advisory message, said computer program code mechanism comprising: (a) a first computer code device configured to append patient-specific information to a data record: (i) containing normally transmitted information (ii) transmitted between a third party computer and a pharmacy computer during a pharmacy transaction; (b) a second computer code device configured to capture the data record transmitted to the pharmacy computer as the data record is received by the pharmacy computer or after the data record is transmitted to the pharmacy computer; (c) a third computer code device configured to extract the patient-specific information from the captured data record; (d) a fourth computer code device configured to generate an advisory message based on the extracted patient-specific information; and (e) a fifth computer code device configured to transmit the generated advisory message to a pharmacy printer.

Inventors: BYERLY BAXTER H, UECKER ROBERT ANTHONY, BYERLY, BAXTER, H., UECKER, ROBERT, ANTHONY
Applicants: CATALINA MARKETING INT, CATALINA MARKETING INTERNATIONAL, INC.
Application year: 1999
Main classification: G06F17
IPC codes: G06F3, G06Q30, G06Q50