STANDARD DATA DICTIONARY #550 -- CMOP SYSTEM FILE                                                                 6/27/25    PAGE 1
STORED IN ^PSX(550,  (1 ENTRY)   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                                          (VERSION 2.0)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
The system parameters in this file manage operations of the Consolidated Mail Outpatient Pharmacy for the medical center. This
information controls the transmission of data to the Consolidated Mail Outpatient Pharmacy host facility selected by the medical
center. Information in this file must be entered or edited ONLY through the Consolidated Mail Outpatient Pharmacy package options.  


              DD ACCESS: @
              RD ACCESS: @
              WR ACCESS: @
             DEL ACCESS: @
           LAYGO ACCESS: @
           AUDIT ACCESS: @
IDENTIFIED BY: STATUS (#1)

POINTED TO BY: CMOP SYSTEM field (#3) of the CMOP TRANSMISSION File (#550.2) 
               

CROSS
REFERENCED BY: ACTIVATE/INACTIVATE DT/TM(AC), CMOP RESPONSE DT/TM(AD), TASK NUMBER(AG), CMOP RESPONSE(AP), AUTO TRANSMIT(AT), 
               SYSTEM(B), STATUS(C), STATUS(ST), XMIT STATUS(TR)

    LAST MODIFIED: MAY 14,2020@16:51:52

550,.01       SYSTEM                 0;1 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3)!'(X'?1P.E) X
              LAST EDITED:      MAY 29, 1993 
              HELP-PROMPT:      Answer must be 3-30 characters in length. 
              DESCRIPTION:
                                This is the free text name of the CMOP system.  

              TECHNICAL DESCR:
                                Free text.  

              CROSS-REFERENCE:  550^B 
                                1)= S ^PSX(550,"B",$E(X,1,30),DA)=""
                                2)= K ^PSX(550,"B",$E(X,1,30),DA)


550,1         STATUS                 0;2 SET

                                'A' FOR ACTIVE; 
                                'I' FOR INACTIVE; 
              INPUT TRANSFORM:  I $E(X)["A",($D(^PSX(550,"C"))) K X
              LAST EDITED:      AUG 09, 2002 
              HELP-PROMPT:      Enter 'A' for Active, 'I' for Inactive. 
              DESCRIPTION:      The current processing status of this facility.  ACTIVE status indicates the facility is
                                participating in transmitting data to the CMOP.  INACTIVE status indicates that CMOP processing is
                                not currently available.  

              TECHNICAL DESCR:
                                Set of codes.  

              NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER

              CROSS-REFERENCE:  550^C^MUMPS 
                                1)= S:$E(X)["A" ^PSX(550,"C",DA)=""
                                2)= K ^PSX(550,"C",DA)
                                This cross reference will only exist if there is an active CMOP site that the remote will be
                                transmitting CMOP Rx's to.  There will only be one site active at a time.  
                                    
                                     
                                     
                                     


              CROSS-REFERENCE:  550^ST 
                                1)= S ^PSX(550,"ST",$E(X,1,30),DA)=""
                                2)= K ^PSX(550,"ST",$E(X,1,30),DA)


550,2         XMIT STATUS            0;3 SET

                                'H' FOR NO CURRENT TRANSMISSION; 
                                'T' FOR TRANSMITTING DATA; 
                                'R' FOR DATA RECOVERY ; 
              LAST EDITED:      JUN 28, 1995 
              DESCRIPTION:       This field contains a set of codes indicating the current status of the job which transmits data
                                to the CMOP.  Only one transmission may process at a given time.  

              CROSS-REFERENCE:  550^TR 
                                1)= S ^PSX(550,"TR",$E(X,1,30),DA)=""
                                2)= K ^PSX(550,"TR",$E(X,1,30),DA)


