We have an OE ORDER for PHA category and the procedure is MSG (PHA
MESSAGE) that clinical areas use to notify PHA they have an issue with a
patient's meds.

This saves all the phone calls that prevented PHA staff from getting the
meds into the computer and to the floors. The MSG prints to the print
right next to the Pharmacist workstation.

There is a short OE PROC cds where the user documents the medication
issues.
A lot of this data defaults or skips based on logic.
------------------------------------------------------------------------
-
 USER: MULLINS,BILL A            DATE: 05/10/07  TIME: 1524   Print to
NUR:
 PHARMACY REPLY:
_     <Esc>
 STAT MED: Y      Missing med: Y     Missing I.V.: N   Pyxis problem: Y
  Med due: 05/10/07      Time: 1600
 Describe: MED MISSING FROM DISPENSING MACHINE-1600 DOSE OF VANOMYCIN

**NOTICE THE PRINT TO NUR AND PHARMACY REPLY QUERIES ARE BLANK**
THIS IS BECAUSE THOSE QUERIES ARE ON THE OE CAT SCREEN FOR PHA CAT AND
THEY HAVE IFE ATTRIBUTES ON THEM TO RESTRICT ACCESS TO PHA USER
MNMEONICS:

[EMAIL PROTECTED]'="PHA" "";1}
[EMAIL PROTECTED]'="PHA" "";1}

If PHA wants to reply to NUR and have the reply print to the NSG Unit
Printer, they PHA user amends the order in OE, edits the OE CAT queries
at PHARMACY REPLY and answers the Print to NUR query Yes...
------------------------------------------------------------------------
-
PAGE 3 OF OE PROC DICTIONARY

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

**NOTICE we have 2 custom reports listed under format each with a
different destination. Pha2 is the format that prints to PHA printer
when Nursing enters the PHA MSG into OE.

Pha4 is the amended PHA MSG from PHA dept that prints to the patient's
location. It has a print rule attached that says if the PRINT to NUR
query is Yes, print, else do not print...

Mnemonic       PHAAMEND                       Last Ed

Active?        Y
Description    PHA AMEND ORDERS PRINT RULE
Data Flds From OUTPUT


   IF{[q OEPHA12]="Y" [f do print];[f do not print]};
------------------------------------------------------------------------
----
I know this is just the opposite of what you wanted, ie. To not print if
it was amended or edited.

I can think of a few ways to try this:

1. Default a No to the OE CAT screen or proc screen for query PRINT TO
NUR. 

Then this format would not print. 

IF{[q YOUR QUERY]="N" [f do not print];[f do print]};

2. Use the logic of query response for PRINT TO NUR query in the custom
report format and then you do not need a rule.

3. Instead of using query responses, use the edit.event="order entered"
to print; do not print in the PRINT RULE logic.

4. Use the fields of edit.user,user,ord user,ord device, ord dept, ord
loc or ord st in your print rule to only print the first time the order
was entered by non dept users, status of TRN and not IPR or CMP whatever
is the criteria specific to your facilities needs.

5. Write the Print rule to look at order.date and time and today and
now, if the 4 variables do not match, do not print;do print
------------------------------------------------------------------------
--
Here is one of our RAD PROCS in OE PROC DICT page 3:

Category RAD         Mnemonic  CXR         Name  CHEST- PA & LATERAL
Number   6001165     Active   Y            Interface Mnemonic
                                           Printing

                                          No. Of  Edit  Any    Print
Print
Campus           Format     Destination   Copies  Text  Text   For
Rule
None             1 interface  RADWA        1
                 2 zcus.rad   RAD-ER       1
ERRAD

** NOTICE CUSTOM REQ/REPORT FORMAT OF zcus.rad and PRINT RULE ERRAD **

See attached files for these examples.



Good Luck,




-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of Armstrong, Naomi
Sent: Friday, May 04, 2007 10:22 AM
To: Alison Cooper; [email protected]
Subject: RE: [MEDITECH-L] OE PRINT RULE

Please post to list!

Thanks!

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of Alison Cooper
Sent: Thursday, May 03, 2007 9:25 AM
To: [email protected]
Subject: [MEDITECH-L] OE PRINT RULE


Does anyone have a print rule that will stop orders from printing more
than once?  I have several orders set up with responses that need to be
updated after the order is complete and when the users go into them the
order prints again - can this be stopped with a rule?

