We are entertaining the idea to run a custom NPR report and simply have it display on a dedicated PC/monitor in our Customer Service dept. I know how to have a report run to screen (print on "S") by executing the following commands: 1^/Z.SCHED.LOG & %Z.printer.open.px("S"). However, I am additionally looking for a way to repeatedly run the report to refresh the data automatically also. I haven't found anything like this in MT Knowledge Base and Meditech-L articles.
Thank you in advance for any help,
Scott Zimmerman
Laboratory Information Systems Analyst
UMass Memorial Medical Center
Department of Hospital Labs
Office: 508-334-7237
Page: 508-426-2178 (mailto:50842...@archwireless.net)
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, transmission, re-transmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. |
Scott:
I have 3-4 reports like this, I got this idea from Joe C and Brian S, I wish I was that smart…
See attached files, these reports are in MAGIC 5.5 SR2
Edit any macro for your database and queries as needed, a couple may have frag calles in the macro, others do not, but you may want to edit the refresh times.
1. RADRW.EXAM.zcus.bm.refresh.ptstatus
(EXAMS FOR TODAY - STATUS OF ORDERED - ALL RAD DEPTS-SORTS BY PT STATUS/EXAM TYPE)
Selects on:
Select Field/Prompt or Value Oper/Default or Keyword
exam.dates EQ
(%Z.date.clinical(@.today))
exam.status EQ
"O"
No frags
Several macros
Just refile and retranslate the macros and the report
2. RADRW.EXAM.zcus.bm.refresh
(same as above, does not sort by PT STATUS)
Some of these examples will run to Scope automatically while others you need to enter the S for scope at the print on prompt (I think it is just one of the macros is missing and I need to add it, when I have time to play around (ha ha).
Once you enter the S and then you have to hit the enter key to make it print to screen
End of Page - PageDown for Next Page - Automatic Next Page in 10 Seconds
Escape to Halt Report - Any other key to Refresh/Restart
In the macro M.start
LOOP
DO{ZZ%OP(!S,O@SCOPE),10!0^!S,
The 10 above is the number of seconds to pause before refreshing.
Same for macro M.page
IF{'/END DO{ZZ%OP(!S,O@SCOPE),10!0^!S
3. In SCH.APPT.zcus.wm.adm.sch.refresh (my supervisor did this one, I edited it to enhance the graphics)
We use this one in Outpt admitting areas to know who is waiting to be registered, once registered they should fall off this Tracker Report.
This example you have to enter the S for scope at the print on prompt, but the report will keep refreshing until you hit escape 3 times…
4. Also see ADM.PAT.zcus.picis.bms.curr.inpt.table.scr (thanks Brian S from IPeople)
This one is used with NUI, it is nice….
Automatically runs to NUI Scope (looks live VIEW?) refreshes itself …very nice report.
Click the exit button at the top of the screen several times to exit report/tracker.
Do not use the ADM.PAT.zcus.bm.refresh.rpt (I need to fix it, It is crashing…)
Good Luck,
********************************************************************** 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. ********************************************************************** |
Check our 2003 MUSE International Tips and Tricks presentation.
I did a RAD NPR report (Magic) that loops and auto refreshes to the screen. It uses a “timed field read” and a DO loop wrapped around the whole report and at the page header and trailer.
That way it will autorefresh if the user hits a key or if the timeout is reached. It pauses every screenful in the same way.
Joe Cocuzzo
Vice President
NPR Services
Iatric Systems, Inc.
Phone/Fax: (978) 805-4115
Email: jo...@iatric.com
Web: www.iatric.com
From:
medit...@MTUsers.com [mailto:medit...@MTUsers.com] On Behalf Of Zimmerman, Scott
Sent: Sunday, February 25, 2007
11:17 AM
To: Meditech-L
(medit...@mtusers.com)
Subject: [MEDITECH-L] NPR RW:
Running a report repeatedly to Scope
We are entertaining the idea to run a custom NPR report and simply have it display on a dedicated PC/monitor in our Customer Service dept. I know how to have a report run to screen (print on "S") by executing the following commands: 1^/Z.SCHED.LOG & %Z.printer.open.px("S"). However, I am additionally looking for a way to repeatedly run the report to refresh the data automatically also. I haven't found anything like this in MT Knowledge Base and Meditech-L articles.