I think you are saying it's okay to order stat (or any other priority) for the
two locations, but it's not okay to order stat for any other location. This
might work:
"Procedure "_[f ord proc]_" can not be processed STAT, use U and time of NOW"^M,
[f pt location]="ED"^LOC1,
[f pt location]="NBN-SCU"^LOC2,
IF{LOC1!LOC2 [f ord ok];
IF{[f ord pri]="S" [f ord err msg](M)}};
Shirley Schoberg, MT(ASCP)
Clinical Analyst
Samaritan Health Services - IS
Corvallis, OR
----Original Message Follows----
From: "Lisee, Jan" <[EMAIL PROTECTED]>
To: "Meditech-L (E-mail)" <[email protected]>
Subject: [MEDITECH-L] Struggling with "simple" Order Rules
Date: Tue, 20 Feb 2007 16:58:23 -0500
I have been tasked with making an order rule that will stop staff from
ordering MOST lab/mic/bbk procedures STAT.
The exception is for patients in the ED.. we already have every OE procedure
set up on Page 2 with the default priority of S for the location of ED. My
plan was to create a general rule I could apply to ALL procedures then take
if off the 50 or so that are OK to order STAT. My problem comes in when I
have to say, if the priority is STAT, and the location is NOT the ED, or is
NOT Labor & Delivery, send error message, else OK to order.
I have tried from the not equal to, as below, that works. When I try for
more that one location, I have trouble. Also my resource (Meditech OR Rule
Training Guide) doesn't tell the novice like me how to have multiple lines
of nested IFs.
The following rule works just fine:
"Procedure "_[f ord proc]_" can not be processed STAT, use U and time of
NOW"^M,
IF{[f ord pri]="S"&[f pt location]'="ED" [f ord err msg](M);
[f ord ok]};
There are some procedures that will be OK for ED and one other location so I
did this. BUT, now I get the error message when I enter the test as Routine,
Urgent or Stat:
"Procedure "_[f ord proc]_" can not be processed STAT, use U and time of
NOW"^M,
IF{[f ord pri]="S"&([f pt location]="ED"![f pt location]="NBN-SCU") [f ord
ok];
[f ord err msg](M)};
Any help appreciated!!!
Janice B Lisee, RNC BSN
Senior Systems Analyst
Frederick Memorial Hospital
Frederick, Maryland 21701
240-566-3437
mailto:[EMAIL PROTECTED]
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
To subscribe or unsubscribe to the meditech-l, visit MTUsers.COM.
To check the status of the meditech-l, visit MTUsers.NET.
For help, email [EMAIL PROTECTED]
______________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l
_________________________________________________________________
Play Flexicon: the crossword game that feeds your brain. PLAY now for FREE.
http://zone.msn.com/en/flexicon/default.htm?icid=flexicon_hmtagline
Confidentiality Notice: This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
To subscribe or unsubscribe to the meditech-l, visit MTUsers.COM.
To check the status of the meditech-l, visit MTUsers.NET.
For help, email [EMAIL PROTECTED]
______________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l