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,136 @@
{
"meta": {
"_comment": "Diese Zeiel erklärt im folgenden wie die einzelnen Fragetypen definiert werden können und was für features diese mit sich bringen.",
"id": "questionnaire_0_readme"
},
"questions": [
{
"id": "q1",
"_comment": "Frage mit Radio Buttons. In diesem Fragetypen kann man maximal eine Antwort wählen. Über nextQuestionId kann man die nächste Frage definieren., Über pointsMap kann man die Punkte für die Antwort der Frage festlegen.",
"layout": "radio_question",
"question": "consent_instruction",
"options": [
{ "key": "consent_signed"},
{ "key": "consent_not_signed",
"nextQuestionId": "last_page"}
],
"pointsMap": {
"consent_signed": 0,
"consent_not_signed": 0
}
},
{
"id": "q2",
"_comment": "Frage nach dem Code des Coaches.",
"layout": "client_not_signed",
"textKey1": "no_consent_entered",
"textKey2": "no_consent_note",
"question": "coach_code_request",
"hint": "coach_code"
},
{
"id": "q3",
"_comment": "Frage mit Spinner, dessen Antwortmöglichkeiten über options selbst definiert werden können.",
"layout": "string_spinner",
"question": "other_accommodation",
"options": ["Unterkunft 1", "Unterkunft 2", "Unterkunft 3"]
},
{
"id": "q4",
"_comment": "Frage mit Spinner zur Auswahl des Datums",
"layout": "date_spinner",
"question": "departure_country"
},
{
"id": "q5",
"_comment": "Frage mit Spinner zur Auswahl des Datums. Über constraints und notBefore und notAfter, ist es möglich das Datum nicht in der Zukunft oder Vergangenheit zu wählen.",
"layout": "date_spinner",
"question": "since_in_germany",
"constraints": {
"notBefore": "departure_country",
"notAfter": "departure_country"
}
},
{
"id": "q6",
"_comment": "Frage mit Spinner, dessen Antwortmöglichkeiten über range selbst definiert werden können.",
"layout": "value_spinner",
"question": "number_family_members",
"range": {
"min": 1,
"max": 15
}
},
{
"id": "q7",
"_comment": "Frage nach dem Code des Klienten und den Code des Coaches.",
"layout": "client_coach_code_question",
"question": "client_code_entry_question",
"hint1": "client_code",
"hint2": "coach_code"
},
{
"id": "q8",
"_comment": "Frage mit Checkboxen, dessen Antwortmöglichkeiten über options selbst definiert werden können. Über pointsMap können die Punkte für die jeweiligen Antworten festgelegt werden. Über minSelection kann die minimal Anzahl an auszufüllenden Antworten festgelegt werden.",
"layout": "multi_check_box_question",
"question": "languages_spoken",
"options": [
{ "key": "language_albanian" },
{ "key": "language_pashto" },
{ "key": "language_russian" },
{ "key": "language_other"}
],
"pointsMap": {
"language_albanian": 1,
"language_pashto": 1,
"language_russian": 1,
"language_other": 1
},
"minSelection": 1
},
{
"id": "q9",
"_comment":"Glass scale frage, bei der es für jede Frage, welche über symptoms festgelegt werden kann eine Antwort festgelegt werden muss. Die Antwort ganz links gibt immer 0 Punkte und die Antwort ganz rechts gibt immer 4 Punkte.",
"layout": "glass_scale_question",
"question": "glass_explanation",
"symptoms": [
"q1_symptom",
"q2_symptom",
"q3_symptom",
"q4_symptom",
"q5_symptom",
"q6_symptom",
"q7_symptom",
"q8_symptom",
"q9_symptom"
]
},
{
"id": "last_page",
"_comment":"Letzte Seite, welche den Abschluss des Fragebogens markiert.",
"layout": "last_page",
"textKey": "finish_data_entry",
"question": "data_final_warning"
}
]
}

View File