Thanks in advance!

Alison Cooper
Systems Administrator/Analyst
Carrier Clinic
252 Route 601
Belle Mead, NJ  08502
908-281-1521 (Fax - 908-281-1667)
 

=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
To subscribe or unsubscribe to the meditech-l, visit MTUsers.NET.

To check the status of the meditech-l, visit MTUsers.NET.

For help, email [EMAIL PROTECTED]

Visit the MTUsers WikiPedia at MTUsers.NET/mwiki
______________________________________
meditech-l mailing list
[email protected] http://mtusers.com/mailman/listinfo/meditech-l

=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
To subscribe or unsubscribe to the meditech-l, visit MTUsers.NET.

To check the status of the meditech-l, visit MTUsers.NET.

For help, email [EMAIL PROTECTED]

Visit the MTUsers WikiPedia at MTUsers.NET/mwiki
______________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l

**********************************************************************
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.
**********************************************************************

Attachment: PHAMSGS.npr
Description: PHAMSGS.npr

                                                                                
 OE.ORD.zcus.rad                                                                
                   


--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

SCREEN: OE.ORD.zcus.rad

            LN 
+----------1---------2---------3---------4---------5---------6---------7--------+
   =???
               
+-------------------------------------------------------------------------------+

SCREEN ELEMENTS
------ --------

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

                                                                                
                                                                                
         (CONTINUED)
                                                                               
     REPORT LIST                                                                
             PAGE 2
RUN ON 05/10/07-1746                                                            
      LIVE.MIS                                                                 
                                                                            
OE.ORD.zcus.rad {continued}                                                     
                        

REPORT: OE.ORD.zcus.rad                        CPI=12 CPL=92 LPI=6 LPG=68 
PGSZ=66 MARG=0 BAN=NONE

TYPE    LN 
+----------1---------2---------3---------4---------5---------6---------7---------8---------9-+
D        1 |WILLIAMSON MEDICAL CENTER                             
patient's.name_______________         |
D        2 |FRANKLIN,TN                                           ACCT# 
patient's.ac   MR# patient's.   |
D        3 |                                                      LOC: 
patient's.   RM/BED: patient'    |
D        4 |patient's.name_______________                         SEX: xx   
DOB: xx.dob__               |
D        5 |patient's.     xx.dob__                                             
                        |
D        6 |EXAM DATE: order.da                                                 
                        |
D        7 |                                                                    
                        |
D        8 |                                                                    
                        |
D        9 |                                                                    
                        |
D       10 |                                                                    
                        |
D       11 |                                                                    
                        |
D       12 |                                                                    
                        |
D       13 |                                                                    
                        |
D       14 |                                                                    
                        |
D       15 |                                                                    
                        |
D       16 |                             WILLIAMSON MEDICAL CENTER              
                        |
D       17 |                         FRANKLIN, TENNESSEE  37068-1600            
                        |
D       18 |                                RADIOLOGY ORDER                     
                        |
D       19 |                                                                    
                        |
D       20 |   patient's.name_______________                 DOB:  xx.dob__ 
AGE: xx.age_ SEX: xx        |
D       21 |                                                 ADM# patient's.ac 
MR# patient's.           |
D       22 |                                                                    
                        |
D       23 |                                                 ATTENDING MD: 
patient's.attend.do_         |
D       24 |                                                 ORDERING MD:  
doctor.name_________         |
D       25 |   ADMISSION/SERVICE DATE: service.                            
doctor's.phone____           |
D       26 |   DIAGNOSIS: diagnos                                               
                        |
D       27 |   ALLERGIES:                                                       
                        |
D       28 |                                                       LOCATION: 
patient's.                 |
D       29 |                                                                    
                        |
D       30 |                                                  ENTERED BY: 
user___                       |
D       31 |                                                  DATE/TIME ENTRY: 
order.da  orde           |
D       32 |                                                                    
                        |
D       33 |                                                                    
                        |
D       34 |                                                  
xx.bc.date1_________                      |
D       35 |                                                  
xx.bc.date2_________                      |
D       36 |                                                                    
                        |
D       37 |                                                  
xx.barcode2_________                      |
D       38 |                                                  
xx.bc.2_____________                      |
D       39 |                                                                    
                        |
