[
  {
    "phenotype_id": "PH2654",
    "phenotype_version_id": 6582,
    "name": "Heart failure codes",
    "definition": "This codelist was taken from [OpenCodelists](https://www.opencodelists.org/), created by [OpenSAFELY](https://www.opensafely.org/). We recommend viewing this Phenotype on the OpenCodelist website to view the most recent version.\n\n\nTaken from the `HF_COD` refset published by NHSD. Contains public sector information licensed under the UK Open Government Licence v3\\.0 (https://www.nationalarchives.gov.uk/doc/open\\-government\\-licence/version/3/).\n\n\n© University of Oxford for the Bennett Institute for Applied Data Science 2025\\. This work may be copied freely for non\\-commercial research and study.\n\n",
    "implementation": null,
    "publications": null,
    "validation": null,
    "citation_requirements": null,
    "created": "2026-01-26T22:34:23.242642Z",
    "author": "NHSD Primary Care Domain Refsets",
    "collections": [
      {
        "name": "OpenCodelist",
        "value": 31
      },
      {
        "name": "Phenotype Library",
        "value": 18
      }
    ],
    "tags": null,
    "organisation": {
      "id": 1,
      "slug": "opensafely",
      "name": "OpenSAFELY"
    },
    "world_access": 1,
    "updated": "2026-01-26T22:34:28.486978Z",
    "references": [
      {
        "url": "https://digital.nhs.uk/data-and-information/data-collections-and-data-sets/data-collections/quality-and-outcomes-framework-qof/quality-and-outcome-framework-qof-business-rules/primary-care-domain-reference-set-portal",
        "title": "Primary Care Domain Reference Set Portal"
      }
    ],
    "signed_off": [],
    "methodology": "",
    "coding_system": [
      {
        "name": "SNOMED  CT codes",
        "value": 9
      }
    ],
    "open_codelist_id": "nhsd-primary-care-domain-refsets/hf_cod",
    "source_reference": "https://www.opencodelists.org/codelist/nhsd-primary-care-domain-refsets/hf_cod/20250912",
    "concept_information": [
      {
        "concept_id": 6759,
        "concept_version_id": 14244,
        "concept_name": "nhsd-primary-care-domain-refsets/hf_cod/20250912",
        "coding_system": {
          "id": 9,
          "name": "SNOMED  CT codes",
          "description": "SNOMED CT codes"
        },
        "phenotype_id": "PH2654",
        "phenotype_version_id": 6582,
        "phenotype_name": "Heart failure codes",
        "code_attribute_header": [],
        "codes": [
          {
            "code": "10335000",
            "description": "Chronic right-sided heart failure",
            "attributes": null
          },
          {
            "code": "10633002",
            "description": "Acute congestive heart failure",
            "attributes": null
          },
          {
            "code": "111283005",
            "description": "Chronic left-sided heart failure",
            "attributes": null
          },
          {
            "code": "1204200007",
            "description": "Left ventricular failure with normal ejection fraction due to valvular heart disease",
            "attributes": null
          },
          {
            "code": "1204203009",
            "description": "Left ventricular failure with normal ejection fraction due to coronary arteriosclerosis",
            "attributes": null
          },
          {
            "code": "1204204003",
            "description": "Left ventricular failure with normal ejection fraction due to myocarditis",
            "attributes": null
          },
          {
            "code": "1204206001",
            "description": "Left ventricular failure with normal ejection fraction due to cardiomyopathy",
            "attributes": null
          },
          {
            "code": "1204462004",
            "description": "Left ventricular failure with sepsis",
            "attributes": null
          },
          {
            "code": "1204468000",
            "description": "Right ventricular failure with sepsis",
            "attributes": null
          },
          {
            "code": "1208843003",
            "description": "Right ventricular failure due to heart valve disorder",
            "attributes": null
          },
          {
            "code": "1208846006",
            "description": "Right ventricular failure due to disorder of lung",
            "attributes": null
          },
          {
            "code": "1208848007",
            "description": "Right ventricular failure due to disorder of pulmonary circulation",
            "attributes": null
          },
          {
            "code": "1208850004",
            "description": "Right ventricular failure due to right ventricular infarction",
            "attributes": null
          },
          {
            "code": "128404006",
            "description": "Right heart failure",
            "attributes": null
          },
          {
            "code": "1296659009",
            "description": "Acute exacerbation of chronic heart failure",
            "attributes": null
          },
          {
            "code": "153941000119100",
            "description": "Chronic combined systolic and diastolic heart failure",
            "attributes": null
          },
          {
            "code": "16838951000119100",
            "description": "Acute on chronic right-sided congestive heart failure",
            "attributes": null
          },
          {
            "code": "195111005",
            "description": "Decompensated cardiac failure",
            "attributes": null
          },
          {
            "code": "195112003",
            "description": "Compensated cardiac failure",
            "attributes": null
          },
          {
            "code": "195114002",
            "description": "Acute left ventricular failure",
            "attributes": null
          },
          {
            "code": "233924009",
            "description": "Heart failure as a complication of care",
            "attributes": null
          },
          {
            "code": "314206003",
            "description": "Refractory heart failure",
            "attributes": null
          },
          {
            "code": "367363000",
            "description": "Right ventricular failure",
            "attributes": null
          },
          {
            "code": "42343007",
            "description": "Congestive heart failure",
            "attributes": null
          },
          {
            "code": "426611007",
            "description": "Congestive heart failure due to valvular disease",
            "attributes": null
          },
          {
            "code": "43736008",
            "description": "Rheumatic left ventricular failure",
            "attributes": null
          },
          {
            "code": "441481004",
            "description": "Chronic systolic heart failure",
            "attributes": null
          },
          {
            "code": "441530006",
            "description": "Chronic diastolic heart failure",
            "attributes": null
          },
          {
            "code": "446221000",
            "description": "Heart failure with normal ejection fraction",
            "attributes": null
          },
          {
            "code": "48447003",
            "description": "Chronic heart failure",
            "attributes": null
          },
          {
            "code": "5375005",
            "description": "Chronic left-sided congestive heart failure",
            "attributes": null
          },
          {
            "code": "56675007",
            "description": "Acute heart failure",
            "attributes": null
          },
          {
            "code": "66989003",
            "description": "Chronic right-sided congestive heart failure",
            "attributes": null
          },
          {
            "code": "703272007",
            "description": "Heart failure with reduced ejection fraction",
            "attributes": null
          },
          {
            "code": "788950000",
            "description": "Heart failure with mid range ejection fraction",
            "attributes": null
          },
          {
            "code": "82523003",
            "description": "Congestive rheumatic heart failure",
            "attributes": null
          },
          {
            "code": "84114007",
            "description": "Heart failure",
            "attributes": null
          },
          {
            "code": "85232009",
            "description": "Left heart failure",
            "attributes": null
          },
          {
            "code": "871617000",
            "description": "Low output heart failure due to and following Fontan operation",
            "attributes": null
          },
          {
            "code": "88805009",
            "description": "Chronic congestive heart failure",
            "attributes": null
          },
          {
            "code": "898208007",
            "description": "Heart failure due to thyrotoxicosis",
            "attributes": null
          },
          {
            "code": "92506005",
            "description": "Biventricular congestive heart failure",
            "attributes": null
          }
        ]
      }
    ],
    "coding_system_release": "",
    "open_codelist_version_id": "140b5195",
    "open_codelist_version_tag": "20250912",
    "status": 1,
    "doi": "https://doi.org/10.48533/2yst-9m52",
    "is_deleted": false,
    "publish_status": 2,
    "owner": "ieuan.scanlon",
    "template": {
      "id": 3,
      "name": "OpenCodelists Phenotype",
      "description": "OpenSafely's OpenCodelist Phenotype, visit https://www.opencodelists.org/ to learn more",
      "version_id": 1
    },
    "versions": [
      {
        "version_id": 6582,
        "version_name": "Heart failure codes",
        "version_date": "2026-01-26T22:34:28.498778Z",
        "is_published": true,
        "is_latest": true
      },
      {
        "version_id": 6581,
        "version_name": "Heart failure codes",
        "version_date": "2026-01-26T22:34:27.289281Z",
        "is_published": true,
        "is_latest": false
      },
      {
        "version_id": 6580,
        "version_name": "Heart failure codes",
        "version_date": "2026-01-26T22:34:26.158041Z",
        "is_published": true,
        "is_latest": false
      },
      {
        "version_id": 6579,
        "version_name": "Heart failure codes",
        "version_date": "2026-01-26T22:34:24.977252Z",
        "is_published": true,
        "is_latest": false
      },
      {
        "version_id": 6578,
        "version_name": "Heart failure codes",
        "version_date": "2026-01-26T22:34:23.249407Z",
        "is_published": true,
        "is_latest": false
      }
    ]
  }
]