All messages should be posted in plain text. HTML will be converted to
attachments. The meditech-l web site is MTUsers.com
======================================
Hey Kim,
If you run into a situation like this in the future, rather than
changing the query mnemonic to shorten the attribute a few characters
try sending the value of the query resposne to a variable. Then
evaluate the value of the variable. Like this:
IFE=IF{/[ANS%0,"QUERY"]|0^VAR,(VAR="THIS")!(VAR="THAT")!(VAR="SOMETHING")
1;""}
You can shorten the attribute even more by using a Do Loop... but these
are a little more complex than the If Statement.
Kenny Whiteside BSN, RN
Patient Care Information Systems
Catawba Valley Medical Center
810 Fairgrove Church Road
Hickory, NC 28602
(828) 326-3287 - Office
[EMAIL PROTECTED]
>>> "Kimberly Frick" <[EMAIL PROTECTED]> 09/01/2006 10:36:46 AM >>>
All messages should be posted in plain text. HTML will be converted
to
attachments. The meditech-l web site is MTUsers.com
======================================
The easiest way to shorten the attribute is to change the query name. I
had to do this with a similar lengthy attribute. I think if your query
name was one or two characters shorter, you could make it all fit within
the 256 character limit.
Kim Frick, RN
Project Coordinator
Licking Memorial Health Systems
Phone: 740-348-4114
Fax: 740-348-4769
[EMAIL PROTECTED]
www.LMHealth.org
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Cynthia Frederic
Sent: Wednesday, August 30, 2006 3:14 PM
To: [email protected]
Subject: [MEDITECH-L] (no subject)
All messages should be posted in plain text. HTML will be converted
to
attachments. The meditech-l web site is MTUsers.com
======================================
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
_______________________________________________
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