;rule for after hours printing for the new rad area next to ER FRAD.PR06
;this rule enables off hour and weekend printing
;FEB 2005 Print Mon-Fri 2158-0700 OR Sat-Sun 2300-0700
[f day of week]="MON"^A,
[f day of week]="TUE"^B,
[f day of week]="WED"^C,
[f day of week]="THU"^D,
[f day of week]="FRI"^E,
[f ord tm]<0700^H,
[f ord tm]>2158^I,
[f ord tm]<0700^J,
[f ord tm]>2300^K,
[f day of week]="SAT"^L,
[f day of week]="SUN"^M,
IF{((A!B!C!D!E)&(H!I))!((J!K)&(L!M)) [f do print];
[f do not print]};
------------------------------------------------------------------------
;this rule controls regular printing to FRAD.PR01
;FEB 2005 Print Mon-Fri 0700-2200 OR Sat-Sun 0700-2300
[f day of week]="MON"^A,
[f day of week]="TUE"^B,
[f day of week]="WED"^C,
[f day of week]="THU"^D,
[f day of week]="FRI"^E,
[f ord tm]>0655^F,
[f ord tm]<2200^G,
[f ord tm]>0655^H,
[f ord tm]<2300^I,
[f day of week]="SAT"^J,
[f day of week]="SUN"^K,
IF{((A!B!C!D!E)&(F&G))!((H&I)&(J!K)) [f do print];
------------------------------------------------------------------------
Subject: RE: [MEDITECH-L] OE rule to print to different locations
Here's another example:
This is attached to the output format that prints to admissions evenings (and
nights) and
weekends.
IF{[f day of week]="SAT"!([f day of week]="SUN") "WKE"^DOW;"WKD"^DOW},
IF{[f ord tm]>0700&([f ord tm]<1730) "DAY"^TIME;"EVE"^TIME},
IF{((DOW="WKE")!(TIME="EVE")) [f do print];[f do not print]};
Then we attached the following rule to the output format that prints to
Centralized
Scheduling during the day:
(the first 2 lines are the same, the last line is different):
IF{[f day of week]="SAT"!([f day of week]="SUN") "WKE"^DOW;"WKD"^DOW},
IF{[f ord tm]>0700&([f ord tm]<1730) "DAY"^TIME;"EVE"^TIME},
IF{((DOW="WKD")!(TIME="DAY")) [f do print];[f do not print]}; NOT THIS!
IF{((DOW="WKD") & (TIME="DAY")) [f do print];[f do not print]}; THIS
"and" instead of "or"
-----------------------------------------------------------------------
Print Rules Print rule based on day and time
;This rule dictates during regular weekdays (Mon-Fri) requisitions will print
to CADM.PR01
;after 1515 and before 0730
[f day of week]="MON"^A,
[f day of week]="TUE"^B,
[f day of week]="WED"^C,
[f day of week]="THU"^D,
[f day of week]="FRI"^E,
[f now]<0730^F,
[f now]>1515^G,
[f ord tm]<0731^H,
[f ord tm]>1515^I,
IF{(A!B!C!D!E)&(H!I) [f do print];
[f do not print]};
----------------------------------------------------------------------------
Print Rule based on weekend printing
;rule to print to F OR K site anytime on Saturday or Sunday
[f day of week]="SAT"^A,
[f day of week]="SUN"^B,
IF{A!B [f do print];
[f do not print]};
Print Rule Based on Patients Location
[f pt location]="C1C"^A,
[f pt location]="C2C"^B,
IF{A!B [f do print];
[f do not print]};
Print Rule Based on Patient's Location and Query Response
[f pt location]="CA2"^A,
[f pt location]="CA3"^B,
[f pt location]="CPAT-A2"^C,
[f pt location]="CPAT-CS"^D,
[f pt location]="CACS"^E,
([q OE.SWREF])="HIPS"^F,
IF{A!B!C!D!E!F [f do print];
[f do not print]};
Print Rule Based on Ordering Priority
IF{[f ord pri]="S" [f do print];
[f do not print] };
Print Rule Based on Query Response
IF{([q OE.CEA8])="Y" [f do print];[f do not print]};
-----Original Message-----
From: Bill Mullins
Sent: Friday, December 22, 2006 4:53 PM
To: '[email protected]'
Subject: FW: [MEDITECH-L] OE Print Rules-Wireless lockups
If it is not an interfaced order (Lab/Rad), you can use a rule or custom report
to decide when and where to print the requisition/
Category PHA Mnemonic MSG Name PHARMACY MESSAGE
Number 0001 Active Y Interface Mnemonic
Printing
No. Of Edit Any Print Print
Campus Format Destination Copies Text Text For Rule
None 1 zcus.pha2 PHARMACY 1 C
2 zcus.pha4 PATP 1 B PHAAMEND
PHAAMEND RULE
Mnemonic PHAAMEND Last Edited by on
09/22/2004-1639
Active? Y POM Enabled?
Description PHA AMEND ORDERS PRINT RULE Evaluate at
Data Flds From OUTPUT
IF{[q OEPHA12]="Y" [f do print];[f do not print]};
OEPHA12 is a query on a PHA MSG Screen, only PHA staff can access it, if they
answer Y to this query, the custom req is sent to to PATP
OEPHA12 Print to NUR:
-----Original Message-----
From: Gary Hall [mailto:[EMAIL PROTECTED]
Sent: Friday, December 22, 2006 9:34 AM
To: Bill Mullins
Subject: FW: [MEDITECH-L] OE Print Rules-Wireless lockups
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of MEDITECH-L
Sent: Tuesday, December 19, 2006 6:12 AM
To: [EMAIL PROTECTED]
Subject: [MEDITECH-L] OE Print Rules-Wireless lockups
---------------------------- Original Message ----------------------------
Subject: OE Print Rules-Wireless lockups
From: "Rondeau, Laura"
Date: Tue, December 19, 2006 7:35 am
To: "'[email protected]'"
--------------------------------------------------------------------------
Good day to all...have a few questions
1. How do you set up OE PRINT RULE to have req print to one printer from
0700 to 2300, to another printer from 2301 to 0659. Here's what I've
tried & am receiving 2 reqs to the same printer: (Printer A) Printer A:
[f now]^AA,
IF{AA'"2300" [f do print];[f do not print]};
Printer B:
[f now]^AA,
IF{AA"0659") [f do print];[f do not print]};
2. Can you default in a STATUS for an OE Os$݅Ё5%Pɑ4)Ѽ
=5A1Q4(4(̸M܁ѕɑхѼ]%I1ML͍ѥЁձ4)Ёɕѕ쁥ݹȁ]%I1MLͅձѡЁݽձ4)ɕѕ́ݔ͍ٔѥɽ́
0́ݕɕMɕ)QЁɽչԁ͔Ёѽ)
Ѐ輽乽ɜѼЁܸ
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
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
The information contained in this message may be privileged and confidential
and protected from disclosure. If the reader of this message is not the
intended recipient, or an employee or agent responsible for delivering this
message to the intended recipient, you are hereby notified that any
dissemination, distribution or copying of this communication is strictly
prohibited. If you have received this communication in error, please notify
the sender of this communication immediately.
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed.
This footnote also confirms that this email message has been swept by Sophos
and MIMEsweeper for the presence of computer viruses.
**********************************************************************
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
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