{
  "template": {
    "code": "stroke_swallow",
    "name": "Swallow assessment",
    "category": "disease",
    "version": 1,
    "is_current": true,
    "is_active": true,
    "scoring_strategy": null,
    "description": "Bedside swallow screen after stroke. Optional on stroke pathway.",
    "meta": {
      "capture_roles": ["doctor", "nurse"],
      "specialty": "neurology",
      "estimated_minutes": 5,
      "pathway_codes": ["stroke"],
      "attribution": "Ladill Care stroke swallow screen (platform-authored checklist). Not a substitute for formal SALT assessment."
    }
  },
  "questions": [
    {
      "code": "npo_status",
      "section": "Screen",
      "label": "Nil by mouth status",
      "answer_type": "single_choice",
      "is_required": true,
      "sort_order": 10,
      "options": {
        "choices": [
          { "code": "npo", "label": "NBM / NPO" },
          { "code": "oral_allowed", "label": "Oral intake allowed" },
          { "code": "modified", "label": "Modified texture only" }
        ]
      }
    },
    {
      "code": "level_of_alertness",
      "section": "Screen",
      "label": "Alert enough for swallow trial?",
      "answer_type": "boolean",
      "is_required": true,
      "sort_order": 20
    },
    {
      "code": "voice_wet",
      "section": "Screen",
      "label": "Wet / gurgly voice after sip?",
      "answer_type": "single_choice",
      "is_required": false,
      "sort_order": 30,
      "options": {
        "choices": [
          { "code": "no", "label": "No" },
          { "code": "yes", "label": "Yes" },
          { "code": "not_tested", "label": "Not tested" }
        ]
      }
    },
    {
      "code": "cough_after_sip",
      "section": "Screen",
      "label": "Cough / choke on water trial?",
      "answer_type": "single_choice",
      "is_required": false,
      "sort_order": 40,
      "options": {
        "choices": [
          { "code": "no", "label": "No" },
          { "code": "yes", "label": "Yes" },
          { "code": "not_tested", "label": "Not tested" }
        ]
      }
    },
    {
      "code": "screen_result",
      "section": "Result",
      "label": "Screen result",
      "answer_type": "single_choice",
      "is_required": true,
      "sort_order": 50,
      "options": {
        "choices": [
          { "code": "pass", "label": "Pass — oral trial appropriate" },
          { "code": "fail", "label": "Fail — keep NBM, refer SALT" },
          { "code": "deferred", "label": "Deferred — not safe to screen" }
        ]
      }
    },
    {
      "code": "salt_referral",
      "section": "Result",
      "label": "Speech & language therapy referral",
      "answer_type": "boolean",
      "is_required": false,
      "sort_order": 60
    },
    {
      "code": "notes",
      "section": "Result",
      "label": "Notes",
      "answer_type": "textarea",
      "is_required": false,
      "sort_order": 70,
      "validation": { "max": 2000 }
    }
  ]
}
