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

Hi Linda,

You can do this, but you must repeat the entire expression for each possible 
response.  For the condition within your IF Statment, use:

([ANS,"NURSK4"]|0="DEC2")!([ANS,"NURSK4"]|0="DEC3")!....etc

If you exceed the 255 character limit of the attribute, you can shorten this by 
assigning the value of [ANS,"NURSK4"]|0 to a variable and then use the variable 
in the condition.

Hope this helps,
Kenny Whiteside


Kenny Whiteside RN, BSN
Patient Care Information Systems
Catawba Valley Medical Center
810 Fairgrove Church Road
Hickory, NC 28602
[EMAIL PROTECTED]



>>> "Linda Bouissey" <[EMAIL PROTECTED]> 04/04/2006 11:57:03 AM >>>
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