{
  "template": {
    "code": "cancer_core",
    "name": "Cancer care assessment",
    "category": "disease",
    "version": 1,
    "is_current": true,
    "is_active": true,
    "scoring_strategy": "single_value",
    "description": "Primary site, stage summary, performance status, treatment phase.",
    "meta": {
      "capture_roles": [
        "doctor",
        "nurse"
      ],
      "specialty": "oncology",
      "estimated_minutes": 8,
      "pathway_codes": [
        "cancer"
      ],
      "attribution": "Ladill Care Cancer care assessment content pack (platform-authored clinical checklist)."
    }
  },
  "questions": [
    {
      "code": "primary_site",
      "section": "Disease",
      "label": "Primary site / diagnosis",
      "answer_type": "text",
      "is_required": true,
      "sort_order": 10,
      "validation": {
        "max": 5000
      }
    },
    {
      "code": "stage_summary",
      "section": "Disease",
      "label": "Stage summary",
      "answer_type": "single_choice",
      "is_required": true,
      "sort_order": 20,
      "options": {
        "choices": [
          {
            "code": "local",
            "label": "Localized"
          },
          {
            "code": "regional",
            "label": "Regional"
          },
          {
            "code": "metastatic",
            "label": "Metastatic"
          },
          {
            "code": "unknown",
            "label": "Unknown"
          },
          {
            "code": "remission",
            "label": "Remission"
          }
        ]
      }
    },
    {
      "code": "ecog",
      "section": "Function",
      "label": "ECOG performance status",
      "answer_type": "score_item",
      "is_required": true,
      "sort_order": 30,
      "options": {
        "choices": [
          {
            "code": "0",
            "label": "0 \u2014 Fully active",
            "score": 0
          },
          {
            "code": "1",
            "label": "1 \u2014 Restricted strenuous",
            "score": 1
          },
          {
            "code": "2",
            "label": "2 \u2014 Ambulatory, self-care",
            "score": 2
          },
          {
            "code": "3",
            "label": "3 \u2014 Limited self-care",
            "score": 3
          },
          {
            "code": "4",
            "label": "4 \u2014 Completely disabled",
            "score": 4
          }
        ]
      },
      "score_key": "ecog"
    },
    {
      "code": "treatment_phase",
      "section": "Treatment",
      "label": "Treatment phase",
      "answer_type": "single_choice",
      "is_required": false,
      "sort_order": 40,
      "options": {
        "choices": [
          {
            "code": "workup",
            "label": "Work-up"
          },
          {
            "code": "active",
            "label": "Active treatment"
          },
          {
            "code": "surveillance",
            "label": "Surveillance"
          },
          {
            "code": "palliative",
            "label": "Palliative"
          },
          {
            "code": "survivorship",
            "label": "Survivorship"
          }
        ]
      }
    },
    {
      "code": "notes",
      "section": "Notes",
      "label": "Notes",
      "answer_type": "textarea",
      "is_required": false,
      "sort_order": 100,
      "validation": {
        "max": 5000
      }
    }
  ]
}
