While it is true that your IFE statement will work without including the IF portion, it is not the best practice to write it leaving that portion out as a general rule. Keeping the proper syntax of the IF Statement in full view makes it easier to understand what you are doing. I would recommend actually completing the IF Statement logic by including the "then" and "else" in it. It also makes it easier to change the logic around. For instance, if your IF Statement is written as follows, you can simply swap the 1 and "" to change how the statement works.
IFE=IF{([ANS,"ADM.INS.HM"]|0="N")!([ANS,"ADM.INS.WK"]|0="N") 1;""} Of course, none of this answers your question. The attribute coding on each query is evaluated individually so the normal course would be to duplicate that IFE on every query you want to stop or skip based on the same criteria. I know that some folks have developed logic that can pop you around to different spots, but that is advanced logic that probably isn't best implemented by everyone. Daniel Davis ________________________________ From: meditech-l@MTUsers.com [mailto:[EMAIL PROTECTED] On Behalf Of Summers Monica Sent: Monday, April 16, 2007 9:36 AM To: Sanchez, Teresa; meditech-l@MTUsers.com Subject: RE: [MEDITECH-L] Attribute help First thing that I see is that the IF statement is redundant. The IFE statement functions as an IF when the statement returnes a value, i.e. "true", so there is no need for the IF. Try... IFE=([ANS,"ADM.INS.HM"]|0="N")!([ANS,"ADM.INS.WK"]|0="N") Monica Monica Summers System Education Consultant - NPR, OPS, Security IT&S Learning Solutions HCA Information Technology & Services 490 Metroplex Nashville TN 37211 t: 615-344-6962 f: 615-344-4144 e: [EMAIL PROTECTED] w: www.hcahealthcare.com ________________________________ From: meditech-l@MTUsers.com [mailto:[EMAIL PROTECTED] On Behalf Of Sanchez, Teresa Sent: Friday, April 13, 2007 1:09 PM To: meditech-l@MTUsers.com Subject: [MEDITECH-L] Attribute help Hello, I am building a CDS screen for Admissions and I am stuck on an attribute. I want to be able to skip multiple queries if the answer is Yes to the question above it. I am able to skip one question but how do I skip multiple questions on the same attribute? This is not working and I haven't been able to find any "Or" examples on the attribute pages out there. Thanks in advance. IFE=IF{([ANS,"ADM.INS.HM"]|0="N")!([ANS,"ADM.INS.WK"]|0="N")} Teresa Sanchez Systems Analyst Little Company of Mary Hospital 310-792-7623 DISCLAIMER: This message is intended for the sole use of the addressee, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the addressee you are hereby notified that you may not use, copy, disclose, or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email and delete this message.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= 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 meditech-l@MTUsers.com http://mtusers.com/mailman/listinfo/meditech-l