STANDARD DATA DICTIONARY #50.6 -- VA GENERIC FILE                                                                 3/24/25    PAGE 1
STORED IN ^PSNDF(50.6,  (5621 ENTRIES)   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                                  (VERSION 4.0)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
Per VHA Directive 2005-044, this file has been "locked down" by Data Standardization (DS). The file definition (i.e. data
dictionary) shall not be modified. All additions, changes and deletions to entries in the file shall be done by Enterprise
Reference Terminology (ERT) using the Master File Server (MFS), provided by Common Services (CS). Creating and/or editing locally
defined fields in the file are not permitted. Use of locally defined fields that were created prior to VHA Directive 2005-044 shall
not be supported.  


              DD ACCESS: ^
              RD ACCESS: Pp
              WR ACCESS: ^
             DEL ACCESS: ^
           LAYGO ACCESS: ^

POINTED TO BY: NATIONAL DRUG FILE ENTRY field (#20) of the DRUG File (#50) 
               PSNDF DA field (#.01) of the NATIONAL DRUG TRANSLATION File (#50.612) 
               VA GENERIC NAME field (#.05) of the VA PRODUCT File (#50.68) 
               CAUSATIVE AGENT field (#2) of the DRUG ALLERGIES sub-field (#100.517) of the ORDER CHECK INSTANCES File (#100.05) 
               GMR ALLERGY field (#1) of the PATIENT ALLERGIES File (#120.8) 
               VA GENERIC field (#.04) of the ROR GENERIC DRUG File (#799.51) 
               ITEM field (#.01) of the ORDER CHECK ITEMS sub-field (#801.015) of the REMINDER ORDER CHECK ITEMS GROUP File (#801) 
               FINDING ITEM field (#.04) of the EXTRACT FINDINGS sub-field (#810.31) of the REMINDER EXTRACT SUMMARY File (#810.3) 
               FINDING ITEM field (#.01) of the LREPI FINDING TOTALS sub-field (#810.32) of the REMINDER EXTRACT SUMMARY File 
                   (#810.3) 
               FINDING ITEM field (#.01) of the FINDINGS sub-field (#811.52) of the REMINDER TERM File (#811.5) 
               FINDING ITEM field (#.01) of the FINDINGS sub-field (#811.902) of the REMINDER DEFINITION File (#811.9) 
               

CROSS
REFERENCED BY: INACTIVATION DATE(AC), NAME(APRO), VUID(AVUID), NAME(B)

INDEXED BY:    VUID & MASTER ENTRY FOR VUID (AMASTERVUID)


    LAST MODIFIED: MAY 30,2017@16:08:36

50.6,.001     NUMBER                     NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>99999999)!(X<1)!(X?.E1"."1N.N) X
              LAST EDITED:      APR 10, 1987 
              HELP-PROMPT:      Type a whole number between 1 and 99999999. 
              DESCRIPTION:
                                This is the National Drug number.  


50.6,.01      NAME                   0;1 FREE TEXT (Required) (audited)

              INPUT TRANSFORM:  K:$L(X)>64!($L(X)<3)!'(X'?1P.E) X
              LAST EDITED:      APR 23, 1998 
              HELP-PROMPT:      Answer must be 3-64 characters in length. 
              DESCRIPTION:
                                The VA Generic name for this entry.  

              AUDIT:            YES, ALWAYS
              PRE-LOOKUP:       I $G(DIC(0))["L",'$D(XUMF) K X D EN^DDIOL("Entries Must be edited via the Master File Server (MFS).
                                ","","!?5,$C(7)")
              DELETE TEST:      .01,0)= I 1 D EN^DDIOL("DELETIONS ARE NOT ALLOWED")

                                1,0)= D:'$D(XUMF) EN^DDIOL("Entries must be inactivated via the Master File Server (MFS).","","!?5,
                                $C(7)")

              LAYGO TEST:       .01,0)= D:'$D(XPDGREF) EN^DDIOL("ADDITIONS ARE NOT ALLOWED") I $D(XPDGREF)

                                1,0)= D:'$D(XUMF) EN^DDIOL("Entries must be added via the Master File Server (MFS).","","!?5,$C(7)"
                                ) I $D(XUMF)

              DELETE AUTHORITY: ^
              WRITE AUTHORITY:  ^
              CROSS-REFERENCE:  50.6^B 
                                1)= S ^PSNDF(50.6,"B",$E(X,1,64),DA)=""
                                2)= K ^PSNDF(50.6,"B",$E(X,1,64),DA)

              CROSS-REFERENCE:  50.6^APRO^MUMPS 
                                1)= Q
                                2)= Q
                                This cross reference is a place holder.  The cross reference is set from the VA GENERIC NAME field
                                (#.05) of the VA PRODUCT file (#50.68) Cross-reference by VA Generic and associated VA Products.  
                                In the form of: ^PSNDF(50.6,"APRO",VA PRODUCT file DA,VA GENERIC file DA) 



50.6,1        INACTIVATION DATE      0;2 DATE (audited)

              INPUT TRANSFORM:  S %DT="EX" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      JUN 03, 1998 
              DESCRIPTION:
                                The date when this VA GENERIC ITEM was made inactive.  

              TECHNICAL DESCR:  An entry in this field triggers entries into the inactivation date field of entries in the VA
                                PRODUCT file and the NDC/UPN file.  

              AUDIT:            YES, ALWAYS
              WRITE AUTHORITY:  ^
              CROSS-REFERENCE:  50.6^AC^MUMPS 
                                1)= D GENER^PSNXREF
                                2)= D KGENER^PSNXREF
                                This cross reference updates the inactivation date for all products associated with this product.  
                                In the form of: ^PSNDF(50.67,DA,0),"^",7) 



50.6,5        CODING SYSTEM          5;0 Multiple #50.65

              DESCRIPTION:
                                This multiple stores the coding system(s) associated with the codes identifying this VA Generic.  


50.65,.01       CODING SYSTEM          0;1 FREE TEXT (audited)

                INPUT TRANSFORM:  K:$L(X)>10!($L(X)<3) X
                LAST EDITED:      NOV 04, 2016 
                HELP-PROMPT:      Answer must be 3-10 characters in length. 
                DESCRIPTION:      This field indicates the coding system associated with the codes identifying this VA Generic. For
                                  example; Cetirizine RxCUI=20610.  The Entry would be 20610.  

                AUDIT:            YES, ALWAYS
                CROSS-REFERENCE:  50.65^B 
                                  1)= S ^PSNDF(50.6,DA(1),5,"B",$E(X,1,30),DA)=""
                                  2)= K ^PSNDF(50.6,DA(1),5,"B",$E(X,1,30),DA)


