All messages should be posted in plain text.  HTML will be converted to
attachments.    The meditech-l web site is MTUsers.com
======================================

Bruce, I am using this format on one of my reports.

In the SELECT:
xx.date.time.sel   EQ
"1"

Then the computed field of xx.select.time.sel is:
DAT=FREE
JFY=L
LEN=1
VAL=IF{(%Z.time.add(@.today,@.now,0-40)^TI),(@admit.date'<(TI$9%0)&
VAL=(@admit.time'<(TI%9))) 1}

This brings in everything in the last 40 minutes. If you were to change
the 0-40 to 0-60, it would be the last hour. This happens to be attached
to an admit date/time. The rest of the coding is set for the over
midnight time to adjust for the day.
The report runs every 40 minutes, and sends the admits from that time
period to a script.

Ron Olsen
Systems Analyst
Mercy Regional Health Center
Manhattan, Kansas - 785-776-2830 x 1454
 
This e-mail message, including its attachments, is for the sole use of
the intended recipient(s) and may contain confidential or privileged
information. Any unauthorized review, use, disclosure or distribution is
prohibited. If you are not the intended recipient, please contact the
sender by reply e-mail and destroy all copies of the original message
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bruce Conner
Sent: Monday, April 17, 2006 8:50 AM
To: Meditech-L (E-mail)
Subject: NPR REPORT HELP

Is there any way to calculate the previous hour time range and default
that into a NPR report? For example we have a report that prints every
hour for the previous hour.  The report has a From time and Thru time
prompt.  If using dates we can do T-1 thru T-1 for the previous day but
there does not appear to be an similar function for time.   Any help
will be appreciated.  TIA

  
Bruce Conner LIS Coordinator
Winter Haven Hospital
Ph:863-297-1719


_______________________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l

Reply via email to