{
  "template": {
    "code": "stroke_clinical",
    "name": "Stroke clinical assessment",
    "category": "disease",
    "version": 1,
    "is_current": true,
    "is_active": true,
    "scoring_strategy": null,
    "description": "Stroke subtype (incl. TIA), timeline, imaging, reperfusion, and focal findings. Optional on pathway activation.",
    "meta": {
      "capture_roles": ["doctor"],
      "specialty": "neurology",
      "estimated_minutes": 8,
      "pathway_codes": ["stroke"],
      "attribution": "Ladill Care stroke clinical form (platform-authored). Subtype field implements KD-19 (single stroke pathway for TIA and stroke)."
    }
  },
  "questions": [
    {
      "code": "stroke_subtype",
      "section": "Classification",
      "label": "Stroke / TIA subtype",
      "help_text": "TIA shares the stroke pathway; record subtype here (not a separate pathway).",
      "answer_type": "single_choice",
      "is_required": true,
      "sort_order": 10,
      "options": {
        "choices": [
          { "code": "tia", "label": "TIA" },
          { "code": "ischaemic", "label": "Ischaemic stroke" },
          { "code": "haemorrhagic", "label": "Haemorrhagic stroke" },
          { "code": "unspecified", "label": "Unspecified / under investigation" }
        ]
      }
    },
    {
      "code": "tlkw",
      "section": "Timeline",
      "label": "Time last known well",
      "answer_type": "datetime",
      "is_required": false,
      "sort_order": 20
    },
    {
      "code": "symptom_onset",
      "section": "Timeline",
      "label": "Symptom onset (if witnessed)",
      "answer_type": "datetime",
      "is_required": false,
      "sort_order": 30
    },
    {
      "code": "ct_findings",
      "section": "Imaging",
      "label": "CT / imaging findings",
      "answer_type": "textarea",
      "is_required": false,
      "sort_order": 40,
      "validation": { "max": 5000 }
    },
    {
      "code": "thrombolysis_status",
      "section": "Reperfusion",
      "label": "Thrombolysis status",
      "answer_type": "single_choice",
      "is_required": false,
      "sort_order": 50,
      "options": {
        "choices": [
          { "code": "not_indicated", "label": "Not indicated" },
          { "code": "contraindicated", "label": "Contraindicated" },
          { "code": "given", "label": "Given" },
          { "code": "offered_declined", "label": "Offered / declined" },
          { "code": "pending", "label": "Pending decision" }
        ]
      }
    },
    {
      "code": "thrombolysis_time",
      "section": "Reperfusion",
      "label": "Thrombolysis time (if given)",
      "answer_type": "datetime",
      "is_required": false,
      "sort_order": 60
    },
    {
      "code": "mechanical_thrombectomy",
      "section": "Reperfusion",
      "label": "Mechanical thrombectomy",
      "answer_type": "single_choice",
      "is_required": false,
      "sort_order": 70,
      "options": {
        "choices": [
          { "code": "not_indicated", "label": "Not indicated" },
          { "code": "referred", "label": "Referred / transferred" },
          { "code": "performed", "label": "Performed" },
          { "code": "not_available", "label": "Not available" }
        ]
      }
    },
    {
      "code": "limb_strength",
      "section": "Findings",
      "label": "Limb strength summary",
      "answer_type": "textarea",
      "is_required": false,
      "sort_order": 80,
      "validation": { "max": 2000 }
    },
    {
      "code": "aphasia",
      "section": "Findings",
      "label": "Aphasia",
      "answer_type": "single_choice",
      "is_required": false,
      "sort_order": 90,
      "options": {
        "choices": [
          { "code": "none", "label": "None" },
          { "code": "mild", "label": "Mild" },
          { "code": "moderate", "label": "Moderate" },
          { "code": "severe", "label": "Severe" }
        ]
      }
    },
    {
      "code": "dysphagia",
      "section": "Findings",
      "label": "Dysphagia",
      "answer_type": "single_choice",
      "is_required": false,
      "sort_order": 100,
      "options": {
        "choices": [
          { "code": "none", "label": "None / not suspected" },
          { "code": "suspected", "label": "Suspected" },
          { "code": "confirmed", "label": "Confirmed" }
        ]
      }
    },
    {
      "code": "spasticity",
      "section": "Findings",
      "label": "Spasticity",
      "answer_type": "single_choice",
      "is_required": false,
      "sort_order": 110,
      "options": {
        "choices": [
          { "code": "none", "label": "None" },
          { "code": "mild", "label": "Mild" },
          { "code": "moderate", "label": "Moderate" },
          { "code": "severe", "label": "Severe" },
          { "code": "na_acute", "label": "N/A (hyperacute)" }
        ]
      }
    },
    {
      "code": "cognition",
      "section": "Findings",
      "label": "Cognition notes",
      "answer_type": "textarea",
      "is_required": false,
      "sort_order": 120,
      "validation": { "max": 2000 }
    },
    {
      "code": "clinical_notes",
      "section": "Notes",
      "label": "Additional clinical notes",
      "answer_type": "textarea",
      "is_required": false,
      "sort_order": 130,
      "validation": { "max": 10000 }
    }
  ]
}
