All messages should be posted in plain text.  HTML will be converted to
attachments.    The meditech-l web site is MTUsers.com
======================================

Hi Linda,

How about the following:

IFE=IF{""^XX^OK,DO{+[ANS,"NURSK4"]M[XX]^XX&'OK [ANS,"NURSK4"]M[XX]|0^QR=
IFE="DEC1"!(QR="DEC2")!(QR="DEC3")!(QR="DEC4")^OK},OK
IFE= %MIS.OA.MSG.auto("DECNS",Q),
[EMAIL PROTECTED]("NOTICE SENT TO NUTRITIONAL SERVICES"),""}

Thanks,

Brian Schmit
Sr. Programmer, Picis
Direct: 781 557 3315
Fax: 781 557 3140
100 Quannapowitt Parkway
Suite 405
Wakefield, MA 01880
[EMAIL PROTECTED]
www.picis.com

Please visit www.picis.com/meditech for additional information about our NPR 
Report Writing Trainings.

The information in this email is confidential and may be legally privileged. It 
is intended solely for the addressee. Access or use by any other person to this 
internet email is not authorized and may be unlawful. If you are not the 
intended recipient, please delete or destroy this email. If you do not wish to 
receive future emails from the sender, please reply directly to this email 
requesting you be removed from any mailing list.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Linda Bouissey
Sent: Friday, April 14, 2006 11:56 AM
To: Users Meditech
Subject: [MEDITECH-L] ADAPTING ATTRIBUTE FOR MULTIPLE 


All messages should be posted in plain text.  HTML will be converted to
attachments.    The meditech-l web site is MTUsers.com
======================================


I have looked at the KB article6941 and several attribute web sites. I have
a multiple query
NURSK4. I want an attribute to put on the next query NURSK100 that will
evaluate if any of 4 answers to NURSK4 are DEC1,DEC2,DEC3 or DEC4. If one of
these is present, I want to send an OA message to nutritional services. Here
is what I have so far and I get a magic syntax error:

IFE=""^XX^OK,DO{+[ANS,"NURSK4"]M[XX]^XX&'OK IF{[ANS,"NURSK4"]M[XX]|0^QR=
IFE="DEC1"!(QR="DEC2")!(QR="DEC3")!(QR="DEC4") 1^OK},OK
IFE=%MIS.OA.MSG.auto("DECNS",Q),
[EMAIL PROTECTED]("NOTICE SENT TO NUTRITIONAL SERVICES"),""}

Any help would be greatly appreciated. Thanks.

Alice Hyde Medical Center
Linda Bouissey
Nursing Analyst
[EMAIL PROTECTED]


_______________________________________________
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

Reply via email to