STANDARD DATA DICTIONARY #601.94 -- MH CR SCRATCH FILE                                                            3/24/25    PAGE 1
STORED IN ^YTT(601.94,  *** NO DATA STORED YET ***   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                     (VERSION 5.01)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file is used as temporary storage space for the interface between the MHA3 DLL and Clinical Reminders.  
 
The data in this file cannot be entered manually and is managed by the MHA3 DLL. Data in this file is routinely purged. The data in
this file is transferred to files MH Administrations 601.84 and MH Answers 601.85 and then deleted when the Clinical Reminder is
completed.  


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

CROSS
REFERENCED BY: RESPONSE DATE(AD), HANDLE(AE), ID NUMBER(B)

INDEXED BY:    USER & PATIENT & INSTRUMENT & HANDLE (AF)




601.94,.01    ID NUMBER              0;1 NUMBER (Required)

              INPUT TRANSFORM:  S:$TR(X,"new","NEW")="NEW" X=$$NEW^YTQLIB(601.94) K:+X'=X!(X>9999999)!(X<1)!(X?.E1"."1N.N) X S:$G(X
                                ) DINUM=X
              LAST EDITED:      OCT 23, 2008 
              HELP-PROMPT:      Type a Number between 1 and 99999999999, 0 Decimal Digits or NEW. 
              DESCRIPTION:      This is a unique number identifying this entry. It is the same as the internal .001 DINUM.  
                                 
                                You may enter 'New' and the correct number will automatically be assgined.  

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

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


601.94,1      PATIENT                0;2 POINTER TO PATIENT FILE (#2) (Required)

              LAST EDITED:      OCT 22, 2008 
              HELP-PROMPT:      Enter name of the patient to whom the data applies. 
              DESCRIPTION:      The field specifies the patient (File #2) about which the current data applies. This is the DFN
                                that is associated with the Instrument Results.  

              RECORD INDEXES:   AF (#822)

601.94,2      RESPONSE DATE          0;3 DATE

              INPUT TRANSFORM:  S %DT="ESTR" D ^%DT S X=Y K:X<1 X
              LAST EDITED:      OCT 22, 2008 
              HELP-PROMPT:      Please enter the date/time of the data entered, most often NOW. 
              DESCRIPTION:
                                Date/Time of responses given via the reminder.  

              CROSS-REFERENCE:  601.94^AD 
                                1)= S ^YTT(601.94,"AD",$E(X,1,30),DA)=""
                                2)= K ^YTT(601.94,"AD",$E(X,1,30),DA)


601.94,3      INSTRUMENT             0;4 POINTER TO MH TESTS AND SURVEYS FILE (#601.71)

              LAST EDITED:      OCT 22, 2008 
              HELP-PROMPT:      Select the name of the instrument being completed. 
              DESCRIPTION:
                                Instrument from MHA3 file 601.71 that is the basis of the clinical reminder.  

              RECORD INDEXES:   AF (#822)

601.94,4      QUESTION               0;5 POINTER TO MH QUESTIONS FILE (#601.72)

              LAST EDITED:      OCT 23, 2008 
              HELP-PROMPT:      Select a question from this instrument. 
              DESCRIPTION:      Question number from file 601.72 MH Questions. This is the question being asked as part of the
                                specified instrument on which the Clinical Reminder is based.  


601.94,5      ANSWER                 0;6 POINTER TO MH CHOICES FILE (#601.75)

              LAST EDITED:      OCT 23, 2008 
              HELP-PROMPT:      Select the answer to the question. 
              DESCRIPTION:
                                This is the MH Choice selected as the answer. This is the answer to the question in field 4.  


601.94,6      LEGACY VALUE           0;7 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>3!($L(X)<1) X
              LAST EDITED:      OCT 23, 2008 
              HELP-PROMPT:      Answer must be 1-3 characters in length. 
              DESCRIPTION:      The MH Choices file contains the individual selections possible in a multiple choice question. 
                                Examples are Yes or No, True or False, 1.  Abraham Lincoln, 2. George Washington, 3. George W. Bush
                                or 4. Richard Nixon. For instruments first defined in the legacy system MH INSTRUMENT file (#601),
                                1-3 characters are specified for a multiple choice answer.  If George Washington was the choice
                                selected the legacy value would be 2.  
                                 
                                Choices are pointed to by the MH CHOICETYPES file (#601.751) which is a collection of choices. 
                                Choices are referenced in the MH ANSWERS file (#601.85) as a pointer to the full response.  
                                 
                                 
                                Please remember this field is automatically entered by the MHA3 DLL and Clinical reminders. No user
                                input is allowed.  


601.94,7      IS MULTIPLE CHOICE     0;8 SET

                                'YES' FOR Yes; 
                                'NO' FOR NO; 
              LAST EDITED:      OCT 23, 2008 
              HELP-PROMPT:      Is this question multiple choice? 
              DESCRIPTION:
                                Yes if Question is of Multiple choice type.  


601.94,8      USER                   0;9 POINTER TO NEW PERSON FILE (#200)

              LAST EDITED:      OCT 23, 2008 
              HELP-PROMPT:      Select user entering the data. 
              DESCRIPTION:
                                This is the person who entered the clinical reminder.  

              RECORD INDEXES:   AF (#822)

601.94,9      ANSWER TEXT            1;0   WORD-PROCESSING #601.949

              DESCRIPTION:      Full text of the free text answer. Only populated if the question  specified in field 4 is listed
                                as free text in the MH Questions file (601.72).  


                LAST EDITED:      OCT 23, 2008 



601.94,10     HANDLE                 2;1 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>240!($L(X)<1) X
              LAST EDITED:      OCT 22, 2008 
              HELP-PROMPT:      Enter the windows session handle. 
              DESCRIPTION:      Enter the Unique identifier of the windows session; formally called the Handle. This is the Windows
                                identification of the process calling the MHA3 DLL.  

              CROSS-REFERENCE:  601.94^AE 
                                1)= S ^YTT(601.94,"AE",$E(X,1,30),DA)=""
                                2)= K ^YTT(601.94,"AE",$E(X,1,30),DA)

              RECORD INDEXES:   AF (#822)


      FILES POINTED TO                      FIELDS

MH CHOICES (#601.75)              ANSWER (#5)

MH QUESTIONS (#601.72)            QUESTION (#4)

MH TESTS AND SURVEYS (#601.71)    INSTRUMENT (#3)

NEW PERSON (#200)                 USER (#8)

PATIENT (#2)                      PATIENT (#1)


File #601.94

  Record Indexes:

  AF (#822)    RECORD    REGULAR    IR    SORTING ONLY
      Short Descr:  By User,Patient, test and handle
      Description:  This cross reference allows lookup by User (file 200), Patient (DFN), Test (file 601.71) and the handle of the
                    session calling the DLL, 
        Set Logic:  S ^YTT(601.94,"AF",X(1),X(2),X(3),X(4),DA)=""
       Kill Logic:  K ^YTT(601.94,"AF",X(1),X(2),X(3),X(4),DA)
       Whole Kill:  K ^YTT(601.94,"AF")
             X(1):  USER  (601.94,8)  (Subscr 1)  (forwards)
             X(2):  PATIENT  (601.94,1)  (Subscr 2)  (forwards)
             X(3):  INSTRUMENT  (601.94,3)  (Subscr 3)  (forwards)
             X(4):  HANDLE  (601.94,10)  (Subscr 4)  (forwards)


INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):