IF someQuestion = answerValue THEN specialQuestionsIn this example, the questionnaire specialQuestions is added at the end of the dialog-agenda if the question someQuestion has been answered with answerValue.
IF diag = diagState THEN questionnaire1; questionnaire2The 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.
IF KNOWN[quest] THEN specialQuestionIf a question/questionnaire should be indicated independet of the concrete answer value but depending just on that any answer value was provided, the KNOWN keyword is to be used. The example shows how to check, whether question quest has already been answered. The question that has to be checked must be placed within square brackets.
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 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, question can be repeatedly presented in the interview (as long as the condition, in this case question = yes, holds true).
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.