STANDARD DATA DICTIONARY #6005 -- VBECS MATCHING TABLE FILE                                                       3/24/25    PAGE 1
STORED IN ^VBEC(6005,  *** NO DATA STORED YET ***   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                       (VERSION 5.2)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
The purpose of this file is to store different VistA data elements for the purpose of linking them to standard VBEC data elements. 


              DD ACCESS: @
              RD ACCESS: @
              WR ACCESS: @
             DEL ACCESS: @
           LAYGO ACCESS: @
           AUDIT ACCESS: @
IDENTIFIED BY: NAME ATTRIBUTE (#.02)[R], IDENTIFIER ATTRIBUTE (#.03)

CROSS
REFERENCED BY: FILE-IEN(AA1), NAME ATTRIBUTE(AA2), FILE-IEN(AB1), STANDARD VBECS DATA(AB2), FILE-IEN(B), STANDARD VBECS DATA(D), 
               NAME ATTRIBUTE(N), IDENTIFIER ATTRIBUTE(VA)



6005,.01      FILE-IEN               0;1 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>18!($L(X)<3)!(X'?2N0.1"."0.2N0.1"-"0.12N) X
              LAST EDITED:      JUL 17, 2002 
              HELP-PROMPT:      Please answer with a 'file-ien' combination between 3-18 characters in length with a '-' separating 
                                the file number and ien.  The file number may have a decimal imbedded.  
              DESCRIPTION:
                                This field identifies the file and record number (ien) of the data.  

              DELETE TEST:      1,0)= I 1 D EN^DDIOL("VistA Blood Bank data cannot be deleted.")

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

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

              CROSS-REFERENCE:  6005^AA1^MUMPS 
                                1)= N VBEC S VBEC(0)=$G(^VBEC(6005,DA,0)) S:$P(VBEC(0),"^",2)]"" ^VBEC(6005,"AA",X,$P(VBEC(0),"^",2
                                ),DA)=""

                                2)= N VBEC S VBEC(0)=$G(^VBEC(6005,DA,0)) K:$P(VBEC(0),"^",2)]"" ^VBEC(6005,"AA",X,$P(VBEC(0),"^",2
                                ),DA)
                                3)= do not delete
                                Links the names of VistA Blood bank attributes with their unique file number-internal entry number
                                pair.  


              CROSS-REFERENCE:  6005^AB1^MUMPS 
                                1)= N VBEC S VBEC=$G(^VBEC(6005,DA,0)) S:$P(VBEC,"^",5)]"" ^VBEC(6005,"AB",+X,$P(VBEC,"^",5),DA)=""
                                2)= N VBEC S VBEC=$G(^VBEC(6005,DA,0)) K:$P(VBEC,"^",5)]"" ^VBEC(6005,"AB",+X,$P(VBEC,"^",5),DA)
                                3)= Do not delete.
                                Used to help purge and print mapping table data.  Cross-reference is also used to check if more
                                than one VistA record is mapped to a standardized data element.  



6005,.02      NAME ATTRIBUTE         0;2 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>40!($L(X)<1) X
              LAST EDITED:      JUL 23, 2003 
              HELP-PROMPT:      Answer must be 1-40 characters in length. 
              DESCRIPTION:      The intention is to keep track of any edits to the name attribute.  If the name attribute changes
                                through edits on the VistA side, the mapping process will need to be performed.  

              CROSS-REFERENCE:  6005^AA2^MUMPS 
                                1)= N VBEC S VBEC(0)=$G(^VBEC(6005,DA,0)) S:$P(VBEC(0),"^") ^VBEC(6005,"AA",$P(VBEC(0),"^"),X,DA)="
                                "

                                2)= N VBEC S VBEC(0)=$G(^VBEC(6005,DA,0)) K:$P(VBEC(0),"^") ^VBEC(6005,"AA",$P(VBEC(0),"^"),X,DA)
                                3)= do not delete
                                Links the names of VistA Blood bank attributes with their unique file number-internal entry number
                                pair.  


              CROSS-REFERENCE:  6005^N^MUMPS 
                                1)= S ^VBEC(6005,"N",$E(X,1,40),DA)=""
                                2)= K ^VBEC(6005,"N",$E(X,1,40),DA)
                                3)= Do not delete, allows the user to select data by name.
                                This cross-reference will allow the user greater flexibility when selecting VistA Blood Bank data
                                elements.  The FILE-IEN (.01) field is confusing to the Blood Bank ADPAC.  The name of the data
                                element, not the IEN, will be the way that the user goes about selecting data elements.  



