[
  {
    "phenotype_id": "PH4032",
    "phenotype_version_id": 9230,
    "name": "Dialysis OPCS-4",
    "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\nOPCS\\-4 codes indicating dialysis treatment for kidney replacement therapy.\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-26T23:43:31.810331Z",
    "author": "UK Renal Registry",
    "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-26T23:43:31.804739Z",
    "references": [
      {
        "url": "https://github.com/opensafely/codelist-development/issues/224",
        "title": "GitHub issue"
      }
    ],
    "signed_off": [],
    "methodology": "Included codes indicating current haemodialysis or peritoneal dialysis (PD). Preparatory codes (e.g. fistula preparation) were excluded except for PD catheter insertion as this takes place just before dialysis. Transplant failure codes excluded.\n\n",
    "coding_system": [
      {
        "name": "OPCS4 codes",
        "value": 7
      }
    ],
    "open_codelist_id": "ukrr/dialysis-opcs-4",
    "source_reference": "https://www.opencodelists.org/codelist/ukrr/dialysis-opcs-4/505bef04",
    "concept_information": [
      {
        "concept_id": 9407,
        "concept_version_id": 16892,
        "concept_name": "ukrr/dialysis-opcs-4/505bef04",
        "coding_system": {
          "id": 7,
          "name": "OPCS4 codes",
          "description": "OPCS4 codes"
        },
        "phenotype_id": "PH4032",
        "phenotype_version_id": 9230,
        "phenotype_name": "Dialysis OPCS-4",
        "code_attribute_header": [],
        "codes": [
          {
            "code": "X40",
            "description": "Dialysis NEC",
            "attributes": null
          },
          {
            "code": "X401",
            "description": "Renal dialysis",
            "attributes": null
          },
          {
            "code": "X402",
            "description": "Peritoneal dialysis NEC",
            "attributes": null
          },
          {
            "code": "X403",
            "description": "Haemodialysis NEC",
            "attributes": null
          },
          {
            "code": "X405",
            "description": "Automated peritoneal dialysis",
            "attributes": null
          },
          {
            "code": "X406",
            "description": "Continuous ambulatory peritoneal dialysis",
            "attributes": null
          },
          {
            "code": "X408",
            "description": "Other specified compensation for renal failure",
            "attributes": null
          },
          {
            "code": "X409",
            "description": "Unspecified compensation for renal failure",
            "attributes": null
          },
          {
            "code": "X41",
            "description": "Placement of ambulatory apparatus for compensation for renal failure",
            "attributes": null
          },
          {
            "code": "X411",
            "description": "Insertion of ambulatory peritoneal dialysis catheter",
            "attributes": null
          },
          {
            "code": "X418",
            "description": "Other specified",
            "attributes": null
          },
          {
            "code": "X419",
            "description": "Unspecified",
            "attributes": null
          },
          {
            "code": "X42",
            "description": "Placement of other apparatus for compensation for renal failure",
            "attributes": null
          },
          {
            "code": "X421",
            "description": "Insertion of temporary peritoneal dialysis catheter",
            "attributes": null
          },
          {
            "code": "X428",
            "description": "Other specified",
            "attributes": null
          },
          {
            "code": "X429",
            "description": "Unspecified",
            "attributes": null
          }
        ]
      }
    ],
    "coding_system_release": "",
    "open_codelist_version_id": "505bef04",
    "open_codelist_version_tag": "",
    "status": 1,
    "doi": "https://doi.org/10.48533/gj52-vc98",
    "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": 9230,
        "version_name": "Dialysis OPCS-4",
        "version_date": "2026-01-26T23:43:31.820462Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]