STANDARD DATA DICTIONARY #552.4 -- CMOP MASTER DATABASE FILE                                                      3/24/25    PAGE 1
STORED IN ^PSX(552.4,  *** 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 by the Consolidated Mail Outpatient Pharmacy software and contains sensitive outpatient prescription
dispensing information for health care facilities which transmit data to the CMOP.  Editing or deletion of entries in this file is
strictly prohibited.  
 
This file is used by the Consolidated Mail Outpatient Pharmacy system to maintain essential elements for all data transactions.
Data in this file is maintained 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: RELEASE MESSAGE NUMBER(AB), RX STATUS(AC), COMPLETED DATE/TIME(AD), RX STATUS(AX), FACILITY BATCH REFERENCE(B), 
               RELEASE STATUS(C), RX STATUS(D)



552.4,.01     FACILITY BATCH REFERENCE 0;1 POINTER TO CMOP REFERENCE FILE (#552.1) (Required)

              LAST EDITED:      NOV 26, 1994 
              DESCRIPTION:      The unique identification number for the data transmission.  
                                 
                                  
                                 

              TECHNICAL DESCR:
                                This field is a pointer to the CMOP Reference file #552.1.  

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


552.4,1       RX NUMBER              1;0 Multiple #552.41 (Add New Entry without Asking)

              LAST EDITED:      JUL 26, 1995 
              DESCRIPTION:      The number for the prescription.  
                                         
                                     
                                      
                                     
                                      

              TECHNICAL DESCR:
                                The external form of the prescription number for this Rx.  


552.41,.01      RX NUMBER              0;1 FREE TEXT (Required)

                INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
                LAST EDITED:      DEC 15, 1993 
                HELP-PROMPT:      Answer must be 1-20 characters in length. 
                DESCRIPTION:      The prescription number for this Rx.  
                                   

                TECHNICAL DESCR:
                                  The external form of the prescription number for this Rx.  

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


552.41,.02      COMPLETED DATE/TIME    0;9 DATE

                INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
                LAST EDITED:      DEC 22, 1993 
                DESCRIPTION:      The date/time the prescription was completed by the automated dispensing system.  
                                    

                TECHNICAL DESCR:  FileMan date/time.  
                                   

                CROSS-REFERENCE:  552.4^AD^MUMPS 
                                  1)= S ^PSX(552.4,"AD",$P(X,"."),DA(1),DA)=""
                                  2)= K ^PSX(552.4,"AD",$P(X,"."),DA(1),DA)
                                  This cross reference is set when the prescription completed date/time is entered and is used for
                                  compiling cost statistics.  
                                    



552.41,1        RELEASE STATUS         0;2 SET

                                  '1' FOR COMPLETED; 
                                  '2' FOR CANCELLED; 
                LAST EDITED:      MAR 03, 1994 
                DESCRIPTION:      The release status of the prescription from the automated dispensing system.  
                                    

                TECHNICAL DESCR:
                                  Set of Codes.  

                CROSS-REFERENCE:  552.4^C^MUMPS 
                                  1)= S:X=2 ^PSX(552.4,"AP",$P(^PSX(552.4,DA(1),0),"^",1),$P(^PSX(552.4,DA(1),1,DA,0),"^",1))=""
                                  2)= K ^PSX(552.4,"AP",$P(^PSX(552.4,DA(1),0),"^",1),$P(^PSX(552.4,DA(1),1,DA,0),"^",1))
                                  3)= Do not delete!
                                  This cross reference is set when a prescription has been cancelled by the automated system.  
                                    



552.41,2        CANCELLATION REASON    0;3 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>40!($L(X)<3) X
                LAST EDITED:      NOV 09, 1993 
                HELP-PROMPT:      Answer must be 3-40 characters in length. 
                DESCRIPTION:      The reason the prescription was cancelled from the vendor system.  
                                    


