I am attempting to design a macro that will allow me to skip a query based on
answers to several queries above it. I have an attribute that works but it is
to long so I have to take out 2 queries in top half.
IFE=IF{([ANS,"EDMTRTB1"]|0="Y")!
IFE=([ANS,"EDMTRTB2"]|0="Y")!
IFE=([ANS,"EDMMD2154"]|0="Y")!
IFE=([ANS,"EDMTRTB4"]|0="Y")!
IFE=([ANS,"EDMTRTB5"]|0="Y")!
IFE=([ANS,"EDMTRTB6"]|0="Y") 1,
[EMAIL PROTECTED]@Z.mouse.click IF{E(/["buL"]#0)=64 "Y";
IFE="N"}^/[ANS%0,"EDMTRTB8"]|0,
IFE=P(R,S,[ANS,"EDMTRTB8"]|0)^#},1;""}
This is what I have attempted so far as a macro
attribute IFE=%MIS.zcus.library.M.tb("")
Macro
A^urn,
""^TB1^TB2^MD^TB4^TB5^TB6,
IF{/[ANS%0, "EDMTRTB1"] |0="Y"}^TB1,
IF{/[ANS%0, "EDMTRTB2"] |0="Y"}^TB2,
IF{/[ANS%0, "EDMMD2154"] |0="Y"}^MD,
IF{/[ANS%0, "EDMTRTB4"] |0="Y"}^TB4,
IF{/[ANS%0, "EDMTRTB5"] |0="Y"}^TB5,
IF{/[ANS%0, "EDMTRTB6"] |0="Y"}^TB6,
IF{TB1;TB2;MD;TB4;TB5;TB6};
Jeff Brogneaux RN
Clinical Administrator
Wayne Memorial Hospital
Goldsboro, NC 27533
919-731-6954 office
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
To subscribe or unsubscribe to the meditech-l, visit MTUsers.COM.
To check the status of the meditech-l, visit MTUsers.NET.
For help, email [EMAIL PROTECTED]
______________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l