Re: [MEDITECH-L] NUR Attribute for # of Vent Hours

2007-08-07 Thread Davis Daniel - Southern Hills
uot;]|0,P(R,S,VAR)^#,1} REQ=IF{%Z.elapsed.time([ANS,"NURRTEXD"]|0,[ANS,"NURRTEXT"]|0, REQ=[ANS,"NURRTVEND"]|0,[ANS,"NURRTVENT"]|0,"hh.hh")^VAR 1, REQ=VAR^/[ANS%0,"NURRTEHOU"]|0} Daniel Davis -Original Message- From: [EMAIL PROTECTED] [m

Re: [MEDITECH-L] NUR Attribute for # of Vent Hours

2007-08-07 Thread Kenny Whiteside
Hi Deb, You can do this with the Z.elapsed.time program. Both the Iatric and Meditech websites have some good information regarding the use of Z programs. Try something like this: IFE=IF{%Z.elapsed.time(/[ANS%0,"NURRTEXD"]|0,/[ANS%0,"NURRTEXT"]|0, IFE=/[ANS%0,"NURRTVEND"]|0,/[ANS%0,"NURRTVENT"]