552.41,3        DRUG ID                0;4 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>5!($L(X)<1) X
                LAST EDITED:      NOV 09, 1993 
                HELP-PROMPT:      Answer must be 1-5 characters in length. 
                DESCRIPTION:      The unique code used to identify the drug/item to be dispensed.  
                                    

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


552.41,4        NDC                    0;5 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
                LAST EDITED:      JUL 28, 1993 
                HELP-PROMPT:      Answer must be 1-20 characters in length. 
                DESCRIPTION:
                                   The national drug code provided by the supplier.  


552.41,5        EMPLOYEE ID            0;6 POINTER TO NEW PERSON FILE (#200)

                LAST EDITED:      JUL 28, 1993 
                DESCRIPTION:      The individual (pharmacist) responsible for releasing the prescription.  
                                    
                                        
                                      
                                       
                                       
                                      

                TECHNICAL DESCR:
                                   Pointer to the New Person file.  


552.41,6        LOT NUMBER             1;0 Multiple #552.56 (Add New Entry without Asking)

                DESCRIPTION:       This multiple lists the lot number and expiration date.  
                                    
                                      
                                       
                                        
                                         
                                        


552.56,.01        LOT NUMBER             0;1 FREE TEXT

                  INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
                  LAST EDITED:      SEP 10, 1993 
                  HELP-PROMPT:      Answer must be 1-20 characters in length. 
                  DESCRIPTION:      The lot number for the prescription.  
                                      


552.56,1          EXPIRATION DATE        0;2 DATE

                  INPUT TRANSFORM:  S %DT="EST" D ^%DT S X=Y K:Y<1 X
                  LAST EDITED:      JUL 28, 1993 
                  DESCRIPTION:      The expiration date of the drug.  
                                      

                  TECHNICAL DESCR:
                                    FileMan date/time format.  




552.41,7        PROCESSED DATE/TIME      0;7 DATE

                  INPUT TRANSFORM:  S %DT="ESTR" D ^%DT S X=Y K:Y<1 X
                  LAST EDITED:      SEP 03, 1993 
                  DESCRIPTION:      This is the date/time of the acknowledgement for the release information filed at the remote
                                    facility.  
                                      


552.41,8        QUERY ID                 0;8 NUMBER

                  INPUT TRANSFORM:  K:+X'=X!(X>999999999)!(X<0)!(X?.E1"."1N.N) X
                  LAST EDITED:      SEP 03, 1993 
                  HELP-PROMPT:      Type a Number between 0 and 999999999, 0 Decimal Digits 
                  DESCRIPTION:      The Query Request responsible for this data.  
                                      


552.41,9        RX STATUS                0;10 SET

                                    '1' FOR RELEASED; 
                                    '2' FOR RETURNED; 
                                    '3' FOR PROCESSED; 
                                    '4' FOR REJECTED; 
                                    '5' FOR RECEIVED; 
                  LAST EDITED:      NOV 26, 1994 
                  DESCRIPTION:       
                                       Received - The prescription data is received from the remote facility.  
                                       Released - The prescription has been released.  
                                       Returned - The prescription release data has been returned to the 
                                                  remote system.  
                                       Processed- The prescription data has been filed appropriately on the 
                                                  remote system.  
                                       Rejected - The prescription has been rejected by the remote facility.  

                  TECHNICAL DESCR:
                                    Set of codes.  

                  CROSS-REFERENCE:  552.4^AC^MUMPS 
                                    1)= S:$G(X)=1 ^PSX(552.4,"AC",+$P(^PSX(552.1,+^PSX(552.4,DA(1),0),0),"-"),DA(1),DA)=""
                                    2)= K ^PSX(552.4,"AC",+$P(^PSX(552.1,+^PSX(552.4,DA(1),0),0),"-"),DA(1),DA)
                                    3)= Do not delete!
                                    This cross reference is set when release data is filed for this prescription.  
                                      
                                      
                                       
                                        
                                       


                  CROSS-REFERENCE:  552.4^D^MUMPS 
                                    1)= S:X=5 ^PSX(552.4,"AR",$P(^PSX(552.4,DA(1),0),"^",1),$P(^PSX(552.4,DA(1),1,DA,0),"^",1))=""
                                    2)= K ^PSX(552.4,"AR",$P(^PSX(552.4,DA(1),0),"^",1),$P(^PSX(552.4,DA(1),1,DA,0),"^",1))
                                    This cross reference is set when the prescription is first entered in the file.  It is killed
                                    when the prescription has been released by the vendor or through manual release.  It is used to
                                    create a report of unreleased Rx's.  
                                      
                                     
                                           
                                           
                                          
                                        


                  CROSS-REFERENCE:  552.4^AX^MUMPS 
                                    1)= S:$G(X)=2 ^PSX(552.4,"AX",+$P(^PSX(552.1,+^PSX(552.4,DA(1),0),0),"-"),DA(1),DA)=""
                                    2)= K ^PSX(552.4,"AX",+$P(^PSX(552.1,+^PSX(552.4,DA(1),0),0),"-"),DA(1),DA)
                                    3)= Do not delete!
                                    This cross reference is set when release data has been returned to the remote facility.  
                                     
                                     



