This page (revision-9) was last changed on 07-Nov-2013 10:12 by Albrecht Striffler

This page was created on 26-Oct-2012 10:15 by mfreiberg

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
9 07-Nov-2013 10:12 3 KB Albrecht Striffler to previous
8 07-Nov-2013 10:11 3 KB Albrecht Striffler to previous | to last
7 07-Nov-2013 10:05 2 KB Albrecht Striffler to previous | to last
6 07-Nov-2013 09:58 2 KB Albrecht Striffler to previous | to last
5 07-Nov-2013 09:58 2 KB Albrecht Striffler to previous | to last
4 17-Dec-2012 14:14 2 KB Tim Baier-Loewenstein to previous | to last
3 17-Dec-2012 14:13 2 KB Tim Baier-Loewenstein to previous | to last
2 17-Dec-2012 14:12 2 KB Tim Baier-Loewenstein to previous | to last
1 26-Oct-2012 10:15 2 KB mfreiberg to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 9 changed one line
THEN specialQuestions}}}In this example, the questionnaire ''specialQuestions'' is added at the end of the dialog-agenda if the question ''someQuestion'' has been answered with ''answerValue''.
THEN specialQuestions}}}
In this example, the questionnaire ''specialQuestions'' is added at the end of the dialog-agenda if the question ''someQuestion'' has been answered with ''answerValue''.
At line 11 removed one line
At line 14 changed 2 lines
THEN questionnaire1; questionnaire2}}}The above example shows that multiple questionnaires/questions for a gradual indication are simply separated by semicolons. It also presents the solution-dependent indication: if the diagnosis ''diag'' has the diagnosis state ''diagState'' (see [Doc DiagnosisRule] for a listing of scoring and diagnosis states) the questionnaires ''questionnaire1'' and ''questionnaire2'' are gradually indicated.\\
Indicating multiple questionnaires or questions in one rule at once also works with all the other indication types.
THEN questionnaire1; questionnaire2}}}
The above example shows that multiple questionnaires/questions for a gradual indication are simply separated by semicolons. It also presents the solution-dependent indication: if the diagnosis ''diag'' has the diagnosis state ''diagState'' (see [Doc DiagnosisRule] for a listing of scoring and diagnosis states) the questionnaires ''questionnaire1'' and ''questionnaire2'' are gradually indicated.
At line 22 changed 3 lines
!!! Syntax - Other indication types
!! Instant indication
!!! Syntax - Instant indication rules
At line 26 changed 3 lines
{{{IF question = yes
THEN INSTANT [questionInstant]}}}In the following example ''questionInstant'' is presented instantly after the current question, if the question ''question'' is answered with ''yes''.
Regarding start questionnaires, however, instant indications don't intervene the order there. Start questionnaires are always presented first.
{{{IF q1 = yes
THEN INSTANT [questionInstant]}}}
In the following example ''questionInstant'' is presented instantly after the current question, if the question ''q1'' is answered with ''yes'' - further questionnqires may be added by additionally listing them in square brackets, separated by semicolons (e.g. [[qs1; qs2]).
At line 30 changed 10 lines
!! Repeated indication
{{{IF question = yes
THEN ALWAYS[question]}}}
Adding the ''ALWAYS~[...]'' will result in the the indication of ''question'' no matter whether it has been already answered or not. That way, questions can be repeatedly presented in the interview (as long as the respective condition, in this case ''question = yes'', holds true).
!! Contra indication
{{{IF question = yes
THEN NOT[question]}}}Adding the ''NOT~[...]'' will prevent the ''questions'' from being indicated until the condition ''question = yes'' no longer holds true.
Regarding start questionnaires, however, instant indications don't intervene the order there. Start questionnaires are always presented first.