It might help if I included my copy of Herb's reports.
Sorry, ________________________________ From: Bill Mullins Sent: Thursday, August 02, 2007 4:39 PM To: 'Roger Beverly' Cc: [email protected] Subject: RE: [MEDITECH-L] Displaying text box from report writer - Magic 5.61 Roger: I am not in the same class as the L List Npr experts, but I have done some report trackers that display on screen and refresh based on a user defined time frame (30 secs or 2 mins whatever). Herb B did a similar demonstration at International MUSE this year, although I did not get to attend this year, I downloaded the reports from the MUSE Site. These might work for you, I edited Herb's reports to fit my desires and needs. I am sending you both versions. Herbs reports are: PHA.RX.zcus.hab.test.ha.auto2 PHA.RX.zcus.hab.test.unverified.ord.num @ My edited versions are: PHA.RX.zcus.bm.refresh Notice I did not change the name of the report called from the title of my PHA.RX.zcus.bm.refresh version (I made this mistake In the past when sending someone a report that I had renamed, but I did not edit the title in my renamed report and they could not run it, because it was calling a macro that I did not send them....) Also on page 3 of my version see the TP region, again I am calling Herbs report (ECE-%PHA.RX.zcus.hab.test.ha.auto.M.page(0), LC='/END You will get a syntax error message when refilling one of the macros, I forget which one, Joe C says to ignore this message and the report will run fine. When you run my version of the report, hit the enter key after the report is ran, it will show the data on the screen (if there are any hold acknowledgements from NUR to PHA. My frag report at the end of the screen is to list all unverified orders (which we do not use anyway, but I was playing with the report to see what kind of useful data I might want to add to this PHA REFRESH/TRACKER REPORT). ------------------------------------------------------------------------ --------------------------------------------------------------------- Nurse: MULLINS,BILL A Comment: TESTING OF CUSTOM REPORT FOR PHA TRACKER Req @1633 Type: HA RM/B: 635-A ACCT: V00000002931 NAME: TEST,BILL ZIAC5625B HCTZ/BISOPROLOL 5/6.25 TAB (ZIAC 5/6.25) 1 EA QAM Nurse: MULLINS,BILL A Comment: PATIENT IS NPO Req @1633 Type: HA RM/B: 635-A ACCT: V00000002931 NAME: TEST,BILL TRICOR48 FENOFIBRATE,MICRONIZED 48 MG TAB (TRICOR) 48 MG [EMAIL PROTECTED] Nurse: MULLINS,BILL A Comment: PATIENT IS NPO Req @1633 Type: HA RM/B: 635-A ACCT: V00000002931 NAME: TEST,BILL HYDR5 ACETAMINOPHEN/HYDROCODONE 5 TAB (LORTAB 5) 5 EA Q1-4HP/PRN Nurse: MULLINS,BILL A Comment: PATIENT IS NPO *** UNVERIFIED ORDERS *** Entered @1932 By MIS.WAM Acct#: V00000001255 APPLE,PEAR 2 Entered @2015 By MIS.WAM Acct#: V00000001362 HAPPY,SAM 2 Entered @1935 By MIS.WAM Acct#: V00000000992 TEST,ACCESS E 1 Entered @2047 By MIS.WAM Acct#: V00000000661 TEST,GERKIE 1 Good Luck, Good Luck, ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Roger Beverly Sent: Thursday, August 02, 2007 1:22 PM To: [email protected] Subject: [MEDITECH-L] Displaying text box from report writer - Magic 5.61 I need some guidance from the Report Writer gurus. I am working on a way of displaying the hold acknowledgements for the pharmacists. The current meditech idea of displaying them in the sign on message is inadequate since most pharmacists only log-in a couple of times a day. I am trying to attach a start macro to the pharmacy patient view fragment that pops up a message showing the hold acknowledgements. I've got the hold acknowledgements, but I need to know how to display the info in a text box on the screen. I have tried @W.display and %Z.wm.macro. Neither works, and both cause screen corruption. Here is the macro for your info: ""^N^CT^DATE^TIME, "HA"^PHA.RX.pnur.req.type,""^PHA.RX.pnur.req.date, DO{>@Root(PHA.RX.nur.request.x)[PHA.RX.pnur.req.type,X]^X N+1^N}, IF{N>0 "There "_IF{N'=1 "are ";"is "}_N_" Hold Acknowledgement Request"_IF{N>1 "s"}_" requi IF{N>0 "Requests are for:"^/.WO[Q+1^Q]}, "HA"^PHA.RX.pnur.req.type, ;""^PHA.RX.pnur.req.type, ;[EMAIL PROTECTED](PHA.RX.pnur.req.type,PHA.RX.nur.request.x) ""^PHA.RX.pnur.req.date, [EMAIL PROTECTED](PHA.RX.pnur.req.date,PHA.RX.nur.request.x)^DATE <mailto:[EMAIL PROTECTED](PHA.RX.pnur.req.date,PHA.RX.nur.request.x)%5eDATE> ""^PHA.RX.pnur.req.time, [EMAIL PROTECTED](PHA.RX.pnur.req.time,PHA.RX.nur.request.x)^TIME <mailto:[EMAIL PROTECTED](PHA.RX.pnur.req.time,PHA.RX.nur.request.x)%5eTIME> ""^PHA.RX.urn, [EMAIL PROTECTED](PHA.RX.urn,PHA.RX.nur.request.x)^PHA.RX.urn <mailto:[EMAIL PROTECTED](PHA.RX.urn,PHA.RX.nur.request.x)%5ePHA.RX.urn> 1, " "[EMAIL PROTECTED]'s.name_" "_%Z.date.out(DATE)_" "_TIME^/.WO[Q+1^Q]}}}, ; ;""^/MES; %Z.wm.macro(1,0); Anybody have a good way of displaying data as a pop-up text box without screwing up the screen? Thanks - Roger Roger Beverly, PharmD Clinical Pharmacy Coordinator Conway Medical Center, Inc. [EMAIL PROTECTED] Conway Medical Center Disclaimer The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you H20070801 ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. This footnote also confirms that this email message has been swept by Sophos and MIMEsweeper for the presence of computer viruses. **********************************************************************
PHATRACKER55.npr
Description: PHATRACKER55.npr
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= To subscribe or unsubscribe to the meditech-l, visit http://mtusers.com/mailman/listinfo/meditech-l_mtusers.com To check the status of the meditech-l, visit MTUsers.NET For help, email [EMAIL PROTECTED] Please visit and add information to the MTUsers WikiPedia at MTUsers.NET/mwiki ______________________________________ meditech-l mailing list [email protected] http://mtusers.com/mailman/listinfo/meditech-l_mtusers.com
