Hi,
I have been working on a rule with one of the supervisor's from Lab. We
can not get this rule to work correctly. What we are trying to do is only
allow a few areas to order Stat. I am not sure what we are doing wrong. I
have tried setting up the IF statement different ways. We do get the
message if it is another location and ordered S but we can not order with
a priority of R either. That is what we have tried so far:
;TESTS ORDERED FROM LOCATION OTHER THAN ER WILL NOT BE ALLOWED IF PRIORITY
STAT
;
[f pt location]="ER"^B,
[f pt location]="UC"^C,
[f pt location]="CPEC"^D,
[f lord priority]="S"^H,
[f lord from oe]^I,
IF{(B&H&I)!(C&H&I)!(D&H&I) [f lord ok];
[f lord reject]&[f lord err msg]("CANNOT BE ORDERED STAT")};
Thank you for any help you can provide with this.
Keith Owens
Applications Analyst
Lourdes
[EMAIL PROTECTED]
270-444-2747
======================================
All messages should be posted in plain text.
HTML will be converted to attachments.
The meditech-l web site is MTUsers.com
______________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l