[
  {
    "phenotype_id": "PH2872",
    "phenotype_version_id": 7316,
    "name": "Non Type 1 or Type 2 diabetes mellitus codes used in National audit",
    "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 `OTHERDMAUDIT_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:49:22.066178Z",
    "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:49:32.805135Z",
    "references": [
      {
        "url": "https://digital.nhs.uk/data-and-information/data-collections-and-data-sets/data-collections/quality-and-outcomes-framework-qof/quality-and-outcome-framework-qof-business-rules/primary-care-domain-reference-set-portal",
        "title": "Primary Care Domain Reference Set Portal"
      }
    ],
    "signed_off": [],
    "methodology": "",
    "coding_system": [
      {
        "name": "SNOMED  CT codes",
        "value": 9
      }
    ],
    "open_codelist_id": "nhsd-primary-care-domain-refsets/otherdmaudit_cod",
    "source_reference": "https://www.opencodelists.org/codelist/nhsd-primary-care-domain-refsets/otherdmaudit_cod/20250912",
    "concept_information": [
      {
        "concept_id": 7493,
        "concept_version_id": 14978,
        "concept_name": "nhsd-primary-care-domain-refsets/otherdmaudit_cod/20250912",
        "coding_system": {
          "id": 9,
          "name": "SNOMED  CT codes",
          "description": "SNOMED CT codes"
        },
        "phenotype_id": "PH2872",
        "phenotype_version_id": 7316,
        "phenotype_name": "Non Type 1 or Type 2 diabetes mellitus codes used in National audit",
        "code_attribute_header": [],
        "codes": [
          {
            "code": "103981000119101",
            "description": "Proliferative retinopathy following surgery due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "104031000000108",
            "description": "Secondary pancreatic diabetes mellitus",
            "attributes": null
          },
          {
            "code": "105401000119101",
            "description": "Diabetes mellitus due to pancreatic injury",
            "attributes": null
          },
          {
            "code": "106281000119103",
            "description": "Pre-existing diabetes mellitus in mother complicating childbirth",
            "attributes": null
          },
          {
            "code": "1102351000000105",
            "description": "Ketosis-prone diabetes mellitus",
            "attributes": null
          },
          {
            "code": "111307005",
            "description": "Leprechaunism syndrome",
            "attributes": null
          },
          {
            "code": "111552007",
            "description": "Diabetes mellitus without complication",
            "attributes": null
          },
          {
            "code": "111556005",
            "description": "Ketoacidosis without coma due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "112991000000101",
            "description": "Lipoatrophic diabetes mellitus without complication",
            "attributes": null
          },
          {
            "code": "1142044000",
            "description": "Pre-existing malnutrition-related diabetes mellitus in pregnancy",
            "attributes": null
          },
          {
            "code": "1144894004",
            "description": "Peripheral autonomic neuropathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "11530004",
            "description": "Brittle diabetes mellitus",
            "attributes": null
          },
          {
            "code": "1172389004",
            "description": "Disorder due to malnutrition related diabetes mellitus",
            "attributes": null
          },
          {
            "code": "1217044000",
            "description": "Ketosis-resistant diabetes mellitus",
            "attributes": null
          },
          {
            "code": "1217674007",
            "description": "Neurotrophic keratitis due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "122411000000108",
            "description": "Secondary pancreatic diabetes mellitus without complication",
            "attributes": null
          },
          {
            "code": "122481000000101",
            "description": "Fibrocalculous pancreatic diabetes",
            "attributes": null
          },
          {
            "code": "122961000000101",
            "description": "Secondary pancreatic diabetes mellitus without complication",
            "attributes": null
          },
          {
            "code": "1231625008",
            "description": "Tractional retinal detachment due to proliferative diabetic retinopathy",
            "attributes": null
          },
          {
            "code": "1231650006",
            "description": "Combined rhegmatogenous and tractional retinal detachment due to proliferative diabetic retinopathy",
            "attributes": null
          },
          {
            "code": "1231691008",
            "description": "Vitreous hemorrhage due to proliferative diabetic retinopathy",
            "attributes": null
          },
          {
            "code": "1231698002",
            "description": "Tractional retinal detachment with macula involvement due to proliferative diabetic retinopathy",
            "attributes": null
          },
          {
            "code": "123763000",
            "description": "Houssay's syndrome",
            "attributes": null
          },
          {
            "code": "1251386008",
            "description": "Disorder of skin due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "1259048007",
            "description": "Lesion of brachial plexus due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "126534007",
            "description": "Mixed sensorimotor polyneuropathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "126535008",
            "description": "Motor polyneuropathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "127011001",
            "description": "Sensory neuropathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "127012008",
            "description": "Lipoatrophic diabetes",
            "attributes": null
          },
          {
            "code": "127013003",
            "description": "Disorder of kidney due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "127014009",
            "description": "Peripheral angiopathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "1285518004",
            "description": "Wolfram syndrome type 1",
            "attributes": null
          },
          {
            "code": "1285519007",
            "description": "Wolfram syndrome type 2",
            "attributes": null
          },
          {
            "code": "138811000119100",
            "description": "Complication due to secondary diabetes mellitus",
            "attributes": null
          },
          {
            "code": "16890881000119106",
            "description": "History of proliferative retinopathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "170745003",
            "description": "Diabetic on diet only",
            "attributes": null
          },
          {
            "code": "170747006",
            "description": "Diabetic on insulin",
            "attributes": null
          },
          {
            "code": "170763003",
            "description": "Diabetic - good control",
            "attributes": null
          },
          {
            "code": "170766006",
            "description": "Loss of hypoglycemic warning due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "1771691000000102",
            "description": "Ulcer of foot due to diabetes mellitus in remission",
            "attributes": null
          },
          {
            "code": "1771701000000102",
            "description": "Ulcer of right foot due to diabetes mellitus in remission",
            "attributes": null
          },
          {
            "code": "1771711000000100",
            "description": "Ulcer of left foot due to diabetes mellitus in remission",
            "attributes": null
          },
          {
            "code": "190329007",
            "description": "Diabetes mellitus with hyperosmolar coma",
            "attributes": null
          },
          {
            "code": "190406000",
            "description": "Ketoacidosis due to malnutrition related diabetes mellitus",
            "attributes": null
          },
          {
            "code": "190407009",
            "description": "Malnutrition-related diabetes mellitus with renal complications",
            "attributes": null
          },
          {
            "code": "190410002",
            "description": "Malnutrition-related diabetes mellitus with peripheral circulatory complications",
            "attributes": null
          },
          {
            "code": "190411003",
            "description": "Multiple complications due to malnutrition related diabetes",
            "attributes": null
          },
          {
            "code": "190412005",
            "description": "Malnutrition-related diabetes mellitus without complications",
            "attributes": null
          },
          {
            "code": "190416008",
            "description": "Steroid-induced diabetes mellitus without complication",
            "attributes": null
          },
          {
            "code": "190447002",
            "description": "Steroid-induced diabetes",
            "attributes": null
          },
          {
            "code": "193141005",
            "description": "Mononeuritis multiplex due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "193183000",
            "description": "Acute painful neuropathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "193184006",
            "description": "Chronic painful neuropathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "193185007",
            "description": "Asymptomatic neuropathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "193349004",
            "description": "Preproliferative retinopathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "193350004",
            "description": "Advanced maculopathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "193489006",
            "description": "Iritis due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "19378003",
            "description": "Pseudotabes due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "197605007",
            "description": "Nephrotic syndrome due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "198121000000103",
            "description": "Hypoglycaemic warning impaired",
            "attributes": null
          },
          {
            "code": "198131000000101",
            "description": "Hypoglycaemic warning good",
            "attributes": null
          },
          {
            "code": "199231005",
            "description": "Pre-existing malnutrition-related diabetes mellitus",
            "attributes": null
          },
          {
            "code": "200687002",
            "description": "Cellulitis of foot due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "201250006",
            "description": "Ischemic ulcer of foot due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "201251005",
            "description": "Neuropathic ulcer of foot due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "201252003",
            "description": "Mixed diabetic ulcer - foot",
            "attributes": null
          },
          {
            "code": "201723002",
            "description": "Cheiroarthropathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "201724008",
            "description": "Neuropathic arthropathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "20678000",
            "description": "Extreme insulin resistance with acanthosis nigricans, hirsutism AND autoantibodies to the insulin receptors",
            "attributes": null
          },
          {
            "code": "230572002",
            "description": "Neuropathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "230573007",
            "description": "Diabetic distal sensorimotor polyneuropathy",
            "attributes": null
          },
          {
            "code": "230574001",
            "description": "Acute painful polyneuropathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "230575000",
            "description": "Chronic painful polyneuropathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "230576004",
            "description": "Asymmetric polyneuropathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "230577008",
            "description": "Mononeuropathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "230578003",
            "description": "Diabetic truncal radiculopathy",
            "attributes": null
          },
          {
            "code": "230579006",
            "description": "Thoracic radiculopathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "232020009",
            "description": "Disorder of macula due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "232021008",
            "description": "Proliferative retinopathy with optic disc neovascularization due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "232022001",
            "description": "Proliferative retinopathy with neovascularization elsewhere than the optic disc due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "232023006",
            "description": "Traction detachment of retina due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "236499007",
            "description": "Microalbuminuric nephropathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "236500003",
            "description": "Proteinuric nephropathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "237600004",
            "description": "Malnutrition-related diabetes mellitus - fibrocalculous",
            "attributes": null
          },
          {
            "code": "237601000",
            "description": "Secondary endocrine diabetes mellitus",
            "attributes": null
          },
          {
            "code": "237604008",
            "description": "Maturity onset diabetes of the young, type 2",
            "attributes": null
          },
          {
            "code": "237608006",
            "description": "Lipodystrophy, partial, with Rieger anomaly, short stature, and insulinopenic diabetes mellitus",
            "attributes": null
          },
          {
            "code": "237610008",
            "description": "Acrorenal field defect, ectodermal dysplasia, and lipoatrophic diabetes",
            "attributes": null
          },
          {
            "code": "237611007",
            "description": "Muscular atrophy, ataxia, retinitis pigmentosa, and diabetes mellitus",
            "attributes": null
          },
          {
            "code": "237612000",
            "description": "Photomyoclonus, diabetes mellitus, deafness, nephropathy and cerebral dysfunction",
            "attributes": null
          },
          {
            "code": "237616002",
            "description": "Hypogonadism, diabetes mellitus, alopecia, mental retardation and electrocardiographic abnormalities",
            "attributes": null
          },
          {
            "code": "237617006",
            "description": "Megaloblastic anemia, thiamine-responsive, with diabetes mellitus and sensorineural deafness",
            "attributes": null
          },
          {
            "code": "237618001",
            "description": "Insulin-dependent diabetes mellitus secretory diarrhea syndrome",
            "attributes": null
          },
          {
            "code": "237619009",
            "description": "Maternally inherited diabetes and deafness",
            "attributes": null
          },
          {
            "code": "237620003",
            "description": "Abnormal metabolic state due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "237621004",
            "description": "Severe hyperglycemia due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "237622006",
            "description": "Poor glycemic control",
            "attributes": null
          },
          {
            "code": "237632004",
            "description": "Hypoglycemic event due to diabetes",
            "attributes": null
          },
          {
            "code": "237633009",
            "description": "Hypoglycemia due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "237635002",
            "description": "Nocturnal hypoglycemia due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "237650006",
            "description": "Insulin resistance in diabetes",
            "attributes": null
          },
          {
            "code": "238981002",
            "description": "Disorder of soft tissue due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "238982009",
            "description": "Dermopathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "238983004",
            "description": "Thick skin syndrome due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "238984005",
            "description": "Rubeosis faciei due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "24203005",
            "description": "Extreme insulin resistance with acanthosis nigricans, hirsutism AND abnormal insulin receptors",
            "attributes": null
          },
          {
            "code": "25093002",
            "description": "Disorder of eye due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "25412000",
            "description": "Microaneurysm of retinal artery due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "25907005",
            "description": "Diabetic gangrene",
            "attributes": null
          },
          {
            "code": "26298008",
            "description": "Ketoacidotic coma due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "267467004",
            "description": "Diabetes mellitus (&amp; [ketoacidosis])",
            "attributes": null
          },
          {
            "code": "267471001",
            "description": "Diabetes + eye manifestation (&amp; [cataract] or [retinopathy])",
            "attributes": null
          },
          {
            "code": "267604001",
            "description": "Myasthenic syndrome due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "268519009",
            "description": "Diabetic - poor control",
            "attributes": null
          },
          {
            "code": "2751001",
            "description": "Fibrocalculous pancreatic diabetes",
            "attributes": null
          },
          {
            "code": "280137006",
            "description": "Diabetic foot",
            "attributes": null
          },
          {
            "code": "28453007",
            "description": "Maturity onset diabetes mellitus in young",
            "attributes": null
          },
          {
            "code": "286451000000100",
            "description": "Cystic fibrosis related diabetes mellitus",
            "attributes": null
          },
          {
            "code": "292571000000107",
            "description": "Cystic fibrosis related diabetes mellitus",
            "attributes": null
          },
          {
            "code": "308105005",
            "description": "On examination-Right diabetic foot at risk",
            "attributes": null
          },
          {
            "code": "308106006",
            "description": "On examination-Left diabetic foot at risk",
            "attributes": null
          },
          {
            "code": "309426007",
            "description": "Glomerulopathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "310387003",
            "description": "Intracapillary glomerulosclerosis of kidney due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "310505005",
            "description": "Hyperosmolar non-ketotic state due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "311366001",
            "description": "Kimmelstiel-Wilson syndrome",
            "attributes": null
          },
          {
            "code": "311782002",
            "description": "Advanced retinal disease due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "312903003",
            "description": "Mild nonproliferative retinopathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "312904009",
            "description": "Moderate nonproliferative retinopathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "312905005",
            "description": "Severe nonproliferative retinopathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "312906006",
            "description": "Non-high-risk proliferative retinopathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "312907002",
            "description": "High risk proliferative retinopathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "312908007",
            "description": "Quiescent proliferative retinopathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "312909004",
            "description": "Proliferative retinopathy with iris neovascularization due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "312910009",
            "description": "Vitreous hemorrhage due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "312912001",
            "description": "Macular edema due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "314010006",
            "description": "Diffuse exudative maculopathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "314011005",
            "description": "Focal exudative maculopathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "314014002",
            "description": "Ischemic maculopathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "314015001",
            "description": "Mixed maculopathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "314537004",
            "description": "Optic papillopathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "33559001",
            "description": "Pineal hyperplasia AND diabetes mellitus syndrome",
            "attributes": null
          },
          {
            "code": "335621000000101",
            "description": "Maternally inherited diabetes mellitus",
            "attributes": null
          },
          {
            "code": "35777006",
            "description": "Mononeuropathy multiplex due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "359611005",
            "description": "Neuropathy with neurologic complication due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "361216007",
            "description": "Femoral mononeuropathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "367241000119104",
            "description": "Hyperosmolar coma due to drug induced diabetes mellitus",
            "attributes": null
          },
          {
            "code": "367261000119100",
            "description": "Hyperosmolarity 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": "368171000119104",
            "description": "Dermatitis 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": "368601000119102",
            "description": "Hyperosmolar coma due to secondary diabetes mellitus",
            "attributes": null
          },
          {
            "code": "368711000119106",
            "description": "Mild nonproliferative retinopathy due to secondary diabetes mellitus",
            "attributes": null
          },
          {
            "code": "368721000119104",
            "description": "Non-proliferative retinopathy due to secondary diabetes mellitus",
            "attributes": null
          },
          {
            "code": "368741000119105",
            "description": "Moderate non-proliferative retinopathy due to secondary diabetes mellitus",
            "attributes": null
          },
          {
            "code": "371087003",
            "description": "Ulcer of foot due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "38046004",
            "description": "Diffuse glomerulosclerosis of kidney due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "38205001",
            "description": "Diarrhea due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "385041000000108",
            "description": "Diabetes mellitus with multiple complications",
            "attributes": null
          },
          {
            "code": "385051000000106",
            "description": "Pre-existing diabetes mellitus",
            "attributes": null
          },
          {
            "code": "39058009",
            "description": "Lumbosacral radiculoplexus neuropathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "390715006",
            "description": "Diabetes mellitus autosomal dominant",
            "attributes": null
          },
          {
            "code": "390834004",
            "description": "Nonproliferative retinopathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "39127005",
            "description": "Symmetric proximal motor neuropathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "39181008",
            "description": "Radiculoplexus neuropathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "398140007",
            "description": "Post hypoglycemic hyperglycemia due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "399862001",
            "description": "High risk proliferative retinopathy without macular edema due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "399863006",
            "description": "Very severe nonproliferative retinopathy without macular edema due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "399864000",
            "description": "Macular edema not clinically significant due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "399865004",
            "description": "Very severe proliferative retinopathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "399866003",
            "description": "Venous beading of retina due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "399868002",
            "description": "Intraretinal microvascular anomaly due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "399869005",
            "description": "High risk proliferative retinopathy not amenable to photocoagulation due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "399870006",
            "description": "Non-high-risk proliferative retinopathy with no macular edema due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "399871005",
            "description": "Visually threatening retinopathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "399872003",
            "description": "Severe nonproliferative retinopathy with clinically significant macular edema due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "399873008",
            "description": "Severe nonproliferative retinopathy without macular edema due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "399874002",
            "description": "High risk proliferative retinopathy with clinically significant macula edema due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "399875001",
            "description": "Non-high-risk proliferative retinopathy with clinically significant macular edema due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "399876000",
            "description": "Very severe nonproliferative retinopathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "399877009",
            "description": "Very severe nonproliferative retinopathy with clinically significant macular edema due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "400971001",
            "description": "Maturity onset diabetes mellitus in young",
            "attributes": null
          },
          {
            "code": "402864004",
            "description": "Wet gangrene of foot 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": "408411003",
            "description": "On examination - right eye preproliferative diabetic retinopathy",
            "attributes": null
          },
          {
            "code": "408412005",
            "description": "On examination - left eye preproliferative diabetic retinopathy",
            "attributes": null
          },
          {
            "code": "408413000",
            "description": "On examination - right eye proliferative diabetic retinopathy",
            "attributes": null
          },
          {
            "code": "408414006",
            "description": "On examination - left eye proliferative diabetic retinopathy",
            "attributes": null
          },
          {
            "code": "408415007",
            "description": "On examination - right eye diabetic maculopathy",
            "attributes": null
          },
          {
            "code": "408416008",
            "description": "On examination - left eye diabetic maculopathy",
            "attributes": null
          },
          {
            "code": "408540003",
            "description": "Diabetes mellitus caused by non-steroid drugs",
            "attributes": null
          },
          {
            "code": "408545008",
            "description": "Fibrocalculous pancreatic diabetes",
            "attributes": null
          },
          {
            "code": "413183008",
            "description": "Diabetes mellitus caused by non-steroid drugs without complication",
            "attributes": null
          },
          {
            "code": "414894003",
            "description": "On examination - left eye stable treated proliferative diabetic retinopathy",
            "attributes": null
          },
          {
            "code": "414910007",
            "description": "On examination - right eye stable treated proliferative diabetic retinopathy",
            "attributes": null
          },
          {
            "code": "417677008",
            "description": "On examination - sight threatening diabetic retinopathy",
            "attributes": null
          },
          {
            "code": "419100001",
            "description": "Infection of foot due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "420422005",
            "description": "Ketoacidosis due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "420662003",
            "description": "Coma due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "420683009",
            "description": "Disorder of nervous system due to malnutrition related diabetes mellitus",
            "attributes": null
          },
          {
            "code": "420996007",
            "description": "Coma due to malnutrition-related diabetes mellitus",
            "attributes": null
          },
          {
            "code": "421256007",
            "description": "Disorder of eye due to malnutrition related diabetes mellitus",
            "attributes": null
          },
          {
            "code": "421725003",
            "description": "Hypoglycemic coma due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "421895002",
            "description": "Peripheral vascular disorder due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "421966007",
            "description": "Non-ketotic non-hyperosmolar coma due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "422088007",
            "description": "Disorder of nervous system due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "422126006",
            "description": "Hyperosmolar coma due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "422183001",
            "description": "Skin ulcer due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "422275004",
            "description": "Gangrene due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "424736006",
            "description": "Peripheral neuropathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "425455002",
            "description": "Glomerulonephritis due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "426705001",
            "description": "Diabetes mellitus co-occurrent and due to cystic fibrosis",
            "attributes": null
          },
          {
            "code": "426875007",
            "description": "Latent autoimmune diabetes mellitus in adult",
            "attributes": null
          },
          {
            "code": "427089005",
            "description": "Diabetes mellitus due to cystic fibrosis",
            "attributes": null
          },
          {
            "code": "427943001",
            "description": "Ophthalmoplegia due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "42954008",
            "description": "Diabetes mellitus associated with receptor abnormality",
            "attributes": null
          },
          {
            "code": "43959009",
            "description": "Cataract of eye due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "441628001",
            "description": "Multiple complications due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "441656006",
            "description": "Hyperglycemic crisis due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "445170001",
            "description": "Macroalbuminuric nephropathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "445260006",
            "description": "Posttransplant diabetes mellitus",
            "attributes": null
          },
          {
            "code": "446641003",
            "description": "Renal cysts and diabetes syndrome",
            "attributes": null
          },
          {
            "code": "472972006",
            "description": "History of maturity onset diabetes mellitus in young",
            "attributes": null
          },
          {
            "code": "4855003",
            "description": "Retinopathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "48951005",
            "description": "Bullous disease due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "49455004",
            "description": "Polyneuropathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "50620007",
            "description": "Autonomic neuropathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "51002006",
            "description": "Diabetes mellitus associated with pancreatic disease",
            "attributes": null
          },
          {
            "code": "530558861000132104",
            "description": "Atypical diabetes mellitus",
            "attributes": null
          },
          {
            "code": "532411000000102",
            "description": "Diabetes mellitus, adult onset, with no mention of complication",
            "attributes": null
          },
          {
            "code": "5368009",
            "description": "Drug-induced diabetes mellitus",
            "attributes": null
          },
          {
            "code": "54181000",
            "description": "Diabetes-nephrosis syndrome",
            "attributes": null
          },
          {
            "code": "57886004",
            "description": "Protein-deficient diabetes mellitus",
            "attributes": null
          },
          {
            "code": "59079001",
            "description": "Diabetes mellitus associated with hormonal etiology",
            "attributes": null
          },
          {
            "code": "59276001",
            "description": "Proliferative retinopathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "5969009",
            "description": "Diabetes mellitus associated with genetic syndrome",
            "attributes": null
          },
          {
            "code": "609561005",
            "description": "Maturity-onset diabetes of the young",
            "attributes": null
          },
          {
            "code": "609562003",
            "description": "Maturity onset diabetes of the young, type 1",
            "attributes": null
          },
          {
            "code": "609563008",
            "description": "Pre-existing diabetes mellitus in pregnancy",
            "attributes": null
          },
          {
            "code": "609565001",
            "description": "Permanent neonatal diabetes mellitus",
            "attributes": null
          },
          {
            "code": "609568004",
            "description": "Diabetes mellitus due to genetic defect in beta cell function",
            "attributes": null
          },
          {
            "code": "609569007",
            "description": "Diabetes mellitus due to genetic defect in insulin action",
            "attributes": null
          },
          {
            "code": "609570008",
            "description": "Maturity-onset diabetes of the young, type 3",
            "attributes": null
          },
          {
            "code": "609571007",
            "description": "Maturity-onset diabetes of the young, type 4",
            "attributes": null
          },
          {
            "code": "609572000",
            "description": "Maturity-onset diabetes of the young, type 5",
            "attributes": null
          },
          {
            "code": "609573005",
            "description": "Maturity-onset diabetes of the young, type 6",
            "attributes": null
          },
          {
            "code": "609574004",
            "description": "Maturity-onset diabetes of the young, type 7",
            "attributes": null
          },
          {
            "code": "609575003",
            "description": "Maturity-onset diabetes of the young, type 8",
            "attributes": null
          },
          {
            "code": "609576002",
            "description": "Maturity-onset diabetes of the young, type 9",
            "attributes": null
          },
          {
            "code": "609577006",
            "description": "Maturity-onset diabetes of the young, type 10",
            "attributes": null
          },
          {
            "code": "609578001",
            "description": "Maturity-onset diabetes of the young, type 11",
            "attributes": null
          },
          {
            "code": "62260007",
            "description": "Pretibial pigmental patches due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "63510008",
            "description": "Nodular glomerulosclerosis of kidney due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "658011000000104",
            "description": "Diabetes mellitus with other specified manifestation",
            "attributes": null
          },
          {
            "code": "677741000119109",
            "description": "Non-diabetic proliferative retinopathy of bilateral eyes",
            "attributes": null
          },
          {
            "code": "703136005",
            "description": "Diabetes mellitus in remission",
            "attributes": null
          },
          {
            "code": "704241002",
            "description": "Fetal hypertrophic cardiomyopathy due to maternal diabetes mellitus",
            "attributes": null
          },
          {
            "code": "70694009",
            "description": "Wolfram syndrome",
            "attributes": null
          },
          {
            "code": "707221002",
            "description": "Glomerulosclerosis of kidney due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "709147009",
            "description": "Gingivitis co-occurrent with diabetes mellitus",
            "attributes": null
          },
          {
            "code": "713457002",
            "description": "Neovascular glaucoma due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "713704004",
            "description": "Gastroparesis due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "715439000",
            "description": "Familial partial lipodystrophy type 2",
            "attributes": null
          },
          {
            "code": "716362006",
            "description": "Gingival disease co-occurrent with diabetes mellitus",
            "attributes": null
          },
          {
            "code": "720519003",
            "description": "Atherosclerosis, deafness, diabetes, epilepsy, nephropathy syndrome",
            "attributes": null
          },
          {
            "code": "721973006",
            "description": "Lipodystrophy, intellectual disability, deafness syndrome",
            "attributes": null
          },
          {
            "code": "722206009",
            "description": "Pancreatic hypoplasia, diabetes mellitus, congenital heart disease syndrome",
            "attributes": null
          },
          {
            "code": "722454003",
            "description": "Intellectual disability, craniofacial dysmorphism, hypogonadism, diabetes mellitus syndrome",
            "attributes": null
          },
          {
            "code": "723074006",
            "description": "Renal papillary necrosis due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "724067006",
            "description": "Permanent neonatal diabetes mellitus with cerebellar agenesis syndrome",
            "attributes": null
          },
          {
            "code": "724136006",
            "description": "Mastopathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "724810001",
            "description": "Radiculoplexoneuropathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "724876003",
            "description": "Lesion of skin due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "724997001",
            "description": "Lumbosacral plexopathy co-occurrent and due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "729981000000105",
            "description": "Renal cysts and diabetes syndrome",
            "attributes": null
          },
          {
            "code": "73211009",
            "description": "Diabetes mellitus",
            "attributes": null
          },
          {
            "code": "733072002",
            "description": "Alaninuria, microcephaly, dwarfism, enamel hypoplasia, diabetes mellitus syndrome",
            "attributes": null
          },
          {
            "code": "734022008",
            "description": "Wolfram-like syndrome",
            "attributes": null
          },
          {
            "code": "735199000",
            "description": "History of diabetes related lower limb amputation",
            "attributes": null
          },
          {
            "code": "735200002",
            "description": "Absence of lower limb due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "735537007",
            "description": "Hyperosmolar hyperglycemic coma due to diabetes mellitus without ketoacidosis",
            "attributes": null
          },
          {
            "code": "735538002",
            "description": "Lactic acidosis due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "735539005",
            "description": "Metabolic acidosis due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "737212004",
            "description": "Diabetes mellitus caused by chemical",
            "attributes": null
          },
          {
            "code": "74627003",
            "description": "Complication due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "75524006",
            "description": "Malnutrition related diabetes mellitus",
            "attributes": null
          },
          {
            "code": "75682002",
            "description": "Diabetes mellitus caused by insulin receptor antibodies",
            "attributes": null
          },
          {
            "code": "762489000",
            "description": "Acute complication due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "763325000",
            "description": "Insulin resistance",
            "attributes": null
          },
          {
            "code": "768792007",
            "description": "Cataract of right eye due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "768793002",
            "description": "Cataract of left eye due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "768794008",
            "description": "Cataract of bilateral eyes due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "768797001",
            "description": "Iritis of right eye due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "768798006",
            "description": "Iritis of left eye due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "768799003",
            "description": "Iritis of bilateral eyes due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "769181007",
            "description": "Preproliferative retinopathy of right eye due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "769182000",
            "description": "Preproliferative retinopathy of left eye due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "769183005",
            "description": "Mild nonproliferative retinopathy of right eye due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "769184004",
            "description": "Mild nonproliferative retinopathy of left eye due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "769185003",
            "description": "Moderate nonproliferative retinopathy of right eye due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "769186002",
            "description": "Moderate nonproliferative retinopathy of left eye due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "769187006",
            "description": "Severe nonproliferative retinopathy of right eye due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "769188001",
            "description": "Severe nonproliferative retinopathy of left eye due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "769190000",
            "description": "Very severe nonproliferative retinopathy of right eye due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "769191001",
            "description": "Very severe nonproliferative retinopathy of left eye due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "769217008",
            "description": "Macular edema of right eye due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "769218003",
            "description": "Macular edema of left eye due to 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": "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": "770094004",
            "description": "Cervical radiculoplexus neuropathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "770095003",
            "description": "Cranial nerve palsy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "770096002",
            "description": "Erectile dysfunction due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "770097006",
            "description": "Clinically significant macular edema due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "770098001",
            "description": "Cranial nerve palsy due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "770323005",
            "description": "Retinal edema due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "770324004",
            "description": "Ischemia of retina 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": "771521000000101",
            "description": "History of autosomal dominant diabetes mellitus",
            "attributes": null
          },
          {
            "code": "771571000000102",
            "description": "History of secondary diabetes mellitus",
            "attributes": null
          },
          {
            "code": "773001000000103",
            "description": "Symptomatic diabetic peripheral neuropathy",
            "attributes": null
          },
          {
            "code": "775841000000109",
            "description": "Diabetic retinopathy detected by national screening programme",
            "attributes": null
          },
          {
            "code": "782755007",
            "description": "Primary microcephaly, mild intellectual disability, young-onset diabetes syndrome",
            "attributes": null
          },
          {
            "code": "782825008",
            "description": "Primary microcephaly, epilepsy, permanent neonatal diabetes syndrome",
            "attributes": null
          },
          {
            "code": "783722008",
            "description": "Myopathy and diabetes mellitus",
            "attributes": null
          },
          {
            "code": "78471000000108",
            "description": "Maturity onset diabetes mellitus in young",
            "attributes": null
          },
          {
            "code": "788878000",
            "description": "Cardiomyopathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "789562001",
            "description": "Ulcer of heel due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "789568002",
            "description": "Ulcer of midfoot due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "789585000",
            "description": "Sensory polyneuropathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "79554005",
            "description": "Asymmetric proximal motor neuropathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "80660001",
            "description": "Mauriac's syndrome",
            "attributes": null
          },
          {
            "code": "816067005",
            "description": "Diabetes, hypogonadism, deafness, intellectual disability syndrome",
            "attributes": null
          },
          {
            "code": "816177009",
            "description": "Nonproliferative retinopathy of left eye due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "816178004",
            "description": "Nonproliferative retinopathy of right eye due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "816961009",
            "description": "Stable treated proliferative retinopathy of right eye due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "816962002",
            "description": "Stable treated proliferative retinopathy of left eye due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "81830002",
            "description": "Mononeuropathy simplex due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "822995009",
            "description": "Hyperglycemia due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "82980005",
            "description": "Anemia due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "860712005",
            "description": "Disorder of macula of bilateral eyes due to diabetes mellitus present",
            "attributes": null
          },
          {
            "code": "860721006",
            "description": "Disorder of macula of bilateral eyes due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "860798008",
            "description": "Glaucoma due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "860883001",
            "description": "Generalized autonomic neuropathy due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "860977000",
            "description": "Ulcer of right foot due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "860978005",
            "description": "Ulcer of left foot due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "860979002",
            "description": "Chronic ulcer of right foot due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "860980004",
            "description": "Chronic ulcer of left foot due to diabetes mellitus",
            "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": "870420005",
            "description": "Severe nonproliferative retinopathy with venous beading of retina due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "870421009",
            "description": "Cystoid macular edema due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "870529009",
            "description": "Persistent macular edema due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "871778008",
            "description": "Centrally involved macular edema due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "871781003",
            "description": "Non centrally involved macular edema due to diabetes mellitus",
            "attributes": null
          },
          {
            "code": "8801005",
            "description": "Secondary diabetes mellitus",
            "attributes": null
          },
          {
            "code": "890171006",
            "description": "Ketosis-prone diabetes mellitus",
            "attributes": null
          },
          {
            "code": "894741000000107",
            "description": "Hypoglycaemic warning absent",
            "attributes": null
          },
          {
            "code": "91352004",
            "description": "Diabetes mellitus due to structurally abnormal insulin",
            "attributes": null
          },
          {
            "code": "974131000000100",
            "description": "Maturity onset diabetes of the young type 5",
            "attributes": null
          },
          {
            "code": "974141000000109",
            "description": "Maturity onset diabetes of the young type 5",
            "attributes": null
          },
          {
            "code": "99261000000102",
            "description": "Fibrocalculous pancreatic diabetes",
            "attributes": null
          }
        ]
      }
    ],
    "coding_system_release": "",
    "open_codelist_version_id": "52d7db41",
    "open_codelist_version_tag": "20250912",
    "status": 1,
    "doi": "https://doi.org/10.48533/g1fk-n548",
    "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": 7316,
        "version_name": "Non Type 1 or Type 2 diabetes mellitus codes used in National audit",
        "version_date": "2026-01-26T22:49:32.815521Z",
        "is_published": true,
        "is_latest": true
      },
      {
        "version_id": 7315,
        "version_name": "Non Type 1 or Type 2 diabetes mellitus codes used in National audit",
        "version_date": "2026-01-26T22:49:30.651214Z",
        "is_published": true,
        "is_latest": false
      },
      {
        "version_id": 7314,
        "version_name": "Non Type 1 or Type 2 diabetes mellitus codes used in National audit",
        "version_date": "2026-01-26T22:49:28.305217Z",
        "is_published": true,
        "is_latest": false
      },
      {
        "version_id": 7313,
        "version_name": "Non Type 1 or Type 2 diabetes mellitus codes used in National audit",
        "version_date": "2026-01-26T22:49:26.130794Z",
        "is_published": true,
        "is_latest": false
      },
      {
        "version_id": 7312,
        "version_name": "Non Type 1 or Type 2 diabetes mellitus codes used in National audit",
        "version_date": "2026-01-26T22:49:24.041062Z",
        "is_published": true,
        "is_latest": false
      },
      {
        "version_id": 7311,
        "version_name": "Non Type 1 or Type 2 diabetes mellitus codes used in National audit",
        "version_date": "2026-01-26T22:49:22.078581Z",
        "is_published": true,
        "is_latest": false
      }
    ]
  }
]