The last argument needs to be hh.hh and then you multiply x 60

 

IFE=IF{%Z.elapsed.time([ANS,"NUR.EENDDT"]|0,
IFE=[ANS,"NUR.EEND"]|0,
IFE=[ANS,"NUR.EBEGDT"]|0,
IFE=[ANS,"NUR.EBEGIN"]|0,"hh.hh")*60^/VAR
IFE=/VAR^/[ANS%0,"NUR.TOT"]|0,P(R,S,/VAR)^#,""}

 

 

Joe Cocuzzo
Vice President
NPR Services
Iatric Systems, Inc.
Phone/Fax: (978) 805-4115
Email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
Web:  www.iatric.com <http://www.iatric.com>  

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of [EMAIL PROTECTED]
Sent: Monday, April 02, 2007 2:27 PM
To: [email protected]
Subject: [MEDITECH-L] ATTRIBUTE for elapsed time

 

We are trying to set up our elapsed time query in NUR to charge for
hours of oxygen.

The following is the attribute we are using on the query NUR.TOT

 

IFE=IF{%Z.elapsed.time([ANS,"NUR.EENDDT"]|0,
IFE=[ANS,"NUR.EEND"]|0,
IFE=[ANS,"NUR.EBEGDT"]|0,
IFE=[ANS,"NUR.EBEGIN"]|0,"hhmm")^/VAR
IFE=/VAR^/[ANS%0,"NUR.TOT"]|0,P(R,S,/VAR)^#,""}

 

I want to display the answer in minutes only, but no matter what time
format I use, I cannot get it to work.  I've looked extensively through
the meditech-l archives but still cannot get it to work correctly.  The
best I can get is for 2 hour and 15 minutes to display 215 using the
hhmm format above.  How do I convert this to minutes only?  IN AN
ATTRIBUTE on a CDS?

Any help would be appreciated.  Thanks in advance.

 

 

Karen Hunter
[EMAIL PROTECTED]

________________________________

AOL now offers free email to everyone. Find out more about what's free
from AOL at AOL.com
<http://pr.atwola.com/promoclk/1615326657x4311227241x4298082137/aol?redi
r=http://www.aol.com> .

=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
To subscribe or unsubscribe to the meditech-l, visit MTUsers.NET.

To check the status of the meditech-l, visit MTUsers.NET.

For help, email [EMAIL PROTECTED]

Visit the MTUsers WikiPedia at MTUsers.NET/mwiki
______________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l

Reply via email to