Tools Menu

 

Add Container (Alt-C)

This menu item is used to add a container to the current page of the clinical assessment you are working on.  A container contains zero or more display components. A display component corresponds to a form field like text entry field, radio button or  to styled text. You can also press the toolbar button  or the shortcut key Alt-C to achieve the same thing.
When this menu item is selected,  you will be asked if you want to use percentage based layout.

Note: Please use percentage based layout throughout the layout! The column/row span based layout needs much more nested containers for complex form layouts. Also never mix and match percentage based layout with the column/row span based layout.  The column/row span based layout is deprecated.

If you click yes, you will see a dialog box like the one below;

 

In this dialog box, you can edit the layout manager for the container you want to add to the clinical assessment layout by changing the number of rows and/or the columns of the grid, specify  the size of an individual grid cell in percentages.  
You select an individual cell by pointing and clicking in that cell in the preview. In the dialog box above, for example, the second row, first column is currently selected. The column occupies half of the container width (50%) and 40% of the container height. In the selected row , it seems that there are only two columns. Actually there are four columns like the other rows, but two of the columns have 0% width. You can not specify 0% height for a row.

New: As of 3/29/2006, you can adjust the width of individual grid cells and the height of a grid row by mouse visually. Just press and hold Control key and move the mouse pointer close to the border of the grid you want to adjust in the Container Preview panel and press the left mouse button and drag the border till it is at the desired position and release the mouse button .

When you edit any of the percentages, please do not forget to press Enter , to apply the change. Once you change the percentage of a grid cell's row or column, the remaining height/width in the container will be distributed preserving the ratio of height/width of the other rows, cells. Therefore, you may need to adjust the percentages more than once till you get the desired layout.

You can also set all column width for a row or a range of rows at once, by selecting lower and upper bounds (inclusive) of rows in the Set Column percents for row(s) section of the dialog box and pressing Update Row button. You will see a dialog box similar to the one below, where you can enter individual percentages.



Once you are satisfied with the cell arrangements, press OK button and Left click in any empty cell on the form layout pane of the CALM.
You can edit an existing container, either by left double-clicking in an empty cell or Ctrl - left double click anywhere with the particular container you are interested. The Container grid lines are only a visual guidance and they are not included in the final online assessment forms.

Adding a new row after a selected row in a container


While you can append rows and columns , to the end by using the dropdowns in the 'Adjust row/column numbers' section of the Edit Layout dialog, to add a new row after any row,
  1. Select the row you want to add a new row after
  2. Press the right mouse button to bring up the popup menu and select 'Add a row after the selected row'. A new row with equal column percents will be added after the selected row in the preview panel (Actually preview panel is the skeleton view of the actual container you are editing, therefore any change here will automatically affect the actual container. Cancel button will not undo the changes. This will be fixed in later versions)
  3. Press OK button.

Deleting the selected row from the Container

  1. Select the row you want to delete in the preview panel in the Edit Layout Dialog by clicking anywhere inside the row.
  2. Press the right mouse button to bring up the popup menu and select 'Delete the selected row'.
  3. Press OK button

Add Text  (Alt-E)

This menu item is used to add multiline styled text to one of the cells in a container.  After selecting the menu item ( or the corresponding toolbar button), left click in the grid cell you want to add text. You will first see a property editor where you can enter the styled text.



A limited number of HTML tags are recognized as shown below.

Add Radio Button  (Alt-R)

This menu item is used to add a radio button with optional text to one of the cells in a container. After selecting the menu item ( or the corresponding toolbar button or shortcut Alt-R), left click in the grid cell you want to add a radio button.

Add Check Box  (Alt-X) 

This menu item is used to add a check box with optional text to one of the cells in a container. After selecting the menu item ( or the corresponding toolbar button or shortcut Alt-X), left click in the grid cell you want to add a check box.

 

Add Text Input Field  (Alt-T )

This menu item is used to add a text input field  to one of the cells in a container. After selecting the menu item ( or the corresponding toolbar button or shortcut Alt-T), left click in the grid cell you want to add text input field.

Calculated Field

The bottom part of the text field property editor dialog box is only used for calculated fields. The value of a  calculated field is expressed by an expression combining the values one or more user entered numeric scores. The 'Scores for calculation' pane displays the potential numeric scores available for building the expression. The expression can contain four basic arithmetic operations, mathematical functions
and any combination of of potential numeric scores available from 'Scores for calculation' panel. Sub expressions can be grouped by parentheses at arbitrary depth. You can drag a score from the 'Scores for calculation' pane by left-clicking with mouse while holding down tthe Control key and drop into expression pane. Once you have finished the expression that will be used to calculate the value of the field, you must validate it by pressing 'Validate Expression' button. If the expression has no errors, you will see the set expression just below the Expression editor pane.

