Ir al contenido

Add branching to a questionnaire

Who can do thisOwnerPractice admin

Revisado

Esta página aún no está disponible en tu idioma.

Branching chooses the next question from the client’s answer. A client who answers “No” to “Have you started a new medication?” can skip the questions about it. Each client is asked only the questions on their route, in the client portal and in the app alike.

Branching and scores: build a questionnaire that branches, preview it, and see how scored measures are tracked (2 min 30 s)
Read the transcript

A fictional practice: the owner builds a weekly check-in that branches on an answer and on the total so far, previews it as a client in the Clinician view, then looks at a standard measure’s score bands and a client’s results.

TurnChart: In TurnChart, you can build your own questionnaire and have it ask each client only the questions that apply to them. Here’s how.

TurnChart: Open Assessments, and select Build your own.

TurnChart: Give it a name, then add questions from the left. This first one asks how the week went: easier, about the same, or harder.

TurnChart: Each question you add follows the one before it: a follow-up for a harder week, a stress scale from zero to ten, a question about what would help, and one to close.

TurnChart: Now the branching. Select the first question and add a rule: if the answer is Harder, go to the follow-up. Otherwise, skip straight to the stress scale.

TurnChart: The stress scale gets a rule on the total so far. The answers on the way here add up, and at eight or more, the client is asked what would help most.

TurnChart: Arrange the canvas, and every path shows when it’s taken: If Harder, and Total, at least eight.

TurnChart: Preview it the way a client would answer. The Clinician view shows what each answer adds. Harder adds two.

TurnChart: A seven on the stress scale brings the running total to nine, so the extra question appears: question four of five. A client who had an easier week is never asked it.

TurnChart: Save it, and it’s ready to send from any client’s chart.

TurnChart: A questionnaire you build isn’t scored: its total only steers the branching. For a score with severity bands, use a standard measure, like the PHQ-4 Gateway. It branches too, adding PHQ-9 or GAD-7 questions when the screen is positive.

TurnChart: It’s scored from zero to twelve, with bands from Normal to Severe, and you can see what every answer is worth.

TurnChart: When a client completes a measure, the result waits for your review, with its score, its band, and the change since last time.

TurnChart: And on the client’s chart, each result joins the trend, so progress is clear at a glance.

Before you start

  • You need the Owner or Practice admin role to change a questionnaire.
  • Build the questions first. See Build a custom questionnaire. A question you add from Question types is joined to the one before it, so the questionnaire already runs top to bottom.
  1. In the menu, select Notes → Assessments, then the Measures & questionnaires tab. Open the questionnaire’s menu (⋮) and select Edit, or select Build your own for a new one.

  2. On the canvas, select the question whose answer decides what comes next. Its properties open on the right. On a phone, select Properties.

  3. Under Branching, select Add rule.

  4. Under If, choose what the rule reads: This question’s answer, Total so far, or the answer to an earlier question.

  5. Choose the answers the rule matches. For a Likert scale or multiple-choice question, tick one or more answers: any ticked answer matches. For a number or scale question, choose is equal to, is greater than or is less than, and type a whole number.

  6. Under Go to, choose the question the client goes to next, or End of questionnaire.

  7. Under Otherwise go to, choose where every other answer goes. With no rules yet, this is Then go to: the next question.

  8. Add more rules the same way, then select Save.

    A question's Branching in the builder's properties: a rule, if this question's answer is Harder, go to the question about what made the week harder; otherwise go to the next question.

On a phone, the same Branching section is in Properties.

At phone width, Question properties as a drawer, with the question's Branching rules.
  • The rules are checked from the top, and the first one that matches decides. Use the arrow on a rule to move it up.
  • An answer that matches no rule goes to Otherwise go to. When that is “Not set: the questionnaire ends”, the client is done.
  • A question the client skips (one that isn’t required) matches no answer: it follows Otherwise.
  • A rule can read only a question asked before it on the way there. A written answer, or a question that allows more than one answer, can’t choose the next question.
  • End of questionnaire adds an “End” step to the canvas. Clients never see it. It goes away when no rule leads to it.
  • If a client goes back and changes an answer, the route changes with it. Answers to questions no longer on their route aren’t kept.

A rule on Total so far that is at least a number adds up the answers given so far on the way to this question, this one included. Questions on another branch don’t count.

A multiple-choice or Likert answer counts its option’s value: the first option 0, the second 1, and so on. A number or scale answer counts the number. A questionnaire is not scored, so the builder has no score box. A questionnaire copied from an older one may carry scores that differ from the values; the branching check warns you when it does.

Each line between questions is a path, and each path says when it’s taken: “If Yes”, “If > 6”, “Total ≥ 10” or “Otherwise”. A plain next step has no label.

The builder's canvas with each path labelled: If Harder, If > 6, If No, Otherwise, and the End of questionnaire step.

Select a path to open its rule in the properties. If you draw a second line from a question, the new path comes after Otherwise and is never taken until you select Give it a condition.

When something needs a look, the toolbar shows the branching check, such as “1 branching warning”. Select it for the list, and Show to go to the question.

One kind of problem stops the save: a rule that names a question you deleted or an answer option you removed. Choose the answers again, or delete the rule.

Warnings don’t stop a save. The questionnaire still works, but it may not do what you meant:

  • a question no path leads to, so it is never asked;
  • answers with no rule and no Otherwise, which end the questionnaire;
  • a path back to a question already asked: the questionnaire ends there instead;
  • a rule that can never apply, or a path after Otherwise;
  • a total that counts option values that differ from their scores.
The branching check opened from the toolbar: a warning that, with a path back to the first question, no question starts the questionnaire and clients are asked every question in order; Show selects it.

Select Preview in the toolbar (Preview questionnaire) and answer as a client would. Preview asks exactly the questions your clients would be asked for those answers.