50.65,.02       CODE                   1;0 Multiple #50.651

                DESCRIPTION:
                                  This multiple stores the code(s) representing this VA Generic within this coding system.  


50.651,.01        CODE                   0;1 FREE TEXT (audited)

                  INPUT TRANSFORM:  K:$L(X)>30!($L(X)<1) X
                  LAST EDITED:      SEP 19, 2016 
                  HELP-PROMPT:      Answer must be 1-30 characters in length. 
                  DESCRIPTION:      This code represents this VA Generic within this coding system.  For example; Cetirizine
                                    RxCUI=20610. The entry would be 20610.  

                  AUDIT:            YES, ALWAYS
                  CROSS-REFERENCE:  50.651^B 
                                    1)= S ^PSNDF(50.6,DA(2),5,DA(1),1,"B",$E(X,1,30),DA)=""
                                    2)= K ^PSNDF(50.6,DA(2),5,DA(1),1,"B",$E(X,1,30),DA)






50.6,99.98    MASTER ENTRY FOR VUID  VUID;2 SET (Required)

                                '1' FOR YES; 
                                '0' FOR NO; 
              LAST EDITED:      MAY 11, 2005 
              DESCRIPTION:
                                This field identifies the Master entry for a VUID associated with a Term/Concept.  

              WRITE AUTHORITY:  ^
                                UNEDITABLE
              RECORD INDEXES:   AMASTERVUID (#611)

50.6,99.99    VUID                   VUID;1 FREE TEXT (Required)

              INPUT TRANSFORM:  S X=+X K:$L(X)>20!($L(X)<1)!'(X?1.20N) X
              LAST EDITED:      MAY 11, 2005 
              HELP-PROMPT:      Answer must be 1-20 characters in length. 
              DESCRIPTION:
                                VHA Unique ID (VUID). A unique meaningless integer assigned to reference terms VHA wide.  

              WRITE AUTHORITY:  ^
                                UNEDITABLE
              NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER

              CROSS-REFERENCE:  50.6^AVUID 
                                1)= S ^PSNDF(50.6,"AVUID",$E(X,1,30),DA)=""
                                2)= K ^PSNDF(50.6,"AVUID",$E(X,1,30),DA)
                                3)= XXX-CAN'T BE ALTERED EXCEPT PROGRAMMER
                                This cross-reference is by VUID.  


              RECORD INDEXES:   AMASTERVUID (#611)

50.6,99.991   EFFECTIVE DATE TIME    TERMSTATUS;0 DATE Multiple #50.6009 (Add New Entry without Asking)

              DESCRIPTION:
                                Describes the pair Status and Effective Date/Time for each reference term.  


50.6009,.01     EFFECTIVE DATE TIME    0;1 DATE (Required)

                INPUT TRANSFORM:  S %DT="ESTX" D ^%DT S X=Y K:Y<1 X
                LAST EDITED:      MAY 11, 2005 
                DESCRIPTION:
                                  This is the date/time when the Status of the reference term was established.  

                WRITE AUTHORITY:  ^
                                  UNEDITABLE
                NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER

                CROSS-REFERENCE:  50.6009^B 
                                  1)= S ^PSNDF(50.6,DA(1),"TERMSTATUS","B",$E(X,1,30),DA)=""
                                  2)= K ^PSNDF(50.6,DA(1),"TERMSTATUS","B",$E(X,1,30),DA)


