STANDARD DATA DICTIONARY #62.1 -- DELTA CHECKS FILE                                                               3/24/25    PAGE 1
STORED IN ^LAB(62.1,  (22 ENTRIES)   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                                      (VERSION 5.2)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
The DELTA CHECKS file contains entries whose use is optional.  They are entered in the LABORATORY TEST file (#60) under the
site/specimen for the field 'Type of delta check'.  The field 'Delta value' may be used or need to have an entry depending on the
type of delta check.  If test results are being entered or reviewed for verification on a test that has an entry in the 'Type of
delta check' field for that site/specimen then the code in the DELTA CHECK file is executed.  Usually the delta check is used to
prompt back to the technologist a warning that there is some inconsistency in the data, so that the data can be rechecked before it
is verified.  Delta checks can be used for other reasons such as skipping over entries that do not need to be prompted or for doing
calulations on data and storing the calculated results.  



POINTED TO BY: TYPE OF DELTA CHECK field (#7) of the SITE/SPECIMEN sub-field (#60.01) of the LABORATORY TEST File (#60) 
               

CROSS
REFERENCED BY: NAME(B)



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

              INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3)!'(X'?1P.E)!(X'?.ANP) X
              LAST EDITED:      JUN 14, 1983 
              HELP-PROMPT:      ANSWER MUST BE 3-30 CHARACTERS IN LENGTH 
              DESCRIPTION:      The name of the delta check.  It may be either an absolute or a percentage check.  It may also be
                                used for making range comparisons.  

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


62.1,10       XECUTABLE CODE         1;E1,250 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>245!($L(X)<2) X D ^DIM:$D(X)
              LAST EDITED:      MAY 07, 1987 
              HELP-PROMPT:      ANSWER MUST BE 2-245 CHARACTERS IN LENGTH 
              DESCRIPTION:      MUMPS code describing the delta check.  Example:  For the Delta Checks Name "ABS VALLUE" (absolute
                                value) the Executable code is Q:X=""!(X1="")!(+X2=0) S Y=0,X3=X-X1 S:X3<0 X3=-X3 I X3>X2 S Y=1 W " 
                                <>  ",7,X3.  This statement ends the routine if the response is null (carriage
                                return), if the previous value (X1) is null, or if the maximum difference is 0.  If not, the
                                difference between current and previous value (X3=X-X1) is computed and converted to the absolute
                                value and the message "  <>  ", a bell, and the absolute value is printed.  

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


62.1,20       OVERFLOW 1             2;E1,250 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>245!($L(X)<1) X D ^DIM:$D(X)
              LAST EDITED:      MAY 07, 1987 
              HELP-PROMPT:      ANSWER MUST BE 1-245 CHARACTERS IN LENGTH 
              DESCRIPTION:
                                This field provides room for continuation of the code in the XECUTABLE CODE field, if needed.  

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


62.1,30       DESCRIPTION            3;0   WORD-PROCESSING #62.11

              DESCRIPTION:
                                This field contains information about how the delta check is used, or what it does.  


                LAST EDITED:      FEB 14, 1985 
                DESCRIPTION:
                                  This field contains information about how the delta check is used, or what it does.  




62.1,31       SITE NOTES DATE        4;0 DATE Multiple #62.131

              DESCRIPTION:
                                 The date of this particular note.  


62.131,.01      SITE NOTES DATE        0;1 DATE

                INPUT TRANSFORM:  S %DT="E" D ^%DT S X=Y K:Y<1 X
                LAST EDITED:      SEP 12, 1993 
                CROSS-REFERENCE:  62.131^B 
                                  1)= S ^LAB(62.1,DA(1),4,"B",$E(X,1,30),DA)=""
                                  2)= K ^LAB(62.1,DA(1),4,"B",$E(X,1,30),DA)


62.131,1        TEXT                   1;0   WORD-PROCESSING #62.1311

                DESCRIPTION:
                                   The actual text of the note.  


                  LAST EDITED:      SEP 12, 1993 





62.1,60.1     TEST NAME FOR INPUT VALUE 1 5;1 POINTER TO LABORATORY TEST FILE (#60)

              LAST EDITED:      SEP 24, 2002 
              DESCRIPTION:       This field is a pointer to a test that will contain the result value of the first incoming test.
                                The result value should be stored in the variable LRSB(X) - where X is the data name IEN from
                                ^DD(63.04.  


62.1,60.2     TEST NAME FOR INPUT VALUE 2 5;2 POINTER TO LABORATORY TEST FILE (#60)

              LAST EDITED:      SEP 24, 2002 
              DESCRIPTION:       This field is a pointer to a test that will contain the result value of the second incoming test.
                                The result value should be stored in the variable LRSB(X) - where X is the data name IEN from
                                ^DD(63.04.  


62.1,60.3     TEST NAME FOR INPUT VALUE 3 5;3 POINTER TO LABORATORY TEST FILE (#60)

              LAST EDITED:      SEP 24, 2002 
              DESCRIPTION:       This field is a pointer to a test that will contain the result value of the third incoming test.
                                The result value should be stored in the variable LRSB(X) - where X is the data name IEN from
                                ^DD(63.04.  


62.1,61.1     TEST NAME FOR OUTPUT VALUE 1 5;4 POINTER TO LABORATORY TEST FILE (#60)

              LAST EDITED:      SEP 24, 2002 
              DESCRIPTION:      This field is a pointer to a test that will contain the calculated value of the first outgoing
                                test. The calculated value should be stored in the variable LRSB(X) - where X is the data name IEN
                                from ^DD(63.04.  



      FILES POINTED TO                      FIELDS

LABORATORY TEST (#60)             TEST NAME FOR INPUT VALUE 1 (#60.1)
                                  TEST NAME FOR INPUT VALUE 2 (#60.2)
                                  TEST NAME FOR INPUT VALUE 3 (#60.3)
                                  TEST NAME FOR OUTPUT VALUE 1 (#61.1)



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):