@ -0,0 +1,302 @@
{
"meta": {
"id": "questionnaire_1_demographic_information"
},
"questions": [
{
"id": "q1",
"layout": "radio_question",
"question": "consent_instruction",
"options": [
{ "key": "consent_signed",
"nextQuestionId": "q6"},
{ "key": "consent_not_signed",
"nextQuestionId": "q2"}
],
"pointsMap": {
"consent_signed": 0,
"consent_not_signed": 0
}
},
{
"id": "q2",
"layout": "client_coach_code_question",
"question": "no_consent_entered",
"hint1": "client_code",
"hint2": "coach_code"
},
{
"id": "last_page",
"layout": "last_page",
"textKey": "finish_data_entry",
"question": "data_final_warning"
},
{
"id": "q28",
"layout": "radio_question",
"question": "accommodation",
"options": [
{ "key": "steinstrasse",
"nextQuestionId": "last_page"},
{ "key": "doerfle",
"nextQuestionId": "last_page"},
{ "key": "zoll_emmishofer",
"nextQuestionId": "last_page"},
{ "key": "other",
"nextQuestionId": "q4"}
]
},
{
"id": "q4",
"layout": "string_spinner",
"question": "other_accommodation",
"options": ["Unterkunft 1", "Unterkunft 2", "Unterkunft 3"]
},
{
"id": "last_page",
"layout": "last_page",
"textKey": "finish_data_entry",
"question": "data_final_warning"
},
{
"id": "q6",
"layout": "client_coach_code_question",
"question": "client_code_entry_question",
"hint1": "client_code",
"hint2": "coach_code"
},
{
"id": "q29",
"layout": "radio_question",
"question": "accommodation",
"options": [
{ "key": "steinstrasse",
"nextQuestionId": "q9"},
{ "key": "doerfle",
"nextQuestionId": "q9"},
{ "key": "zoll_emmishofer",
"nextQuestionId": "q9"},
{ "key": "other",
"nextQuestionId": "q8"}
],
"pointsMap": {
"consent_signed": 0,
"consent_not_signed": 0
}
},
{
"id": "q8",
"layout": "string_spinner",
"question": "other_accommodation",
"options": ["Unterkunft 1", "Unterkunft 2", "Unterkunft 3"]
},
{
"id": "q9",
"layout": "value_spinner",
"question": "age",
"range": {
"min": 18,
"max": 122
}
},
{
"id": "q10",
"layout": "radio_question",
"question": "gender",
"options": [
{ "key": "gender_male"},
{ "key": "gender_female"},
{ "key": "gender_diverse"}
],
"pointsMap": {
"consent_signed": 0,
"consent_not_signed": 0
}
},
{
"id": "q11",
"layout": "string_spinner",
"question": "country_of_origin"
},
{
"id": "q13",
"layout": "date_spinner",
"question": "departure_country"
},
{
"id": "q14",
"layout": "date_spinner",
"question": "since_in_germany",
"constraints": {
"notBefore": "departure_country"
}
},
{
"id": "q16",
"layout": "radio_question",
"question": "living_situation",
"options": [
{ "key": "alone",
"nextQuestionId": "q18"},
{ "key": "with_family",
"nextQuestionId": "q17"}
],
"pointsMap": {
"consent_signed": 0,
"consent_not_signed": 0
}
},
{
"id": "q17",
"layout": "value_spinner",
"question": "number_family_members",
"range": {
"min": 1,
"max": 15
}
},
{
"id": "q18",
"layout": "multi_check_box_question",
"question": "languages_spoken",
"options": [
{ "key": "language_albanian" },
{ "key": "language_pashto" },
{ "key": "language_russian" },
{ "key": "language_serbo" },
{ "key": "language_somali" },
{ "key": "language_tamil" },
{ "key": "language_tigrinya" },
{ "key": "language_turkish" },
{ "key": "language_ukrainian" },
{ "key": "language_urdu" },
{ "key": "language_arabic" },
{ "key": "language_dari_farsi" },
{ "key": "language_chinese" },
{ "key": "language_english" },
{ "key": "language_macedonian" },
{ "key": "language_kurmanji" },
{ "key": "language_hindi" },
{ "key": "language_french"},
{ "key": "language_other"}
],
"pointsMap": {
"language_albanian": 0,
"language_pashto": 0,
"language_russian": 0,
"language_serbo": 0,
"language_somali": 0,
"language_tamil": 0,
"language_tigrinya": 0,
"language_turkish": 0,
"language_ukrainian": 0,
"language_urdu": 0,
"language_arabic": 0,
"language_dari_farsi": 0,
"language_chinese": 0,
"language_english": 0,
"language_macedonian": 0,
"language_kurmanji": 0,
"language_hindi": 0,
"language_french": 0,
"language_other": 0
},
"minSelection": 1
},
{
"id": "q19",
"layout": "radio_question",
"question": "german_skills",
"options": [
{ "key": "skill_none"},
{ "key": "skill_basic"},
{ "key": "skill_a1"},
{ "key": "skill_a2"},
{ "key": "skill_b1"},
{ "key": "skill_b2"},
{ "key": "skill_c1"},
{ "key": "skill_c2"}
],
"pointsMap": {
"consent_signed": 0,
"consent_not_signed": 0
}
},
{
"id": "q30",
"layout": "value_spinner",
"question": "school_years_total",
"range": {
"min": 0,
"max": 15
},
"options": [
{ "value": 0, "nextQuestionId": "q23" }
]
},
{
"id": "q20",
"layout": "value_spinner",
"question": "school_years_origin",
"range": {
"min": 0,
"max": 15
}
},
{
"id": "q21",
"layout": "value_spinner",
"question": "school_years_transit",
"range": {
"min": 0,
"max": 15
}
},
{
"id": "q22",
"layout": "value_spinner",
"question": "school_years_germany",
"range": {
"min": 0,
"max": 15
}
},
{
"id": "q23",
"layout": "radio_question",
"question": "vocational_training",
"options": [
{ "key": "answer_no"},
{ "key": "answer_started"},
{ "key": "answer_completed"}
],
"pointsMap": {
"consent_signed": 0,
"consent_not_signed": 0
}
},
{
"id": "q24",
"layout": "date_spinner",
"question": "provisional_accommodation_since",
"constraints": {
"notBefore": "since_in_germany"
}
},
{
"id": "q25",
"layout": "date_spinner",
"question": "asylum_procedure_since",
"constraints": {
"notBefore": "since_in_germany"
}
},
{
"id": "last_page",
"layout": "last_page",
"textKey": "finish_data_entry",
"question": "data_final_warning"
}
]
}

