[
  {
    "phenotype_id": "PH2012",
    "phenotype_version_id": 4618,
    "name": "Multimorbidity_diabetes",
    "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\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-26T21:33:15.941109Z",
    "author": "University of Bristol",
    "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-26T21:33:15.934538Z",
    "references": [
      {
        "url": "https://doi.org/10.3399/BJGP.2022.0235",
        "title": "Tsang, Ruby SM, et al. \"Development of a modified Cambridge Multimorbidity Score for use with SNOMED CT: an observational English primary care sentinel network study.\" British Journal of General Practice 73.731 (2023): e435-e442."
      }
    ],
    "signed_off": [],
    "methodology": "",
    "coding_system": [
      {
        "name": "SNOMED  CT codes",
        "value": 9
      }
    ],
    "open_codelist_id": "bristol/multimorbidity_diabetes",
    "source_reference": "https://www.opencodelists.org/codelist/bristol/multimorbidity_diabetes/2ad8f0b0",
    "concept_information": [
      {
        "concept_id": 4795,
        "concept_version_id": 12280,
        "concept_name": "bristol/multimorbidity_diabetes/2ad8f0b0",
        "coding_system": {
          "id": 9,
          "name": "SNOMED  CT codes",
          "description": "SNOMED CT codes"
        },
        "phenotype_id": "PH2012",
        "phenotype_version_id": 4618,
        "phenotype_name": "Multimorbidity_diabetes",
        "code_attribute_header": [],
        "codes": [
          {
            "code": "102621000119101",
            "description": "Ulcer of skin due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "102781000119107",
            "description": "Sensory neuropathy due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "104941000119109",
            "description": "Ischemia of retina due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "104951000119106",
            "description": "Vitreous hemorrhage due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "104961000119108",
            "description": "Ischemia of retina due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "1051101000000103",
            "description": "Pregnancy and insulin-dependent diabetes mellitus",
            "attributes": null
          },
          {
            "code": "1051111000000101",
            "description": "Pregnancy and non-insulin-dependent diabetes mellitus",
            "attributes": null
          },
          {
            "code": "10656231000119100",
            "description": "Ulcer of skin of toe due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "10656271000119102",
            "description": "Ulcer of skin of toe due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "10660471000119109",
            "description": "Ulcer of left foot due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "10661671000119102",
            "description": "Ulcer of right foot due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "1067201000000106",
            "description": "Eating disorder co-occurrent with diabetes mellitus type 1",
            "attributes": null
          },
          {
            "code": "109171000119104",
            "description": "Retinal edema due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "110141000119100",
            "description": "Ulcer of lower limb due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "110171000119107",
            "description": "Ulcer of lower limb due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "110181000119105",
            "description": "Peripheral sensory neuropathy due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "111231000119109",
            "description": "Dyslipidemia with high density lipoprotein below reference range and triglyceride above reference range due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "119831000119106",
            "description": "Hypoglycemia unawareness due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "120711000119108",
            "description": "Hypoglycemic unawareness due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "120731000119103",
            "description": "Hypoglycemia due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "12811000119100",
            "description": "Complication due to diabetes mellitus type 2",
            "attributes": null
          },
          {
            "code": "137931000119102",
            "description": "Hyperlipidemia due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "137941000119106",
            "description": "Hyperlipidemia due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "138881000119106",
            "description": "Mild nonproliferative retinopathy due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "138891000119109",
            "description": "Moderate nonproliferative retinopathy due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "138911000119106",
            "description": "Mild nonproliferative retinopathy due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "138921000119104",
            "description": "Moderate nonproliferative retinopathy due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "140101000119109",
            "description": "Hypertension in chronic kidney disease stage 5 due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "140111000119107",
            "description": "Hypertension in chronic kidney disease stage 4 due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "140121000119100",
            "description": "Hypertension in chronic kidney disease stage 3 due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "140131000119102",
            "description": "Hypertension in chronic kidney disease stage 2 due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "140391000119101",
            "description": "Ulcer of toe due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "140521000119107",
            "description": "Ischemic ulcer of foot due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "1481000119100",
            "description": "Diabetes mellitus type 2 without retinopathy",
            "attributes": null
          },
          {
            "code": "1491000119102",
            "description": "Vitreous hemorrhage due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "1501000119109",
            "description": "Proliferative retinopathy due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "1511000119107",
            "description": "Peripheral neuropathy due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "1521000119100",
            "description": "Ulcer of foot due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "1531000119102",
            "description": "Dermopathy due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "1541000119106",
            "description": "Skin ulcer associated with type II diabetes mellitus",
            "attributes": null
          },
          {
            "code": "1551000119108",
            "description": "Nonproliferative retinopathy due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "1561000119105",
            "description": "Diabetic peripheral neuropathy associated with type I diabetes mellitus",
            "attributes": null
          },
          {
            "code": "1571000119104",
            "description": "Mixed hyperlipidemia due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "157141000119108",
            "description": "Proteinuria due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "15936501000119100",
            "description": "Inflammatory dermatosis due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "164881000119109",
            "description": "Ulcer of foot due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "164971000119101",
            "description": "Type 2 diabetes mellitus controlled by diet",
            "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": "16891151000119103",
            "description": "Coronary artery disease due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "16891191000119108",
            "description": "Coronary artery disease due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "18521000119106",
            "description": "Microalbuminuria due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "190325001",
            "description": "Diabetes mellitus, juvenile type, with ketoacidosis",
            "attributes": null
          },
          {
            "code": "190326000",
            "description": "Diabetes mellitus, adult onset, with ketoacidosis",
            "attributes": null
          },
          {
            "code": "190330002",
            "description": "Hyperosmolar coma due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "190331003",
            "description": "Hyperosmolar coma due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "190334006",
            "description": "Diabetes mellitus, juvenile type, with ketoacidotic coma",
            "attributes": null
          },
          {
            "code": "190335007",
            "description": "Diabetes mellitus, adult onset, with ketoacidotic coma",
            "attributes": null
          },
          {
            "code": "190339001",
            "description": "Diabetes mellitus, juvenile type, with renal manifestation",
            "attributes": null
          },
          {
            "code": "190340004",
            "description": "Diabetes mellitus, adult onset, with renal manifestation",
            "attributes": null
          },
          {
            "code": "190345009",
            "description": "Diabetes mellitus, juvenile type, with ophthalmic manifestation",
            "attributes": null
          },
          {
            "code": "190346005",
            "description": "Diabetes mellitus, adult onset, with ophthalmic manifestation",
            "attributes": null
          },
          {
            "code": "190350003",
            "description": "Diabetes mellitus, juvenile type, with neurological manifestation",
            "attributes": null
          },
          {
            "code": "190351004",
            "description": "Diabetes mellitus, adult onset, with neurological manifestation",
            "attributes": null
          },
          {
            "code": "190355008",
            "description": "Diabetes mellitus, juvenile type, with peripheral circulatory disorder",
            "attributes": null
          },
          {
            "code": "190356009",
            "description": "Diabetes mellitus, adult onset, with peripheral circulatory disorder",
            "attributes": null
          },
          {
            "code": "190357000",
            "description": "Diabetes mellitus, adult with gangrene",
            "attributes": null
          },
          {
            "code": "190358005",
            "description": "IDDM with peripheral circulatory disorder",
            "attributes": null
          },
          {
            "code": "190359002",
            "description": "NIDDM with peripheral circulatory disorder",
            "attributes": null
          },
          {
            "code": "190363009",
            "description": "Type I diabetes mellitus with renal complications",
            "attributes": null
          },
          {
            "code": "190364003",
            "description": "Type I diabetes mellitus with ophthalmic complications",
            "attributes": null
          },
          {
            "code": "190365002",
            "description": "Type I diabetes mellitus with neurological complications",
            "attributes": null
          },
          {
            "code": "190366001",
            "description": "Type I diabetes mellitus with multiple complications",
            "attributes": null
          },
          {
            "code": "190367005",
            "description": "Unstable type I diabetes mellitus",
            "attributes": null
          },
          {
            "code": "190368000",
            "description": "Type I diabetes mellitus with ulcer",
            "attributes": null
          },
          {
            "code": "190369008",
            "description": "Type I diabetes mellitus with gangrene",
            "attributes": null
          },
          {
            "code": "190370009",
            "description": "Type I diabetes mellitus with retinopathy",
            "attributes": null
          },
          {
            "code": "190371008",
            "description": "Type I diabetes mellitus - poor control",
            "attributes": null
          },
          {
            "code": "190372001",
            "description": "Type I diabetes mellitus maturity onset",
            "attributes": null
          },
          {
            "code": "190385003",
            "description": "Type II diabetes mellitus with renal complications",
            "attributes": null
          },
          {
            "code": "190386002",
            "description": "Type II diabetes mellitus with ophthalmic complications",
            "attributes": null
          },
          {
            "code": "190387006",
            "description": "Type II diabetes mellitus with neurological complications",
            "attributes": null
          },
          {
            "code": "190388001",
            "description": "Multiple complications due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "190389009",
            "description": "Type II diabetes mellitus with ulcer",
            "attributes": null
          },
          {
            "code": "190390000",
            "description": "Type II diabetes mellitus with gangrene",
            "attributes": null
          },
          {
            "code": "190391001",
            "description": "Type II diabetes mellitus with retinopathy",
            "attributes": null
          },
          {
            "code": "190392008",
            "description": "Type II diabetes mellitus - poor control",
            "attributes": null
          },
          {
            "code": "190403008",
            "description": "Type II diabetes mellitus with neuropathic arthropathy",
            "attributes": null
          },
          {
            "code": "198661000000102",
            "description": "Type 1 diabetes mellitus with gastroparesis",
            "attributes": null
          },
          {
            "code": "198671000000109",
            "description": "Type 2 diabetes mellitus with gastroparesis",
            "attributes": null
          },
          {
            "code": "199229001",
            "description": "Pre-existing type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "199230006",
            "description": "Pre-existing type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "201000119106",
            "description": "Disorder due to well controlled type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "213991000000107",
            "description": "Type 1 diabetes mellitus with gastroparesis",
            "attributes": null
          },
          {
            "code": "214001000000102",
            "description": "Type 2 diabetes mellitus with gastroparesis",
            "attributes": null
          },
          {
            "code": "23045005",
            "description": "Insulin dependent diabetes mellitus type IA",
            "attributes": null
          },
          {
            "code": "237599002",
            "description": "Insulin treated type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "237604008",
            "description": "Maturity onset diabetes of the young, type 2",
            "attributes": null
          },
          {
            "code": "237626009",
            "description": "Pregnancy and insulin-dependent diabetes mellitus",
            "attributes": null
          },
          {
            "code": "237627000",
            "description": "Pregnancy and type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "243421000119104",
            "description": "Proteinuria due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "24471000000103",
            "description": "Type 2 diabetic on insulin",
            "attributes": null
          },
          {
            "code": "24481000000101",
            "description": "Type 2 diabetic on diet only",
            "attributes": null
          },
          {
            "code": "279291000000109",
            "description": "Diabetes type 1 review",
            "attributes": null
          },
          {
            "code": "279301000000108",
            "description": "Diabetes type 1 review",
            "attributes": null
          },
          {
            "code": "279311000000105",
            "description": "Diabetes type 1 review",
            "attributes": null
          },
          {
            "code": "279321000000104",
            "description": "Diabetes type 2 review",
            "attributes": null
          },
          {
            "code": "279331000000102",
            "description": "Diabetes type 2 review",
            "attributes": null
          },
          {
            "code": "279341000000106",
            "description": "Diabetes type 2 review",
            "attributes": null
          },
          {
            "code": "28032008",
            "description": "Insulin dependent diabetes mellitus type IB",
            "attributes": null
          },
          {
            "code": "28331000119107",
            "description": "Retinal edema due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "290002008",
            "description": "Brittle type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "300121000000105",
            "description": "Diabetes mellitus type I diet education",
            "attributes": null
          },
          {
            "code": "300131000000107",
            "description": "Diabetes mellitus type II diet education",
            "attributes": null
          },
          {
            "code": "31211000119101",
            "description": "Peripheral angiopathy due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "31321000119102",
            "description": "Diabetes mellitus type 1 without retinopathy",
            "attributes": null
          },
          {
            "code": "313435000",
            "description": "Type I diabetes mellitus without complication",
            "attributes": null
          },
          {
            "code": "313436004",
            "description": "Type II diabetes mellitus without complication",
            "attributes": null
          },
          {
            "code": "314368001",
            "description": "Type I diabetes mellitus with mononeuropathy",
            "attributes": null
          },
          {
            "code": "314369009",
            "description": "Type I diabetes mellitus with polyneuropathy",
            "attributes": null
          },
          {
            "code": "314370005",
            "description": "Type II diabetes mellitus with mononeuropathy",
            "attributes": null
          },
          {
            "code": "314371009",
            "description": "Type II diabetes mellitus with polyneuropathy",
            "attributes": null
          },
          {
            "code": "314377008",
            "description": "Type I diabetes mellitus with nephropathy",
            "attributes": null
          },
          {
            "code": "314378003",
            "description": "Type II diabetes mellitus with nephropathy",
            "attributes": null
          },
          {
            "code": "314771006",
            "description": "Type I diabetes mellitus with hypoglycemic coma",
            "attributes": null
          },
          {
            "code": "314772004",
            "description": "Type II diabetes mellitus with hypoglycemic coma",
            "attributes": null
          },
          {
            "code": "314887002",
            "description": "Type I diabetes mellitus with diabetic cataract",
            "attributes": null
          },
          {
            "code": "314888007",
            "description": "Type II diabetes mellitus with diabetic cataract",
            "attributes": null
          },
          {
            "code": "314892000",
            "description": "Type I diabetes mellitus with peripheral angiopathy",
            "attributes": null
          },
          {
            "code": "314893005",
            "description": "Arthropathy due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "314894004",
            "description": "Type I diabetes mellitus with neuropathic arthropathy",
            "attributes": null
          },
          {
            "code": "314902007",
            "description": "Peripheral angiopathy due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "314903002",
            "description": "Arthropathy due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "314904008",
            "description": "Type II diabetes mellitus with neuropathic arthropathy",
            "attributes": null
          },
          {
            "code": "335631000000104",
            "description": "Latent autoimmune diabetes mellitus in adult",
            "attributes": null
          },
          {
            "code": "338031000000100",
            "description": "Latent autoimmune diabetes mellitus in adult",
            "attributes": null
          },
          {
            "code": "359638003",
            "description": "Non-insulin dependent diabetes mellitus in nonobese",
            "attributes": null
          },
          {
            "code": "359642000",
            "description": "Diabetes mellitus type 2 in nonobese",
            "attributes": null
          },
          {
            "code": "367211000119103",
            "description": "Inflammatory dermatosis due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "367991000119101",
            "description": "Hyperglycemia due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "368051000119109",
            "description": "Hyperglycemia due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "368521000119107",
            "description": "Disorder of nerve due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "368541000119101",
            "description": "Cheiroarthropathy due to diabetes mellitus type 1",
            "attributes": null
          },
          {
            "code": "368551000119104",
            "description": "Dyslipidemia due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "368561000119102",
            "description": "Hyperosmolarity due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "368581000119106",
            "description": "Neuropathy due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "368591000119109",
            "description": "Cheiroarthropathy due to diabetes mellitus type 2",
            "attributes": null
          },
          {
            "code": "371054002",
            "description": "Type I diabetes mellitus with complication",
            "attributes": null
          },
          {
            "code": "371055001",
            "description": "Type I diabetes mellitus with ketoacidosis",
            "attributes": null
          },
          {
            "code": "371056000",
            "description": "Type II diabetes mellitus with complication",
            "attributes": null
          },
          {
            "code": "390716007",
            "description": "Diabetes mellitus autosomal dominant type 2",
            "attributes": null
          },
          {
            "code": "394511005",
            "description": "Hyperosmolar non-ketotic state in type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "395204000",
            "description": "Hyperosmolar non-ketotic state due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "401109007",
            "description": "Type 1 diabetes mellitus with persistent proteinuria",
            "attributes": null
          },
          {
            "code": "401110002",
            "description": "Type 1 diabetes mellitus with persistent microalbuminuria",
            "attributes": null
          },
          {
            "code": "401111003",
            "description": "Type 2 diabetes mellitus with persistent proteinuria",
            "attributes": null
          },
          {
            "code": "401112005",
            "description": "Type 2 diabetes mellitus with persistent microalbuminuria",
            "attributes": null
          },
          {
            "code": "408287009",
            "description": "Type 1 diabetes mellitus with exudative maculopathy",
            "attributes": null
          },
          {
            "code": "408417004",
            "description": "Type 2 diabetes mellitus with exudative maculopathy",
            "attributes": null
          },
          {
            "code": "408660003",
            "description": "Type II diabetes mellitus with ketoacidosis",
            "attributes": null
          },
          {
            "code": "41911000119107",
            "description": "Glaucoma due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "420270002",
            "description": "Ketoacidosis due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "420279001",
            "description": "Renal disorder due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "420414003",
            "description": "Multiple complications of type II diabetes mellitus",
            "attributes": null
          },
          {
            "code": "420436000",
            "description": "Mononeuropathy due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "420486006",
            "description": "Exudative maculopathy due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "420514000",
            "description": "Persistent proteinuria due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "420715001",
            "description": "Persistent microalbuminuria due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "420756003",
            "description": "Cataract of eye due to diabetes mellitus type 2",
            "attributes": null
          },
          {
            "code": "420789003",
            "description": "Retinopathy due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "420825003",
            "description": "Gangrene due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "420868002",
            "description": "Disorder due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "420918009",
            "description": "Mononeuropathy due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "421075007",
            "description": "Ketoacidotic coma due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "421164006",
            "description": "Hypoglycemic coma in type II diabetes mellitus",
            "attributes": null
          },
          {
            "code": "421165007",
            "description": "Diabetic oculopathy associated with type I diabetes mellitus",
            "attributes": null
          },
          {
            "code": "421305000",
            "description": "Persistent microalbuminuria due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "421326000",
            "description": "Disorder of nervous system due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "421365002",
            "description": "Peripheral circulatory disorder due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "421437000",
            "description": "Hypoglycemic coma due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "421468001",
            "description": "Disorder of nervous system due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "421631007",
            "description": "Gangrene due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "421707005",
            "description": "Polyneuropathy associated with type II diabetes mellitus",
            "attributes": null
          },
          {
            "code": "421750000",
            "description": "Ketoacidosis due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "421779007",
            "description": "Exudative maculopathy due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "421847006",
            "description": "Ketoacidotic coma due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "421893009",
            "description": "Renal disorder due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "421920002",
            "description": "Cataract of eye due to diabetes mellitus type 1",
            "attributes": null
          },
          {
            "code": "421986006",
            "description": "Persistent proteinuria due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "422014003",
            "description": "Disorder due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "422034002",
            "description": "Retinopathy due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "422099009",
            "description": "Disorder of eye due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "422166005",
            "description": "Peripheral circulatory disorder due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "422228004",
            "description": "Multiple complications due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "422297002",
            "description": "Polyneuropathy associated with type I diabetes mellitus",
            "attributes": null
          },
          {
            "code": "423263001",
            "description": "Diabetic autonomic neuropathy associated with type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "424989000",
            "description": "Diabetic gastroparesis associated with type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "425159004",
            "description": "Diabetic gastroparesis associated with type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "425442003",
            "description": "Diabetic autonomic neuropathy associated with type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "426875007",
            "description": "Latent autoimmune diabetes mellitus in adult",
            "attributes": null
          },
          {
            "code": "426907004",
            "description": "Small vessel disease due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "427027005",
            "description": "Lumbosacral radiculoplexus neuropathy due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "427134009",
            "description": "Small vessel disease due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "427571000",
            "description": "Lumbosacral radiculoplexus neuropathy due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "428007007",
            "description": "Erectile dysfunction due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "428274007",
            "description": "Dietary education for type II diabetes mellitus",
            "attributes": null
          },
          {
            "code": "428896009",
            "description": "Hyperosmolality due to uncontrolled type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "429094000",
            "description": "Dietary education for type I diabetes mellitus",
            "attributes": null
          },
          {
            "code": "43571000000101",
            "description": "Unstable type I diabetes mellitus",
            "attributes": null
          },
          {
            "code": "43591000000102",
            "description": "Type I diabetes mellitus with gangrene",
            "attributes": null
          },
          {
            "code": "43611000000105",
            "description": "Type I diabetes mellitus - poor control",
            "attributes": null
          },
          {
            "code": "43781000000106",
            "description": "Type II diabetes mellitus with gangrene",
            "attributes": null
          },
          {
            "code": "43801000000107",
            "description": "Type II diabetes mellitus - poor control",
            "attributes": null
          },
          {
            "code": "43901000000104",
            "description": "Type II diabetes mellitus with neuropathic arthropathy",
            "attributes": null
          },
          {
            "code": "43921000000108",
            "description": "Hyperosmolar non-ketotic state in type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "44054006",
            "description": "Diabetes mellitus type 2",
            "attributes": null
          },
          {
            "code": "443694000",
            "description": "Uncontrolled type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "444073006",
            "description": "Uncontrolled type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "444074000",
            "description": "Well controlled type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "444110003",
            "description": "Well controlled type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "445353002",
            "description": "Brittle type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "46635009",
            "description": "Diabetes mellitus type 1",
            "attributes": null
          },
          {
            "code": "472969004",
            "description": "History of diabetes mellitus type 2",
            "attributes": null
          },
          {
            "code": "472970003",
            "description": "History of diabetes mellitus type 1",
            "attributes": null
          },
          {
            "code": "50211000000103",
            "description": "Type I diabetes mellitus - poor control",
            "attributes": null
          },
          {
            "code": "60951000119105",
            "description": "Blindness due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "609564002",
            "description": "Pre-existing type 1 diabetes mellitus in pregnancy",
            "attributes": null
          },
          {
            "code": "609566000",
            "description": "Pregnancy and type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "609567009",
            "description": "Pre-existing type 2 diabetes mellitus in pregnancy",
            "attributes": null
          },
          {
            "code": "60961000119107",
            "description": "Nonproliferative diabetic retinopathy due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "60971000119101",
            "description": "Proliferative retinopathy due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "60991000119100",
            "description": "Blindness due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "691000119103",
            "description": "Erectile dysfunction due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "701000119103",
            "description": "Mixed hyperlipidemia due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "703137001",
            "description": "Type I diabetes mellitus in remission",
            "attributes": null
          },
          {
            "code": "703138006",
            "description": "Type II diabetes mellitus in remission",
            "attributes": null
          },
          {
            "code": "706891008",
            "description": "Neuropathy due to unstable diabetes mellitus type 1",
            "attributes": null
          },
          {
            "code": "706894000",
            "description": "Retinopathy due to unstable diabetes mellitus type 1",
            "attributes": null
          },
          {
            "code": "711000119100",
            "description": "Chronic kidney disease stage 5 due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "712882000",
            "description": "Autonomic neuropathy due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "712883005",
            "description": "Autonomic neuropathy due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "713702000",
            "description": "Gastroparesis due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "713703005",
            "description": "Gastroparesis due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "713705003",
            "description": "Polyneuropathy due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "713706002",
            "description": "Polyneuropathy due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "71421000119105",
            "description": "Hypertension in chronic kidney disease due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "71441000119104",
            "description": "Nephrotic syndrome due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "71701000119105",
            "description": "Hypertension in chronic kidney disease due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "71721000119101",
            "description": "Nephrotic syndrome due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "71771000119100",
            "description": "Neuropathic arthropathy due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "71791000119104",
            "description": "Peripheral neuropathy due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "719216001",
            "description": "Hypoglycemic coma due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "72021000119109",
            "description": "Dermopathy due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "72031000119107",
            "description": "Severe malnutrition due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "72041000119103",
            "description": "Osteomyelitis due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "72051000119101",
            "description": "Severe malnutrition due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "72061000119104",
            "description": "Osteomyelitis due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "721000119107",
            "description": "Chronic kidney disease stage 4 due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "721283000",
            "description": "Acidosis due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "721284006",
            "description": "Acidosis due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "72141000119104",
            "description": "Chronic ulcer of skin due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "722454003",
            "description": "Intellectual disability, craniofacial dysmorphism, hypogonadism, diabetes mellitus syndrome",
            "attributes": null
          },
          {
            "code": "731000119105",
            "description": "Chronic kidney disease stage 3 due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "739681000",
            "description": "Disorder of eye due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "741000119101",
            "description": "Chronic kidney disease stage 2 due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "751000119104",
            "description": "Chronic kidney disease stage 1 due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "754121000000107",
            "description": "Type II diabetic dietary review",
            "attributes": null
          },
          {
            "code": "754131000000109",
            "description": "Type 2 diabetic dietary review",
            "attributes": null
          },
          {
            "code": "754461000000105",
            "description": "Referral to type I diabetes structured education programme",
            "attributes": null
          },
          {
            "code": "761000119102",
            "description": "Dyslipidemia due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "769219006",
            "description": "Macular edema due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "769220000",
            "description": "Macular edema due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "770098001",
            "description": "Cranial nerve palsy due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "771000119108",
            "description": "Chronic kidney disease due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "771691000000102",
            "description": "History of diabetes mellitus type 2",
            "attributes": null
          },
          {
            "code": "772031000000104",
            "description": "History of diabetes mellitus type 1",
            "attributes": null
          },
          {
            "code": "781000119106",
            "description": "Neuropathic arthropathy due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "78441000000102",
            "description": "Type 1 diabetes mellitus with ketoacidosis",
            "attributes": null
          },
          {
            "code": "789542009",
            "description": "Neuropathy due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "789567007",
            "description": "Ulcer of heel due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "789568002",
            "description": "Ulcer of midfoot due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "789571005",
            "description": "Ulcer of heel due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "789572003",
            "description": "Ulcer of midfoot due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "791000119109",
            "description": "Angina due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "81531005",
            "description": "Diabetes mellitus type 2 in obese",
            "attributes": null
          },
          {
            "code": "82541000119100",
            "description": "Traction detachment of retina due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "82551000119103",
            "description": "Rubeosis iridis due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "82571000119107",
            "description": "Traction detachment of retina due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "82581000119105",
            "description": "Rubeosis iridis due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "82881000000104",
            "description": "Unstable type I diabetes mellitus",
            "attributes": null
          },
          {
            "code": "82901000000101",
            "description": "Type I diabetes mellitus with gangrene",
            "attributes": null
          },
          {
            "code": "83031000000101",
            "description": "Type 1 diabetes mellitus with ketoacidosis",
            "attributes": null
          },
          {
            "code": "83101000000108",
            "description": "Type II diabetes mellitus with gangrene",
            "attributes": null
          },
          {
            "code": "83211000000102",
            "description": "Type II diabetes mellitus with neuropathic arthropathy",
            "attributes": null
          },
          {
            "code": "83221000000108",
            "description": "Hyperosmolar non-ketotic state in type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "83231000000105",
            "description": "Type 2 diabetes mellitus with persistent proteinuria",
            "attributes": null
          },
          {
            "code": "83241000000101",
            "description": "Type 2 diabetes mellitus with persistent microalbuminuria",
            "attributes": null
          },
          {
            "code": "84041000000107",
            "description": "Type II diabetes mellitus - poor control",
            "attributes": null
          },
          {
            "code": "84361000119102",
            "description": "Insulin reactive hypoglycemia due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "84371000119108",
            "description": "Hypoglycemia due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "87441000119104",
            "description": "Ulcer of ankle due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "87451000119102",
            "description": "Heel AND/OR midfoot ulcer due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "87461000119100",
            "description": "Ulcer of forefoot due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "87471000119106",
            "description": "Ulcer of ankle due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "87481000119109",
            "description": "Heel AND/OR midfoot ulcer due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "87491000119107",
            "description": "Ulcer of forefoot due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "87921000119104",
            "description": "Cranial nerve palsy due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "888191000000107",
            "description": "Type I diabetes mellitus in remission",
            "attributes": null
          },
          {
            "code": "888201000000109",
            "description": "Type I diabetes mellitus in remission",
            "attributes": null
          },
          {
            "code": "888211000000106",
            "description": "Type II diabetes mellitus in remission",
            "attributes": null
          },
          {
            "code": "888221000000100",
            "description": "Type II diabetes mellitus in remission",
            "attributes": null
          },
          {
            "code": "90721000119101",
            "description": "Chronic kidney disease stage 1 due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "90731000119103",
            "description": "Chronic kidney disease stage 2 due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "90741000119107",
            "description": "Chronic kidney disease stage 3 due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "90751000119109",
            "description": "Chronic kidney disease stage 4 due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "90761000119106",
            "description": "Chronic kidney disease stage 5 due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "90771000119100",
            "description": "End stage renal disease on dialysis due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "90781000119102",
            "description": "Microalbuminuria due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "90791000119104",
            "description": "End stage renal disease on dialysis due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "96441000119101",
            "description": "Chronic kidney disease due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "97331000119101",
            "description": "Macular edema and retinopathy due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "97341000119105",
            "description": "Proliferative retinopathy with retinal edema due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "97621000119107",
            "description": "Stasis ulcer due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "9859006",
            "description": "Acanthosis nigricans due to type 2 diabetes mellitus",
            "attributes": null
          }
        ]
      }
    ],
    "coding_system_release": "",
    "open_codelist_version_id": "2ad8f0b0",
    "open_codelist_version_tag": "",
    "status": 1,
    "doi": "https://doi.org/10.48533/k4ha-0214",
    "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": 4618,
        "version_name": "Multimorbidity_diabetes",
        "version_date": "2026-01-26T21:33:15.951992Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]