| Syntax |
Meaning |
Example |
Example Result
|
| Qcode |
an alias for Qcode.code |
{implode(',',name,gender)} |
'Tom','M'
|
| Qcode.code |
the selected response code for the question if it is relevant (otherwise blank), or the text value if it is not a coded question |
{implode(',',name.code,gender.code)} |
'Tom','M'
|
| Qcode.NAOK |
same as Qcode - see discussion of NAOK |
{gender.NAOK} |
'M'
|
| Qcode.value |
the assessment value for the question if it is relevant (otherwise blank), or the text value if it is not a coded question |
{gender.value} |
'1'
|
| Qcode.valueNAOK |
same as Qcode.value - see discussion about NAOK |
{gender.valueNAOK} |
'1'
|
| Qcode.shown |
the display value for the question |
{implode(',',name.shown,gender.shown)} |
'Tom','Male'
|
| Qcode.question |
the text of the question |
{gender.question} |
'What is your gender?'
|
| Qcode.mandatory |
whether the question is mandatory (Y/N) |
{gender.mandatory} |
'N'
|
| Qcode.qid |
the internal question number (not the sequential number) |
{gender.qid} |
337
|
| Qcode.type |
the question type |
{gender.type} |
'G'
|
| Qcode.jsName |
the correct javascript name for the question, regardless whether declared on or off this page |
{gender.jsName} |
'java1827X3X337'
|
| Qcode.gid |
the internal group number (not the sequential number) |
{gender.gid} |
3
|
| Qcode.qseq |
the sequential number of the question, starting from 0 |
{gender.qseq} |
5
|
| Qcode.gseq |
the sequential number of the group, starting from 0 |
{gender.gseq} |
1
|
| Qcode.relevanceStatus |
whether the question is currently relevant (0 or 1) |
{gender.relevanceStatus} |
1
|
| Qcode.relevance |
the question-level relevance equation |
{gender.relevance} |
'!is_empty(name)'
|
| Qcode.grelevance |
the group-level relevance equation |
{gender.grelevance} |
'num_children >= 5'
|
| Qcode.sgqa |
the SGQA value for this question |
{gender.sgqa} |
'1827X3X337'
|