All messages should be posted in plain text. HTML will be converted to
attachments. The meditech-l web site is MTUsers.com
======================================
Sandy,
The easiest way for you to do this is to simply use an FCLn attribute
on all 30 queries like this:
[EMAIL PROTECTED]"6" 1^/REQUIRE}
Then on the comment query use:
REQI=/REQUIRE
The variable defined by the FCLn MUST be a slash variable (known as a
global variable) or it will not work!
Let me know if you need some more help,
Kenny Whiteside
Kenny Whiteside BSN, RN
Patient Care Information Systems
Catawba Valley Medical Center
810 Fairgrove Church Road
Hickory, NC 28602
[EMAIL PROTECTED]
>>> Sandy Covington <[EMAIL PROTECTED]> 09/07/2006 10:37 AM
>>>
All messages should be posted in plain text. HTML will be converted
to
attachments. The meditech-l web site is MTUsers.com
======================================
I need to do something similar. I have 30 different queries on a Med
screen. If the answer to any of them is 6, then they want to require
the last query on the screen (the comment field) to be answered before
filing. What I was thinking is that I need an attribute on each of the
30 queries that evaluates if the answer is 6 and then sends a value to
the variable. At the comment query, I need some type of an IF
statement
that checks the VAR and requires the query if the value is 6. So far
everything I have tried sends me into an endless loop. Can anyone
help?
Sandy
Ken MacPherson wrote:
> 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
>
--
Sandra Covington
IS Director
Southside Community Hospital
800 Oak Street
Farmville, VA 23901
434-315-2655
==================================================
This e-mail message (and attachments) may contain
information that is confidential to Southside
Community Hospital. If you are not the intended
recipient you cannot use, distribute or copy the
message or attachments. In such a case, please
notify the sender by return e-mail immediately and
erase all copies of the message and attachments.
Opinions, conclusions and other information in
this message and attachments that do not relate to
the official business of Southside Community
Hospital are neither given nor endorsed by it.
==================================================
_______________________________________________
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