552.41,10       PRICE PER DISPENSE UNIT  0;11 NUMBER

                  INPUT TRANSFORM:  K:+X'=X!(X>222)!(X<0)!(X?.E1"."4N.N) X
                  LAST EDITED:      JUN 28, 1994 
                  HELP-PROMPT:      Type a Number between 0 and 222, 3 Decimal Digits 
                  DESCRIPTION:      This field contains the cost information from the PRICE PER DISPENSE UNIT field from DRUG File
                                    (#50) at the time this Rx was filled.  

                  TECHNICAL DESCR:
                                    Price per dispense unit for this drug.  


552.41,11       RX INDICATOR             0;12 NUMBER

                  INPUT TRANSFORM:  K:+X'=X!(X>999)!(X<0)!(X?.E1"."1N.N) X
                  LAST EDITED:      NOV 09, 1993 
                  HELP-PROMPT:      Type a Number between 0 and 999, 0 Decimal Digits 
                  DESCRIPTION:
                                     The fill number (0=original) of this prescription.  


552.41,12       QUANTITY                 0;13 NUMBER

                  INPUT TRANSFORM:  K:+X'=X!(X>9999)!(X<1)!(X?.E1"."1N.N) X
                  LAST EDITED:      NOV 09, 1993 
                  HELP-PROMPT:      Type a Number between 1 and 9999, 0 Decimal Digits 
                  DESCRIPTION:
                                     Total number of capsules, tablets, etc. in this prescription.  


552.41,13       RELEASE TYPE             2;1 SET

                                    '1' FOR AUTOMATED; 
                                    '2' FOR MANUAL; 
                  LAST EDITED:      FEB 18, 1994 
                  DESCRIPTION:      The type of release used for this prescription.  'Automated' indicates the prescription was
                                    released by the automated dispensing equipment at the CMOP.  'Manual' indicates the
                                    prescription label was printed by the DHCP CMOP software at the CMOP and filled from the
                                    document.  

                  TECHNICAL DESCR:
                                    Set of codes.  


552.41,14       REMOTE ERROR CONDITION   2;2 SET

                                    '1' FOR RELEASE DATE ALREADY EXISTS; 
                                    '2' FOR RX ENTRY MISSING; 
                                    '3' FOR FILL MISMATCH; 
                                    '4' FOR TRANSMISSION NUMBER MISMATCH; 
                                    '5' FOR NO CMOP EVENT MULTIPLE; 
                                    '6' FOR FILL DOES NOT EXIST; 
                  LAST EDITED:      MAY 20, 1994 
                  DESCRIPTION:      This field describes the reason the system was unable to file the prescription at the remote
                                    facility.  

                  TECHNICAL DESCR:
                                    Set of codes.  


552.41,15       RELEASE MESSAGE NUMBER   2;3 FREE TEXT

                  INPUT TRANSFORM:  K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>20!($L(X)<1) X
                  LAST EDITED:      JUL 19, 1995 
                  HELP-PROMPT:      Answer must be 1-20 characters in length. 
                  DESCRIPTION:      This is the IEN number (XMZ) of the Vendor Release Data mail message that returns the release
                                    data to the medical center.  

                  CROSS-REFERENCE:  552.4^AB^MUMPS 
                                    1)= S:X'="" ^PSX(552.4,"AB",X,DA(1),DA)=""
                                    2)= K ^PSX(552.4,"AB",X,DA(1),DA)
                                    This cross reference lists the Rx's in the Vendor Release Data mail message. It will be used to
                                    rebuild the Vendor Release Data mail message.  