D       40 |                                                                    
                        |
D       41 |   EXAM TYPE:  category__                                           
                        |
D       42 |   Procedure:  procedure.name________________                       
                        |
D       43 |                                                                    
                        |
D       44 |   Transport: xx.oetrans__________                                  
                        |
D       45 |   O2?  xx.oeo2___                                                  
                        |
D       46 |   Reason for exam: xx.oereaex__________                            
                        |
D       47 |   Telemetry?  xx                                                   
                        |
D       48 |                                                                    
                        |
D       49 |                                                                    
                        |
D       50 |                                                                    
                        |
D       51 |                                                                    
                        |

                                                                                
                                             (CONTINUED)
                                                                               
     REPORT LIST                                                                
             PAGE 3
                                                                  LIVE.MIS      
                                                           
                                                                  
OE.ORD.zcus.rad {continued}                                                     
                        


D       52 |                                                                    
                        |
D       53 |                                                                    
                        |
D       54 |   
_________________________________xx.er.rad.req__________________________________
         |
D       55 |                                                                    
                        |
D       56 |                                                                    
                        |
D       57 |                                                                    
                        |
D       58 |                                                                    
                        |
D       59 |                                                                    
                        |
D       60 |                                                                    
                        |
D       61 |xx.report_________________________________________                  
                        |
D       62 |                                                                    
                        |
           
+--------------------------------------------------------------------------------------------+


LINE ATTRIBUTES
---- ----------

 16   FF    = b
 17   FF    = b
 18   FF    = b
 20   FF    = b