550,3         CMOP DOMAIN            0;4 POINTER TO DOMAIN FILE (#4.2) (Required)

              INPUT TRANSFORM:  S DIC("S")="I $P($G(^DIC(4.2,+Y,0)),U,1)[""CMOP-""" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
              LAST EDITED:      MAR 23, 1995 
              DESCRIPTION:      This is a valid MailMan domain for the Consolidated Mail Outpatient Pharmacy system receiving the
                                facility-transmitted data.  

              TECHNICAL DESCR:
                                Pointer to Domain File #4.  

              SCREEN:           S DIC("S")="I $P($G(^DIC(4.2,+Y,0)),U,1)[""CMOP-"""
              EXPLANATION:      This screen will only allow mail domains beginning with CMOP- to be entered.

550,4         ACTIVATE/INACTIVATE DT/TM 1;0 DATE Multiple #550.04 (Add New Entry without Asking)

              LAST EDITED:      AUG 11, 1993 
              DESCRIPTION:
                                The date/time of the Activate/Inactivate action.  

              TECHNICAL DESCR:
                                Date/time 


550.04,.01      ACTIVATE/INACTIVATE DT/TM 0;1 DATE

                INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
                LAST EDITED:      AUG 11, 1993 
                DESCRIPTION:      The date/time of the Activate/Inactivate action.  
                                   

                TECHNICAL DESCR:
                                  Date/time 

                CROSS-REFERENCE:  550^AC^MUMPS 
                                  1)= S ^PSX(550,"AC",DA)=""
                                  2)= K ^PSX(550,"AC",DA)
                                  3)= DO NOT DELETE
                                  This cross reference exists for this entry until a response date/time is entered from the CMOP.  
                                       
                                      
                                      
                                     
                                     


                CROSS-REFERENCE:  550.04^B 
                                  1)= S ^PSX(550,DA(1),1,"B",$E(X,1,30),DA)=""
                                  2)= K ^PSX(550,DA(1),1,"B",$E(X,1,30),DA)


550.04,1        INITIATOR              0;2 POINTER TO NEW PERSON FILE (#200)

                INPUT TRANSFORM:  K:'$D(^XUSEC("PSXCMOPMGR",X)) X
                LAST EDITED:      NOV 09, 1993 
                DESCRIPTION:
                                  The person initiating this action.  

                TECHNICAL DESCR:
                                  Pointer to New Person file.  

                NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER


550.04,2        CMOP RESPONSE DT/TM    0;3 DATE

                INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
                LAST EDITED:      AUG 11, 1993 
                DESCRIPTION:
                                  The date/time the CMOP responded to the request or notification.  

                TECHNICAL DESCR:
                                  Date/time 

                CROSS-REFERENCE:  550^AD^MUMPS 
                                  1)= K ^PSX(550,"AC",DA)
                                  2)= Q
                                  This cross reference kills the "AC" cross reference when a date/time is entered in this field.  



550.04,3        CMOP RESPONSE          0;4 SET

                                  'A' FOR APPROVED; 
                                  'D' FOR DISAPPROVED; 
                                  'N' FOR NOTIFICATION RECEIVED; 
                                  'P' FOR PENDING; 
                LAST EDITED:      JAN 24, 1994 
                DESCRIPTION:
                                  This field describes the CMOP response to the request or notification.  

                TECHNICAL DESCR:
                                  Set of Codes 

                CROSS-REFERENCE:  550^AP^MUMPS 
                                  1)= K:X'="P" ^PSX(550,"AP",DA(1),DA) S:X="P" ^PSX(550,"AP",DA(1),DA)=""
                                  2)= K:X'="P" ^PSX(550,"AP",DA(1),DA)
                                  This cross reference is used to determine if a request to activate the CMOP site is still
                                  pending.  If it is still pending another request will not be generated.  
                                   
                                        
                                        
                                       
                                       



550.04,4        ACTION TYPE            0;5 SET

                                  'A' FOR ACTIVATION REQUEST; 
                                  'I' FOR INACTIVATION NOTICE; 
                LAST EDITED:      AUG 11, 1993 
                DESCRIPTION:
                                  The type of action (Activate/Inactivate) for this entry.  

                TECHNICAL DESCR:
                                  Set of Codes 


550.04,5        REMOTE INITIATOR       0;6 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3) X
                LAST EDITED:      DEC 04, 2002 
                HELP-PROMPT:      Answer must be 3-30 characters in length 
                DESCRIPTION:
                                  Name of the CMOP person who sent the message.  




550,6         LAST BATCH TRANSMITTED 3;1 POINTER TO CMOP TRANSMISSION FILE (#550.2)

              LAST EDITED:      JUN 25, 1994 
              HELP-PROMPT:      Enter the batch number of the last completed transmission. 
              DESCRIPTION:
                                The batch number of the last completed transmission.  

              TECHNICAL DESCR:
                                Pointer to CMOP Transmission File (#550.2).  


550,7         AUTO TRANSMIT          T;0 SET Multiple #550.07 (Add New Entry without Asking)


550.07,.01      AUTO TRANSMIT          0;1 SET

                                  '1' FOR YES; 
                                  '2' FOR NO; 
                LAST EDITED:      OCT 18, 1994 
                DESCRIPTION:      A '1' in this field indicates the facility has currently scheduled background transmissions for
                                  CMOP processing.  

                TECHNICAL DESCR:
                                  Set of Codes 

                CROSS-REFERENCE:  550^AT^MUMPS 
                                  1)= S:X=1 ^PSX(550,"AT",DA)=""
                                  2)= K ^PSX(550,"AT",DA)
                                  This cross reference is used to determine if a site has scheduled auto transmissions.  If this
                                  cross reference is set, another auto transmission schedule can not be set up.  
                                   
                                       
                                      
                                      
                                      



