[
  {
    "phenotype_id": "PH2640",
    "phenotype_version_id": 6527,
    "name": "Chronic hepatitis B 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 `HEPBCHRON_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:33:26.365798Z",
    "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:33:28.587977Z",
    "references": [],
    "signed_off": [],
    "methodology": "",
    "coding_system": [
      {
        "name": "SNOMED  CT codes",
        "value": 9
      }
    ],
    "open_codelist_id": "nhsd-primary-care-domain-refsets/hepbchron_cod",
    "source_reference": "https://www.opencodelists.org/codelist/nhsd-primary-care-domain-refsets/hepbchron_cod/20250912",
    "concept_information": [
      {
        "concept_id": 6704,
        "concept_version_id": 14189,
        "concept_name": "nhsd-primary-care-domain-refsets/hepbchron_cod/20250912",
        "coding_system": {
          "id": 9,
          "name": "SNOMED  CT codes",
          "description": "SNOMED CT codes"
        },
        "phenotype_id": "PH2640",
        "phenotype_version_id": 6527,
        "phenotype_name": "Chronic hepatitis B codes",
        "code_attribute_header": [],
        "codes": [
          {
            "code": "1116000",
            "description": "Chronic aggressive type B viral hepatitis",
            "attributes": null
          },
          {
            "code": "1230342001",
            "description": "Hepatitis B reinfection following transplantation of liver",
            "attributes": null
          },
          {
            "code": "153091000119109",
            "description": "Hepatic coma due to chronic hepatitis B with delta agent",
            "attributes": null
          },
          {
            "code": "16859701000119109",
            "description": "Chronic hepatitis B during pregnancy",
            "attributes": null
          },
          {
            "code": "186638006",
            "description": "Chronic viral hepatitis B with hepatitis D",
            "attributes": null
          },
          {
            "code": "186639003",
            "description": "Chronic viral hepatitis B without delta-agent",
            "attributes": null
          },
          {
            "code": "235869004",
            "description": "Chronic viral hepatitis B with hepatitis D",
            "attributes": null
          },
          {
            "code": "38662009",
            "description": "Chronic persistent type B viral hepatitis",
            "attributes": null
          },
          {
            "code": "424340000",
            "description": "Hepatic coma due to chronic hepatitis B",
            "attributes": null
          },
          {
            "code": "50167007",
            "description": "Chronic active type B viral hepatitis",
            "attributes": null
          },
          {
            "code": "61977001",
            "description": "Chronic type B viral hepatitis",
            "attributes": null
          },
          {
            "code": "713966008",
            "description": "Occult chronic type B viral hepatitis",
            "attributes": null
          },
          {
            "code": "838380002",
            "description": "Chronic hepatitis B co-occurrent with hepatitis C and hepatitis D",
            "attributes": null
          },
          {
            "code": "875211000000105",
            "description": "Chronic viral hepatitis B",
            "attributes": null
          }
        ]
      }
    ],
    "coding_system_release": "",
    "open_codelist_version_id": "32183670",
    "open_codelist_version_tag": "20250912",
    "status": 1,
    "doi": "https://doi.org/10.48533/4y8w-mk97",
    "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": 6527,
        "version_name": "Chronic hepatitis B codes",
        "version_date": "2026-01-26T22:33:28.600305Z",
        "is_published": true,
        "is_latest": true
      },
      {
        "version_id": 6526,
        "version_name": "Chronic hepatitis B codes",
        "version_date": "2026-01-26T22:33:27.522684Z",
        "is_published": true,
        "is_latest": false
      },
      {
        "version_id": 6525,
        "version_name": "Chronic hepatitis B codes",
        "version_date": "2026-01-26T22:33:26.375359Z",
        "is_published": true,
        "is_latest": false
      }
    ]
  }
]