{
  "template": {
    "code": "pain_nrs",
    "name": "Pain NRS (0–10)",
    "category": "screening",
    "version": 1,
    "is_current": true,
    "is_active": true,
    "scoring_strategy": "single_value",
    "description": "Numeric rating scale for pain intensity at rest / with activity.",
    "meta": {
      "capture_roles": ["nurse", "ed_nurse", "theatre_nurse", "labour_ward_nurse", "fertility_nurse", "dialysis_nurse", "midwife", "doctor", "general_physician", "emergency_physician"],
      "specialty": "nursing",
      "pack_family": "nursing",
      "estimated_minutes": 1,
      "max_total": 10,
      "severity_bands": [
        { "max": 3, "label": "Mild" },
        { "max": 6, "label": "Moderate" },
        { "max": 10, "label": "Severe" }
      ]
    }
  },
  "questions": [
    {
      "code": "pain_score",
      "section": "Pain",
      "label": "Pain intensity (0 = none, 10 = worst imaginable)",
      "answer_type": "scale",
      "is_required": true,
      "sort_order": 10,
      "score_key": "pain",
      "options": {
        "min": 0,
        "max": 10,
        "step": 1
      }
    },
    {
      "code": "pain_location",
      "section": "Pain",
      "label": "Location / notes",
      "answer_type": "text",
      "is_required": false,
      "sort_order": 20,
      "options": {}
    }
  ]
}