550.07,1        QUEUED TO BEGIN        0;2 DATE

                INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
                LAST EDITED:      AUG 11, 1993 
                DESCRIPTION:
                                  The date/time of the initial background transmission.  

                TECHNICAL DESCR:
                                  Date/time 


550.07,2        SCHEDULING FREQUENCY(HRS) 0;3 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>999)!(X<1)!(X?.E1"."1N.N) X
                LAST EDITED:      AUG 11, 1993 
                HELP-PROMPT:      Type a Number between 1 and 999, 0 Decimal Digits 
                DESCRIPTION:
                                  This is the frequency (in hours) that the automatic processing will be rescheduled.  

                TECHNICAL DESCR:
                                  Number 


550.07,3        NEXT TRANSMISSION TIME 0;4 DATE

                INPUT TRANSFORM:  S %DT="EST" D ^%DT S X=Y K:Y<1 X
                LAST EDITED:      JUL 03, 1996 
                DESCRIPTION:
                                  This is the date/time of the next scheduled auto transmission.  


550.07,5        SCHEDULED BY           0;6 POINTER TO NEW PERSON FILE (#200)

                LAST EDITED:      JUN 08, 1993 
                DESCRIPTION:
                                  The name of the person who scheduled the automatic processing.  

                TECHNICAL DESCR:
                                  Pointer to New Person 


550.07,6        TASK NUMBER            0;7 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>9999999999)!(X<1)!(X?.E1"."1N.N) X
                LAST EDITED:      MAY 29, 1993 
                HELP-PROMPT:      Type a Number between 1 and 9999999999, 0 Decimal Digits 
                DESCRIPTION:
                                  This is the task number used to reschedule the job.  


550.07,7        NUMBER OF DAYS TO TRANSMIT 0;8 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>10)!(X<0)!(X?.E1"."1N.N) X
                LAST EDITED:      JUL 01, 1996 
                HELP-PROMPT:      Type a Number between 0 and 10, 0 Decimal Digits 
                DESCRIPTION:      This number determines the number of days to add to the current date to calculate the transmit
                                  through date for CMOP auto transmissions.  




550,8         PURGE DT/TM            P;0 DATE Multiple #550.08 (Add New Entry without Asking)


550.08,.01      PURGE DT/TM            0;1 DATE

                INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
                LAST EDITED:      MAY 29, 1993 
                DESCRIPTION:
                                  Date/time the last purge by the CMOP background manager was completed.  

                CROSS-REFERENCE:  550.08^B 
                                  1)= S ^PSX(550,DA(1),"P","B",$E(X,1,30),DA)=""
                                  2)= K ^PSX(550,DA(1),"P","B",$E(X,1,30),DA)


550.08,1        TOTAL ORDERS PURGED    0;2 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>9999999999)!(X<0)!(X?.E1"."1N.N) X
                LAST EDITED:      JUN 08, 1993 
                HELP-PROMPT:      Type a Number between 0 and 9999999999, 0 Decimal Digits 
                DESCRIPTION:
                                  This is the total records purged from the PSX(501 global.  


550.08,3        START SEQ #            0;4 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>9999999999)!(X<1)!(X?.E1"."1N.N) X
                LAST EDITED:      JUN 02, 1993 
                HELP-PROMPT:      Type a Number between 1 and 9999999999, 0 Decimal Digits 
                DESCRIPTION:
                                   The starting message number of the data transmission.  


550.08,4        END SEQ #              0;5 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>9999999999)!(X<1)!(X?.E1"."1N.N) X
                LAST EDITED:      JUN 02, 1993 
                HELP-PROMPT:      Type a Number between 1 and 9999999999, 0 Decimal Digits 
                DESCRIPTION:
                                   The last message number of the data transmission.  




550,9         TASK NUMBER            3;2 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>9999999999999)!(X<0)!(X?.E1"."1N.N) X
              LAST EDITED:      MAY 13, 2002 
              HELP-PROMPT:      Type a Number between 0 and 9999999999999, 0 Decimal Digits 
              DESCRIPTION:
                                The task number of the currently running transmission job.  

              CROSS-REFERENCE:  550^AG 
                                1)= S ^PSX(550,"AG",$E(X,1,30),DA)=""
                                2)= K ^PSX(550,"AG",$E(X,1,30),DA)


550,10        AUTO TRANSMIT CS       T1;0 SET Multiple #550.09 (Add New Entry without Asking)

              DESCRIPTION:      This multiple is used to track and control the background jobs that gather and transmit CMOP
                                controlled substance prescription transmissions.  


