All messages should be posted in plain text. HTML will be converted to
attachments. The meditech-l web site is MTUsers.com
======================================
RITA:
Here is something I did when an L LIST member asked for the #hrs old for
NBN's:
This is the output to each of the queries with attributes below:
Date: 11/23/04 Time: 1616
ADMIT DT: 08/04/04 ADMIT TM: 0901 HRS OLD: 2664
OEDATEDFT 1 9 Date:
IFE=IF{%Z.date.out(@.today)^/VAR1,
IFE=/VAR1^/[ANS%0,/S.LAST.QUERY]|0,P(R,S,/VAR1)^#,""}
OETIMEDFT 1 32 Time:
[EMAIL PROTECTED]/TM1
OEADMDT 2 5 ADMIT DT:
IFE=IF{%Z.date.out(@p.ADM.PAT.admit.date)^/VAR2,
IFE=/VAR2^/[ANS%0,/S.LAST.QUERY]|0,P(R,S,/VAR2)^#,""}
OEADMTM 2 28 ADMIT TM:
IFE=IF{P(R,S,@p.ADM.PAT.admit.time^/[ANS%0,"OEADMTM"]|0)^/TM2,
IFE=/TM2^#,""}
OENBNHRS 2 50 HRS OLD:
IFE=IF{(%Z.date.sub([EMAIL PROTECTED],
[EMAIL PROTECTED])*24)^/[ANS%0,"OENBNHRS"]|0^ZLOS,
IFE=P(R,S,ZLOS)^#,""}
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of RITA CABACCANG
Sent: Monday, August 28, 2006 4:02 PM
To: [email protected]
Subject: [MEDITECH-L] Calculation attribute for days, hours, mins
All messages should be posted in plain text. HTML will be converted to
attachments. The meditech-l web site is MTUsers.com
======================================
**********************************************************************
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.
**********************************************************************
_______________________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l