STANDARD DATA DICTIONARY #605.1 -- MH DASHBOARD WIDGET FILE                                                       3/24/25    PAGE 1
STORED IN ^YSD(605.1,  (1 ENTRY)   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                                       (VERSION 5.01)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
The MH DASHBOARD WIDGET file contains widget information used to display specific Vista fields in the MH Dashboard GUI.  



CROSS
REFERENCED BY: NAME(B)

    LAST MODIFIED: OCT 12,2022@09:38:50

605.1,.01     NAME                   0;1 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<3)!'(X'?1P.E) X
              MAXIMUM LENGTH:   20
              LAST EDITED:      OCT 03, 2019 
              HELP-PROMPT:      Answer must be 3-20 characters in length. 
              DESCRIPTION:
                                This is the name of the MH DASHBOARD WIDGET.  

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


605.1,1       INACTIVE DATE          2;1 FREE TEXT (FT DATE Data Type)
              PROPERTY:         SECONDS ALLOWED (Value = 1)
              PROPERTY:         IMPRECISE DATE (Value = 0)
              PROPERTY:         TIME OF DAY (Value = 1)

              LAST EDITED:      OCT 07, 2019 
              HELP-PROMPT:      Enter the Date and Time when this widget will be inactive. 
              DESCRIPTION:
                                If a date is entered in this field the widget will no longer display in the dashboard.  


605.1,2       COLUMNS                1;0 Multiple #605.12

              DESCRIPTION:
                                Enter the columns that will display on the widget. 


605.12,.01      COLUMN                 0;1 FREE TEXT (Required) (Multiply asked)

                INPUT TRANSFORM:  K:$L(X)>25!($L(X)<1) X
                MAXIMUM LENGTH:   25
                LAST EDITED:      NOV 04, 2019 
                HELP-PROMPT:      Answer must be 1-25 characters in length. 
                DESCRIPTION:      Enter the column names of the widget. Since the name is used to generate a JSON (JavaScript
                                  Object Notation) object it must start with a lower case letter and can't have spaces. For
                                  example, columnName.  

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


605.12,1        LABEL                  0;2 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>30!($L(X)<2) X
                MAXIMUM LENGTH:   30
                LAST EDITED:      OCT 01, 2019 
                HELP-PROMPT:      Answer must be 2-30 characters in length. 
                DESCRIPTION:
                                  Enter the column names that will display on the widget.  


605.12,2        SEQUENCE               0;3 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>999)!(X<1)!(X?.E1"."3N.N) X
                LAST EDITED:      MAR 10, 2020 
                HELP-PROMPT:      Type a number between 1 and 999, 2 decimal digits. 
                DESCRIPTION:      Enter a number to represent the order in which this column will display. Lower numbers go farther
                                  left.  

                CROSS-REFERENCE:  605.12^AC 
                                  1)= S ^YSD(605.1,DA(1),1,"AC",$E(X,1,30),DA)=""
                                  2)= K ^YSD(605.1,DA(1),1,"AC",$E(X,1,30),DA)
                                  This cross-reference is by sequence number for a column. It is used to sort the columns according
                                  to the sequence in which they appear in the dashboard.  



605.12,3        HIDE BY DEFAULT        0;4 SET (BOOLEAN Data Type)

                LAST EDITED:      OCT 07, 2019 
                HELP-PROMPT:      Enter Yes to hide this column by default. 
                DESCRIPTION:      The user may choose to display the column later by using the dashboard "view columns" tool on the
                                  upper right hand.  


605.12,4        SUBCOLUMNS             1;0 Multiple #605.124

                DESCRIPTION:
                                  If the column has sub-columns, this is the sub-column definition.  


605.124,.01       SUBCOLUMN              0;1 FREE TEXT

                  INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3) X
                  MAXIMUM LENGTH:   30
                  LAST EDITED:      NOV 04, 2019 
                  HELP-PROMPT:      Answer must be 3-30 characters in length. 
                  DESCRIPTION:
                                    If a column has sub-columns, this is the sub-column name.  

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