6005,.03      IDENTIFIER ATTRIBUTE   0;3 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>80!($L(X)<1) X
              LAST EDITED:      AUG 20, 2003 
              HELP-PROMPT:      Answer must be 1-80 characters in length. 
              DESCRIPTION:      The intention is to keep track of any edits to the identifier attribute.  If the identifier
                                attribute changes on the VistA side, the mapping process will need to be performed.  

              CROSS-REFERENCE:  6005^VA 
                                1)= S ^VBEC(6005,"VA",$E(X,1,30),DA)=""
                                2)= K ^VBEC(6005,"VA",$E(X,1,30),DA)
                                3)= Do not delete.
                                Cross-references by attribute to aid in standard VistA data record selection.  



6005,.04      ANTIGEN/ANTIBODY IDENTFIER 0;4 SET

                                'AB' FOR Antibody; 
                                'AN' FOR Antigen; 
              LAST EDITED:      JUN 20, 2002 
              HELP-PROMPT:      This is not intended to be a user interactive field. 
              DESCRIPTION:      This field is used to identify the entity to a greater granularity.  When mapping Function Field
                                (#61.3) data only, it will need to be known whether the entity is an antigen or an antibody.  


6005,.05      STANDARD VBECS DATA    0;5 POINTER TO STANDARD VBECS DATA FILE (#6007)

              LAST EDITED:      JUL 17, 2002 
              HELP-PROMPT:      This is the standard VBECS attribute our VistA record maps to. 
              DESCRIPTION:      This field will store the pointer to the STANDARD VBECS DATA (#6007) file.  From this, we can
                                derive the globally unique identifier (GUID) of the standard data value.  

              CROSS-REFERENCE:  6005^AB2^MUMPS 
                                1)= S VBEC=$G(^VBEC(6005,DA,0)) S:$P(VBEC,"^")]"" ^VBEC(6005,"AB",+$P(VBEC,"^"),X,DA)=""
                                2)= S VBEC=$G(^VBEC(6005,DA,0)) K:$P(VBEC,"^")]"" ^VBEC(6005,"AB",+$P(VBEC,"^"),X,DA)
                                3)= Do not delete...
                                Used to help purge and print mapping table data.  Cross-reference is also used to check if more
                                than one VistA record is mapped to a standardized data element.  


              CROSS-REFERENCE:  6005^D 
                                1)= S ^VBEC(6005,"D",$E(X,1,30),DA)=""
                                2)= K ^VBEC(6005,"D",$E(X,1,30),DA)
                                3)= Do not delete...
                                Used to select a single mapped record for deletion.  



6005,.06      CHECKSUM               0;6 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>999999999999999)!(X<0)!(X?.E1"."1N.N) X
              LAST EDITED:      JUL 26, 2002 
              HELP-PROMPT:      Enter the checksum value of the name attribute and identifier attribute (optional). 
              DESCRIPTION:
                                Indicates the total checksum values of the name attribute and identifier attribute (optional).  

              TECHNICAL DESCR:
                                Strings are passed into the CHECKSUM^VBECDCU2 module and their nummeric checksum value is returned.  


6005,.07      TIMESTAMP              0;7 DATE

              INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      JUL 26, 2002 
              HELP-PROMPT:      Enter the date/time the record was added, edited, or deleted. 
              DESCRIPTION:
                                Indicates the date/time the record was added, edited, or deleted.  



      FILES POINTED TO                      FIELDS

STANDARD VBECS DATA (#6007)       STANDARD VBECS DATA (#.05)



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):