View File

@ -0,0 +1,137 @@
{
"meta": {
"id": "questionnaire_2_rhs"
},
"questions": [
{
"id": "q0",
"layout": "client_coach_code_question",
"question": "client_code_entry_question",
"hint1": "client_code",
"hint2": "coach_code"
},
{
"id": "q3",
"layout": "glass_scale_question",
"question": "glass_explanation",
"symptoms": [
"q1_symptom",
"q2_symptom",
"q3_symptom",
"q4_symptom",
"q5_symptom",
"q6_symptom",
"q7_symptom",
"q8_symptom",
"q9_symptom"
]
},
{
"id": "q4",
"layout": "glass_scale_question",
"question": "how_strong_past_month",
"symptoms": [
"q10_reexperience_trauma",
"q11_physical_reaction",
"q12_emotional_numbness",
"q13_easily_startled"
]
},
{
"id": "q5",
"layout": "radio_question",
"textKey": "resilience_reflection_prompt",
"question": "q14_intro",
"options": [
{ "key": "resilience_fully_capable" },
{ "key": "resilience_mostly_capable" },
{ "key": "resilience_some_capable_some_not" },
{ "key": "resilience_mostly_not_capable" },
{ "key": "resilience_not_capable" }
],
"pointsMap": {
"resilience_fully_capable": 0,
"resilience_mostly_capable": 1,
"resilience_some_capable_some_not": 2,
"resilience_mostly_not_capable": 3,
"resilience_not_capable": 4
}
},
{
"id": "q6",
"layout": "value_spinner",
"question": "pain_rating_instruction",
"range": {
"min": 0,
"max": 10
}
},
{
"id": "q7",
"layout": "radio_question",
"question": "violence_question_1",
"options": [
{ "key": "no",
"nextQuestionId": "q10"},
{ "key": "yes" }
]
},
{
"id": "q8",
"layout": "radio_question",
"question": "times_happend",
"options": [
{ "key": "once" },
{ "key": "multiple_times" }
]
},
{
"id": "q9",
"layout": "value_spinner",
"question": "age_at_incident",
"range": {
"min": 1,
"max": 122
}
},
{
"id": "q10",
"layout": "radio_question",
"question": "conflict_since_arrival",
"options": [
{ "key": "no",
"nextQuestionId": "last_page"},
{ "key": "yes" }
]
},
{
"id": "q11",
"layout": "radio_question",
"question": "times_happend2",
"options": [
{ "key": "once" },
{ "key": "multiple_times" }
]
},
{
"id": "q12",
"layout": "value_spinner",
"question": "age_at_incident2",
"range": {
"min": 1,
"max": 122
}
},
{
"id": "q25",
"layout": "date_spinner",
"question": "asylum_procedure_since"
},
{
"id": "last_page",
"layout": "last_page",
"textKey": "finish_data_entry",
"question": "data_final_warning"
}
]
}

