[
  {
    "phenotype_id": "PH4228",
    "phenotype_version_id": 9446,
    "name": "Hepatic failure",
    "definition": "Liver failure is the inability of the liver to perform its normal synthetic and metabolic functions as part of normal physiology.\n\nUKB baseline self reported fields.\n",
    "implementation": "The earliest record across all sources is obtained.\n",
    "publications": [
      {
        "doi": "https://doi.org/10.1038/s41598-025-05838-9",
        "details": "Torralbo, Ana and Davitte, Jonathan M. and Croteau-Chonka, Damien C. and Ytsma, Cai R. and Tomlinson, Christopher and Fitzpatrick, Natalie and Chung, Sheng-Chia and Fatemifar, Ghazaleh and Cortes, Adrian S. and Richardson, Tom G. and Barclay, Matthew and Carrasco Zanini Sanchez, Julia and Finan, Chris and Hemingway, Harry and Hingorani, Aroon D. and Kuan Po Ai, Valerie and Langenberg, Claudia and Lyratzopoulos, Georgios and Lumbers, Tom and Pietzner, Maik and Shah, Anoop Dinesh and Thygesen, Johan Hilge and Zelenka, Natalie and Whittaker, John C. and Ehm, Margaret G. and Denaxas, Spiros, A Computational Framework for Defining and Validating Reproducible Phenotyping Algorithms of 313 Diseases in the UK Biobank.",
        "primary": true
      }
    ],
    "validation": "Phenotypes underwent a multi\\-layered validation approach that included a) evaluating data source concordance, b) age\\-sex incidence and baseline prevalence patterns, c) an external comparison to a representative and unselected UK EHR dataset, d) modifiable risk factor associations, and e) genetic correlations with external genome\\-wide association studies (GWAS). Results showed consistent disease distributions by age and sex, high ranked correlation with general population prevalence estimates, confirmed risk factor associations, and significant genetic correlations with external GWAS.\n",
    "citation_requirements": null,
    "created": "2026-06-08T20:12:33.508521Z",
    "author": "Torralbo, A; Davitte, J M; Croteau-Chonka, D C; Ytsma, C; Tomlinson, C; Fitzpatrick, N K; Chung, S C; Fatemifar, G; Cortes, A S; Richardson, T G; Barclay, M; Carrasco Zanini, J; Finan, C; Hemingway, H; Hingorani, A; Kuan, V; Langenberg, C; Lyratzopoulos, G; Lumbers, R T; Pietzner, M; Shah, A D; Thygesen, J H; Zelenka, N; Whittaker, J C; Ehm, M G; Denaxas, S",
    "collections": [
      {
        "name": "Phenotype Library",
        "value": 18
      },
      {
        "name": "UK Biobank",
        "value": 32
      }
    ],
    "tags": null,
    "organisation": null,
    "world_access": 1,
    "updated": "2026-06-08T20:12:33.502623Z",
    "sex": [
      {
        "name": "Both",
        "value": "3"
      }
    ],
    "type": [
      {
        "name": "Disease or syndrome",
        "value": "2"
      }
    ],
    "trials": null,
    "ontology": [
      {
        "name": "Hepatic failure (disorder)",
        "value": 224414
      }
    ],
    "phenoflowid": null,
    "data_sources": [
      {
        "name": "UK Biobank",
        "value": 13,
        "uid": "6a9f93ad-2434-41d9-93bf-6e9d2eee04e5",
        "url": "https://healthdatagateway.org/en/dataset/700",
        "datasource_id": 700
      },
      {
        "name": "Patient Episode Dataset for Wales (PEDW)",
        "value": 40,
        "uid": "4c33a5d2-164c-41d7-9797-dc2b008cc852",
        "url": "https://healthdatagateway.org/en/dataset/318",
        "datasource_id": 318
      },
      {
        "name": "Scottish Cancer Registry (SMR06)",
        "value": 417,
        "uid": "ad36dc03-1856-44de-99b0-1af6f312d86b",
        "url": "https://healthdatagateway.org/en/dataset/79",
        "datasource_id": 79
      },
      {
        "name": "Cancer Registration Data",
        "value": 788,
        "uid": "6904a2ff-ab44-4dd6-b9ec-25d3cad29e43",
        "url": "https://healthdatagateway.org/en/dataset/880",
        "datasource_id": 880
      }
    ],
    "endorsements": null,
    "project_name": null,
    "coding_system": [
      {
        "name": "UKBioBank codes",
        "value": 12
      },
      {
        "name": "ICD10 codes",
        "value": 4
      },
      {
        "name": "Read codes v3",
        "value": 6
      }
    ],
    "corresp_author": "Ana Torralbo",
    "event_date_range": null,
    "concept_information": [
      {
        "concept_id": 10411,
        "concept_version_id": 17896,
        "concept_name": "Non-cancer illness code, self-reported",
        "coding_system": {
          "id": 12,
          "name": "UKBioBank codes",
          "description": "UKBioBank codes"
        },
        "phenotype_id": "PH4228",
        "phenotype_version_id": 9446,
        "phenotype_name": "Hepatic failure",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "1158",
            "description": "liver failure/cirrhosis",
            "attributes": {
              "type": "any"
            }
          }
        ]
      },
      {
        "concept_id": 10412,
        "concept_version_id": 17897,
        "concept_name": "Diagnoses - main ICD10",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH4228",
        "phenotype_version_id": 9446,
        "phenotype_name": "Hepatic failure",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "B15.0",
            "description": "Hepatitis A with hepatic coma",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B16.0",
            "description": "Acute hepatitis B with delta-agent (coinfection) with hepatic coma",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B19.0",
            "description": "Unspecified viral hepatitis with hepatic coma",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "K70.4",
            "description": "Alcoholic hepatic failure",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "K71.1",
            "description": "Toxic liver disease with hepatic necrosis",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "K72",
            "description": "Hepatic failure, not elsewhere classified",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "K76.2",
            "description": "Central haemorrhagic necrosis of liver",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "K76.3",
            "description": "Infarction of liver",
            "attributes": {
              "type": "any"
            }
          }
        ]
      },
      {
        "concept_id": 10413,
        "concept_version_id": 17898,
        "concept_name": "Diagnoses - secondary ICD10",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH4228",
        "phenotype_version_id": 9446,
        "phenotype_name": "Hepatic failure",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "B15.0",
            "description": "Hepatitis A with hepatic coma",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B16.0",
            "description": "Acute hepatitis B with delta-agent (coinfection) with hepatic coma",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B19.0",
            "description": "Unspecified viral hepatitis with hepatic coma",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "K70.4",
            "description": "Alcoholic hepatic failure",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "K71.1",
            "description": "Toxic liver disease with hepatic necrosis",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "K72",
            "description": "Hepatic failure, not elsewhere classified",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "K76.2",
            "description": "Central haemorrhagic necrosis of liver",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "K76.3",
            "description": "Infarction of liver",
            "attributes": {
              "type": "any"
            }
          }
        ]
      },
      {
        "concept_id": 10414,
        "concept_version_id": 17899,
        "concept_name": "Underlying (primary) cause of death: ICD10",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH4228",
        "phenotype_version_id": 9446,
        "phenotype_name": "Hepatic failure",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "B15.0",
            "description": "Hepatitis A with hepatic coma",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B16.0",
            "description": "Acute hepatitis B with delta-agent (coinfection) with hepatic coma",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B19.0",
            "description": "Unspecified viral hepatitis with hepatic coma",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "K70.4",
            "description": "Alcoholic hepatic failure",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "K71.1",
            "description": "Toxic liver disease with hepatic necrosis",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "K72",
            "description": "Hepatic failure, not elsewhere classified",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "K76.2",
            "description": "Central haemorrhagic necrosis of liver",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "K76.3",
            "description": "Infarction of liver",
            "attributes": {
              "type": "any"
            }
          }
        ]
      },
      {
        "concept_id": 10415,
        "concept_version_id": 17900,
        "concept_name": "Contributory (secondary) causes of death: ICD10",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH4228",
        "phenotype_version_id": 9446,
        "phenotype_name": "Hepatic failure",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "B15.0",
            "description": "Hepatitis A with hepatic coma",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B16.0",
            "description": "Acute hepatitis B with delta-agent (coinfection) with hepatic coma",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B19.0",
            "description": "Unspecified viral hepatitis with hepatic coma",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "K70.4",
            "description": "Alcoholic hepatic failure",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "K71.1",
            "description": "Toxic liver disease with hepatic necrosis",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "K72",
            "description": "Hepatic failure, not elsewhere classified",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "K76.2",
            "description": "Central haemorrhagic necrosis of liver",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "K76.3",
            "description": "Infarction of liver",
            "attributes": {
              "type": "any"
            }
          }
        ]
      },
      {
        "concept_id": 10416,
        "concept_version_id": 17901,
        "concept_name": "GP clinical event records",
        "coding_system": {
          "id": 6,
          "name": "Read codes v3",
          "description": "Read codes v3"
        },
        "phenotype_id": "PH4228",
        "phenotype_version_id": 9446,
        "phenotype_name": "Hepatic failure",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "7L1f.00",
            "description": "Compensation for liver failure",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "7L1fz00",
            "description": "Compensation for liver failure NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "A700.00",
            "description": "Viral hepatitis A with coma",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "A702.00",
            "description": "Viral hepatitis B with coma",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "A704.00",
            "description": "Other specified viral hepatitis with coma",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "A704000",
            "description": "Viral hepatitis C with coma",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "A704z00",
            "description": "Other specified viral hepatitis with hepatic coma NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J60..00",
            "description": "Acute and subacute liver necrosis",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J600.00",
            "description": "Acute necrosis of liver",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J600000",
            "description": "Acute hepatic failure",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J600011",
            "description": "Acute liver failure",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J600200",
            "description": "Acute yellow atrophy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J600z00",
            "description": "Acute necrosis of liver NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J601.00",
            "description": "Subacute necrosis of liver",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J601000",
            "description": "Subacute hepatic failure",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J601200",
            "description": "Subacute yellow atrophy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J601z00",
            "description": "Subacute necrosis of liver NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J60z.00",
            "description": "Acute and subacute liver necrosis NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J613000",
            "description": "Alcoholic hepatic failure",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J622.00",
            "description": "Hepatic coma",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J622.11",
            "description": "Encephalopathy - hepatic",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J625.00",
            "description": "[X] Hepatic failure",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J625.11",
            "description": "[X] Liver failure",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J62y.11",
            "description": "Hepatic failure NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J62y.12",
            "description": "Liver failure NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J62y.13",
            "description": "Hepatic failure",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J634.00",
            "description": "Hepatic infarction",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J635100",
            "description": "Toxic liver disease with hepatic necrosis",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J635700",
            "description": "Acute hepatic failure due to drugs",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "J636.00",
            "description": "Central haemorrhagic necrosis of liver",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "SP08600",
            "description": "Liver transplant failure and rejection",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "SP14200",
            "description": "Hepatic failure as a complication of care",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "SP14211",
            "description": "Liver failure as a complication of care",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "X3073",
            "description": "Alcoholic hepatic failure",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XaJxp",
            "description": "Acute hepatic failure due to drugs",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XaMuG",
            "description": "Compensation for liver failure",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XaMuI",
            "description": "Compensation for liver failure NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XE0bB",
            "description": "Hepatic coma",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XE0bC",
            "description": "Other sequelae of chronic liver disease",
            "attributes": {
              "type": "any"
            }
          }
        ]
      }
    ],
    "status": 1,
    "doi": "https://doi.org/10.48533/ehcf-q736",
    "is_deleted": false,
    "publish_status": 2,
    "owner": "ieuan.scanlon",
    "template": {
      "id": 2,
      "name": "BHF Data Science Centre Phenotype",
      "description": "BHF Data Science Centre Phenotype definitions that describe a list of clinical codes, algorithms using clinical codes, or set of clinical trials. Visit the BHF Data Science Centre website to learn more: https://bhfdatasciencecentre.org",
      "version_id": 1
    },
    "versions": [
      {
        "version_id": 9446,
        "version_name": "Hepatic failure",
        "version_date": "2026-06-08T20:12:33.518706Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]