initial prototype based on nat-as-server
Some checks failed
PHPUnit / test (push) Has been cancelled
Some checks failed
PHPUnit / test (push) Has been cancelled
This commit is contained in:
67
website/temp-assets/questionnaire_order.json
Normal file
67
website/temp-assets/questionnaire_order.json
Normal file
@ -0,0 +1,67 @@
|
||||
[
|
||||
{
|
||||
"file": "questionnaire_1_demographic_information.json",
|
||||
"showPoints": false,
|
||||
"condition": {
|
||||
"alwaysAvailable": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "questionnaire_2_rhs.json",
|
||||
"showPoints": true,
|
||||
"condition": {
|
||||
"alwaysAvailable": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "questionnaire_3_integration_index.json",
|
||||
"showPoints": true,
|
||||
"condition": {
|
||||
"alwaysAvailable": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "questionnaire_4_consultation_results.json",
|
||||
"showPoints": false,
|
||||
"condition": {
|
||||
"requiresCompleted": [
|
||||
"questionnaire_1_demographic_information",
|
||||
"questionnaire_2_rhs",
|
||||
"questionnaire_3_integration_index"
|
||||
],
|
||||
"questionnaire": "questionnaire_1_demographic_information",
|
||||
"questionId": "consent_instruction",
|
||||
"operator": "==",
|
||||
"value": "consent_signed"
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "questionnaire_5_final_interview.json",
|
||||
"showPoints": false,
|
||||
"condition": {
|
||||
"requiresCompleted": ["questionnaire_4_consultation_results"],
|
||||
"questionnaire": "questionnaire_4_consultation_results",
|
||||
"questionId": "consultation_decision",
|
||||
"operator": "==",
|
||||
"value": "yellow"
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "questionnaire_6_follow_up_survey.json",
|
||||
"showPoints": true,
|
||||
"condition": {
|
||||
"anyOf": [
|
||||
{
|
||||
"requiresCompleted": ["questionnaire_5_final_interview"]
|
||||
},
|
||||
{
|
||||
"requiresCompleted": ["questionnaire_4_consultation_results"],
|
||||
"questionnaire": "questionnaire_4_consultation_results",
|
||||
"questionId": "consultation_decision",
|
||||
"operator": "!=",
|
||||
"value": "yellow"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user