STANDARD DATA DICTIONARY #601.4 -- INCOMPLETE PSYCH TEST PATIENT FILE                                             6/27/25    PAGE 1
STORED IN ^YTD(601.4,  *** NO DATA STORED YET ***   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                      (VERSION 5.01)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
File contains tests/interviews that were not completed during a session by an individual patient.  


COMPILED CROSS-REFERENCE ROUTINE: YSXRAE

CROSS
REFERENCED BY: NAME(B)



601.4,.01     NAME                   0;1 POINTER TO PATIENT FILE (#2) (Required)

              INPUT TRANSFORM:  S DINUM=X
              DESCRIPTION:      This is the Patient's name for which this is an incomplete test record.  Actually stored is a
                                pointer value to the PATIENT file.  

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

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


601.4,1       INSTRUMENT             1;0 POINTER Multiple #601.41

              DESCRIPTION:
                                This is a multiple valued field with subfields.  


601.41,.01      INSTRUMENT             0;1 POINTER TO MH INSTRUMENT FILE (#601)

                INPUT TRANSFORM:  S DINUM=X
                LAST EDITED:      MAR 18, 1987 
                DESCRIPTION:      This is the Instrument Code (unique name), stored in this field is the pointer to the INSTRUMENT
                                  file #601.  

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

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


601.41,1        DATE ENTERED           0;2 DATE

                INPUT TRANSFORM:  S %DT="EX" D ^%DT S X=Y K:Y<1 X
                DESCRIPTION:
                                  This is the date the test was given.  


601.41,2        DATE ADMINISTERED CLERICALLY 0;3 DATE

                INPUT TRANSFORM:  S %DT="EX" D ^%DT S X=Y K:Y<1 X
                DESCRIPTION:
                                  This is the date the test was given clerically (pencil and paper, instead of by computer).  


601.41,3        NEXT ITEM              0;4 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>9999)!(X<1)!(X?.E1"."1N.N) X
                HELP-PROMPT:      TYPE A WHOLE NUMBER BETWEEN 1 AND 9999 
                DESCRIPTION:      The next item (next question) in sequence to be asked by the instrument.  This is the restart
                                  point.  


601.41,4        VALID RESPONSE STRING  0;5 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>10!($L(X)<1) X
                HELP-PROMPT:      ANSWER MUST BE 1-10 CHARACTERS IN LENGTH 
                DESCRIPTION:      This is a SET of Valid responses, such as ABCX, TFX or 123X.  That is for the three examples, for
                                  the 1st you may enter 'A', 'B', 'C' or 'X'.  


601.41,5        RESPONSE STRING 1      1;E1,200 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>200!($L(X)<1) X
                HELP-PROMPT:      ANSWER MUST BE 1-200 CHARACTERS IN LENGTH 
                DESCRIPTION:      This is a STRING of responses, 1 to 200 of them, they are position dependent.  For example: if
                                  the instrument asked twenty TRUE & FALSE questions, the string would contain 20 T's and/or F's
                                  (TTTFFTFTFTFTFFTTTFFT) this string indicates answers 1 thru 3 were TRUE, answer 4 FALSE and so
                                  on.  


601.41,6        RESPONSE STRING 2      2;E1,200 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>200!($L(X)<1) X
                HELP-PROMPT:      ANSWER MUST BE 1-200 CHARACTERS IN LENGTH 
                DESCRIPTION:
                                  This is a STRING of responses.  Same as 'RESPONSE STRING 1' only that this is string #2.  


601.41,7        RESPONSE STRING 3      3;E1,200 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>200!($L(X)<1) X
                HELP-PROMPT:      ANSWER MUST BE 1-200 CHARACTERS IN LENGTH 
                DESCRIPTION:
                                  This is a STRING of responses.  Same as 'RESPONSE STRING 1' only that this is string #3.  


601.41,7.5      RESPONSE STRING 99     99;E1,245 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>200!($L(X)<1) X
                LAST EDITED:      JUN 16, 1987 
                HELP-PROMPT:      ANSWER MUST BE 1-200 CHARACTERS IN LENGTH 
                DESCRIPTION:      This is a STRING of responses, 1 to 245 of them.  This is the same format as the three other
                                  fields, 'RESPONSE STRING 1' or 2 or 3.  This is used for string manipulation for specific
                                  instruments.  


601.41,8        BOTTOM                 B;E1,245 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>245!($L(X)<1) X
                HELP-PROMPT:      ANSWER MUST BE 1-245 CHARACTERS IN LENGTH 
                DESCRIPTION:      This is what is displayed at the bottom of the instrument item (question).  Such as 'ANSWER = ',
                                  this field is usually the MUMPS code to generate the displayed line.  


601.41,9        CLERK TEST             0;6 POINTER TO MH INSTRUMENT FILE (#601)

                LAST EDITED:      JAN 16, 1987 
                DESCRIPTION:      This is the instrument code name, it is the same as the instrument field.  If this field is
                                  present, then the test has been clerk entered.  Actually stored in this field is the pointer
                                  value to the MH INSTRUMENT file #601.  

                CROSS-REFERENCE:  601.41^AC 
                                  1)= S ^YTD(601.4,DA(1),1,"AC",$E(X,1,30),DA)=""
                                  2)= K ^YTD(601.4,DA(1),1,"AC",$E(X,1,30),DA)


601.41,16       ORDERED BY             0;7 POINTER TO NEW PERSON FILE (#200)

                LAST EDITED:      JAN 16, 1987 
                DESCRIPTION:      This is the name of the clinician ordering the administration of this instrument to this patient. 
                                  Actually stored in the field is the pointer value pointing to the clinician in the NEW PERSON
                                  file #200.  


601.41,17       RESTART TESTS          R;E1,245 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>245!($L(X)<1) X
                LAST EDITED:      JAN 21, 1987 
                HELP-PROMPT:      ANSWER MUST BE 1-245 CHARACTERS IN LENGTH 
                DESCRIPTION:
                                  Executable MUMPS code for restarting test.  This will be present ONLY if necessary.  


601.41,18       DATE BEGUN             0;8 DATE

                INPUT TRANSFORM:  S %DT="EX" D ^%DT S X=Y K:Y<1 X
                LAST EDITED:      AUG 11, 1987 
                DESCRIPTION:
                                  This is the date the instrument was first administered (test began).  





      FILES POINTED TO                      FIELDS

MH INSTRUMENT (#601)              INSTRUMENT:INSTRUMENT (#.01)
                                  CLERK TEST (#9)

NEW PERSON (#200)                 INSTRUMENT:ORDERED BY (#16)

PATIENT (#2)                      NAME (#.01)



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):