View File

@ -0,0 +1,255 @@
{
"meta": {
"id": "questionnaire_3_integration_index"
},
"questions": [
{
"id": "q0",
"layout": "client_coach_code_question",
"question": "client_code_entry_question",
"hint1": "client_code",
"hint2": "coach_code"
},
{
"id": "q1",
"layout": "radio_question",
"textKey": "intro_life_in_germany",
"question": "feeling_connected_to_germany_question",
"options": [
{ "key": "very_connected" },
{ "key": "quite_connected" },
{ "key": "moderately_connected" },
{ "key": "somewhat_loose" },
{ "key": "not_connected_at_all" }
],
"pointsMap": {
"very_connected": 3,
"quite_connected": 4,
"moderately_connected": 5,
"somewhat_loose": 1,
"not_connected_at_all": 2
}
},
{
"id": "q2",
"layout": "radio_question",
"question": "understanding_political_issues",
"options": [
{ "key": "very_good" },
{ "key": "good" },
{ "key": "fairly_good" },
{ "key": "somewhat" },
{ "key": "not_at_all" }
],
"pointsMap": {
"very_good": 1,
"good": 2,
"fairly_good": 3,
"somewhat": 4,
"not_at_all": 5
}
},
{
"id": "q3",
"layout": "radio_question",
"question": "unexpected_expense_question",
"options": [
{ "key": "expense_50" },
{ "key": "expense_100" },
{ "key": "expense_300" },
{ "key": "expense_500" },
{ "key": "expense_800" }
],
"pointsMap": {
"expense_50": 1,
"expense_100": 2,
"expense_300": 3,
"expense_500": 4,
"expense_800": 5
}
},
{
"id": "q4",
"layout": "radio_question",
"question": "dining_with_germans_question",
"options": [
{ "key": "never" },
{ "key": "once_a_year" },
{ "key": "once_a_month" },
{ "key": "once_a_week" },
{ "key": "almost_every_day" }
],
"pointsMap": {
"never": 1,
"once_a_year": 2,
"once_a_month": 3,
"once_a_week": 4,
"almost_every_day": 5
}
},
{
"id": "q5",
"layout": "radio_question",
"question": "reading_german_articles_question",
"options": [
{ "key": "very_good" },
{ "key": "good" },
{ "key": "moderately_good" },
{ "key": "not_good" },
{ "key": "not_at_all" }
],
"pointsMap": {
"very_good": 1,
"good": 2,
"moderately_good": 3,
"not_good": 4,
"not_at_all": 5
}
},
{
"id": "q6",
"layout": "radio_question",
"question": "visiting_doctor_question",
"options": [
{ "key": "very_difficult" },
{ "key": "rather_difficult" },
{ "key": "neither_nor" },
{ "key": "rather_easy" },
{ "key": "very_easy" }
],
"pointsMap": {
"very_difficult": 1,
"rather_difficult": 2,
"neither_nor": 3,
"rather_easy": 4,
"very_easy": 5
}
},
{
"id": "q7",
"layout": "radio_question",
"question": "feeling_as_outsider_question",
"options": [
{ "key": "never" },
{ "key": "rarely" },
{ "key": "sometimes" },
{ "key": "often" },
{ "key": "always" }
],
"pointsMap": {
"never": 1,
"rarely": 2,
"sometimes": 3,
"often": 4,
"always": 5
}
},
{
"id": "q8",
"layout": "radio_question",
"question": "recent_occupation_question",
"options": [
{ "key": "employed" },
{ "key": "education" },
{ "key": "internship" },
{ "key": "unemployed_searching" },
{ "key": "unemployed_not_searching" },
{ "key": "sick_or_disabled" },
{ "key": "unpaid_housework" },
{ "key": "other_activity" }
],
"pointsMap": {
"employed": 1,
"education": 2,
"internship": 3,
"unemployed_searching": 4,
"unemployed_not_searching": 8,
"sick_or_disabled": 5,
"unpaid_housework": 6,
"other_activity": 7
}
},
{
"id": "q9",
"layout": "radio_question",
"question": "discussing_politics_question",
"options": [
{ "key": "never" },
{ "key": "once_a_year" },
{ "key": "once_a_month" },
{ "key": "once_a_week" },
{ "key": "almost_every_day" }
],
"pointsMap": {
"never": 1,
"once_a_year": 2,
"once_a_month": 3,
"once_a_week": 4,
"almost_every_day": 5
}
},
{
"id": "q10",
"layout": "radio_question",
"question": "contact_with_germans_question",
"options": [
{ "key": "zero" },
{ "key": "one_to_three" },
{ "key": "three_to_six" },
{ "key": "seven_to_fourteen" },
{ "key": "fifteen_or_more" }
],
"pointsMap": {
"zero": 1,
"one_to_three": 2,
"three_to_six": 3,
"seven_to_fourteen": 4,
"fifteen_or_more": 5
}
},
{
"id": "q11",
"layout": "radio_question",
"question": "speaking_german_opinion_question",
"options": [
{ "key": "very_good" },
{ "key": "good" },
{ "key": "moderately_good" },
{ "key": "not_good" },
{ "key": "not_at_all" }
],
"pointsMap": {
"very_good": 1,
"good": 2,
"moderately_good": 3,
"not_good": 4,
"not_at_all": 5
}
},
{
"id": "q12",
"layout": "radio_question",
"question": "job_search_question",
"options": [
{ "key": "very_difficult" },
{ "key": "rather_difficult" },
{ "key": "neither_nor" },
{ "key": "rather_easy" },
{ "key": "very_easy" }
],
"pointsMap": {
"very_difficult": 1,
"rather_difficult": 2,
"neither_nor": 3,
"rather_easy": 4,
"very_easy": 5
}
},
{
"id": "last_page",
"layout": "last_page",
"textKey": "finish_data_entry",
"question": "data_final_warning"
}
]
}

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"
}
]
}

