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