new system prototype

This commit is contained in:
2026-04-15 10:19:42 +02:00
parent e805f225bc
commit 034b108c7e
80 changed files with 12212 additions and 890 deletions

View File

@ -0,0 +1,182 @@
{
"meta": {
"id": "questionnaire_4_consultation_results"
},
"questions": [
{
"id": "q0",
"layout": "client_coach_code_question",
"question": "client_code_entry_question",
"hint1": "client_code",
"hint2": "coach_code"
},
{
"id": "q1",
"layout": "date_spinner",
"question": "date_consultation_health_interview_result"
},
{
"id": "q2",
"layout": "radio_question",
"question": "consultation_decision",
"options": [
{
"key": "green",
"nextQuestionId": "q3"},
{"key": "yellow",
"nextQuestionId": "q4"},
{ "key": "red",
"nextQuestionId": "q9"}
],
"pointsMap": {
"green": 0,
"yellow": 0,
"red": 0
}
},
{
"id": "q3",
"layout": "radio_question",
"question": "consent_conversation_in_6_months",
"options": [
{ "key": "yes",
"nextQuestionId": "last_page"},
{ "key": "no",
"nextQuestionId": "last_page"}
],
"pointsMap": {
"yes": 0,
"no": 0
}
},
{
"id": "q4",
"layout": "radio_question",
"question": "participation_in_coaching",
"options": [
{"key": "yes",
"nextQuestionId": "q5"},
{"key": "no",
"nextQuestionId": "q6"},
{"key": "time_to_think_about_it",
"nextQuestionId": "q7"}
],
"pointsMap": {
"yes": 0,
"no": 0,
"time_to_think_about_it": 0
}
},
{
"id": "q5",
"layout": "radio_question",
"question": "consent_coaching_given",
"options": [
{"key": "consent_yes",
"nextQuestionId": "q3"},
{"key": "consent_no",
"nextQuestionId": "last_page"}
],
"pointsMap": {
"consent_yes": 0,
"consent_no": 0
}
},
{
"id": "q6",
"layout": "radio_question",
"question": "consent_conversation_in_6_months",
"options": [
{ "key": "yes",
"nextQuestionId": "last_page"},
{ "key": "no",
"nextQuestionId": "last_page"}
],
"pointsMap": {
"yes": 0,
"no": 0
}
},
{
"id": "q7",
"layout": "date_spinner",
"question": "decision_after_reflection_period"
},
{
"id": "q8",
"layout": "radio_question",
"question": "consent_conversation_in_6_months",
"options": [
{ "key": "yes",
"nextQuestionId": "last_page"},
{ "key": "no",
"nextQuestionId": "last_page"}
],
"pointsMap": {
"yes": 0,
"no": 0
}
},
{
"id": "q9",
"layout": "radio_question",
"question": "professional_referral",
"options": [
{ "key": "yes"},
{ "key": "no"}
],
"pointsMap": {
"yes": 0,
"no": 0
}
},
{
"id": "q10",
"layout": "radio_question",
"question": "confidentiality_agreement" ,
"options": [
{ "key": "available_yes"},
{ "key": "available_no",
"nextQuestionId": "last_page"}
],
"pointsMap": {
"yes": 0,
"no": 0
}
},
{
"id": "q11",
"layout": "radio_question",
"question": "health_insurance_card",
"options": [
{ "key": "yes"},
{ "key": "no"}
],
"pointsMap": {
"yes": 0,
"no": 0
}
},
{
"id": "q12",
"layout": "radio_question",
"question": "consent_conversation_in_6_months",
"options": [
{ "key": "yes",
"nextQuestionId": "last_page"},
{ "key": "no",
"nextQuestionId": "last_page"}
],
"pointsMap": {
"yes": 0,
"no": 0
}
},
{
"id": "last_page",
"layout": "last_page",
"textKey": "finish_data_entry",
"question": "data_final_warning"
}
]
}