All messages should be posted in plain text. HTML will be converted to
attachments. The meditech-l web site is MTUsers.com
======================================
Hi Cynthia
Try This
IFE=""^FOUND,1^CNT,
IFE=DO{IF{[ANS,"NNURSA","M",1]|0="DP/S" 1^FOUND},
IFE=CNT+1^CNT'>9},FOUND
This cycles all of the subscripts and if any of the queries is "DP/S" it
sets FOUND to 1 (or true). If FOUND then the cursor should stop at the
query. I don't do a lot of work with queries so I would like to know if
this solves your problem. Let me know.
Hope this Helps
Ken
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Cynthia Frederic
Sent: Wednesday, August 30, 2006 4:14 PM
To: [email protected]
Subject: [MEDITECH-L] (no subject)
I have this problem dealing with a multiple query. I have written an IFE=
attribute found below.
IFE=[ANS,"NNURSA","M",1]|0="DP/S"!([ANS,"NNURSA","M",2]|0="DP/S")!
IFE=([ANS,"NNURSA","M",3]|0="DP/S")!([ANS,"NNURSA","M",4]|0="DP/S")!
IFE=([ANS,"NNURSA","M",5]|0="DP/S")!([ANS,"NNURSA","M",6]|0="DP/S")!
IFE=([ANS,"NNURSA","M",7]|0="DP/S")!([ANS,"NNURSA","M",8]|0="DP/S")!
IFE=([ANS,"NNURSA","M",9]|0="DP/S")
The attribute needs for the cursor to stop at this query when any of the
responses for query: NNURSA in position 1 through 9 are DP/S.
The attribute is correct except for the fact that it is too long. I think a
DO loop may be the answer to this problem, but I am not familiar with this
particular attribute. Currently, I have it working in Live with 5 positions.
If someone could help with shortening this attribute but still make it
function in the same way, it would be greatly appreciated. Any suggestions
are welcome.
Thanks,
Cynthia Frederic, RN
Nursing Informatics
Ochsner Medical Center of Baton Rouge
Privileged and Confidential: The information contained in this e-mail
message is intended only for the personal and confidential use of the
intended recipient(s). If the reader of this message is not the intended
recipient or an agent responsible for delivering it to the intended
recipient, you are hereby notified that you have received this document in
error and that any review, dissemination, distribution, or copying of this
message is strictly prohibited. If you have received this communication in
error, please notify us immediately by e-mail, and delete the original
message.
_______________________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l