{
  "pathway": {
    "code": "heart_failure",
    "name": "Heart Failure",
    "description": "Heart Failure clinical pathway.",
    "match_rules": {
      "icd_prefixes": [
        "I50",
        "I11"
      ],
      "keywords": [
        "heart failure",
        "chf",
        "ccf",
        "hfrEF",
        "hfpef",
        "congestive cardiac failure"
      ],
      "exclude_keywords": [
        "family history"
      ]
    },
    "is_active": true,
    "sort_order": 30,
    "meta": {
      "specialty": "cardiology"
    }
  },
  "templates": [
    {
      "template_code": "heart_failure_core",
      "is_required_on_activation": true,
      "phase": "any",
      "sort_order": 1
    }
  ]
}
