@refinio/one.models
Preparing search index...
recipes/QuestionnaireRecipes/QuestionnaireRecipes_1_0_0
Questionnaire
Question
Type Alias Question
Question of a questionnaire.
type
Question
=
{
answerOption
?:
Questionnaire
.
QuestionnaireAnswerOptionValue
[]
;
enableBehavior
?:
"all"
|
"any"
;
enableWhen
?:
(
Questionnaire
.
QuestionnaireEnableWhenAnswer
&
{
operator
:
"exists"
|
"="
|
"!="
|
">"
|
"<"
|
">="
|
"<="
;
question
:
string
;
}
)
[]
;
initial
?:
Questionnaire
.
QuestionnaireValue
[]
;
item
?:
Questionnaire
.
Question
[]
;
linkId
:
string
;
maxLength
?:
number
;
minLength
?:
number
;
prefix
?:
string
;
readOnly
?:
boolean
;
repeats
?:
boolean
;
required
?:
boolean
;
text
?:
string
;
type
:
|
"group"
|
"display"
|
"question"
|
"boolean"
|
"decimal"
|
"integer"
|
"date"
|
"dateTime"
|
"time"
|
"string"
|
"text"
|
"url"
|
"choice"
|
"open-choice"
|
"attachment"
|
"reference"
|
"quantity"
|
"slider"
;
}
Index
Properties
answer
Option?
enable
Behavior?
enable
When?
initial?
item?
link
Id
max
Length?
min
Length?
prefix?
read
Only?
repeats?
required?
text?
type
Properties
Optional
answer
Option
answerOption
?:
Questionnaire
.
QuestionnaireAnswerOptionValue
[]
Optional
enable
Behavior
enableBehavior
?:
"all"
|
"any"
Optional
enable
When
enableWhen
?:
(
Questionnaire
.
QuestionnaireEnableWhenAnswer
&
{
operator
:
"exists"
|
"="
|
"!="
|
">"
|
"<"
|
">="
|
"<="
;
question
:
string
;
}
)
[]
Optional
initial
initial
?:
Questionnaire
.
QuestionnaireValue
[]
Optional
item
item
?:
Questionnaire
.
Question
[]
link
Id
linkId
:
string
Optional
max
Length
maxLength
?:
number
Optional
min
Length
minLength
?:
number
Optional
prefix
prefix
?:
string
Optional
read
Only
readOnly
?:
boolean
Optional
repeats
repeats
?:
boolean
Optional
required
required
?:
boolean
Optional
text
text
?:
string
type
type
:
|
"group"
|
"display"
|
"question"
|
"boolean"
|
"decimal"
|
"integer"
|
"date"
|
"dateTime"
|
"time"
|
"string"
|
"text"
|
"url"
|
"choice"
|
"open-choice"
|
"attachment"
|
"reference"
|
"quantity"
|
"slider"
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
answer
Option
enable
Behavior
enable
When
initial
item
link
Id
max
Length
min
Length
prefix
read
Only
repeats
required
text
type
@refinio/one.models
Loading...
Question of a questionnaire.