50.6009,.02     STATUS                 0;2 SET (Required)

                                  '1' FOR ACTIVE; 
                                  '0' FOR INACTIVE; 
                LAST EDITED:      MAY 11, 2005 
                DESCRIPTION:      The Status of a reference term is either 'ACTIVE' or 'INACTIVE'. If the term 'ACTIVE', then the
                                  term will be accessible by end-users to document a particular  patient event. If 'INACTIVE', then
                                  the term will only be accessible by the application to display legacy data.  

                WRITE AUTHORITY:  ^
                                  UNEDITABLE



File #50.6

  Record Indexes:

  AMASTERVUID (#611)    RECORD    REGULAR    IR    SORTING ONLY
      Short Descr:  This cross-refernce identifies the Master entry for a VUID.
      Description:  If multiple entries have the same VUID in the file, this cross-reference can be used to identify the Master
                    entry for a VUID associated with a Term/Concept.  
        Set Logic:  S ^PSNDF(50.6,"AMASTERVUID",$E(X(1),1,30),X(2),DA)=""
       Kill Logic:  K ^PSNDF(50.6,"AMASTERVUID",$E(X(1),1,30),X(2),DA)
       Whole Kill:  K ^PSNDF(50.6,"AMASTERVUID")
             X(1):  VUID  (50.6,99.99)  (Subscr 1)  (Len 30)  (forwards)
             X(2):  MASTER ENTRY FOR VUID  (50.6,99.98)  (Subscr 2)  (forwards)


INPUT TEMPLATE(S):

PRINT TEMPLATE(S):
PSANDC                        MAR 26, 1992@12:27  USER #0                                                        NATIONAL DRUG LIST

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):