605.124,1         LABEL                  0;2 FREE TEXT

                  INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3) X
                  MAXIMUM LENGTH:   30
                  LAST EDITED:      MAR 09, 2020 
                  HELP-PROMPT:      Enter the sub-column label that will display to the user, 3-30 characters. 
                  DESCRIPTION:
                                    This is the label for the sub-column that will display to the user.  


605.124,2         SEQUENCE               0;3 NUMBER

                  INPUT TRANSFORM:  K:+X'=X!(X>1000)!(X<1)!(X?.E1"."3N.N) X
                  LAST EDITED:      MAR 16, 2020 
                  HELP-PROMPT:      enter the sequence in which this sub-column should display between 1 and 1000, 2 decimal 
                                    digits. 
                  DESCRIPTION:      This defines the sequence in which this sub-column displays. For instance, if there are three
                                    sub-columns for a column and this sequence is 2, then it will display as the second sub-column
                                    of data.  

                  CROSS-REFERENCE:  605.124^AC 
                                    1)= S ^YSD(605.1,DA(2),1,DA(1),1,"AC",$E(X,1,30),DA)=""
                                    2)= K ^YSD(605.1,DA(2),1,DA(1),1,"AC",$E(X,1,30),DA)
                                    This cross-reference is by sequence number for a sub-column. It is used to sort the sub-columns
                                    according to the sequence in which they appear in the dashboard.  







605.1,3       INSTRUMENTS            3;0 POINTER Multiple #605.13

              LAST EDITED:      MAR 09, 2020 
              DESCRIPTION:
                                This is a list of possible instruments that are used for the widget.  


605.13,.01      INSTRUMENTS            0;1 POINTER TO MH TESTS AND SURVEYS FILE (#601.71) (Multiply asked)

                LAST EDITED:      MAR 09, 2020 
                HELP-PROMPT:      Enter the MH TESTS AND SURVEYS instrument used for this widget. 
                DESCRIPTION:
                                  This is an instrument used for the widget.  

                CROSS-REFERENCE:  605.13^B 
                                  1)= S ^YSD(605.1,DA(1),3,"B",$E(X,1,30),DA)=""
                                  2)= K ^YSD(605.1,DA(1),3,"B",$E(X,1,30),DA)


605.13,1        MAIN DISPLAY SCALE GROUP 1;1 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>50!($L(X)<1) X
                MAXIMUM LENGTH:   50
                LAST EDITED:      MAR 09, 2020 
                HELP-PROMPT:      Enter the MH SCALEGROUP name, 1-50 characters. 
                DESCRIPTION:      For instruments that have sub-scales enter the MH SCALEGROUP name, if applicable, for the scale
                                  that will be used as the main metric to show on the main widget display.  


605.13,2        MAIN DISPLAY SCALE     1;2 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>50!($L(X)<1) X
                MAXIMUM LENGTH:   50
                LAST EDITED:      MAR 09, 2020 
                HELP-PROMPT:      Enter the MH SCALE name, 1-50 characters. 
                DESCRIPTION:      For instruments that have sub-scales enter the MH SCALE name for the scale that will be used as
                                  the main metric to show on the widget display.  


605.13,3        INSTRUMENT SCORE TYPE  1;3 SET

                                  '0' FOR SINGLE SCORE; 
                                  '1' FOR MULTI SCORE; 
                                  '2' FOR MULTI SCORE WITH SUMMARY; 
                                  '3' FOR MULTI SCORE WITH TEXT; 
                                  '4' FOR TEXT; 
                LAST EDITED:      JUN 08, 2020 
                HELP-PROMPT:      Enter the Score Type of the instrument. 
                DESCRIPTION:      This indicates the Score Type of the instrument. Possible choices are Single Score, Multi Score,
                                  Multi Score with Summary, Multi Score with Text, and Text.  
                                   
                                  e.g. - Single Score - AAQ-2, AUDC, CSE, PHQ-9 
                                   
                                  Multi Score - ATQ, BAM-C, MCMI4 
                                   
                                  Multi Score with Summary - BASIS-24, ISMI, PCL-5 
                                   
                                  Multi Score with Text - C-SSRS, I9+C-SSRS 
                                   
                                  Text - VRA 





      FILES POINTED TO                      FIELDS

MH TESTS AND SURVEYS (#601.71)    INSTRUMENTS:INSTRUMENTS (#.01)



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):