[
  {
    "phenotype_id": "PH945",
    "phenotype_version_id": 2123,
    "name": "Diabetes",
    "definition": "\n\n\n\n\n\n\n\n",
    "implementation": "",
    "publications": [
      {
        "doi": "10.1136/bmj.n826",
        "details": "Angela Wood, Rachel Denholm, Sam Hollings, Jennifer Cooper, Samantha Ip,Venexia Walker, Spiros Denaxas, Ashley Akbari, Amitava Banerjee, William Whiteley, Alvina Lai, Jonathan Sterne, Cathie Sudlow, CVD-COVID-UK consortium. Linked electronic health records for research on a nationwide cohort of more than 54 million people in England data resource BMJ 2021; 373 :n826 doi:10.1136/bmj.n826 https://www.bmj.com/content/373/bmj.n826",
        "primary": true
      }
    ],
    "validation": "",
    "citation_requirements": "",
    "created": "2022-05-09T07:55:54.774908Z",
    "author": "Angela Wood, Rachel Denholm, Sam Hollings, Jennifer Cooper, Samantha Ip, Venexia Walker, Spiros Denaxas, Ashley Akbari, Amitava Banerjee, William Whiteley, Alvina Lai, Jonathan Sterne, Cathie Sudlow, CVD-COVID-UK consortium",
    "collections": [
      {
        "name": "BHF Data Science Centre",
        "value": 20
      },
      {
        "name": "Phenotype Library",
        "value": 18
      }
    ],
    "tags": null,
    "organisation": {
      "id": 13,
      "slug": "bhf-data-science-centre",
      "name": "BHF Data Science Centre"
    },
    "world_access": 1,
    "updated": "2022-05-17T21:16:06.919435Z",
    "sex": [
      {
        "name": "Both",
        "value": "3"
      }
    ],
    "type": [
      {
        "name": "Disease or syndrome",
        "value": "2"
      }
    ],
    "trials": null,
    "ontology": null,
    "phenoflowid": "",
    "data_sources": [
      {
        "name": "Trusted Research Environments for CVD-COVID-UK / COVID-IMPACT",
        "value": 37,
        "uid": "7e5f0247-f033-4f98-aed3-3d7422b9dc6d",
        "url": "https://healthdatagateway.org/en/dataset/1379",
        "datasource_id": 1379
      },
      {
        "name": "GPES Data for Pandemic Planning and Research (COVID-19)",
        "value": 1,
        "uid": "c7eed372-9f1e-467e-8a37-948f4de5abc4",
        "url": "https://healthdatagateway.org/en/dataset/874",
        "datasource_id": 874
      },
      {
        "name": "Hospital Episode Statistics Admitted Patient Care",
        "value": 2,
        "uid": "6599230a-df54-4615-937c-d724d239491f",
        "url": "https://healthdatagateway.org/en/dataset/875",
        "datasource_id": 875
      },
      {
        "name": "Secondary Uses Services Payment By Results",
        "value": 38,
        "uid": "d4c2361e-556f-4812-b17e-7f371b04c0d2",
        "url": "https://healthdatagateway.org/en/dataset/851",
        "datasource_id": 851
      },
      {
        "name": "Civil Registration - Deaths",
        "value": 3,
        "uid": "b9009bc5-b7a6-4036-9d4b-a5133c0b14a3",
        "url": "https://healthdatagateway.org/en/dataset/877",
        "datasource_id": 877
      }
    ],
    "endorsements": null,
    "project_name": "CCU000",
    "coding_system": [
      {
        "name": "ICD10 codes",
        "value": 4
      },
      {
        "name": "SNOMED  CT codes",
        "value": 9
      }
    ],
    "corresp_author": null,
    "event_date_range": "31/01/2020 - 31/10/2020",
    "concept_information": [
      {
        "concept_id": 2725,
        "concept_version_id": 7246,
        "concept_name": "CCU000 Diabetes - Phenotypes - England hospitalization EHR: Diabetes diagnosis",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH945",
        "phenotype_version_id": 2123,
        "phenotype_name": "Diabetes",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "E10",
            "description": "Insulin-dependent diabetes mellitus",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "E11",
            "description": "Non-insulin-dependent diabetes mellitus",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "E12",
            "description": "Malnutrition-related diabetes mellitus",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "E13",
            "description": "Other specified diabetes mellitus",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "E14",
            "description": "Unspecified diabetes mellitus",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "G590",
            "description": "Diabetic mononeuropathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "G632",
            "description": "Diabetic polyneuropathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "H280",
            "description": "Diabetic cataract",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "H360",
            "description": "Diabetic retinopathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "M142",
            "description": "Diabetic arthropathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "N083",
            "description": "Glomerular disorders in diabetes mellitus",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "O240",
            "description": "Diabetes mellitus in pregnancy: Pre-existing diabetes mellitus, insulin-dependent",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "O241",
            "description": "Diabetes mellitus in pregnancy: Pre-existing diabetes mellitus, non-insulin-dependent",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "O242",
            "description": "Diabetes mellitus in pregnancy: Pre-existing malnutrition-related diabetes mellitus",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "O243",
            "description": "Diabetes mellitus in pregnancy: Pre-existing diabetes mellitus, unspecified",
            "attributes": {
              "type": "1"
            }
          }
        ]
      },
      {
        "concept_id": 2726,
        "concept_version_id": 7247,
        "concept_name": "CCU000 Diabetes - Phenotypes - England primary care EHR: Diabetes diagnosis",
        "coding_system": {
          "id": 9,
          "name": "SNOMED  CT codes",
          "description": "SNOMED CT codes"
        },
        "phenotype_id": "PH945",
        "phenotype_version_id": 2123,
        "phenotype_name": "Diabetes",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "104941000119109",
            "description": "Retinal ischemia due to type 1 diabetes mellitus",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "106281000119103",
            "description": "Pre-existing diabetes mellitus in mother complicating childbirth (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "10660471000119109",
            "description": "Ulcer of left foot co-occurrent and due to diabetes mellitus type 2 (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "1066911000000100",
            "description": "Diabetes monitoring short message service text message first invitation (procedure)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "1066921000000106",
            "description": "Diabetes monitoring short message service text message second invitation (procedure)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "1066931000000108",
            "description": "Diabetes monitoring short message service text message third invitation (procedure)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "1067201000000106",
            "description": "Eating disorder co-occurrent with diabetes mellitus type 1 (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "10754881000119104",
            "description": "Diabetes mellitus in mother complicating childbirth (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "1083111000000108",
            "description": "Diabetes monitoring invitation email (procedure)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "110181000119105",
            "description": "Peripheral sensory neuropathy due to type 2 diabetes mellitus",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "1109921000000106",
            "description": "Quality and Outcomes Framework quality indicator-related care invitation (procedure)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "1110921000000100",
            "description": "Quality and Outcomes Framework diabetes mellitus quality indicator-related care invitation (procedure)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "111307005",
            "description": "Leprechaunism syndrome (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "111552007",
            "description": "Diabetes mellitus without complication",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "111556005",
            "description": "Diabetic ketoacidosis without coma",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "112991000000101",
            "description": "Lipoatrophic diabetes mellitus without complication (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "11530004",
            "description": "Brittle diabetes",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "126534007",
            "description": "Diabetic mixed sensory-motor polyneuropathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "127011001",
            "description": "Diabetic sensory polyneuropathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "127012008",
            "description": "Lipoatrophic diabetes",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "127013003",
            "description": "Diabetic renal disease",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "127014009",
            "description": "Diabetic peripheral angiopathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "134395001",
            "description": "Diabetic retinopathy screening",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "140381000119104",
            "description": "Neuropathic toe ulcer due to type 2 diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "140391000119101",
            "description": "Ulcer of toe due to type 2 diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "140521000119107",
            "description": "Ischemic foot ulcer due to type 2 diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "1491000119102",
            "description": "Diabetic vitreous haemorrhage associated with type II diabetes mellitus",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "1511000119107",
            "description": "Diabetic peripheral neuropathy associated with type II diabetes mellitus",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "157141000119108",
            "description": "Proteinuria due to type 2 diabetes mellitus",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "170745003",
            "description": "Diabetic on diet only",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "170747006",
            "description": "Diabetic on insulin",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "170763003",
            "description": "Diabetic - good control",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "170766006",
            "description": "Loss of hypoglycemic warning",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "185756006",
            "description": "Diabetes monitoring first letter (procedure)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "185757002",
            "description": "Diabetes monitoring second letter (procedure)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "185758007",
            "description": "Diabetes monitoring third letter (procedure)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "185759004",
            "description": "Diabetes monitoring verbal invite (procedure)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "185760009",
            "description": "Diabetes monitoring telephone invite (procedure)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "190330002",
            "description": "Diabetes mellitus, juvenile type, with hyperosmolar coma",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "190331003",
            "description": "Diabetes mellitus, adult onset, with hyperosmolar coma",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "190368000",
            "description": "Type I diabetes mellitus with ulcer",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "190369008",
            "description": "Type 1 diabetes mellitus with gangrene",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "190372001",
            "description": "Type I diabetes mellitus maturity onset",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "190388001",
            "description": "Type II diabetes mellitus with multiple complications",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "190389009",
            "description": "Type 2 diabetes mellitus with ulcer",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "190406000",
            "description": "Malnutrition-related diabetes mellitus with ketoacidosis",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "190407009",
            "description": "Malnutrition-related diabetes mellitus with renal complications (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "190410002",
            "description": "Malnutrition-related diabetes mellitus with peripheral circulatory complications",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "190411003",
            "description": "Malnutrition-related diabetes mellitus with multiple complications",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "190412005",
            "description": "Malnutrition-related diabetes mellitus without complications (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "190416008",
            "description": "Steroid-induced diabetes mellitus without complication (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "190447002",
            "description": "Steroid-induced diabetes (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "193141005",
            "description": "Diabetic mononeuritis multiplex",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "193183000",
            "description": "Acute painful diabetic neuropathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "193184006",
            "description": "Chronic painful diabetic neuropathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "193185007",
            "description": "Asymptomatic diabetic neuropathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "193349004",
            "description": "Preproliferative diabetic retinopathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "193350004",
            "description": "Advanced diabetic maculopathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "193489006",
            "description": "Diabetic iritis",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "197605007",
            "description": "Nephrotic syndrome in diabetes mellitus",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "198121000000103",
            "description": "Hypoglycaemic warning impaired (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "198131000000101",
            "description": "Hypoglycaemic warning good (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "199230006",
            "description": "Pre-existing diabetes mellitus, non-insulin-dependent",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "199231005",
            "description": "Pre-existing malnutrition-related diabetes mellitus",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "200687002",
            "description": "Cellulitis in diabetic foot",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "201250006",
            "description": "Ischaemic ulcer diabetic foot",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "201251005",
            "description": "Neuropathic diabetic ulcer - foot",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "201723002",
            "description": "Diabetic hand syndrome",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "201724008",
            "description": "Diabetic Charcot's arthropathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "23045005",
            "description": "Insulin dependent diabetes mellitus type IA (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "230572002",
            "description": "Diabetic neuropathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "230574001",
            "description": "Diabetic acute painful polyneuropathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "230575000",
            "description": "Diabetic chronic painful polyneuropathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "230576004",
            "description": "Diabetic asymmetric polyneuropathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "230577008",
            "description": "Diabetic mononeuropathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "230579006",
            "description": "Diabetic thoracic radiculopathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "232020009",
            "description": "Diabetic maculopathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "232021008",
            "description": "Proliferative diabetic retinopathy new vessels on disc",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "232022001",
            "description": "Proliferative diabetic retinopathy with new vessels elsewhere than on disc",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "232023006",
            "description": "Diabetic traction retinal detachment",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "236499007",
            "description": "Microalbuminuric diabetic nephropathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "236500003",
            "description": "Clinical diabetic nephropathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "237599002",
            "description": "Insulin-treated non-insulin-dependent diabetes mellitus",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "237601000",
            "description": "Secondary endocrine diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "237604008",
            "description": "Diabetes mellitus autosomal dominant type II",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "237608006",
            "description": "Lipodystrophy, partial, with Rieger anomaly, short stature, and insulinopenic diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "237610008",
            "description": "Acrorenal field defect, ectodermal dysplasia, and lipoatrophic diabetes (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "237612000",
            "description": "Photomyoclonus, diabetes mellitus, deafness, nephropathy and cerebral dysfunction (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "237613005",
            "description": "Hyperproinsulinemia (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "237616002",
            "description": "Hypogonadism, diabetes mellitus, alopecia, mental retardation and electrocardiographic abnormalities (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "237617006",
            "description": "Megaloblastic anemia, thiamine-responsive, with diabetes mellitus and sensorineural deafness (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "237618001",
            "description": "Insulin-dependent diabetes mellitus secretory diarrhea syndrome (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "237619009",
            "description": "Diabetes-deafness syndrome maternally transmitted (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "237620003",
            "description": "Abnormal metabolic state in diabetes mellitus",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "237621004",
            "description": "Diabetic severe hyperglycemia",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "237622006",
            "description": "Poor glycemic control (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "237627000",
            "description": "Pregnancy and type 2 diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "237632004",
            "description": "Hypoglycemic event in diabetes (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "237633009",
            "description": "Hypoglycemic state in diabetes",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "237651005",
            "description": "Insulin resistance - type A (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "237652003",
            "description": "Insulin resistance - type B (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "238981002",
            "description": "Soft tissue complication of diabetes mellitus",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "238982009",
            "description": "Diabetic dermopathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "238983004",
            "description": "Diabetic thick skin syndrome",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "238984005",
            "description": "Diabetic rubeosis",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "24471000000103",
            "description": "Type 2 diabetic on insulin (finding)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "24481000000101",
            "description": "Type 2 diabetic on diet only (finding)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "25093002",
            "description": "Diabetic oculopathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "25412000",
            "description": "Diabetic retinal microaneurysm",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "26298008",
            "description": "Diabetic coma with ketoacidosis",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "267467004",
            "description": "Diabetes mellitus (& [ketoacidosis]) (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "267471001",
            "description": "Diabetes + eye manifestation (& [cataract] or [retinopathy]) (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "267604001",
            "description": "Myasthenic syndrome due to diabetic amyotrophy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "268519009",
            "description": "Diabetic - poor control",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "2751001",
            "description": "Fibrocalculous pancreatic diabetes (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "279291000000109",
            "description": "Diabetes type 1 review (regime/therapy)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "279321000000104",
            "description": "Diabetes type 2 review (regime/therapy)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "280137006",
            "description": "Diabetic foot",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "284449005",
            "description": "Congenital total lipodystrophy (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "290002008",
            "description": "Unstable type I diabetes mellitus",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "303059007",
            "description": "Postpancreatectomy hypoinsulinemia (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "308105005",
            "description": "O/E - Right diabetic foot at risk",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "308106006",
            "description": "O/E - Left diabetic foot at risk",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "309426007",
            "description": "Diabetic glomerulopathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "310425007",
            "description": "Diabetes monitoring invitation (procedure)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "310505005",
            "description": "Diabetic hyperosmolar non-ketotic state",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "311782002",
            "description": "Advanced diabetic retinal disease",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "31211000119101",
            "description": "Peripheral vascular disease due to type I diabetes",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "312903003",
            "description": "Mild non proliferative diabetic retinopathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "312904009",
            "description": "Moderate non proliferative diabetic retinopathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "312905005",
            "description": "Severe non proliferative diabetic retinopathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "312906006",
            "description": "Proliferative diabetic retinopathy - non high risk",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "312907002",
            "description": "Proliferative diabetic retinopathy - high risk",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "312908007",
            "description": "Proliferative diabetic retinopathy - quiescent",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "312909004",
            "description": "Proliferative diabetic retinopathy - iris neovascularisation",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "312910009",
            "description": "Diabetic vitreous hemorrhage",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "312912001",
            "description": "Diabetic macular edema",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "313435000",
            "description": "Type I diabetes mellitus without complication",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "313436004",
            "description": "Non-insulin-dependent diabetes mellitus without complication",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "314010006",
            "description": "Diffuse diabetic maculopathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "314011005",
            "description": "Focal diabetic maculopathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "314014002",
            "description": "Ischaemic diabetic maculopathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "314015001",
            "description": "Mixed diabetic maculopathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "314537004",
            "description": "Diabetic optic papillopathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "314771006",
            "description": "Type 1 diabetes mellitus with hypoglycaemic coma",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "314893005",
            "description": "Type 1 diabetes mellitus with arthropathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "314902007",
            "description": "Type II diabetes mellitus with peripheral angiopathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "314903002",
            "description": "Non-insulin dependent diabetes mellitus with arthropathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "314904008",
            "description": "Type II diabetes mellitus with neuropathic arthropathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "33559001",
            "description": "Pineal hyperplasia AND diabetes mellitus syndrome (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "335621000000101",
            "description": "Maternally inherited diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "361216007",
            "description": "Diabetic femoral mononeuropathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "367261000119100",
            "description": "Hyperosmolarity co-occurrent and due to drug induced diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "367991000119101",
            "description": "Hyperglycemia due to type 1 diabetes mellitus",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "368601000119102",
            "description": "Hyperosmolar coma due to secondary diabetes mellitus",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "371087003",
            "description": "Diabetic foot ulcer (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "385041000000108",
            "description": "Diabetes mellitus with multiple complications (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "385051000000106",
            "description": "Pre-existing diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "39058009",
            "description": "Diabetic amyotrophy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "390834004",
            "description": "Non proliferative diabetic retinopathy (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "390850007",
            "description": "O/E - no right diabetic retinopathy (context-dependent category)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "390853009",
            "description": "O/E - no left diabetic retinopathy (context-dependent category)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "390854003",
            "description": "O/E - diabetic maculopathy present both eyes (context-dependent category)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "390855002",
            "description": "O/E - diabetic maculopathy absent both eyes (context-dependent category)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "395204000",
            "description": "Hyperosmolar non-ketotic state in type 2 diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "398140007",
            "description": "Somogyi phenomenon (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "399864000",
            "description": "Diabetic macular edema not clinically significant (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "399865004",
            "description": "Very severe proliferative diabetic retinopathy (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "399866003",
            "description": "Diabetic retinal venous beading (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "399870006",
            "description": "Non-high-risk proliferative diabetic retinopathy with no macular edema (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "399871005",
            "description": "Visually threatening diabetic retinopathy (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "401110002",
            "description": "Type 1 diabetes mellitus with persistent microalbuminuria (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "401191002",
            "description": "Diabetic foot examination (regime/therapy)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "408397002",
            "description": "Diabetic foot examination not indicated (context-dependent category)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "408409007",
            "description": "O/E - right eye background diabetic retinopathy (context-dependent category)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "408410002",
            "description": "O/E - left eye background diabetic retinopathy (context-dependent category)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "408411003",
            "description": "O/E - right eye preproliferative diabetic retinopathy (context-dependent category)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "408412005",
            "description": "O/E - left eye preproliferative diabetic retinopathy (context-dependent category)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "408413000",
            "description": "O/E - right eye proliferative diabetic retinopathy (context-dependent category)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "408414006",
            "description": "O/E - left eye proliferative diabetic retinopathy (context-dependent category)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "408539000",
            "description": "Insulin autoimmune syndrome (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "408540003",
            "description": "Diabetes mellitus caused by non-steroid drugs (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "412752009",
            "description": "Diabetic foot examination declined (context-dependent category)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "413183008",
            "description": "Diabetes mellitus caused by non-steroid drugs without complication (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "413184002",
            "description": "Fibrocalculous pancreatopathy without complication (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "414894003",
            "description": "O/E - left eye stable treated proliferative diabetic retinopathy (context-dependent category)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "414910007",
            "description": "O/E - right eye stable treated proliferative diabetic retinopathy (context-dependent category)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "417677008",
            "description": "O/E - sight threatening diabetic retinopathy (context-dependent category)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "419100001",
            "description": "Infection of foot associated with diabetes (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "420270002",
            "description": "Ketoacidosis in type I diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "420279001",
            "description": "Renal disorder associated with type II diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "420422005",
            "description": "Ketoacidosis in diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "420436000",
            "description": "Mononeuropathy associated with type II diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "420486006",
            "description": "Exudative maculopathy associated with type I diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "420514000",
            "description": "Persistent proteinuria associated with type I diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "420662003",
            "description": "Coma associated with diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "420683009",
            "description": "Neurological disorder associated with malnutrition-related diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "420715001",
            "description": "Persistent microalbuminuria associated with type II diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "420756003",
            "description": "Diabetic cataract associated with type II diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "420789003",
            "description": "Diabetic retinopathy associated with type I diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "420825003",
            "description": "Gangrene associated with type I diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "420868002",
            "description": "Disorder associated with type I diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "420918009",
            "description": "Mononeuropathy associated with type I diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "420996007",
            "description": "Coma associated with malnutrition-related diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "421075007",
            "description": "Ketoacidotic coma in type I diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "421256007",
            "description": "Ophthalmic complication of malnutrition-related diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "421326000",
            "description": "Neurologic disorder associated with type II diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "421365002",
            "description": "Peripheral circulatory disorder associated with type I diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "421468001",
            "description": "Neurological disorder associated with type I diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "421631007",
            "description": "Gangrene associated with type II diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "421750000",
            "description": "Ketoacidosis in type II diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "421779007",
            "description": "Exudative maculopathy associated with type II diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "421847006",
            "description": "Ketoacidotic coma in type II diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "421893009",
            "description": "Renal disorder associated with type I diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "421895002",
            "description": "Peripheral circulatory disorder associated with diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "421920002",
            "description": "Diabetic cataract associated with type I diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "421986006",
            "description": "Persistent proteinuria associated with type II diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "422014003",
            "description": "Disorder associated with type II diabetes melliltus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "422034002",
            "description": "Diabetic retinopathy associated with type II diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "422088007",
            "description": "Neurologic disorder associated with diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "422099009",
            "description": "Diabetic oculopathy associated with type II diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "422126006",
            "description": "Hyperosmolar coma associated with diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "422166005",
            "description": "Peripheral circulatory disorder associated with type II diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "422183001",
            "description": "Skin ulcer associated with diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "422228004",
            "description": "Multiple complications of type I diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "422275004",
            "description": "Gangrene associated with diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "424736006",
            "description": "Diabetic peripheral neuropathy (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "426705001",
            "description": "Diabetes mellitus associated with cystic fibrosis (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "426875007",
            "description": "Latent autoimmune diabetes mellitus in adult (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "429729007",
            "description": "Diabetic education completed (situation)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "43959009",
            "description": "Diabetic cataract",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "44054006",
            "description": "Diabetes mellitus type II",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "441656006",
            "description": "Hyperglycaemic crisis in diabetes mellitus",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "443694000",
            "description": "Type II diabetes mellitus uncontrolled (finding)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "444073006",
            "description": "Type I diabetes mellitus uncontrolled (finding)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "445353002",
            "description": "Brittle type II diabetes mellitus (finding)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "46635009",
            "description": "Insulin dependent diabetes mellitus",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "472969004",
            "description": "History of diabetes mellitus type 2 (situation)",
            "attributes": {
              "type": "0"
            }
          },
          {
            "code": "472970003",
            "description": "History of diabetes mellitus type 1 (situation)",
            "attributes": {
              "type": "0"
            }
          },
          {
            "code": "472972006",
            "description": "History of autosomal dominant diabetes mellitus",
            "attributes": {
              "type": "0"
            }
          },
          {
            "code": "4855003",
            "description": "Diabetic retinopathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "48951005",
            "description": "Bullosis diabeticorum",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "49455004",
            "description": "Diabetic polyneuropathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "50620007",
            "description": "Diabetic autonomic neuropathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "51002006",
            "description": "Diabetes mellitus associated with pancreatic disease",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "530558861000132104",
            "description": "Atypical diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "532411000000102",
            "description": "Diabetes mellitus, adult onset, with no mention of complication (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "5368009",
            "description": "Drug-induced diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "59276001",
            "description": "Proliferative diabetic retinopathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "5969009",
            "description": "Diabetes mellitus associated with genetic syndrome (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "609561005",
            "description": "Maturity-onset diabetes of the young (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "609562003",
            "description": "Maturity onset diabetes of the young, type 1 (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "609563008",
            "description": "Pre-existing diabetes mellitus in pregnancy (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "609572000",
            "description": "Maturity-onset diabetes of the young, type 5 (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "62260007",
            "description": "Pretibial pigmental patches in diabetes",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "658011000000104",
            "description": "Diabetes mellitus with other specified manifestation (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "703136005",
            "description": "Diabetes mellitus in remission (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "703137001",
            "description": "Type I diabetes mellitus in remission (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "703138006",
            "description": "Type II diabetes mellitus in remission (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "705072004",
            "description": "Diabetes monitoring invitation by short message service text messaging (procedure)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "70694009",
            "description": "Diabetes mellitus AND insipidus with optic atrophy AND deafness (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "707221002",
            "description": "Diabetic glomerulosclerosis",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "713702000",
            "description": "Gastroparesis due to type 1 diabetes mellitus",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "713703005",
            "description": "Gastroparesis due to type 2 diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "713704004",
            "description": "Gastroparesis due to diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "713705003",
            "description": "Polyneuropathy due to type 1 diabetes mellitus",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "713706002",
            "description": "Polyneuropathy due to type 2 diabetes mellitus",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "71771000119100",
            "description": "Type 1 diabetes mellitus with neuropathic arthropathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "719216001",
            "description": "Hypoglycemic coma co-occurrent and due to diabetes mellitus type II (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "722161008",
            "description": "Diabetic retinal eye exam (procedure)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "724136006",
            "description": "Diabetic mastopathy",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "724810001",
            "description": "Radiculoplexoneuropathy due to diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "724997001",
            "description": "Lumbosacral plexopathy co-occurrent and due to diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "731000119105",
            "description": "Chronic kidney disease stage 3 associated with type 2 diabetes mellitus",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "73211009",
            "description": "Diabetes mellitus",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "735200002",
            "description": "Absence of lower limb due to diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "735538002",
            "description": "Lactic acidosis co-occurrent and due to diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "739681000",
            "description": "Diabetic oculopathy due to type I diabetes mellitus",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "74627003",
            "description": "Diabetic complication",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "754101000000103",
            "description": "Type I diabetic dietary review (regime/therapy)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "754121000000107",
            "description": "Type II diabetic dietary review (regime/therapy)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "754461000000105",
            "description": "Referral to type I diabetes structured education programme (procedure)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "75524006",
            "description": "Malnutrition related diabetes mellitus",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "75682002",
            "description": "Diabetes mellitus caused by insulin receptor antibodies (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "761000119102",
            "description": "Diabetic dyslipidemia associated with type 2 diabetes mellitus",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "762489000",
            "description": "Acute complication with diabetes mellitus",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "763325000",
            "description": "Insulin resistance (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "768792007",
            "description": "Cataract of right eye co-occurrent and due to diabetes mellitus",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "768794008",
            "description": "Bilateral diabetic cataracts",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "769181007",
            "description": "Preproliferative retinopathy of right eye co-occurrent and due to diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "769182000",
            "description": "Preproliferative diabetic retinopathy of left eye",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "769183005",
            "description": "Mild nonproliferative diabetic retinopathy of right eye",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "769184004",
            "description": "Mild nonproliferative retinopathy of left eye",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "769185003",
            "description": "Moderate non-proliferative diabetic retinopathy of right eye",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "769186002",
            "description": "Moderate nonproliferative diabetic retinopathy of left eye",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "769217008",
            "description": "Diabetic macular edema of right eye",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "769218003",
            "description": "Macular oedema of left eye co-occurrent and due to diabetes mellitus",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "769219006",
            "description": "Macular edema due to type 1 diabetes mellitus",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "769221001",
            "description": "Clinically significant macular edema of right eye co-occurrent and due to diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "769222008",
            "description": "Clinically significant macular oedema of left eye co-occurrent and due to diabetes mellitus",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "769244003",
            "description": "Diabetic maculopathy of right eye",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "769245002",
            "description": "Disorder of left macula co-occurrent and due to diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "770097006",
            "description": "Clinically significant macular edema co-occurrent and due to diabetes mellitus (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "771571000000102",
            "description": "History of secondary diabetes mellitus (situation)",
            "attributes": {
              "type": "0"
            }
          },
          {
            "code": "773001000000103",
            "description": "Symptomatic diabetic peripheral neuropathy (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "775841000000109",
            "description": "Diabetic retinopathy detected by national screening programme (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "791000119109",
            "description": "Angina associated with type II diabetes mellitus",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "80660001",
            "description": "Mauriac's syndrome (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "81531005",
            "description": "Diabetes mellitus type 2 in obese (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "83728000",
            "description": "Polyglandular autoimmune syndrome, type 2 (disorder)",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "87451000119102",
            "description": "Heel AND/OR midfoot ulcer due to type 2 diabetes mellitus",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "8801005",
            "description": "Secondary diabetes mellitus",
            "attributes": {
              "type": "1"
            }
          },
          {
            "code": "894741000000107",
            "description": "Hypoglycaemic warning absent (disorder)",
            "attributes": {
              "type": "1"
            }
          }
        ]
      }
    ],
    "status": 2,
    "doi": "https://doi.org/10.48533/3xzd-0b02",
    "is_deleted": null,
    "publish_status": 2,
    "owner": "ieuan.scanlon",
    "template": {
      "id": 2,
      "name": "BHF Data Science Centre Phenotype",
      "description": "BHF Data Science Centre Phenotype definitions that describe a list of clinical codes, algorithms using clinical codes, or set of clinical trials. Visit the BHF Data Science Centre website to learn more: https://bhfdatasciencecentre.org",
      "version_id": 1
    },
    "versions": [
      {
        "version_id": 2123,
        "version_name": "Diabetes",
        "version_date": "2022-05-17T21:16:07.208998Z",
        "is_published": true,
        "is_latest": true
      },
      {
        "version_id": 1969,
        "version_name": "Diabetes",
        "version_date": "2022-05-09T07:55:54.825889Z",
        "is_published": true,
        "is_latest": false
      }
    ]
  }
]