View File

@ -0,0 +1,84 @@
{
"meta": {
"id": "questionnaire_5_final_interview"
},
"questions": [
{
"id": "q0",
"layout": "client_coach_code_question",
"question": "client_code_entry_question",
"hint1": "client_code",
"hint2": "coach_code"
},
{
"id": "q1",
"layout": "radio_question",
"question": "consent_followup_6_months",
"options": [
{ "key": "yes" },
{ "key": "no" }
]
},
{
"id": "q2",
"layout": "date_spinner",
"question": "date_final_interview"
},
{
"id": "q3",
"layout": "value_spinner",
"question": "amount_nat_appointments",
"range": {
"min": 0,
"max": 20
}
},
{
"id": "q4",
"layout": "value_spinner",
"question": "amount_session_flowers",
"range": {
"min": 0,
"max": 20
}
},
{
"id": "q5",
"layout": "value_spinner",
"question": "amount_session_stones",
"range": {
"min": 0,
"max": 20
}
},
{
"id": "q6",
"layout": "radio_question",
"question": "termination_nat_coaching",
"options": [
{"key": "termination_nat_regular",
"nextQuestionId": "last_page"},
{"key": "termination_nat_referral",
"nextQuestionId": "last_page"},
{"key": "termination_nat_dropout",
"nextQuestionId": "q7"}
]
},
{
"id": "q7",
"layout": "radio_question",
"question": "client_canceled_NAT",
"options": [
{"key": "after_meeting"},
{"key": "without_giving_reasons"},
{"key": "with_reasons_given"}
]
},
{
"id": "last_page",
"layout": "last_page",
"textKey": "finish_data_entry",
"question": "data_final_warning"
}
]
}

