STANDARD DATA DICTIONARY #552.2 -- CMOP DATABASE FILE                                                             3/24/25    PAGE 1
STORED IN ^PSX(552.2,  *** 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 maintained at the Consolidated Mail Outpatient Pharmacy host facility and contains patient prescription orders
received in data transmissions from the participating medical centers. Data from this file is downloaded to the automated system
for dispensing. Once all data for a transmission is completed by the automated system, the file is purged.  Data in this file is
maintained and purged 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(AB), TRANSMISSION TEXT(AC), MESSAGE STATUS(AD), MESSAGE STATUS(AE), MESSAGE STATUS(AP), 
               MESSAGE STATUS(AR), MESSAGE ID(B)



552.2,.01     MESSAGE ID             0;1 FREE TEXT (Required)

              INPUT TRANSFORM:  K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>30!($L(X)<5)!'(X'?1P.E) X
              LAST EDITED:      MAY 30, 1993 
              HELP-PROMPT:      Answer must be 5-30 characters in length. 
              DESCRIPTION:
                                 The unique number that identifies the order for this facility.  

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


552.2,1       MESSAGE STATUS         0;2 SET

                                '1' FOR QUEUED TO SEND; 
                                '2' FOR ACKNOWLEDGED; 
                                '3' FOR PROCESSED; 
                                '4' FOR IN TRANSITION; 
                                '5' FOR PRINTED; 
                                '99' FOR REJECTED; 
              LAST EDITED:      DEC 16, 1994 
              DESCRIPTION:
                                The current status of this message.  

              TECHNICAL DESCR:
                                Set of codes 

              CROSS-REFERENCE:  552.2^AD^MUMPS 
                                1)= S:$G(X)=1 ^PSX(552.2,"AQ",$P(^PSX(552.2,DA,0),"-",1,2),DA)=""
                                2)= K ^PSX(552.2,"AQ",$P(^PSX(552.2,DA,0),"-",1,2),DA)
                                3)= Do not delete!
                                This cross reference lists messages queued to transmit.  


              CROSS-REFERENCE:  552.2^AE^MUMPS 
                                1)= S:$G(X)=2 ^PSX(552.2,"AE",$P(^PSX(552.2,DA,0),"-",1,2),DA)=""
                                2)= K ^PSX(552.2,"AE",$P(^PSX(552.2,DA,0),"-",1,2),DA)
                                3)= Do not delete!
                                This cross reference lists messages which have been acknowledged.  


              CROSS-REFERENCE:  552.2^AB^MUMPS 
                                1)= S:$G(X)="4" ^PSX(552.2,"AB",$P(^PSX(552.2,DA,0),"-",1,2),DA)=""
                                2)= K ^PSX(552.2,"AB",$P(^PSX(552.2,DA,0),"-",1,2),DA)
                                 This cross reference lists messages which are currently being loaded.  


              CROSS-REFERENCE:  552.2^AR^MUMPS 
                                1)= S:$G(X)=99 ^PSX(552.2,"AR",$P(^PSX(552.2,DA,0),"-",1,2),DA)=""
                                2)= K ^PSX(552.2,"AR",$P(^PSX(552.2,DA,0),"-",1,2),DA)
                                3)= Do not Delete!
                                This cross reference lists messages which have been rejected by the automated dispensing system.  


              CROSS-REFERENCE:  552.2^AP^MUMPS 
                                1)= S:$G(X)=5 ^PSX(552.2,"AP",$P(^PSX(552.2,DA,0),"-",1,2),DA)=""
                                2)= K ^PSX(552.2,"AP",$P(^PSX(552.2,DA,0),"-",1,2),DA)
                                3)= DO NOT DELETE
                                 This cross reference exists for messages which have been printed by the DHCP Consolidated Mail
                                Outpatient Pharmacy software for manual dispense.  



552.2,2       QUEUED DT/TM           0;3 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3) X
              LAST EDITED:      JUN 04, 1993 
              HELP-PROMPT:      Answer must be 3-30 characters in length. 
              DESCRIPTION:
                                The date/time the message is 'Queued to Send' in $H format.  

              TECHNICAL DESCR:
                                Date/time in $H format.  


552.2,3       PROCESSED DT/TM        0;4 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3) X
              LAST EDITED:      MAY 25, 1993 
              HELP-PROMPT:      Answer must be 3-30 characters in length. 
              DESCRIPTION:
                                The date/time the message was 'Processed'.  

              TECHNICAL DESCR:
                                The date/time in $H format.  


552.2,6       ACKNOWLEDGEMENT TEXT   ACK;1 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>245!($L(X)<3) X
              LAST EDITED:      MAY 25, 1993 
              HELP-PROMPT:      Answer must be 3-245 characters in length. 
              DESCRIPTION:
                                 The general acknowledgement message for this order.  


552.2,7       TRANSMISSION TEXT      T;0 Multiple #552.27 (Add New Entry without Asking)

              DESCRIPTION:
                                 Patient order information for transmission to the non-DHCP dispensing system.  


552.27,.01      TRANSMISSION TEXT      0;1 FREE TEXT

                INPUT TRANSFORM:  K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>245!($L(X)<3) X
                LAST EDITED:      SEP 09, 1993 
                HELP-PROMPT:      Answer must be 3-245 characters in length. 
                DESCRIPTION:      Patient order information for transmission to the non-DHCP dispensing system.  
                                    
                                      
                                      
                                           
                                   

                CROSS-REFERENCE:  552.2^AC^MUMPS 
                                  1)= S:$E(X,1,4)["ZX1|" ^PSX(552.2,"AC",DA(1),$P(X,"|",2))=""
                                  2)= K:$E(X,1,4)["ZX1|" ^PSX(552.2,"AC",DA(1),$P(X,"|",2))
                                  3)= Do not delete!
                                  This cross reference indexes prescription  numbers for matching with release data.  






INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):