550.09,.01      AUTO TRANSMIT CS       0;1 SET

                                  '1' FOR YES; 
                                  '2' FOR NO; 
                LAST EDITED:      DEC 09, 1999 
                DESCRIPTION:      A '1' in this field indicates the facility has currently scheduled background controlled
                                  substances transmissions for CMOP processing.  

                CROSS-REFERENCE:  550.09^ATC^MUMPS 
                                  1)= S:X=1 ^PSX(550,"ATC",DA)=""
                                  2)= K ^PSX(550,"ATC",DA)
                                  This cross reference is used to determine if a site has scheduled CMOP controlled subs auto
                                  transmissions.  If this cross reference is set, another auto transmission schedule cannot be
                                  established.  



550.09,1        QUEUED TO BEGIN        0;2 DATE

                INPUT TRANSFORM:  S %DT="ETXR" D ^%DT S X=Y K:Y<1 X
                LAST EDITED:      AUG 09, 2002 
                HELP-PROMPT:      (No range limit on date) 
                DESCRIPTION:
                                  The date/time of the initial background controlled substances transmission.  


550.09,2        SCHEDULING FREQUENCY (HRS) 0;3 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>999)!(X<1)!(X?.E1"."1N.N) X
                LAST EDITED:      AUG 09, 2002 
                HELP-PROMPT:      Type a Number between 1 and 999, 0 Decimal Digits 
                DESCRIPTION:
                                  This is the frequency (in hours) that the automatic processing will be rescheduled.  


550.09,3        NEXT TRANSMISSION TIME 0;4 DATE (Required)

                INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
                LAST EDITED:      AUG 09, 2002 
                HELP-PROMPT:      (No range limit on date) 
                DESCRIPTION:
                                  This is the date/time of the next scheduled auto transmission.  


550.09,5        SCHEDULED BY           0;6 POINTER TO NEW PERSON FILE (#200)

                LAST EDITED:      DEC 09, 1999 
                DESCRIPTION:
                                  The name of the person who scheduled the automatic processing.  


550.09,6        TASK NUMBER            0;7 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>9999999999)!(X<1)!(X?.E1"."1N.N) X
                LAST EDITED:      DEC 09, 1999 
                HELP-PROMPT:      Type a Number between 1 and 9999999999, 0 Decimal Digits 
                DESCRIPTION:
                                  This is the task number used to reschedule the job.  


550.09,7        NUMBER OF DAYS TO TRANSMIT 0;8 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>10)!(X<0)!(X?.E1"."1N.N) X
                LAST EDITED:      DEC 09, 1999 
                HELP-PROMPT:      Type a Number between 0 and 10, 0 Decimal Digits 
                DESCRIPTION:      This number determines the number of days to add to the current date to calculate the transmit
                                  through date for CMOP auto transmissions.  




550,11        NON-CS DAYS TO TRANSMIT 2;1 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>15)!(X<0)!(X?.E1"."1.N) X
              LAST EDITED:      APR 14, 2020 
              HELP-PROMPT:      This is the number of days to 'transmit thru' for CMOP auto-transmissions of non-controlled 
                                substances. It can be set up to a maximum of 15 days. 
              DESCRIPTION:      This is the number of days to use as a transmit through date for the CMOP auto-transmission for
                                non-controlled substances. It is set using Setup Auto-transmission [PSXR AUTO TRANSMIT] or Setup CS
                                Auto-transmission [PSXR AUTO TRANSMIT CS] options. It can be set up to a maximum of 15.  

              NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER


550,12        CS DAYS TO TRANSMIT    2;2 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>15)!(X<0)!(X?.E1"."1.N) X
              LAST EDITED:      APR 14, 2020 
              HELP-PROMPT:      This is the number of days to 'transmit thru' for CMOP auto-transmissions of controlled substances. 
                                It can be set up to a maximum of 15. 
              DESCRIPTION:      This is the number of days to use as a transmit through date for CMOP auto-transmission for
                                controlled substances. It is set using Setup Auto-transmission [PSXR AUTO TRANSMIT] or Setup CS
                                Auto-transmission [PSXR AUTO TRANSMIT CS] options. It can be set up to a maximum of 15.  

              NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER



      FILES POINTED TO                      FIELDS

CMOP TRANSMISSION (#550.2)        LAST BATCH TRANSMITTED (#6)

DOMAIN (#4.2)                     CMOP DOMAIN (#3)

NEW PERSON (#200)                 ACTIVATE/INACTIVATE DT/TM:INITIATOR (#1)
                                  AUTO TRANSMIT:SCHEDULED BY (#5)
                                  AUTO TRANSMIT CS:SCHEDULED BY (#5)



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):