View File

@ -0,0 +1,349 @@
{
"meta": {
"id": "questionnaire_6_follow_up_survey"
},
"questions": [
{
"id": "q0",
"layout": "client_coach_code_question",
"question": "client_code_entry_question",
"hint1": "client_code",
"hint2": "coach_code"
},
{
"id": "q1",
"layout": "radio_question",
"question": "follow_up",
"options": [
{
"key": "follow_up_completed",
"nextQuestionId": "q2"
},
{
"key": "follow_up_failed_contact",
"nextQuestionId": "last_page"
},
{
"key": "follow_up_consent_withdrawn",
"nextQuestionId": "last_page"
}
],
"pointsMap": {
"follow_up_completed": 0,
"follow_up_failed_contact": 0,
"follow_up_consent_withdrawn": 0
}
},
{
"id": "q2",
"layout": "radio_question",
"question": "special_burden_question",
"options": [
{ "key": "yes" },
{ "key": "no" }
],
"pointsMap": {
"yes": 0,
"no": 0
}
},
{
"id": "q3",
"layout": "glass_scale_question",
"question": "glass_explanation",
"symptoms": [
"q1_symptom",
"q2_symptom",
"q3_symptom",
"q4_symptom",
"q5_symptom",
"q6_symptom",
"q7_symptom",
"q8_symptom",
"q9_symptom"
]
},
{
"id": "q4",
"layout": "glass_scale_question",
"question": "how_strong_past_month",
"symptoms": [
"q10_reexperience_trauma",
"q11_physical_reaction",
"q12_emotional_numbness",
"q13_easily_startled"
]
},
{
"id": "q5",
"layout": "radio_question",
"textKey": "resilience_reflection_prompt",
"question": "q14_intro",
"options": [
{ "key": "resilience_fully_capable" },
{ "key": "resilience_mostly_capable" },
{ "key": "resilience_some_capable_some_not" },
{ "key": "resilience_mostly_not_capable" },
{ "key": "resilience_not_capable" }
],
"pointsMap": {
"resilience_fully_capable": 0,
"resilience_mostly_capable": 0,
"resilience_some_capable_some_not": 0,
"resilience_mostly_not_capable": 0,
"resilience_not_capable": 0
}
},
{
"id": "q6",
"layout": "value_spinner",
"question": "pain_rating_instruction",
"range": {
"min": 0,
"max": 10
}
},
{
"id": "q7",
"layout": "radio_question",
"textKey": "intro_life_in_germany",
"question": "feeling_connected_to_germany_question",
"options": [
{ "key": "very_connected" },
{ "key": "quite_connected" },
{ "key": "moderately_connected" },
{ "key": "somewhat_loose" },
{ "key": "not_connected_at_all" }
],
"pointsMap": {
"very_connected": 0,
"quite_connected": 0,
"moderately_connected": 0,
"somewhat_loose": 0,
"not_connected_at_all": 0
}
},
{
"id": "q8",
"layout": "radio_question",
"question": "understanding_political_issues",
"options": [
{ "key": "very_good" },
{ "key": "good" },
{ "key": "fairly_good" },
{ "key": "somewhat" },
{ "key": "not_at_all" }
],
"pointsMap": {
"very_good": 0,
"good": 0,
"fairly_good": 0,
"somewhat": 0,
"not_at_all": 0
}
},
{
"id": "q9",
"layout": "radio_question",
"question": "unexpected_expense_question",
"options": [
{ "key": "expense_50" },
{ "key": "expense_100" },
{ "key": "expense_300" },
{ "key": "expense_500" },
{ "key": "expense_800" }
],
"pointsMap": {
"expense_50": 0,
"expense_100": 0,
"expense_300": 0,
"expense_500": 0,
"expense_800": 0
}
},
{
"id": "q10",
"layout": "radio_question",
"question": "dining_with_germans_question",
"options": [
{ "key": "never" },
{ "key": "once_a_year" },
{ "key": "once_a_month" },
{ "key": "once_a_week" },
{ "key": "almost_every_day" }
],
"pointsMap": {
"never": 0,
"once_a_year": 0,
"once_a_month": 0,
"once_a_week": 0,
"almost_every_day": 0
}
},
{
"id": "q11",
"layout": "radio_question",
"question": "reading_german_articles_question",
"options": [
{ "key": "very_good" },
{ "key": "good" },
{ "key": "moderately_good" },
{ "key": "not_good" },
{ "key": "not_at_all" }
],
"pointsMap": {
"very_good": 0,
"good": 0,
"moderately_good": 0,
"not_good": 0,
"not_at_all": 0
}
},
{
"id": "q12",
"layout": "radio_question",
"question": "visiting_doctor_question",
"options": [
{ "key": "very_difficult" },
{ "key": "rather_difficult" },
{ "key": "neither_nor" },
{ "key": "rather_easy" },
{ "key": "very_easy" }
],
"pointsMap": {
"very_difficult": 0,
"rather_difficult": 0,
"neither_nor": 0,
"rather_easy": 0,
"very_easy": 0
}
},
{
"id": "q13",
"layout": "radio_question",
"question": "feeling_as_outsider_question",
"options": [
{ "key": "never" },
{ "key": "rarely" },
{ "key": "sometimes" },
{ "key": "often" },
{ "key": "always" }
],
"pointsMap": {
"never": 0,
"rarely": 0,
"sometimes": 0,
"often": 0,
"always": 0
}
},
{
"id": "q14",
"layout": "radio_question",
"question": "recent_occupation_question",
"options": [
{ "key": "employed" },
{ "key": "education" },
{ "key": "internship" },
{ "key": "unemployed_searching" },
{ "key": "unemployed_not_searching" },
{ "key": "sick_or_disabled" },
{ "key": "unpaid_housework" },
{ "key": "other_activity" }
],
"pointsMap": {
"employed": 0,
"education": 0,
"internship": 0,
"unemployed_searching": 0,
"unemployed_not_searching": 0,
"sick_or_disabled": 0,
"unpaid_housework": 0,
"other_activity": 0
}
},
{
"id": "q15",
"layout": "radio_question",
"question": "discussing_politics_question",
"options": [
{ "key": "never" },
{ "key": "once_a_year" },
{ "key": "once_a_month" },
{ "key": "once_a_week" },
{ "key": "almost_every_day" }
],
"pointsMap": {
"never": 0,
"once_a_year": 0,
"once_a_month": 0,
"once_a_week": 0,
"almost_every_day": 0
}
},
{
"id": "q16",
"layout": "radio_question",
"question": "contact_with_germans_question",
"options": [
{ "key": "zero" },
{ "key": "one_to_three" },
{ "key": "three_to_six" },
{ "key": "seven_to_fourteen" },
{ "key": "fifteen_or_more" }
],
"pointsMap": {
"zero": 0,
"one_to_three": 0,
"three_to_six": 0,
"seven_to_fourteen": 0,
"fifteen_or_more": 0
}
},
{
"id": "q17",
"layout": "radio_question",
"question": "speaking_german_opinion_question",
"options": [
{ "key": "very_good" },
{ "key": "good" },
{ "key": "fairly_good" },
{ "key": "not_good" },
{ "key": "not_at_all" }
],
"pointsMap": {
"very_good": 0,
"good": 0,
"fairly_good": 0,
"not_good": 0,
"not_at_all": 0
}
},
{
"id": "q18",
"layout": "radio_question",
"question": "job_search_question",
"options": [
{ "key": "very_difficult" },
{ "key": "rather_difficult" },
{ "key": "neither_nor" },
{ "key": "rather_easy" },
{ "key": "very_easy" }
],
"pointsMap": {
"very_difficult": 0,
"rather_difficult": 0,
"neither_nor": 0,
"rather_easy": 0,
"very_easy": 0
}
},
{
"id": "last_page",
"layout": "last_page",
"textKey": "finish_data_entry",
"question": "data_final_warning"
}
]
}

View 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"
}
]
}
}
]