Important:  Only scores from the current page are elligible as potential variables for the calculated field. You cannot enter calculated fields with variables before you have associated all your scores with corresponding form field elements. Only text field elements with numerical valued scores are elligible for calculated fields.

Add Text Area Field (Alt-A )

This menu item is used to add a text area input field  to one of the cells in a container. After selecting the menu item ( or the corresponding toolbar button or shortcut Alt-A), left click in the grid cell you want to add text area field.

Add Dropdown Field (Alt-D )

This menu item is used to add a static dropdown field  to one of the cells in a container. After selecting the menu item ( or the corresponding toolbar button or shortcut Alt-D), you will see a dropdown selection dialog where you can create your own dropdown with its option list or selected from canned dropdowns. Currently, the only canned dropdown is informant relation dropdown. After that you will see a dialog box like below, where you can edit dropdown properties and edit the dropdown option list. Once you are finished with these steps, left click in the grid cell you want to add a dropdown field.



You can also create a dynamic dropdown which is populated from the SQL query you provide when deployed under HID web application. As of 3/10/2005 only clinicalrater mandatory field is recognized by the Struts code generator in CALM and GAME in HID web app for SQL backed dropdowns. When you select 'Dynamic' from the  dropdown type selection dialog box , you will see a dialog box like below, where you can provide the SQL query to retrieve the contents of the dropdown from the underlying database for HID web app. Once you are done editing dropdown properties, left click in the grid cell you want to add a dropdown field.

Add Button   (Alt-B )

This menu item is used to add a submit button  to one of the cells in a container. After selecting the menu item ( or the corresponding toolbar button or the shortcut Alt-B) left click in the grid cell you want to add button field.

Skip Button for Conditional Skipping

Conditional skipping ( leaving a certain number of questions constituting a section in the online assessment unanswered ) is provided by adding skip button(s) to
the form. The button properties dialog box for a Skip button is shown below


For each section to be (potentially) skipped, you  need a  different Skip button. To differentiate Skip Buttons  visually ,  you can  provide different button label. Every question in the assessment laid out has  a unique question ID assigned by CALM. You can view, the question IDs in the current form page viewed in CALM by selecting Tools->Show Question Groups and selecting the checkbox.  If you check JavaScript Only checkbox, the request will not go to the server but be handled by client side JavaScript only, thus only affecting the current page of the form. If you have sections spanning multiple pages, you need to use server side conditional skipping which you can indicate by unchecking JavaScript Only checkbox.

Select Components  (Alt-S)

This menu item enables mouse based selection of a portion of the layout. Just press the left mouse button outside of the container/ display component(s) you want to select and drag the mouse till the rubber band totally includes the container / display component(s) you want to select and release the button. The color of the selected container/ display component(s) will change to blue. Then press the right mouse button to active the popup menu. You can  either

Add TemplateComponent (Alt-Z)

This menu item allows you to select a template from  the list of previously saved templates and insert into any location in the currently edited page of the clinical assessment

Struts Code Generator  (Alt-G)

Once you had associated all the assessment scores and the mandatory fields with the form components, it is time to generate the JSPs, Struts Form Bean andupdate the struts-config.xml file for the Generic Assessment Management Engine (GAME) in the HID web application. For this, either select Struts Code Generator from the Tools menu or press Alt and G keys simultaneously.

Show Associations (Alt-H)

Toggles the assessment score association hint information display in the form layout for quickly detecting which fields are associated with a score. The first 8 characters of the Score name will be shown in the upper left hand corner of the form field.

Show Association  Tips (Alt-O)

Toggles the assessment score association tip display in the form layout for quickly detecting which fields are associated with a score. Just point your mouse inside  a form field. A text describing the score this component is associtated in a small popup display.  If the form field is not associated with any scores nothing will popup.

Show Question Groups (Alt-Q)

Toggles the question group hint information display in the form layout for quickly detecting which fields comprise a question. The fields in a question will be
hilited in orange and the question number will be shown in red.

Save Assessment to DB (Alt-D)

Saves the modified assessment, scores, score codes and assessment items ( question text) to the connected Oracle database if and only if the assessment is not populated with subject data. As of October 2005 you can remove an assessment which is already populated with subject data if you choose to do so. This option will first remove the previously existing assessment records and create a new assessment.