STANDARD DATA DICTIONARY #66.3 -- MASTER LABORATORY TEST FILE                                                     3/24/25    PAGE 1
STORED IN ^LRMLTF(  (17 ENTRIES)   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                                        (VERSION 5.2)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This is the Master Laboratory Test file.  It contains the standardized Lab Test Name and its associated LOINC code.  The Lab will
associate their local test to this file (^LAB(60,test#,1,specimen#)).  
 
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 the VHA Directive's 
2005-044 effective date shall not be supported.  


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

   APPLICATION GROUP(S): LR
IDENTIFIED BY: LOINC CODE (#.04)[R], SPECIMEN (#.08)[R], METHOD (#1)

POINTED TO BY: MLTF NUMBER field (#30) of the SITE/SPECIMEN sub-field (#60.01) of the LABORATORY TEST File (#60) 
               REPLACED BY VHA STANDARD TERM field (#99.97) of the MASTER LABORATORY TEST File (#66.3) 
               

CROSS
REFERENCED BY: REPLACED BY VHA STANDARD TERM(AREPLACETERM), VUID(AVUID), LOINC CODE(C)

INDEXED BY:    VUID & MASTER ENTRY FOR VUID (AMASTERVUID), LAB TEST NAME (B), ALTERNATE TEST NAME (D)


    LAST MODIFIED: JUL 6,2018@14:38:52

66.3,.01      LAB TEST NAME          0;1 FREE TEXT (Required) (audited)

              INPUT TRANSFORM:  K:$L(X)>230!($L(X)<1) X
              MAXIMUM LENGTH:   230
              LAST EDITED:      FEB 13, 2018 
              HELP-PROMPT:      Answer must be 1-230 characters in length. 
              DESCRIPTION:      This is the National Master Laboratory Test file (MLTF) 
                                 for associating lab tests with LOINC Codes and should not be edited.  

              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:      1,0)= D:'$D(XUMF) EN^DDIOL("Entries must be inactivated via the Master File Server (MFS).","","!?5,
                                $C(7)") I $D(XUMF)

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

              WRITE AUTHORITY:  ^
              FIELD INDEX:      B (#1517)    REGULAR    IR    LOOKUP & SORTING
                  Short Descr:  New style Cross Reference for 60 characters.
                  Description:  The 'B' cross reference is being created here due to the 30 character limiting the traditional 'B'
                                cross reference.  This 'B' cross reference is for a 60 character length.  
                    Set Logic:  S ^LRMLTF("B",$E(X,1,60),DA)=""
                   Kill Logic:  K ^LRMLTF("B",$E(X,1,60),DA)
                   Whole Kill:  K ^LRMLTF("B")
                         X(1):  LAB TEST NAME  (66.3,.01)  (Subscr 1)  (Len 60)  (forwards)


66.3,.02      ALTERNATE TEST NAME    1;1 FREE TEXT (audited)

              INPUT TRANSFORM:  K:$L(X)>230!($L(X)<1) X
              MAXIMUM LENGTH:   230
              LAST EDITED:      FEB 27, 2018 
              HELP-PROMPT:      Answer must be 1-230 characters in length. 
              DESCRIPTION:
                                This is the 'short name' for the Master Laboratory Test file.  

              AUDIT:            YES, ALWAYS
              WRITE AUTHORITY:  ^
              FIELD INDEX:      D (#1518)    REGULAR    IR    LOOKUP & SORTING
                  Short Descr:  New Style Alternate Name index for 60 characters
                  Description:  This 'New' style cross reference is to allow the user to lookup by the Alt Name in addition to the
                                'B' and 'C' cross references.  
                    Set Logic:  S ^LRMLTF("D",$E(X,1,60),DA)=""
                   Kill Logic:  K ^LRMLTF("D",$E(X,1,60),DA)
                   Whole Kill:  K ^LRMLTF("D")
                         X(1):  ALTERNATE TEST NAME  (66.3,.02)  (Subscr 1)  (Len 60)  (forwards)


66.3,.04      LOINC CODE             2;2 FREE TEXT (Required) (audited)

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
              MAXIMUM LENGTH:   20
              LAST EDITED:      MAR 21, 2018 
              HELP-PROMPT:      Answer must be 1-20 characters in length. 
              DESCRIPTION:
                                This is the LOINC code that will be associated to the lab test name and VUID.  

              AUDIT:            YES, ALWAYS
              WRITE AUTHORITY:  ^
              CROSS-REFERENCE:  66.3^C 
                                1)= S ^LRMLTF("C",$E(X,1,30),DA)=""
                                2)= K ^LRMLTF("C",$E(X,1,30),DA)
                                Additional lookup field for the LIMs.  



66.3,.05      COMPONENT              2;3 FREE TEXT (Required) (audited)

              INPUT TRANSFORM:  K:$L(X)>230!($L(X)<1) X
              MAXIMUM LENGTH:   230
              LAST EDITED:      FEB 08, 2018 
              HELP-PROMPT:      Answer must be 1-230 characters in length. 
              DESCRIPTION:
                                This is the Lab COMPONENT value used in matching a Lab test to a LOINC Code.  

              AUDIT:            YES, ALWAYS
              WRITE AUTHORITY:  ^

66.3,.06      PROPERTY               2;4 FREE TEXT (Required) (audited)

              INPUT TRANSFORM:  K:$L(X)>230!($L(X)<1) X
              MAXIMUM LENGTH:   230
              LAST EDITED:      FEB 07, 2018 
              HELP-PROMPT:      Answer must be 1-230 characters in length. 
              DESCRIPTION:
                                This is the Lab PROPERTY value used in matching a Lab test to a LOINC Code.  

              AUDIT:            YES, ALWAYS
              WRITE AUTHORITY:  ^

66.3,.07      TIME ASPECT            3;1 FREE TEXT (Required) (audited)

              INPUT TRANSFORM:  K:$L(X)>230!($L(X)<1) X
              MAXIMUM LENGTH:   230
              LAST EDITED:      FEB 07, 2018 
              HELP-PROMPT:      Answer must be 1-230 characters in length. 
              DESCRIPTION:
                                This is the Lab TIME ASPECT value used in matching a Lab test to a LOINC Code.  

              AUDIT:            YES, ALWAYS
              WRITE AUTHORITY:  ^

66.3,.08      SPECIMEN               3;2 FREE TEXT (Required) (audited)

              INPUT TRANSFORM:  K:$L(X)>230!($L(X)<1) X
              MAXIMUM LENGTH:   230
              LAST EDITED:      FEB 07, 2018 
              HELP-PROMPT:      Answer must be 1-230 characters in length. 
              DESCRIPTION:
                                This is the Lab SPECIMEN (site/specimen) value used in matching a Lab test to a LOINC Code.  

              AUDIT:            YES, ALWAYS
              WRITE AUTHORITY:  ^

66.3,.09      SCALE                  3;3 FREE TEXT (Required) (audited)

              INPUT TRANSFORM:  K:$L(X)>230!($L(X)<1) X
              MAXIMUM LENGTH:   230
              LAST EDITED:      FEB 07, 2018 
              HELP-PROMPT:      Answer must be 1-230 characters in length. 
              DESCRIPTION:
                                This is the Lab SCALE value used in matching a Lab test to a LOINC Code.  

              AUDIT:            YES, ALWAYS
              WRITE AUTHORITY:  ^

66.3,1        METHOD                 3;4 FREE TEXT (audited)

              INPUT TRANSFORM:  K:$L(X)>230!($L(X)<1) X
              MAXIMUM LENGTH:   230
              LAST EDITED:      FEB 07, 2018 
              HELP-PROMPT:      Answer must be 1-230 characters in length. 
              DESCRIPTION:
                                This is the Lab METHOD value used in matching a Lab test to a LOINC Code.  

              AUDIT:            YES, ALWAYS
              WRITE AUTHORITY:  ^

66.3,99.97    REPLACED BY VHA STANDARD TERM VUID;3 POINTER TO MASTER LABORATORY TEST FILE (#66.3) (audited)

              LAST EDITED:      APR 20, 2016 
              HELP-PROMPT:      Enter the pointer to the VHA Standard Term 
              DESCRIPTION:      This field is populated when one Term/Concept replaces another Term/Concept. This field is
                                controlled by standardization and should only be changed by standardization processes. This field
                                contains a pointer to a VHA standard term that replaces this entry.  

              AUDIT:            YES, ALWAYS
              WRITE AUTHORITY:  ^
                                UNEDITABLE
              CROSS-REFERENCE:  66.3^AREPLACETERM 
                                1)= S ^LRMLTF("AREPLACETERM",$E(X,1,30),DA)=""
                                2)= K ^LRMLTF("AREPLACETERM",$E(X,1,30),DA)
                                This cross-reference can be used to identify the replacement entries associated with a
                                Term/Concept.  



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

                                '0' FOR NO; 
                                '1' FOR YES; 
              LAST EDITED:      APR 20, 2016 
              HELP-PROMPT:      Enter 1 if this is the master entry 
              DESCRIPTION:
                                This field identifies the Master entry for a VUID associated with a Term/Concept.  

              AUDIT:            YES, ALWAYS
              WRITE AUTHORITY:  ^
                                UNEDITABLE
              RECORD INDEXES:   AMASTERVUID (#1424)

66.3,99.99    VUID                   VUID;1 FREE TEXT (Required) (audited)

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1)!'(X?1.20N) X
              LAST EDITED:      APR 20, 2016 
              HELP-PROMPT:      Answer must be 1-20 digits in length, only the first 19 are used. 
              DESCRIPTION:
                                VHA Unique ID (VUID). A unique arbitrary integer assigned to reference terms VHA wide.  

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

              CROSS-REFERENCE:  66.3^AVUID 
                                1)= S ^LRMLTF("AVUID",$E(X,1,30),DA)=""
                                2)= K ^LRMLTF("AVUID",$E(X,1,30),DA)
                                This cross-reference is by VUID.  


              RECORD INDEXES:   AMASTERVUID (#1424)

66.3,99.991   EFFECTIVE DATE/TIME    TERMSTATUS;0 DATE Multiple #66.399 (Add New Entry without Asking)

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


66.399,.01      EFFECTIVE DATE/TIME    0;1 DATE (Required) (audited)

                INPUT TRANSFORM:  S %DT="ESTR" D ^%DT S X=Y K:Y<1 X
                LAST EDITED:      APR 20, 2016 
                HELP-PROMPT:      Enter the date/time when the term status was established. 
                DESCRIPTION:
                                  This is the date/time when the Status of the referenced term was established.  

                AUDIT:            YES, ALWAYS
                WRITE AUTHORITY:  ^
                                  UNEDITABLE
                CROSS-REFERENCE:  66.399^B 
                                  1)= S ^LRMLTF(DA(1),"TERMSTATUS","B",$E(X,1,30),DA)=""
                                  2)= K ^LRMLTF(DA(1),"TERMSTATUS","B",$E(X,1,30),DA)
                                  This cross-reference is by effective Date/Time.  



66.399,.02      STATUS                 0;2 SET (Required) (audited)

                                  '0' FOR INACTIVE; 
                                  '1' FOR ACTIVE; 
                LAST EDITED:      APR 20, 2016 
                HELP-PROMPT:      Enter 1 if the Term is active or 0 if the Term is inactive. 
                DESCRIPTION:      The Status of a reference term is either 'ACTIVE'  or 'INACTIVE'. If '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.  

                AUDIT:            YES, ALWAYS
                WRITE AUTHORITY:  ^
                                  UNEDITABLE




      FILES POINTED TO                      FIELDS

MASTER LABORATORY TEST (#66.3)    REPLACED BY VHA STANDARD TERM (#99.97)


File #66.3

  Record Indexes:

  AMASTERVUID (#1424)    RECORD    REGULAR    IR    SORTING ONLY
      Short Descr:  This cross-reference 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 ^LRMLTF("AMASTERVUID",$E(X(1),1,30),X(2),DA)=""
       Kill Logic:  K ^LRMLTF("AMASTERVUID",$E(X(1),1,30),X(2),DA)
       Whole Kill:  K ^LRMLTF("AMASTERVUID")
             X(1):  VUID  (66.3,99.99)  (Subscr 1)  (Len 30)  (forwards)
             X(2):  MASTER ENTRY FOR VUID  (66.3,99.98)  (Subscr 2)  (forwards)


INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):