{
  "template": {
    "code": "asthma_core",
    "name": "Asthma assessment",
    "category": "disease",
    "version": 1,
    "is_current": true,
    "is_active": true,
    "scoring_strategy": null,
    "description": "Control, exacerbations, inhaler technique, peak flow.",
    "meta": {
      "capture_roles": [
        "doctor",
        "nurse"
      ],
      "specialty": "respiratory",
      "estimated_minutes": 8,
      "pathway_codes": [
        "asthma"
      ],
      "attribution": "Ladill Care Asthma assessment content pack (platform-authored clinical checklist)."
    }
  },
  "questions": [
    {
      "code": "control",
      "section": "Control",
      "label": "Asthma control",
      "answer_type": "single_choice",
      "is_required": true,
      "sort_order": 10,
      "options": {
        "choices": [
          {
            "code": "well",
            "label": "Well controlled"
          },
          {
            "code": "partly",
            "label": "Partly controlled"
          },
          {
            "code": "uncontrolled",
            "label": "Uncontrolled"
          }
        ]
      }
    },
    {
      "code": "exacerbations_12m",
      "section": "Control",
      "label": "Exacerbations in last 12 months",
      "answer_type": "number",
      "is_required": false,
      "sort_order": 20,
      "options": {
        "min": 0,
        "max": 50
      },
      "validation": {
        "min": 0,
        "max": 50
      }
    },
    {
      "code": "peak_flow",
      "section": "Lung function",
      "label": "Peak expiratory flow (L/min)",
      "answer_type": "number",
      "is_required": false,
      "sort_order": 30,
      "options": {
        "min": 50,
        "max": 800,
        "unit": "L/min"
      },
      "validation": {
        "min": 50,
        "max": 800
      }
    },
    {
      "code": "inhaler_technique",
      "section": "Treatment",
      "label": "Inhaler technique",
      "answer_type": "single_choice",
      "is_required": false,
      "sort_order": 40,
      "options": {
        "choices": [
          {
            "code": "good",
            "label": "Good"
          },
          {
            "code": "fair",
            "label": "Fair"
          },
          {
            "code": "poor",
            "label": "Poor"
          },
          {
            "code": "not_assessed",
            "label": "Not assessed"
          }
        ]
      }
    },
    {
      "code": "night_symptoms",
      "section": "Symptoms",
      "label": "Night symptoms",
      "answer_type": "single_choice",
      "is_required": false,
      "sort_order": 50,
      "options": {
        "choices": [
          {
            "code": "none",
            "label": "None"
          },
          {
            "code": "occasional",
            "label": "Occasional"
          },
          {
            "code": "frequent",
            "label": "Frequent"
          }
        ]
      }
    },
    {
      "code": "notes",
      "section": "Notes",
      "label": "Notes",
      "answer_type": "textarea",
      "is_required": false,
      "sort_order": 100,
      "validation": {
        "max": 5000
      }
    }
  ]
}
