STANDARD DATA DICTIONARY #601.75 -- MH CHOICES FILE                                                               3/24/25    PAGE 1
STORED IN ^YTT(601.75,  (4922 ENTRIES)   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                                 (VERSION 5.01)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This 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), a single character is 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.  


              DD ACCESS: @
              RD ACCESS: @
              WR ACCESS: @
             DEL ACCESS: @
           LAYGO ACCESS: @
           AUDIT ACCESS: @
IDENTIFIED BY: CHOICE TEXT (#3)

POINTED TO BY: CHOICE ID field (#2) of the MH CHOICETYPES File (#601.751) 
               CHOICE ID field (#4) of the MH ANSWERS File (#601.85) 
               ANSWER field (#5) of the MH CR SCRATCH File (#601.94) 
               

CROSS
REFERENCED BY: CHOICES NUMBER(B)

INDEXED BY:    CHOICE TEXT & LEGACY VALUE (AC), CHOICE TEXT (AU), CHOICE TEXT (C)


    LAST MODIFIED: SEP 12,2019@12:07:53

601.75,.01    CHOICES NUMBER         0;1 NUMBER (Required)

              INPUT TRANSFORM:  S:$TR(X,"new","NEW")="NEW" X=$$NEW^YTQLIB(601.75) K:+X'=X!(X>9999999)!(X<1)!(X?.E1"."1N.N) X S:$G(X
                                ) DINUM=X
              LAST EDITED:      JUL 24, 2003 
              HELP-PROMPT:      Type a Number between 1 and 9999, 0 Decimal Digits 
              DESCRIPTION:      This is the unique identifier for the choice. It is the IEN. Numbers under 100,000 are part of the
                                national database and may not be edited at the local level.  

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

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


601.75,3      CHOICE TEXT            1;1 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>240!($L(X)<1) X
              LAST EDITED:      FEB 10, 2011 
              HELP-PROMPT:      Answer must be 1-240 characters in length. 
              DESCRIPTION:
                                Text of the alternative in a multiple choice test, eg. True, None of the Above.  

              FIELD INDEX:      AU (#735)    REGULAR    IR    SORTING ONLY
                  Short Descr:  Uppercase CHOICE TEXT (#3) for sorting
                  Description:  This is a regular cross-reference to allow sorting on the uppercase value of the CHOICE TEXT field
                                (#3).  
                    Set Logic:  S ^YTT(601.75,"AU",$E(X,1,240),DA)=""
                   Kill Logic:  K ^YTT(601.75,"AU",$E(X,1,240),DA)
                   Whole Kill:  K ^YTT(601.75,"AU")
                         X(1):  CHOICE TEXT  (601.75,3)  (Subscr 1)  (Len 240)  (forwards)
                                  Transform (Storage):  S X=$$UP^XLFSTR(X)

              FIELD INDEX:      C (#736)    REGULAR    IR    LOOKUP & SORTING
                  Short Descr:  Lookup & sorting on CHOICE TEXT (#3)
                  Description:  This is a regular cross-reference to allow lookup and sorting on the CHOICE TEXT field (#3).  
                    Set Logic:  S ^YTT(601.75,"C",$E(X,1,240),DA)=""
                   Kill Logic:  K ^YTT(601.75,"C",$E(X,1,240),DA)
                   Whole Kill:  K ^YTT(601.75,"C")
                         X(1):  CHOICE TEXT  (601.75,3)  (Subscr 1)  (Len 240)  (forwards)

              RECORD INDEXES:   AC (#215)

601.75,4      LEGACY VALUE           0;2 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>3!($L(X)<1) X
              MAXIMUM LENGTH:   3
              LAST EDITED:      DEC 06, 2018 
              HELP-PROMPT:      Answer must be 1-3 characters in length. 
              DESCRIPTION:      If instrument was defined in MH INSTRUMENTS file (#601), the single value character that would be
                                stored in the PSYCH INSTRUMENT PATIENT file (#601.2). 

              RECORD INDEXES:   AC (#215)

File #601.75

  Record Indexes:

  AC (#215)    RECORD    REGULAR    IR    SORTING ONLY
      Short Descr:  CHOICE TEXT (#3) & LEGACY VALUE (#4) for sorting
      Description:  This is a regular cross-reference to allow sorting on the CHOICE TEXT (#3) and LEGACY VALUE (#4) fields.  
        Set Logic:  S ^YTT(601.75,"AC",$E(X(1),1,200),$E(X(2),1,30),DA)=""
       Kill Logic:  K ^YTT(601.75,"AC",$E(X(1),1,200),$E(X(2),1,30),DA)
       Whole Kill:  K ^YTT(601.75,"AC")
             X(1):  CHOICE TEXT  (601.75,3)  (Subscr 1)  (Len 200)  (forwards)
             X(2):  LEGACY VALUE  (601.75,4)  (Subscr 2)  (Len 30)  (forwards)


INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):