[
  {
    "phenotype_id": "PH3059",
    "phenotype_version_id": 7923,
    "name": "Supplementary list of diabetes complication codes (obsolete)",
    "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 `DRSDM1_COD` refset published by NHSD.\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:01:04.877373Z",
    "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-26T23:01:04.872562Z",
    "references": [],
    "signed_off": [],
    "methodology": "",
    "coding_system": [
      {
        "name": "SNOMED  CT codes",
        "value": 9
      }
    ],
    "open_codelist_id": "nhsd-primary-care-domain-refsets/supplementary-list-of-diabetes-complication-codes",
    "source_reference": "https://www.opencodelists.org/codelist/nhsd-primary-care-domain-refsets/supplementary-list-of-diabetes-complication-codes/20241205",
    "concept_information": [
      {
        "concept_id": 8100,
        "concept_version_id": 15585,
        "concept_name": "nhsd-primary-care-domain-refsets/supplementary-list-of-diabetes-complication-codes/20241205",
        "coding_system": {
          "id": 9,
          "name": "SNOMED  CT codes",
          "description": "SNOMED CT codes"
        },
        "phenotype_id": "PH3059",
        "phenotype_version_id": 7923,
        "phenotype_name": "Supplementary list of diabetes complication codes (obsolete)",
        "code_attribute_header": [],
        "codes": [
          {
            "code": "1003605004",
            "description": "Glaucoma suspect due to diabetes mellitus type 2",
            "attributes": null
          },
          {
            "code": "15936501000119100",
            "description": "Inflammatory dermatosis due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "16697421000119103",
            "description": "Moderate nonproliferative retinopathy of left eye due to diabetes mellitus type 1",
            "attributes": null
          },
          {
            "code": "16697471000119102",
            "description": "Moderate nonproliferative retinopathy of right eye due to diabetes mellitus type 1",
            "attributes": null
          },
          {
            "code": "16697521000119104",
            "description": "Moderate nonproliferative retinopathy of bilateral eyes due to diabetes mellitus type 1",
            "attributes": null
          },
          {
            "code": "16745051000119107",
            "description": "Nonproliferative retinopathy of right eye due to diabetes mellitus type 2",
            "attributes": null
          },
          {
            "code": "16745131000119100",
            "description": "Nonproliferative retinopathy of left eye due to diabetes mellitus type 2",
            "attributes": null
          },
          {
            "code": "16745211000119100",
            "description": "Nonproliferative retinopathy of left eye due to diabetes mellitus type 1",
            "attributes": null
          },
          {
            "code": "16745411000119104",
            "description": "Mild nonproliferative retinopathy of bilateral eyes due to diabetes mellitus type 1",
            "attributes": null
          },
          {
            "code": "16745531000119108",
            "description": "Mild nonproliferative retinopathy of left eye due to diabetes mellitus type 2",
            "attributes": null
          },
          {
            "code": "16745611000119102",
            "description": "Mild nonproliferative retinopathy of right eye due to diabetes mellitus type 1",
            "attributes": null
          },
          {
            "code": "16745651000119101",
            "description": "Mild nonproliferative retinopathy of right eye due to diabetes mellitus type 2",
            "attributes": null
          },
          {
            "code": "16745891000119105",
            "description": "Mild nonproliferative retinopathy of left eye due to diabetes mellitus type 1",
            "attributes": null
          },
          {
            "code": "16745931000119102",
            "description": "Mild nonproliferative retinopathy of bilateral eyes due to diabetes mellitus type 2",
            "attributes": null
          },
          {
            "code": "16746131000119105",
            "description": "Moderate nonproliferative retinopathy of left eye due to diabetes mellitus type 2",
            "attributes": null
          },
          {
            "code": "16746261000119108",
            "description": "Moderate nonproliferative retinopathy of right eye due to diabetes mellitus type 2",
            "attributes": null
          },
          {
            "code": "16746341000119103",
            "description": "Moderate nonproliferative retinopathy of bilateral eyes due to diabetes mellitus type 2",
            "attributes": null
          },
          {
            "code": "16746661000119106",
            "description": "Nonproliferative retinopathy of bilateral eyes due to diabetes mellitus type 1",
            "attributes": null
          },
          {
            "code": "16746741000119102",
            "description": "Nonproliferative retinopathy of right eye due to diabetes mellitus type 1",
            "attributes": null
          },
          {
            "code": "16746901000119101",
            "description": "Severe nonproliferative retinopathy of left eye due to diabetes mellitus type 2",
            "attributes": null
          },
          {
            "code": "16746941000119104",
            "description": "Severe nonproliferative retinopathy of left eye due to diabetes mellitus type 1",
            "attributes": null
          },
          {
            "code": "16747021000119109",
            "description": "Severe nonproliferative retinopathy of bilateral eyes due to diabetes mellitus type 2",
            "attributes": null
          },
          {
            "code": "16747101000119101",
            "description": "Severe nonproliferative retinopathy of bilateral eyes due to diabetes mellitus type 1",
            "attributes": null
          },
          {
            "code": "16747141000119104",
            "description": "Severe nonproliferative retinopathy of right eye due to diabetes mellitus type 2",
            "attributes": null
          },
          {
            "code": "16747341000119101",
            "description": "Severe nonproliferative retinopathy of right eye due to diabetes mellitus type 1",
            "attributes": null
          },
          {
            "code": "16747661000119109",
            "description": "Nonproliferative retinopathy of bilateral eyes due to diabetes mellitus type 2",
            "attributes": null
          },
          {
            "code": "16747741000119100",
            "description": "Proliferative retinopathy of left eye due to diabetes mellitus type 1",
            "attributes": null
          },
          {
            "code": "16747901000119104",
            "description": "Proliferative retinopathy of left eye due to diabetes mellitus type 2",
            "attributes": null
          },
          {
            "code": "16748141000119100",
            "description": "Proliferative retinopathy of bilateral eyes due to diabetes mellitus type 2",
            "attributes": null
          },
          {
            "code": "16748741000119101",
            "description": "Proliferative retinopathy of right eye due to diabetes mellitus type 1",
            "attributes": null
          },
          {
            "code": "16749661000119102",
            "description": "Proliferative retinopathy of right eye due to diabetes mellitus type 2",
            "attributes": null
          },
          {
            "code": "16749781000119101",
            "description": "Proliferative retinopathy of bilateral eyes due to diabetes mellitus type 1",
            "attributes": null
          },
          {
            "code": "16890881000119106",
            "description": "History of proliferative retinopathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "16891191000119108",
            "description": "Coronary artery disease due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "230572002",
            "description": "Neuropathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "232020009",
            "description": "Disorder of macula due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "367211000119103",
            "description": "Inflammatory dermatosis due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "367241000119104",
            "description": "Hyperosmolar coma due to drug induced diabetes mellitus",
            "attributes": null
          },
          {
            "code": "368141000119106",
            "description": "Autonomic neuropathy due to drug induced diabetes mellitus",
            "attributes": null
          },
          {
            "code": "368151000119108",
            "description": "Cataract due to drug induced diabetes mellitus",
            "attributes": null
          },
          {
            "code": "368181000119101",
            "description": "Ulcer of foot due to drug induced diabetes mellitus",
            "attributes": null
          },
          {
            "code": "368201000119100",
            "description": "Disorder of kidney due to drug induced diabetes mellitus",
            "attributes": null
          },
          {
            "code": "368251000119101",
            "description": "Polyneuropathy due to drug induced diabetes mellitus",
            "attributes": null
          },
          {
            "code": "368421000119108",
            "description": "Chronic kidney disease stage 1 due to drug induced diabetes mellitus",
            "attributes": null
          },
          {
            "code": "368431000119106",
            "description": "Chronic kidney disease stage 2 due to drug induced diabetes mellitus",
            "attributes": null
          },
          {
            "code": "368441000119102",
            "description": "Chronic kidney disease stage 3 due to drug induced diabetes mellitus",
            "attributes": null
          },
          {
            "code": "368451000119100",
            "description": "Chronic kidney disease stage 4 due to drug induced diabetes mellitus",
            "attributes": null
          },
          {
            "code": "368461000119103",
            "description": "Chronic kidney disease stage 5 due to drug induced diabetes mellitus",
            "attributes": null
          },
          {
            "code": "368471000119109",
            "description": "End stage renal disease on dialysis due to drug induced diabetes mellitus",
            "attributes": null
          },
          {
            "code": "368541000119101",
            "description": "Cheiroarthropathy due to diabetes mellitus type 1",
            "attributes": null
          },
          {
            "code": "390834004",
            "description": "Nonproliferative retinopathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "408409007",
            "description": "On examination - right eye background diabetic retinopathy",
            "attributes": null
          },
          {
            "code": "408410002",
            "description": "On examination - left eye background diabetic retinopathy",
            "attributes": null
          },
          {
            "code": "4855003",
            "description": "Retinopathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "769221001",
            "description": "Clinically significant macular edema of right eye due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "769222008",
            "description": "Clinically significant macular edema of left eye due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "769244003",
            "description": "Disorder of right macula due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "769245002",
            "description": "Disorder of left macula due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "770361008",
            "description": "Vitreous hemorrhage of right eye due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "770362001",
            "description": "Vitreous hemorrhage of left eye due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "770581008",
            "description": "Microaneurysm of right retinal artery due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "770582001",
            "description": "Microaneurysm of left retinal artery due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "770599000",
            "description": "Venous beading of right retina due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "770600002",
            "description": "Venous beading of left retina due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "770765001",
            "description": "Proliferative retinopathy of right eye due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "770766000",
            "description": "Proliferative retinopathy of left eye due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "782755007",
            "description": "Primary microcephaly, mild intellectual disability, young-onset diabetes syndrome",
            "attributes": null
          },
          {
            "code": "783722008",
            "description": "Myopathy and diabetes mellitus",
            "attributes": null
          },
          {
            "code": "860712005",
            "description": "Disorder of macula of bilateral eyes due to diabetes mellitus present",
            "attributes": null
          },
          {
            "code": "863879002",
            "description": "At low risk of ulcer of right foot due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "863880004",
            "description": "At low risk of ulcer of left foot due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "863881000",
            "description": "At moderate risk of ulcer of left foot due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "863882007",
            "description": "At increased risk of ulcer of left foot due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "863883002",
            "description": "At increased risk of ulcer of right foot due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "863884008",
            "description": "At high risk of ulcer of right foot due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "863885009",
            "description": "At moderate risk of ulcer of right foot due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "863886005",
            "description": "At high risk of ulcer of left foot due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "890171006",
            "description": "Ketosis-prone diabetes mellitus",
            "attributes": null
          }
        ]
      }
    ],
    "coding_system_release": "",
    "open_codelist_version_id": "39a1ad4a",
    "open_codelist_version_tag": "20241205",
    "status": 1,
    "doi": "https://doi.org/10.48533/p5tg-5509",
    "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": 7923,
        "version_name": "Supplementary list of diabetes complication codes (obsolete)",
        "version_date": "2026-01-26T23:01:04.883144Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]