FIELDS
------

 1 patient's.name      = patient's.name [JFY=L, LEN=29]                         
                   16 orde                = order.time                          
                                      
 2 patient's.ac        = patient's.acct.number                                  
                   17 xx.bc.date1         = xx.bc.date1 [DAT=BAR.CODE, JFY=L, 
LEN=20,                                 
 3 patient's.          = patient's.unit.number                                  
                                            VAL="8"_%Z.date.out(@xx.dob,"",10)] 
                                      
 4 patient's.          = patient's.location                                     
                   18 xx.bc.date2         = xx.bc.date2 [DAT=BAR.CODE, JFY=L, 
LEN=20,                                 
 5 patient'            = patient's.room.and.bed                                 
                                            VAL="8"_%Z.date.out(@xx.dob,"",10)] 
                                      
 6 xx                  = xx.sex [DAT=FREE, JFY=L, LEN=2, [EMAIL PROTECTED]      
                   19 xx.barcode2         = xx.barcode2 [DAT=BAR.CODE, JFY=L, 
LEN=20, [EMAIL PROTECTED]'s.unit.number]     
 7 xx.dob              = xx.dob [DAT=DATE, JFY=L, LEN=8, [EMAIL PROTECTED]      
             20 xx.bc.2             = xx.bc.2 [DAT=BAR.CODE, JFY=L, LEN=20, 
[EMAIL PROTECTED]'s.unit.number]         
 8 order.da            = order.date                                             
                   21 category            = category                            
                                      
 9 xx.age              = xx.age [DAT=FREE, JFY=L, LEN=7, [EMAIL PROTECTED]      
                   22 procedure.name      = procedure.name                      
                                      
10 patient's.attend.do = patient's.attend.doctor.name [LEN=20]                  
                   23 xx.oetrans          = xx.oetrans [DAT=FREE, JFY=L, 
LEN=20, [EMAIL PROTECTED]"OETRANS"]]            
11 doctor.name         = doctor.name [LEN=20]                                   
                   24 xx.oeo2             = xx.oeo2 [DAT=FREE, JFY=L, LEN=10, 
[EMAIL PROTECTED]"OEO2"]]                  
12 service.            = service.date                                           
                   25 xx.oereaex          = xx.oereaexam [DAT=FREE, JFY=L, 
LEN=20, [EMAIL PROTECTED]"OEREAEXAM2"]]       
13 doctor's.phone      = doctor's.phone                                         
                   26 xx                  = xx.oetelem [DAT=FREE, JFY=L, LEN=2, 
[EMAIL PROTECTED]"OETELEM"]]             
14 diagnos             = diagnosis                                              
                   27 xx.er.rad.req       = xx.er.rad.req [DAT=FREE, JFY=C, 
LEN=80, SIZE=5, VAL="** ER RAD REQ **"]   
15 user                = user [LEN=7]                                           
                   28 xx.report           = xx.report [DAT=FREE, JFY=L, LEN=50, 
VAL=/R.NEW.PAGE.PGM]                  


DETAIL SEGMENT:  OE.ORD oe.order
INDEX FILE:

SORT FIELDS PRODUCED BY DETAIL SEGMENT/INDEX FILE
         1     urn

# SELECT                                             OP PROMPT/VALUE            
        DEFAULT/KEYWORD
--------                                             -- ------------            
        ---------------
 1 urn                                               EQ c.urn


FOOTNOTES:  AL D OE.PRT.prt.M.message
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                                                                                
                                                                                
       (CONTINUED)
                                                                               
     REPORT LIST                                                                
             PAGE 4

Attachment: OERADER55.npr
Description: OERADER55.npr

Mnemonic       PHAAMEND                       Last Edite

Active?        Y
Description    PHA AMEND ORDERS PRINT RULE
Data Flds From OUTPUT


   IF{[q OEPHA12]="Y" [f do print];[f do not print]};
-----------------------------------------------------------
Mnemonic       PHAAMEND2                      La

Active?        Y
Description    PRINT RULE FOR PHA AMEND ORDER
Data Flds From OUTPUT


   [f ord user]^A,
   A$3="PHA"^DR,
   IF{DR [f do print];
   [f do not print]};
------------------------------------------------------------
Mnemonic       CBN.OB                         Last

Active?        Y
Description    CBN PRINT RULE FOR OB
Data Flds From OUTPUT


   [q OECBN]="Y"^A,
   [f pt location]="2-OB"^B,
   [f pt location]="LDR"^C,
   [f pt location]="NUR"^D,
   [f pt location]="RNUR"^E,
   [f pt location]="SNUR"^F,
   IF{A&(B!C!D!E!F) [f do print];[f do not print]};
--------------------------------------------------------------
Mnemonic       ERNOPREP                       Last Edited by

Active?        Y                                        POM
Description    NO PREP PRINTING FOR ER PTS              Eval
Data Flds From OUTPUT


   IF{[f pt status]="REG ER" [f do not print];[f do print]};
--------------------------------------------------------------
Mnemonic       ERPRINT

Active?        Y
Description    PRINT RULE FOR ER/RAD
Data Flds From OUTPUT


   ;IF{[f pt location]="ER"!"ERFT";
---------------------------------------------------------------
Mnemonic       ERRAD

Active?        Y
Description    ER RAD REQS TO ER PRINT RULE
Data Flds From OUTPUT


   [f pt temp loc]="ER"^A,
   [f pt location]="ER"^B,
   [f pt location]="ERFT"^C,
   IF{A!B!C [f do print];
   [f do not print]};

**THIS PRINT RULE CONTROLS WHERE A CUSTOM REQ/REPORT PRINTS FOR CERTAIN RAD
PROCEDURES WE PERFORM IN THE ER RAD WORK AREA, SO THEY WANTED THE REQS/REPORTS
TO NOT GO TO MAIN RAD PRINTER (RADWA), BUT TO THE ER RAD PRINTER (RAD-ER).
----------------------------------------------------------------
Mnemonic       TREAD                          Last E

Active?        Y
Description    TREADMILL PRINT RULE
Data Flds From OUTPUT


   [f day of week]="SUN"![f day of week]="SAT"^A,
   [f ord tm]>1800^C,
   [f ord tm]<0600^D,
   IF{(A!C!D) [f do print];[f do not print]};
-----------------------------------------------------------------
Mnemonic       WEEKEND                        Last Edited by

Active?        Y                                        POM Enabl
Description    WEEKEND PRINT RULE                       Evaluate
Data Flds From OUTPUT


   IF{[f day of week]="SAT"!([f day of week]="SUN") [f do print];
   [f do not print]};
------------------------------------------------------------------
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
To subscribe or unsubscribe to the meditech-l, visit MTUsers.NET.

To check the status of the meditech-l, visit MTUsers.NET.

For help, email [EMAIL PROTECTED]

Visit the MTUsers WikiPedia at MTUsers.NET/mwiki
______________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l

Reply via email to