What to do before adding a computation in a mobile module

  1. Determine the score for each answer
  2. Determine the calculation of the scores in Computations JavaScript screen
  3. Determine how the score will be displayed.
    Give advice where needed by using 'Professional only' option of the text block (paragraph, info, highlighted, tip or quote).The practitioner sees a score, based on the client's answers

    The therapist sees a score, based on the client's answers


Add a computation (calculation):

  1. After logging into the CMS, choose to create or edit a mobile module (Topic)
  2. Create or edit question with radio buttons (only one choice), checkboxes (multiple choice) or a slider.
  3. Activate the slider 'Use in computation' in the multiple choice field of the radio button (top right)
  4. After the slider is activated, a ext fields appear in which you can enter:
    - a unique name to identify the field
    - and values for each answer
    The editor adds the values of the answers
  5. Click on "Done Editing" and then on "Computation' in the menu
  6. You can now create the computation.
    To do this you use javascript.
    The explanation of creating the computation in javascript can be found on the support page 'How to create a computation'.
    Editor defines the computation in the edit computation view.
  7. The 'Defined Computation' is added later via the menu item 'Subject'.



Display the computation score for the professionals

  1. Navigate back to the Topic where the field with the values was created
  2. Insert a textblock. This can be a paragraph, info, highlighted, tip or quote
  3. Activate the 'Professional only' slider in edit mode
  4. Add the name of the corresponding computation so that the score van be displayed.
  5. 1 The score of the client is the following:
    2 ${name-of-defined_computations}.
    3
    4 A score below 10 means not doing well;
    5 A score bewteen 10 till 20 means going in the right direction;
    6 A score above 20 means it's going good;
    7 A score above 30 means it's going great.
  6. You can add information or advice about the score for the professionals if that is relevant (see screenshot above)
Be aware that the score of a computation is only visible for professionals and not for clients.