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

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
ScaleGroups are collections of MH SCALES file (#601.87) that are logically displayed together. Information needed to graph the
scales are stored here. This includes the ordinate title, minimum and maximum values, graph increments and grid lines.  
 
All scales need to be associated with a MH SCALEGROUP to be displayed. MH SCALEGROUPS file (#601.86) and MH SCALES file (#601.87)
allow multiple scoring possibilities within a single instrument.  


              DD ACCESS: @
              RD ACCESS: @
              WR ACCESS: @
             DEL ACCESS: @
           LAYGO ACCESS: @
           AUDIT ACCESS: @
IDENTIFIED BY: SCALEGROUP NAME (#2)[R]

POINTED TO BY: SCALEGROUP ID field (#1) of the MH SCALES File (#601.87) 
               

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

INDEXED BY:    INSTRUMENT ID & GROUP SEQUENCE (AC)




601.86,.01    SCALEGROUP ID          0;1 NUMBER (Required)

              INPUT TRANSFORM:  S:$TR(X,"new","NEW")="NEW" X=$$NEW^YTQLIB(601.86) 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 1 and 99999, 0 Decimal Digits 
              DESCRIPTION:      This is the unique identifier for this record. It is the IEN. Numbers below 100,000 are part of the
                                national database and should not be edited locally.  

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

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


601.86,1      INSTRUMENT ID          0;2 POINTER TO MH TESTS AND SURVEYS FILE (#601.71) (Required)

              LAST EDITED:      FEB 23, 2005 
              DESCRIPTION:      Specifies instrument that applies, a pointer to the NAME field (#.01) of the MH TESTS AND SURVEYS
                                file (#601.71).  

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

              RECORD INDEXES:   AC (#733)

601.86,2      SCALEGROUP NAME        0;3 FREE TEXT (Required)

              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 of the ScaleGroup. All scales must refer to at least one ScaleGroup. Examples of
                                ScaleGroups include; Total, Validity Scales and MacAndrews Scales.  


601.86,3      GROUP SEQUENCE         0;4 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>999)!(X<1)!(X?.E1"."1N.N) X
              LAST EDITED:      SEP 09, 2003 
              HELP-PROMPT:      Type a Number between 1 and 999, 0 Decimal Digits 
              DESCRIPTION:
                                Order in which the ScaleGroup is displayed within the Administration report and in graphing.  

              RECORD INDEXES:   AC (#733)

601.86,4      ORDINATE TITLE         0;5 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:
                                This is the ordinate title of the graph.  


601.86,5      ORDINATEMIN            0;6 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>9999)!(X<-9999)!(X?.E1"."1N.N) X
              LAST EDITED:      FEB 28, 2012 
              HELP-PROMPT:      Type a number between -9999 and 9999, 0 decimal digits. 
              DESCRIPTION:
                                This is the ordinate minimum.  


601.86,6      ORDINATEINCREMENT      0;7 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 is the ordinate increment.  


601.86,7      ORDINATEMAX            0;8 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 is the ordinate maximum.  


601.86,8      GRID1                  0;9 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>9999)!(X<-9999)!(X?.E1"."1N.N) X
              LAST EDITED:      SEP 09, 2003 
              HELP-PROMPT:      Type a Number between -9999 and 9999, 0 Decimal Digits 
              DESCRIPTION:
                                This is the ordinate value of the first grid line on the graph(set to 0 if there is none).  


601.86,9      GRID2                  0;10 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>9999)!(X<-9999)!(X?.E1"."1N.N) X
              LAST EDITED:      SEP 09, 2003 
              HELP-PROMPT:      Type a Number between -9999 and 9999, 0 Decimal Digits 
              DESCRIPTION:
                                This is the ordinate value of the second grid line on the graph(set to 0 if there is none).  


601.86,10     GRID3                  0;11 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>9999)!(X<-9999)!(X?.E1"."1N.N) X
              LAST EDITED:      SEP 09, 2003 
              HELP-PROMPT:      Type a Number between -9999 and 9999, 0 Decimal Digits 
              DESCRIPTION:
                                This is the ordinate value of the third grid line on the graph(set to 0 if there is none).  



      FILES POINTED TO                      FIELDS

MH TESTS AND SURVEYS (#601.71)    INSTRUMENT ID (#1)


File #601.86

  Record Indexes:

  AC (#733)    RECORD    REGULAR    IR    SORTING ONLY
      Short Descr:  INSTRUMENT BY SEQUENCE
        Set Logic:  S ^YTT(601.86,"AC",X(1),X(2),DA)=""
       Kill Logic:  K ^YTT(601.86,"AC",X(1),X(2),DA)
       Whole Kill:  K ^YTT(601.86,"AC")
             X(1):  INSTRUMENT ID  (601.86,1)  (Subscr 1)  (forwards)
             X(2):  GROUP SEQUENCE  (601.86,3)  (Subscr 2)  (forwards)


INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):