{
  "template": {
    "code": "copd_core",
    "name": "COPD assessment",
    "category": "disease",
    "version": 1,
    "is_current": true,
    "is_active": true,
    "scoring_strategy": "single_value",
    "description": "CAT, mMRC, spirometry, pack-years, oxygen therapy.",
    "meta": {
      "capture_roles": [
        "doctor",
        "nurse"
      ],
      "specialty": "respiratory",
      "estimated_minutes": 8,
      "pathway_codes": [
        "copd"
      ],
      "attribution": "Ladill Care COPD assessment content pack (platform-authored clinical checklist)."
    }
  },
  "questions": [
    {
      "code": "mmrc",
      "section": "Dyspnea",
      "label": "mMRC dyspnea scale",
      "answer_type": "score_item",
      "is_required": true,
      "sort_order": 10,
      "options": {
        "choices": [
          {
            "code": "0",
            "label": "0 \u2014 breathless only with strenuous exercise",
            "score": 0
          },
          {
            "code": "1",
            "label": "1 \u2014 short of breath when hurrying",
            "score": 1
          },
          {
            "code": "2",
            "label": "2 \u2014 walks slower than people of same age",
            "score": 2
          },
          {
            "code": "3",
            "label": "3 \u2014 stops for breath after ~100 m",
            "score": 3
          },
          {
            "code": "4",
            "label": "4 \u2014 too breathless to leave house",
            "score": 4
          }
        ]
      },
      "score_key": "mmrc"
    },
    {
      "code": "cat_score",
      "section": "Symptoms",
      "label": "CAT score (0\u201340)",
      "answer_type": "number",
      "is_required": false,
      "sort_order": 20,
      "options": {
        "min": 0,
        "max": 40
      },
      "validation": {
        "min": 0,
        "max": 40
      }
    },
    {
      "code": "fev1_percent",
      "section": "Spirometry",
      "label": "FEV1 % predicted",
      "answer_type": "number",
      "is_required": false,
      "sort_order": 30,
      "options": {
        "min": 10,
        "max": 150,
        "unit": "%"
      },
      "validation": {
        "min": 10,
        "max": 150
      }
    },
    {
      "code": "pack_years",
      "section": "Risk",
      "label": "Smoking pack-years",
      "answer_type": "number",
      "is_required": false,
      "sort_order": 40,
      "options": {
        "min": 0,
        "max": 200
      },
      "validation": {
        "min": 0,
        "max": 200
      }
    },
    {
      "code": "oxygen_therapy",
      "section": "Treatment",
      "label": "Long-term oxygen therapy",
      "answer_type": "single_choice",
      "is_required": false,
      "sort_order": 50,
      "options": {
        "choices": [
          {
            "code": "no",
            "label": "No"
          },
          {
            "code": "yes",
            "label": "Yes"
          }
        ]
      }
    },
    {
      "code": "exacerbations_12m",
      "section": "Control",
      "label": "Exacerbations last 12 months",
      "answer_type": "number",
      "is_required": false,
      "sort_order": 60,
      "options": {
        "min": 0,
        "max": 30
      },
      "validation": {
        "min": 0,
        "max": 30
      }
    },
    {
      "code": "notes",
      "section": "Notes",
      "label": "Notes",
      "answer_type": "textarea",
      "is_required": false,
      "sort_order": 100,
      "validation": {
        "max": 5000
      }
    }
  ]
}
