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

Steve,
First, you must send the "ANS" structure to your macro.  So when you
call your macro you will place ANS in the parenthesis following the
call.  Then here is an example of how I have implemented it in a macro.
Once it is sent as argument A to the macro, you simply refer to it as A.

;
; A=ANS
; B=PATIENT
;
; Checks for answers to specific queries and generates OA consult
messages if
; appropriate.
;
@DO.PT,
@DO.OT,
@DO.SP,
@DO.MT,
@DO.DT,
@DO.IC,
@DO.CM,
;@DO.PR,
@DO.SW,
EXIT;

DO.PT
IF{[A,"TNU05131N7"]|0="Y" @PT.MSG;
   [A,"TNU05131N3"]|0="Y" @PT.MSG}

Daniel Davis, RN

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wegenast, Steve
Sent: Monday, July 31, 2006 1:06 PM
To: L-List
Subject: [MEDITECH-L] Clearing a query from a macro

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


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

Reply via email to