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

YES...I use a lot of queries for date/times to be used in elapsed time 
calculations.


You can send the query results to a slash variable or just use the xx.field in 
the e.time calculation (or the field number /V[4]


DAT=DATE
JFY=L
LEN=8
[EMAIL PROTECTED]"ADM.DI04"]^/DAT

DAT=HHMM
JFY=L
LEN=4
[EMAIL PROTECTED]"ADM.DI05"]^/TIM

DAT=INT
JFY=R
LEN=6
VAL=%Z.elapsed.time(@dis.date,@dis.time,/DAT,/TIM,"hh.mm")

OR

VAL=%Z.elapsed.time(@er.depart.date,@er.depart.time,/V[1],/V[2],"hh.mm"

OR

VAL=%Z.elapsed.time(/V[4],/V[5],/V[2],/V[3],"hh.hh")

OR



VAL=%Z.elapsed.time(@dis.date,@dis.time,@xx.adm.date,@xx.adm.time,"hh.hh")

See attached reports.



Bill Mullins RN
Williamson Medical Center
2021 Carothers Road
Franklin,Tn  37067
615-435-5630

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Diane Folsom
Sent: Wednesday, June 28, 2006 11:00 AM
To: [email protected]
Cc: Stephanie Alford
Subject: [MEDITECH-L] calculate elapsed time in NPR

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

I need to know if there is a way to calculate elapsed time when the fields 
recording the time are customer defined, and there is not a date field 
defined.  Can anyone point me the right direction?

Please respond directly to me as I am unsubscribed at this time - [EMAIL 
PROTECTED]

Thanks in advance!

Stephanie Alford
MIS Project Coordinator
Sid Peterson Memorial Hospital
Kerrville, Texas
830-258-7572


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

**********************************************************************
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.
**********************************************************************

Attachment: ELAPSED.npr
Description: ELAPSED.npr

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

Reply via email to