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

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
A MH SCALE is one dimension of measurement in an instrument. An example may simply be a TOTAL as in a spelling test or multiple
scales in a personality disorder instrument (depression, anxiety, thought disorder etc.). Each scale has at least one associated
entry in the MH SCALEGROUP file (#601.86) and an entry in the MH SCORING KEYS file (#601.91).  


              DD ACCESS: @
              RD ACCESS: @
              WR ACCESS: @
             DEL ACCESS: @
           LAYGO ACCESS: @
           AUDIT ACCESS: @
IDENTIFIED BY: SCALE NAME (#3)

POINTED TO BY: Scale field (#1) of the MH SCORING KEYS File (#601.91) 
               

CROSS
REFERENCED BY: SCALEGROUP ID(AD), SCALE ID(B)

INDEXED BY:    SCALEGROUP ID & SCALE SEQUENCE (AC)




601.87,.01    SCALE ID               0;1 NUMBER (Required)

              INPUT TRANSFORM:  S:$TR(X,"new","NEW")="NEW" X=$$NEW^YTQLIB(601.87) K:+X'=X!(X>9999999)!(X<1)!(X?.E1"."1N.N) X S:$G(X
                                ) DINUM=X
              LAST EDITED:      FEB 12, 2004 
              HELP-PROMPT:      Type a Number between 0 and 99999, 0 Decimal Digits 
              DESCRIPTION:      This is the unique record number for MH SCALES file (#601.87). It is the IEN. Numbers under 100,000
                                belong to the national database and should not be edited locally.  

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

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


601.87,1      SCALEGROUP ID          0;2 POINTER TO MH SCALEGROUPS FILE (#601.86)

              LAST EDITED:      FEB 23, 2005 
              DESCRIPTION:      This associates a ScaleGroup with this scale. It is a pointer to the SCALEGROUP ID field (#.01) of
                                the MH SCALEGROUP file (#601.86).  

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

              RECORD INDEXES:   AC (#734)

601.87,2      SCALE SEQUENCE         0;3 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>9999)!(X<0)!(X?.E1"."1N.N) X
              LAST EDITED:      SEP 09, 2003 
              HELP-PROMPT:      Type a Number between 0 and 9999, 0 Decimal Digits 
              DESCRIPTION:
                                This specifies the order the scale is displayed within the ScaleGroup.  

              RECORD INDEXES:   AC (#734)

601.87,3      SCALE NAME             0;4 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>50!($L(X)<1) X
              LAST EDITED:      SEP 09, 2003 
              HELP-PROMPT:      Answer must be 1-50 characters in length. 
              DESCRIPTION:
                                Print Name for the scale, eg. Anxiety, Depression Score, Total.  


601.87,4      XLABEL                 0;5 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>5!($L(X)<1) X
              LAST EDITED:      MAR 25, 2004 
              HELP-PROMPT:      Answer must be 1-5 characters in length. 
              DESCRIPTION:
                                Used in graphing, this is the label for a data point on the graph's x axis.  



      FILES POINTED TO                      FIELDS

MH SCALEGROUPS (#601.86)          SCALEGROUP ID (#1)


File #601.87

  Record Indexes:

  AC (#734)    RECORD    REGULAR    IR    SORTING ONLY
      Short Descr:  SCALEGROUP BY SEQUENCE
        Set Logic:  S ^YTT(601.87,"AC",X(1),X(2),DA)=""
       Kill Logic:  K ^YTT(601.87,"AC",X(1),X(2),DA)
       Whole Kill:  K ^YTT(601.87,"AC")
             X(1):  SCALEGROUP ID  (601.87,1)  (Subscr 1)  (forwards)
             X(2):  SCALE SEQUENCE  (601.87,2)  (Subscr 2)  (forwards)


INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):