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 1 changed one line
[{TableOfContents title='Indication Rules - TOC'}]
[{TableOfContents title='Contents' numbered='true'}]
At line 3 changed one line
!! 1. Definition
!!! Definition
At line 6 changed 2 lines
!! 2. Syntax - Basic indication rules
!A. Indication of one questionnaire/question
!!! Syntax - Basic indication rules
!! Indication of one questionnaire/question
At line 9 changed 2 lines
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 12 removed 4 lines
!B. Indication of multiple questionnaires/questions
{{{IF diag = diagState
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 17 changed one line
!C. Checking for answers
!! Indication of multiple questionnaires/questions
{{{IF diag = diagState
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.
!! Checking for answers
At line 23 changed 5 lines
!! 3. Syntax - Instant indication rules
If an indicated question/questionnaire is to be presented instantly after the current question, so-called ''instant indication rules'' have to be used.
{{{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]).
!!! Syntax - Other indication types
At line 24 added 4 lines
!! Instant indication
If an indicated question/questionnaire is to be presented instantly after the current question, so-called ''instant indication rules'' have to be used.
{{{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''.
At line 29 added 11 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.