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

Linda,
When checking for multiple possibilities in an IF Statement, you must
refer to the complete information for each possibility, not assume that
Meditech still references something from the previous one.  So, you must
say, "Answer to NURSK4 equals DEC2, or Answer to NURSK4 equals DEC3, or
Answer to NURSK4 equals DEC4."

IFE=IF{[ANS,"NURSK4"]|0="DEC2"![ANS,"NURSK4"]|0="DEC3"!
IFE=[ANS,"NURSK4"]|0="DEC4" %MIS.OA.MSG.auto("DECUBITUS",Q),
[EMAIL PROTECTED]("PUT NOTICE FROM PRINTER,ON PT'S CHART FOR MD TO ORDER
CARE"),""}


Daniel Davis, RN 
Patient Care Module Coordinator
Southern Hills Medical Center
Nashville, TN
(615) 781-4153


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Linda Bouissey
Sent: Tuesday, April 04, 2006 10:57 AM
To: Users Meditech
Subject: [MEDITECH-L] OA message attribute

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

List gurus,
I have made one previous OA message from nursing using the KB article
373. I
entered only one response (IFE=IF{[ANS,"MYQUERY"]!0="MYRESPONSE".......)
AND
IT WORKS FINE. Prints the message for only the response I selected. But
I
tried to get fancy and do:

IFE=IF{[ANS,"NURSK4"]|0="DEC2"!"DEC3"!"DEC4"
%MIS.OA.MSG.auto("DECUBITUS",Q),
[EMAIL PROTECTED]("PUT NOTICE FROM PRINTER,ON PT'S CHART FOR MD TO ORDER
CARE"),""}

This prints the message, no matter what the response is. It prints for
all
responses, not just the ones I've designated. Can I do an OA message
attribute for a group (actually an "O") query choosing only selected
responses??

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