{
  "template": {
    "code": "hypertension_core",
    "name": "Hypertension assessment",
    "category": "disease",
    "version": 1,
    "is_current": true,
    "is_active": true,
    "scoring_strategy": null,
    "description": "BP control, end-organ risk, adherence for hypertension pathway.",
    "meta": {
      "capture_roles": [
        "doctor",
        "nurse"
      ],
      "specialty": "cardiology",
      "estimated_minutes": 8,
      "pathway_codes": [
        "hypertension"
      ],
      "attribution": "Ladill Care Hypertension assessment content pack (platform-authored clinical checklist)."
    }
  },
  "questions": [
    {
      "code": "sbp",
      "section": "BP",
      "label": "Clinic SBP (mmHg)",
      "answer_type": "number",
      "is_required": true,
      "sort_order": 10,
      "options": {
        "min": 60,
        "max": 300,
        "unit": "mmHg"
      },
      "validation": {
        "min": 60,
        "max": 300
      }
    },
    {
      "code": "dbp",
      "section": "BP",
      "label": "Clinic DBP (mmHg)",
      "answer_type": "number",
      "is_required": true,
      "sort_order": 20,
      "options": {
        "min": 30,
        "max": 200,
        "unit": "mmHg"
      },
      "validation": {
        "min": 30,
        "max": 200
      }
    },
    {
      "code": "control_status",
      "section": "BP",
      "label": "BP control",
      "answer_type": "single_choice",
      "is_required": true,
      "sort_order": 30,
      "options": {
        "choices": [
          {
            "code": "controlled",
            "label": "Controlled"
          },
          {
            "code": "uncontrolled",
            "label": "Uncontrolled"
          },
          {
            "code": "unknown",
            "label": "Unknown"
          }
        ]
      }
    },
    {
      "code": "home_monitoring",
      "section": "BP",
      "label": "Home BP monitoring",
      "answer_type": "single_choice",
      "is_required": false,
      "sort_order": 40,
      "options": {
        "choices": [
          {
            "code": "yes",
            "label": "Yes"
          },
          {
            "code": "no",
            "label": "No"
          }
        ]
      }
    },
    {
      "code": "target_organ",
      "section": "Risk",
      "label": "Target organ damage",
      "answer_type": "single_choice",
      "is_required": false,
      "sort_order": 50,
      "options": {
        "choices": [
          {
            "code": "none",
            "label": "None known"
          },
          {
            "code": "lvh",
            "label": "LVH"
          },
          {
            "code": "ckd",
            "label": "CKD"
          },
          {
            "code": "retinopathy",
            "label": "Retinopathy"
          },
          {
            "code": "multiple",
            "label": "Multiple"
          }
        ]
      }
    },
    {
      "code": "adherence",
      "section": "Treatment",
      "label": "Medication adherence",
      "answer_type": "single_choice",
      "is_required": false,
      "sort_order": 60,
      "options": {
        "choices": [
          {
            "code": "good",
            "label": "Good"
          },
          {
            "code": "fair",
            "label": "Fair"
          },
          {
            "code": "poor",
            "label": "Poor"
          }
        ]
      }
    },
    {
      "code": "notes",
      "section": "Notes",
      "label": "Notes",
      "answer_type": "textarea",
      "is_required": false,
      "sort_order": 100,
      "validation": {
        "max": 5000
      }
    }
  ]
}