552.41,16       DATE SHIPPED             2;4 DATE

                  INPUT TRANSFORM:  S %DT="ESTX" D ^%DT S X=Y K:Y<1 X
                  LAST EDITED:      JUL 26, 1995 
                  DESCRIPTION:
                                    The date/time the prescription was shipped to the patient from the CMOP.  


552.41,17       CARRIER                  2;5 FREE TEXT

                  INPUT TRANSFORM:  K:$L(X)>40!($L(X)<3) X
                  LAST EDITED:      JUL 26, 1995 
                  HELP-PROMPT:      Answer must be 3-40 characters in length. 
                  DESCRIPTION:
                                    The carrier responsible for shipping the prescription to the patient.  


552.41,18       PACKAGE ID               2;6 FREE TEXT

                  INPUT TRANSFORM:  K:$L(X)>40!($L(X)<3) X
                  LAST EDITED:      JUL 26, 1995 
                  HELP-PROMPT:      Answer must be 3-40 characters in length. 
                  DESCRIPTION:      A unique identification code assigned by the non-DHCP system for tracking the prescription
                                    shipment.  


552.41,19       CONTROLLED SUBS FLAG     0;14 SET

                                    '1' FOR CONTROLLED SUBSTANCE; 
                  LAST EDITED:      MAR 14, 2000 
                  HELP-PROMPT:      Enter a 1 if this Rx is written for a controlled substance. 
                  DESCRIPTION:      This field indicates whether the drug in the prescription is a controlled substance or not.  A
                                    1 in this field indicates a controlled substance.  


552.41,20       DAYS SUPPLY              2;7 NUMBER

                  INPUT TRANSFORM:  K:+X'=X!(X>99999)!(X<0)!(X?.E1"."1.N) X
                  LAST EDITED:      SEP 27, 2002 
                  HELP-PROMPT:      Type a number between 0 and 99999, 0 Decimal Digits 
                  DESCRIPTION:
                                    Number of days supply as requested by the facility.  


552.41,21       ORDER NUMBER             3;1 NUMBER

                  INPUT TRANSFORM:  K:+X'=X!(X>9999999)!(X<1)!(X?.E1"."1.N) X
                  LAST EDITED:      SEP 27, 2002 
                  HELP-PROMPT:      Type a number between 1 and 9999999, 0 Decimal Digits 
                  DESCRIPTION:
                                    The patient order number within the facility transmission.  


552.41,40       RX INDEX                 4;1 FREE TEXT

                  INPUT TRANSFORM:  K:$L(X)>40!($L(X)<1) X
                  LAST EDITED:      JAN 02, 2003 
                  HELP-PROMPT:      Answer must be 1-40 characters in length 
                  DESCRIPTION:      The unique ID for each prescription constructed with Facility ID - Prescription Number - Fill
                                    Number 10110-M8825467-3 





      FILES POINTED TO                      FIELDS

CMOP REFERENCE (#552.1)           FACILITY BATCH REFERENCE (#.01)

NEW PERSON (#200)                 RX NUMBER:EMPLOYEE ID (#5)



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):