I already have a NPR report that does that. Here is the catch - I want a report to print at the time of order entry called by a pharmacy rule. In essence, we are replacing the meditech labels with a report sent to a laser printer. We use a double check process for all new orders entered - comparing the labels to the original order. We are going to an electronic fax process for order entry rather than having the old carbon copies. Therefore, we no longer have a hard copy of the order to compare labels to. We have chosen to recreate the labels on a laser printer report and compare that report to the Patient's profile in Meditech.
There are several challenges - the data is stored in a temporary data structure until the file process completes. Since rules are evaluated before the orders are filed a standard RW report written in Pha.rx.file will not work. The other challenge is to only call the report to be printed once the last order has been evaluated, otherwise a report will print for every order and waste lots of paper ($$). The same reason applies for not using a custom label fragment - one is printed for every order. I have parts of it working, but I do have a new question... How can I hardcode the cpi, cpl, etc on a hplaser printer? I have tried using the %Z.printer command with no success. I want to send the escape sequences directly to the printer at BEFORE.PRINT. Any ideas? Roger -----Original Message----- From: Alan Miller [mailto:[EMAIL PROTECTED] Sent: Friday, January 19, 2007 8:06 AM To: Roger Beverly; [email protected] Subject: Re: [MEDITECH-L] PHARMACY RULE QUESTION Wouldn't a regular npr report sorted by enter.date.and.time do the same time? Can you elaborate on what you're looking to accomplish? Alan Miller, RPh >>> Roger Beverly <[EMAIL PROTECTED]> 01/15/2007 12:58 >>> I am trying to write a pharmacy rule that will store the data for the new orders and then print it to a report rather than to the labels. Does anyone have experience with such a thing? Roger Beverly [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= To subscribe or unsubscribe to the meditech-l, visit MTUsers.COM. To check the status of the meditech-l, visit MTUsers.NET. For help, email [EMAIL PROTECTED] ______________________________________ meditech-l mailing list [email protected] http://mtusers.com/mailman/listinfo/meditech-l
