All messages should be posted in plain text. HTML will be converted to attachments. The meditech-l web site is MTUsers.com ======================================
This is exactly what we are using in 5.4 SR 3 that no longer works. Brenda -----Original Message----- From: Witt, Sharon L. [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 25, 2006 9:58 AM To: Brenda Bakaysa; [email protected] Subject: RE: [MEDITECH-L] RE: Attribute for totaling on NUR CDS Here is one of ours. IF{'/CK @TOTAL; @CK.SCRN}; TOTAL ""^/ADD, /[A%0,"NXPTDT015"]|0^/RSP1, /[A%0,"NXPTDT025"]|0^/RSP2, /[A%0,"NXPTDT030"]|0^/RSP3, /[A%0,"NXPTDT035"]|0^/RSP4, /[A%0,"NXPTDT040"]|0^/RSP5, /[A%0,"NXPTDT050"]|0^/RSP6, /[A%0,"NXPTDT055"]|0^/RSP7, /[A%0,"NXPTDT060"]|0^/RSP8, (/RSP1+/RSP2+/RSP3+/RSP4+/RSP5+/RSP6+/RSP7+/RSP8)^/ADD CK.SCRN ""^/CK, ""^/SCRN, IF{/S.LAST.QUERY="NXPTDT015" 1^/SCRN;""}, IF{/S.LAST.QUERY="NXPTDT025" 1^/SCRN;""}, IF{/S.LAST.QUERY="NXPTDT030" 1^/SCRN;""}, IF{/S.LAST.QUERY="NXPTDT035" 1^/SCRN;""}, IF{/S.LAST.QUERY="NXPTDT040" 1^/SCRN;""}, IF{/S.LAST.QUERY="NXPTDT050" 1^/SCRN;""}, IF{/S.LAST.QUERY="NXPTDT055" 1^/SCRN;""}, IF{/S.LAST.QUERY="NXPTDT060" 1^/SCRN;""}, @TOTAL It still works because you are telling it what /S.LAST.QUERY is. Attribute on the individual queries IFE=IF{ANS^/ANS,%MIS.zcus.xl.slw.library.M.totalptdaily(/ANS),1} Attribute on total query IFE=IF{" "^/ADD,/ADD^/[ANS%0,"NXPTDT070"]|0,P(R,S,/ADD)^#, IFE=IF{ANS^/ANS,R^/ROW,S^/COL %MIS.zcus.xl.slw.library.M.totalptdaily(/ANS), IFE=/ADD^/[/ANS%0,"NXPTDT070"]|0,P(R,S,/ADD)^#,""}} REQI=IF{ANS^/ANS,R^/ROW,S^/COL,1^/CK 1, REQI=%MIS.zcus.xl.slw.library.M.totalptdaily(/ANS), REQI=IF{/SCRN /ADD^/[/ANS%0,"NXPTDT070"]|0,P(/ROW,/COL,/ADD)^#; REQI=/ADD^/[/ANS%0,"NXPTDT070"]|0,""}} -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brenda Bakaysa Sent: Monday, July 24, 2006 10:24 AM To: [email protected] Subject: [MEDITECH-L] RE: Attribute for totaling on NUR CDS All messages should be posted in plain text. HTML will be converted to attachments. The meditech-l web site is MTUsers.com ====================================== Prior to our update to 5.4 SR 3 I was doing all of my totaling in a Macros that I used attributes to call. However since that update any new screens that you build this logic will no longer work. Does anybody out there nave a new totaling scheme down ? I have a CDS that I have 18 queries on that I need to total and could use any help that I can get. Brenda Bakaysa, RN Clinical Analyst Indiana Regional Medical Center Indiana, PA 15701 Phone: 724-463-1002 Fax: 724-357-7289 _______________________________________________ meditech-l mailing list [email protected] http://mtusers.com/mailman/listinfo/meditech-l _______________________________________________ meditech-l mailing list [email protected] http://mtusers.com/mailman/listinfo/meditech-l
