STANDARD DATA DICTIONARY #550.1 -- CMOP RX QUEUE FILE                                                             3/24/25    PAGE 1
STORED IN ^PSX(550.1,  *** NO DATA STORED YET ***   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                       (VERSION 2.0)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file is used by the Consolidated Mail Outpatient Pharmacy system at the medical center to manage prescription data for
transmission to the host facility. Data in this file is entered, edited, maintained, and purged by background jobs triggered by the
Consolidated Mail Outpatient Pharmacy software and must NOT be edited using VA FileMan. 


              DD ACCESS: @
              RD ACCESS: @
              WR ACCESS: @
             DEL ACCESS: @
           LAYGO ACCESS: @
           AUDIT ACCESS: @

CROSS
REFERENCED BY: MESSAGE STATUS(AA), MESSAGE STATUS(AB), MESSAGE STATUS(AR), MESSAGE STATUS(AS), MESSAGE STATUS(AX), 
               SEQUENCE NUMBER(B), TRANSMISSION NUMBER(C)



550.1,.01     SEQUENCE NUMBER        0;1 NUMBER (Required)

              INPUT TRANSFORM:  K:+X'=X!(X>9999999999999)!(X<1)!(X?.E1"."1N.N) X S:$D(X) DINUM=X
              LAST EDITED:      JUL 19, 2002 
              HELP-PROMPT:      Type a Number between 1 and 9999999999999, 0 Decimal Digits 
              DESCRIPTION:
                                This is the message number for this order.  

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

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


550.1,1       MESSAGE STATUS         1;1 SET

                                '1' FOR QUEUED TO SEND; 
                                '2' FOR TRANSMITTED; 
                                '3' FOR IN TRANSITION; 
                                '4' FOR ACKNOWLEDGED; 
                                '5' FOR UPDATED; 
              LAST EDITED:      JUN 28, 1995 
              DESCRIPTION:
                                This field indicates the current status of this patient order.  

              TECHNICAL DESCR:
                                Set of codes.  

              CROSS-REFERENCE:  550.1^AS^MUMPS 
                                1)= S:X=1 ^PSX(550.1,"AS",DA)=""
                                2)= K ^PSX(550.1,"AS",DA)
                                 If this cross reference exists, the message is queued to send.  


              CROSS-REFERENCE:  550.1^AR^MUMPS 
                                1)= S:X=2 ^PSX(550.1,"AR",DA)=""
                                2)= K ^PSX(550.1,"AR",DA)
                                If this cross reference exists, the message has been transmitted to the CMOP.  
                                 
                                    
                                     
                                     
                                     


              CROSS-REFERENCE:  550.1^AB^MUMPS 
                                1)= S:X=3 ^PSX(550.1,"AB",DA)=""
                                2)= K ^PSX(550.1,"AB",DA)
                                 If this cross reference exists the message is being built.  


              CROSS-REFERENCE:  550.1^AA^MUMPS 
                                1)= S:X=4 ^PSX(550.1,"AA",DA)=""
                                2)= K ^PSX(550.1,"AA",DA)
                                This cross reference indicates that a transmission has been sent and acknowledged by the CMOP.  
                                  


              CROSS-REFERENCE:  550.1^AX^MUMPS 
                                1)= S:X=5 ^PSX(550.1,"AX",DA)=""
                                2)= K ^PSX(550.1,"AX",DA)
                                If this cross reference exists, the Rx data in the message has been filed in the Rx file (#52).  



550.1,2       QUEUED DATE/TIME       1;2 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>25!($L(X)<3) X
              OUTPUT TRANSFORM: S %H=Y D YX^%DTC
              LAST EDITED:      JUN 19, 1991 
              HELP-PROMPT:      Answer must be 3-25 characters in length. 
              DESCRIPTION:
                                This represents the date/time the order was created.  

              TECHNICAL DESCR:
                                Date/time in $H format.  


550.1,3       TRANSMISSION NUMBER    1;3 FREE TEXT

              INPUT TRANSFORM:  K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>10!($L(X)<1) X
              LAST EDITED:      JUN 29, 1995 
              HELP-PROMPT:      Answer must be 1-10 characters in length. 
              DESCRIPTION:
                                This is the transmission this order was in when transmitted to the CMOP.  

              CROSS-REFERENCE:  550.1^C^MUMPS 
                                1)= S:X'="" ^PSX(550.1,"C",X,DA)=""
                                2)= K ^PSX(550.1,"C",X,DA)
                                This cross reference list the transmission number for the order.  



550.1,5       TRANSMITTED DATE/TIME  1;4 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>25!($L(X)<3) X
              LAST EDITED:      NOV 17, 1992 
              HELP-PROMPT:      Answer must be 3-25 characters in length. 
              DESCRIPTION:
                                This represents the date/time the order was transmitted to the CMOP.  

              TECHNICAL DESCR:
                                Date/time in $H format.  


550.1,6       RECEIVED DATE/TIME     1;5 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>25!($L(X)<3) X
              HELP-PROMPT:      Answer must be 3-25 characters in length. 
              DESCRIPTION:
                                This represents the date/time this order was received by the CMOP.  

              TECHNICAL DESCR:
                                Date/Time in $H format.  


550.1,100     TRANSMISSION TEXT      T;0 Multiple #550.11 (Add New Entry without Asking)


550.11,.01      TRANSMISSION TEXT      0;1 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>245!($L(X)<1) X
                LAST EDITED:      FEB 01, 1992 
                HELP-PROMPT:      Answer must be 1-245 characters in length. 
                DESCRIPTION:
                                  This is the data that will be transmitted to the CMOP.  This is patient and Rx specific data.  




550.1,101     RX NUMBER              2;0 POINTER Multiple #550.1101 (Add New Entry without Asking)

              DESCRIPTION:      This is a pointer to the Prescription File (#52) and is used to update the prescription entry when
                                the medical center has received notification from the Consolidated Mail Outpatient Pharmacy host
                                system that the prescription has been received.  

              TECHNICAL DESCR:
                                Pointer to the Prescription File #52.  


550.1101,.01    RX NUMBER              0;1 POINTER TO PRESCRIPTION FILE (#52)

                LAST EDITED:      JUN 28, 1995 
                CROSS-REFERENCE:  550.1101^B 
                                  1)= S ^PSX(550.1,DA(1),2,"B",$E(X,1,30),DA)=""
                                  2)= K ^PSX(550.1,DA(1),2,"B",$E(X,1,30),DA)


550.1101,1      FILL NUMBER            0;2 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>99)!(X<0)!(X?.E1"."1N.N) X
                LAST EDITED:      JUN 28, 1995 
                HELP-PROMPT:      Type a Number between 0 and 99, 0 Decimal Digits 
                DESCRIPTION:
                                  This is the fill number for the Rx.  





      FILES POINTED TO                      FIELDS

PRESCRIPTION (#52)                RX NUMBER:RX NUMBER (#.01)



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):