[
  {
    "phenotype_id": "PH4062",
    "phenotype_version_id": 9273,
    "name": "Diabetes",
    "definition": "This phenotype is a rule\\-based diabetes phenotyping algorithm designed for use in electronic health records (EHR) to **identify people with diabetes, define diabetes type, and determine date of diagnosis** from routinely collected health data. It is intended to improve the quality, consistency, transparency, and comparability of diabetes research using EHRs. The algorithm has been developed iteratively, and multiple versions are available to reflect updates and refinements over time.\n\nThe algorithm was developed by the [Diabetes Data Science Catalyst (DDSC)](https://bhfdatasciencecentre.org/areas/diabetes-data-science-catalyst/?utm_source=chatgpt.com), a collaboration between the BHF Data Science Centre, Diabetes UK, and HDR UK.\n\nFurther details of the algorithm are available through the public [DDSC diabetes phenotype app](https://bhf-dsc-hds.shinyapps.io/hds_phenotypes_diabetes/).\n",
    "implementation": "This phenotype is implemented as a rule\\-based algorithm for application to electronic health records, using structured logic applied to diagnosis, prescribing, and laboratory data to identify diabetes status, define diabetes type, and derive date of diagnosis. The implementation is coded in PySpark and R and is publicly available through the [BHF Data Science Centre GitHub](https://github.com/BHFDSC/hds_phenotypes_diabetes), with supporting methodological documentation provided through the associated [public application](https://bhf-dsc-hds.shinyapps.io/hds_phenotypes_diabetes/).\n\n![DDSC algorithm flow chart](https://raw.githubusercontent.com/BHFDSC/hds_phenotypes_diabetes/main/flowchart/DDSC_Algorithm.png)\n",
    "publications": [],
    "validation": "The phenotype underwent validation using UK Biobank data, with a particular focus on assessing the classification of diabetes type. Validation results were used to refine the algorithm and improve performance, including changes aimed at increasing the specificity of type 1 diabetes identification. The phenotype has been validated by the authors of the algorithm and by researchers applying it within the CVD\\-COVID\\-UK consortium. The current version therefore reflects both rule\\-based clinical logic and empirical validation.\n",
    "citation_requirements": "",
    "created": "2026-04-23T16:16:54.375853Z",
    "author": "Chalmers, F, Young K, Walker E, Chilala C, Coombe A, Shields B, Preiss D, Cezard G, MacArthur J, Dennis J, Valabhji J, Kaptoge S, Khunti K, Mafham M, Rutter MK, Lessels S, Shi W, Wild S, Eastwood S, Denaxas S, Bolton T, Thomas N, Pearson E",
    "collections": [
      {
        "name": "BHF Data Science Centre",
        "value": 20
      }
    ],
    "tags": null,
    "organisation": null,
    "world_access": 1,
    "updated": "2026-04-23T16:16:54.365965Z",
    "sex": [
      {
        "name": "Both",
        "value": "3"
      }
    ],
    "type": [
      {
        "name": "Disease or syndrome",
        "value": "2"
      }
    ],
    "trials": [],
    "ontology": null,
    "phenoflowid": "",
    "data_sources": [
      {
        "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": "Medicines dispensed in Primary Care (NHSBSA data)",
        "value": 792,
        "uid": "1c84067c-b7c7-440f-b35b-ae3deef59efd",
        "url": "https://healthdatagateway.org/en/dataset/867",
        "datasource_id": 867
      }
    ],
    "endorsements": [],
    "project_name": "Diabetes Data Science Catalyst",
    "coding_system": [
      {
        "name": "SNOMED  CT codes",
        "value": 9
      },
      {
        "name": "BNF codes",
        "value": 11
      },
      {
        "name": "ICD10 codes",
        "value": 4
      }
    ],
    "corresp_author": "",
    "event_date_range": "",
    "concept_information": [
      {
        "concept_id": 9460,
        "concept_version_id": 16945,
        "concept_name": "Diabetes Type 1",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH4062",
        "phenotype_version_id": 9273,
        "phenotype_name": "Diabetes",
        "code_attribute_header": null,
        "codes": [
          {
            "code": "E10",
            "description": "Type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "E100",
            "description": "Type 1 diabetes mellitus With coma",
            "attributes": null
          },
          {
            "code": "E101",
            "description": "Type 1 diabetes mellitus With ketoacidosis",
            "attributes": null
          },
          {
            "code": "E102",
            "description": "Type 1 diabetes mellitus With renal complications",
            "attributes": null
          },
          {
            "code": "E103",
            "description": "Type 1 diabetes mellitus With ophthalmic complications",
            "attributes": null
          },
          {
            "code": "E104",
            "description": "Type 1 diabetes mellitus With neurological complications",
            "attributes": null
          },
          {
            "code": "E105",
            "description": "Type 1 diabetes mellitus With peripheral circulatory complications",
            "attributes": null
          },
          {
            "code": "E106",
            "description": "Type 1 diabetes mellitus With other specified complications",
            "attributes": null
          },
          {
            "code": "E107",
            "description": "Type 1 diabetes mellitus With multiple complications",
            "attributes": null
          },
          {
            "code": "E108",
            "description": "Type 1 diabetes mellitus With unspecified complications",
            "attributes": null
          },
          {
            "code": "E109",
            "description": "Type 1 diabetes mellitus Without complications",
            "attributes": null
          },
          {
            "code": "O240",
            "description": "Diabetes mellitus in pregnancy: Pre-existing type 1 diabetes mellitus",
            "attributes": null
          }
        ]
      },
      {
        "concept_id": 9461,
        "concept_version_id": 16946,
        "concept_name": "Diabetes Type 1",
        "coding_system": {
          "id": 9,
          "name": "SNOMED  CT codes",
          "description": "SNOMED CT codes"
        },
        "phenotype_id": "PH4062",
        "phenotype_version_id": 9273,
        "phenotype_name": "Diabetes",
        "code_attribute_header": null,
        "codes": [
          {
            "code": "102781000119107",
            "description": "Sensory neuropathy due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "104941000119109",
            "description": "Ischemia of retina due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "104951000119106",
            "description": "Vitreous hemorrhage due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "10656231000119100",
            "description": "Ulcer of skin of toe due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "1067201000000106",
            "description": "Eating disorder co-occurrent with diabetes mellitus type 1 (disorder)",
            "attributes": null
          },
          {
            "code": "109171000119104",
            "description": "Retinal edema due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "110141000119100",
            "description": "Ulcer of lower limb due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "120711000119108",
            "description": "Hypoglycemic unawareness due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "128001000119105",
            "description": "Hypertension concurrent and due to end stage renal disease on dialysis due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "137941000119106",
            "description": "Hyperlipidemia due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "138881000119106",
            "description": "Mild nonproliferative retinopathy due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "138891000119109",
            "description": "Moderate nonproliferative retinopathy due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "1571000119104",
            "description": "Mixed hyperlipidemia due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "164881000119109",
            "description": "Ulcer of foot due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "16697421000119103",
            "description": "Moderate nonproliferative retinopathy of left eye due to diabetes mellitus type 1 (disorder)",
            "attributes": null
          },
          {
            "code": "16697471000119102",
            "description": "Moderate nonproliferative retinopathy of right eye due to diabetes mellitus type 1 (disorder)",
            "attributes": null
          },
          {
            "code": "16697521000119104",
            "description": "Moderate nonproliferative retinopathy of bilateral eyes due to diabetes mellitus type 1 (disorder)",
            "attributes": null
          },
          {
            "code": "16745211000119100",
            "description": "Nonproliferative retinopathy of left eye due to diabetes mellitus type 1 (disorder)",
            "attributes": null
          },
          {
            "code": "16745411000119104",
            "description": "Mild nonproliferative retinopathy of bilateral eyes due to diabetes mellitus type 1 (disorder)",
            "attributes": null
          },
          {
            "code": "16745611000119102",
            "description": "Mild nonproliferative retinopathy of right eye due to diabetes mellitus type 1 (disorder)",
            "attributes": null
          },
          {
            "code": "16745891000119105",
            "description": "Mild nonproliferative retinopathy of left eye due to diabetes mellitus type 1 (disorder)",
            "attributes": null
          },
          {
            "code": "16746661000119106",
            "description": "Nonproliferative retinopathy of bilateral eyes due to diabetes mellitus type 1 (disorder)",
            "attributes": null
          },
          {
            "code": "16746741000119102",
            "description": "Nonproliferative retinopathy of right eye due to diabetes mellitus type 1 (disorder)",
            "attributes": null
          },
          {
            "code": "16746941000119104",
            "description": "Severe nonproliferative retinopathy of left eye due to diabetes mellitus type 1 (disorder)",
            "attributes": null
          },
          {
            "code": "16747101000119101",
            "description": "Severe nonproliferative retinopathy of bilateral eyes due to diabetes mellitus type 1 (disorder)",
            "attributes": null
          },
          {
            "code": "16747341000119101",
            "description": "Severe nonproliferative retinopathy of right eye due to diabetes mellitus type 1 (disorder)",
            "attributes": null
          },
          {
            "code": "16747741000119100",
            "description": "Proliferative retinopathy of left eye due to diabetes mellitus type 1 (disorder)",
            "attributes": null
          },
          {
            "code": "16748741000119101",
            "description": "Proliferative retinopathy of right eye due to diabetes mellitus type 1 (disorder)",
            "attributes": null
          },
          {
            "code": "16749781000119101",
            "description": "Proliferative retinopathy of bilateral eyes due to diabetes mellitus type 1 (disorder)",
            "attributes": null
          },
          {
            "code": "16891191000119108",
            "description": "Coronary artery disease due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "18521000119106",
            "description": "Microalbuminuria due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "190330002",
            "description": "Hyperosmolar coma due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "190368000",
            "description": "Type I diabetes mellitus with ulcer (disorder)",
            "attributes": null
          },
          {
            "code": "190369008",
            "description": "Type I diabetes mellitus with gangrene (disorder)",
            "attributes": null
          },
          {
            "code": "190372001",
            "description": "Type I diabetes mellitus maturity onset (disorder)",
            "attributes": null
          },
          {
            "code": "199229001",
            "description": "Pre-existing type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "23045005",
            "description": "Insulin dependent diabetes mellitus type IA (disorder)",
            "attributes": null
          },
          {
            "code": "237618001",
            "description": "Insulin-dependent diabetes mellitus secretory diarrhea syndrome (disorder)",
            "attributes": null
          },
          {
            "code": "243421000119104",
            "description": "Proteinuria due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "279291000000109",
            "description": "Diabetes type 1 review (regime/therapy)",
            "attributes": null
          },
          {
            "code": "28032008",
            "description": "Insulin dependent diabetes mellitus type IB (disorder)",
            "attributes": null
          },
          {
            "code": "290002008",
            "description": "Brittle type I diabetes mellitus (finding)",
            "attributes": null
          },
          {
            "code": "31211000119101",
            "description": "Peripheral angiopathy due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "31321000119102",
            "description": "Diabetes mellitus type 1 without retinopathy (disorder)",
            "attributes": null
          },
          {
            "code": "313435000",
            "description": "Type I diabetes mellitus without complication (disorder)",
            "attributes": null
          },
          {
            "code": "314771006",
            "description": "Type I diabetes mellitus with hypoglycemic coma (disorder)",
            "attributes": null
          },
          {
            "code": "314893005",
            "description": "Arthropathy due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "367211000119103",
            "description": "Inflammatory dermatosis due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "367991000119101",
            "description": "Hyperglycemia due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "368521000119107",
            "description": "Disorder of nerve co-occurrent and due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "368541000119101",
            "description": "Cheiroarthropathy due to diabetes mellitus type 1 (disorder)",
            "attributes": null
          },
          {
            "code": "368551000119104",
            "description": "Dyslipidemia due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "368561000119102",
            "description": "Hyperosmolarity due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "401110002",
            "description": "Type 1 diabetes mellitus with persistent microalbuminuria (disorder)",
            "attributes": null
          },
          {
            "code": "420270002",
            "description": "Ketoacidosis due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "420486006",
            "description": "Exudative maculopathy due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "420514000",
            "description": "Persistent proteinuria due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "420789003",
            "description": "Retinopathy due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "420825003",
            "description": "Gangrene due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "420868002",
            "description": "Disorder due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "420918009",
            "description": "Mononeuropathy due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "421075007",
            "description": "Ketoacidotic coma due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "421165007",
            "description": "Diabetic oculopathy associated with type I diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "421305000",
            "description": "Persistent microalbuminuria due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "421365002",
            "description": "Peripheral circulatory disorder due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "421437000",
            "description": "Hypoglycemic coma due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "421468001",
            "description": "Disorder of nervous system due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "421893009",
            "description": "Renal disorder due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "421920002",
            "description": "Cataract of eye due to diabetes mellitus type 1 (disorder)",
            "attributes": null
          },
          {
            "code": "422228004",
            "description": "Multiple complications due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "426907004",
            "description": "Small vessel disease due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "427571000",
            "description": "Lumbosacral radiculoplexus neuropathy due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "428896009",
            "description": "Hyperosmolality due to uncontrolled type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "444073006",
            "description": "Type I diabetes mellitus uncontrolled (finding)",
            "attributes": null
          },
          {
            "code": "444074000",
            "description": "Type I diabetes mellitus well controlled (finding)",
            "attributes": null
          },
          {
            "code": "46635009",
            "description": "Diabetes mellitus type 1 (disorder)",
            "attributes": null
          },
          {
            "code": "472970003",
            "description": "History of diabetes mellitus type 1 (situation)",
            "attributes": null
          },
          {
            "code": "609564002",
            "description": "Pre-existing type 1 diabetes mellitus in pregnancy (disorder)",
            "attributes": null
          },
          {
            "code": "609566000",
            "description": "Pregnancy and type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "60961000119107",
            "description": "Nonproliferative diabetic retinopathy due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "60971000119101",
            "description": "Proliferative retinopathy due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "60991000119100",
            "description": "Blindness due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "691000119103",
            "description": "Erectile dysfunction due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "703137001",
            "description": "Type I diabetes mellitus in remission (disorder)",
            "attributes": null
          },
          {
            "code": "706891008",
            "description": "Neuropathy due to unstable diabetes mellitus type 1 (disorder)",
            "attributes": null
          },
          {
            "code": "706894000",
            "description": "Retinopathy due to unstable diabetes mellitus type 1 (disorder)",
            "attributes": null
          },
          {
            "code": "712882000",
            "description": "Autonomic neuropathy due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "713702000",
            "description": "Gastroparesis due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "713705003",
            "description": "Polyneuropathy due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "71701000119105",
            "description": "Hypertension in chronic kidney disease due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "71721000119101",
            "description": "Nephrotic syndrome due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "71771000119100",
            "description": "Neuropathic arthropathy due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "71791000119104",
            "description": "Peripheral neuropathy due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "72021000119109",
            "description": "Dermopathy due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "72031000119107",
            "description": "Severe malnutrition due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "72041000119103",
            "description": "Osteomyelitis due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "721283000",
            "description": "Acidosis due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "72141000119104",
            "description": "Chronic ulcer of skin due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "739681000",
            "description": "Disorder of eye due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "754101000000103",
            "description": "Type I diabetic dietary review (regime/therapy)",
            "attributes": null
          },
          {
            "code": "754461000000105",
            "description": "Referral to type I diabetes structured education programme (procedure)",
            "attributes": null
          },
          {
            "code": "769219006",
            "description": "Macular edema due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "770098001",
            "description": "Cranial nerve palsy due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "789542009",
            "description": "Neuropathy due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "789571005",
            "description": "Ulcer of heel due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "789572003",
            "description": "Ulcer of midfoot due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "82571000119107",
            "description": "Traction detachment of retina due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "82581000119105",
            "description": "Rubeosis iridis due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "84371000119108",
            "description": "Hypoglycemia due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "870528001",
            "description": "Newly diagnosed type 1 diabetes mellitus (finding)",
            "attributes": null
          },
          {
            "code": "87471000119106",
            "description": "Ulcer of ankle due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "87481000119109",
            "description": "Heel AND/OR midfoot ulcer due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "87491000119107",
            "description": "Ulcer of forefoot due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "90721000119101",
            "description": "Chronic kidney disease stage 1 due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "90731000119103",
            "description": "Chronic kidney disease stage 2 due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "90741000119107",
            "description": "Chronic kidney disease stage 3 due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "90751000119109",
            "description": "Chronic kidney disease stage 4 due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "90761000119106",
            "description": "Chronic kidney disease stage 5 due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "90771000119100",
            "description": "End stage renal disease on dialysis due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "96441000119101",
            "description": "Chronic kidney disease due to type 1 diabetes mellitus (disorder)",
            "attributes": null
          }
        ]
      },
      {
        "concept_id": 9462,
        "concept_version_id": 16947,
        "concept_name": "Diabetes Type 2",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH4062",
        "phenotype_version_id": 9273,
        "phenotype_name": "Diabetes",
        "code_attribute_header": null,
        "codes": [
          {
            "code": "E11",
            "description": "Type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "E110",
            "description": "Type 2 diabetes mellitus With coma",
            "attributes": null
          },
          {
            "code": "E111",
            "description": "Type 2 diabetes mellitus With ketoacidosis",
            "attributes": null
          },
          {
            "code": "E112",
            "description": "Type 2 diabetes mellitus With renal complications",
            "attributes": null
          },
          {
            "code": "E113",
            "description": "Type 2 diabetes mellitus With ophthalmic complications",
            "attributes": null
          },
          {
            "code": "E114",
            "description": "Type 2 diabetes mellitus With neurological complications",
            "attributes": null
          },
          {
            "code": "E115",
            "description": "Type 2 diabetes mellitus With peripheral circulatory complications",
            "attributes": null
          },
          {
            "code": "E116",
            "description": "Type 2 diabetes mellitus With other specified complications",
            "attributes": null
          },
          {
            "code": "E117",
            "description": "Type 2 diabetes mellitus With multiple complications",
            "attributes": null
          },
          {
            "code": "E118",
            "description": "Type 2 diabetes mellitus With unspecified complications",
            "attributes": null
          },
          {
            "code": "E119",
            "description": "Type 2 diabetes mellitus Without complications",
            "attributes": null
          },
          {
            "code": "O241",
            "description": "Diabetes mellitus in pregnancy: Pre-existing type 2 diabetes mellitus",
            "attributes": null
          }
        ]
      },
      {
        "concept_id": 9463,
        "concept_version_id": 16948,
        "concept_name": "Diabetes Type 2",
        "coding_system": {
          "id": 9,
          "name": "SNOMED  CT codes",
          "description": "SNOMED CT codes"
        },
        "phenotype_id": "PH4062",
        "phenotype_version_id": 9273,
        "phenotype_name": "Diabetes",
        "code_attribute_header": null,
        "codes": [
          {
            "code": "1003605004",
            "description": "Glaucoma suspect due to diabetes mellitus type 2 (disorder)",
            "attributes": null
          },
          {
            "code": "102621000119101",
            "description": "Ulcer of skin due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "104961000119108",
            "description": "Ischemia of retina due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "10656271000119102",
            "description": "Ulcer of skin of toe due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "10661671000119102",
            "description": "Ulcer of right foot due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "108781000119105",
            "description": "Neuropathic ulcer of midfoot AND/OR heel due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "108791000119108",
            "description": "Suspected glaucoma due to type 2 diabetes mellitus (situation)",
            "attributes": null
          },
          {
            "code": "110171000119107",
            "description": "Ulcer of lower limb due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "110181000119105",
            "description": "Peripheral sensory neuropathy due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "111231000119109",
            "description": "Dyslipidemia with high density lipoprotein below reference range and triglyceride above reference range due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "119831000119106",
            "description": "Hypoglycemia unawareness due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "120731000119103",
            "description": "Hypoglycemia due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "127991000119101",
            "description": "Hypertension concurrent and due to end stage renal disease on dialysis due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "12811000119100",
            "description": "Complication due to diabetes mellitus type 2 (disorder)",
            "attributes": null
          },
          {
            "code": "137931000119102",
            "description": "Hyperlipidemia due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "138911000119106",
            "description": "Mild nonproliferative retinopathy due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "138921000119104",
            "description": "Moderate nonproliferative retinopathy due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "140101000119109",
            "description": "Hypertension in chronic kidney disease stage 5 due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "140111000119107",
            "description": "Hypertension in chronic kidney disease stage 4 due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "140121000119100",
            "description": "Hypertension in chronic kidney disease stage 3 due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "140131000119102",
            "description": "Hypertension in chronic kidney disease stage 2 due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "140381000119104",
            "description": "Neuropathic ulcer of toe due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "140391000119101",
            "description": "Ulcer of toe due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "140521000119107",
            "description": "Ischemic ulcer of foot due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "140531000119105",
            "description": "Neuropathic ulcer of foot due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "1481000119100",
            "description": "Diabetes mellitus type 2 without retinopathy (disorder)",
            "attributes": null
          },
          {
            "code": "1491000119102",
            "description": "Vitreous hemorrhage due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "1501000119109",
            "description": "Proliferative retinopathy due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "1511000119107",
            "description": "Peripheral neuropathy due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "1521000119100",
            "description": "Ulcer of foot due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "1531000119102",
            "description": "Dermopathy due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "1551000119108",
            "description": "Nonproliferative retinopathy due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "157141000119108",
            "description": "Proteinuria due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "15936501000119100",
            "description": "Inflammatory dermatosis due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "164971000119101",
            "description": "Type 2 diabetes mellitus controlled by diet (finding)",
            "attributes": null
          },
          {
            "code": "16745051000119107",
            "description": "Nonproliferative retinopathy of right eye due to diabetes mellitus type 2 (disorder)",
            "attributes": null
          },
          {
            "code": "16745131000119100",
            "description": "Nonproliferative retinopathy of left eye due to diabetes mellitus type 2 (disorder)",
            "attributes": null
          },
          {
            "code": "16745531000119108",
            "description": "Mild nonproliferative retinopathy of left eye due to diabetes mellitus type 2 (disorder)",
            "attributes": null
          },
          {
            "code": "16745651000119101",
            "description": "Mild nonproliferative retinopathy of right eye due to diabetes mellitus type 2 (disorder)",
            "attributes": null
          },
          {
            "code": "16745931000119102",
            "description": "Mild nonproliferative retinopathy of bilateral eyes due to diabetes mellitus type 2 (disorder)",
            "attributes": null
          },
          {
            "code": "16746131000119105",
            "description": "Moderate nonproliferative retinopathy of left eye due to diabetes mellitus type 2 (disorder)",
            "attributes": null
          },
          {
            "code": "16746261000119108",
            "description": "Moderate nonproliferative retinopathy of right eye due to diabetes mellitus type 2 (disorder)",
            "attributes": null
          },
          {
            "code": "16746341000119103",
            "description": "Moderate nonproliferative retinopathy of bilateral eyes due to diabetes mellitus type 2 (disorder)",
            "attributes": null
          },
          {
            "code": "16746901000119101",
            "description": "Severe nonproliferative retinopathy of left eye due to diabetes mellitus type 2 (disorder)",
            "attributes": null
          },
          {
            "code": "16747021000119109",
            "description": "Severe nonproliferative retinopathy of bilateral eyes due to diabetes mellitus type 2 (disorder)",
            "attributes": null
          },
          {
            "code": "16747141000119104",
            "description": "Severe nonproliferative retinopathy of right eye due to diabetes mellitus type 2 (disorder)",
            "attributes": null
          },
          {
            "code": "16747661000119109",
            "description": "Nonproliferative retinopathy of bilateral eyes due to diabetes mellitus type 2 (disorder)",
            "attributes": null
          },
          {
            "code": "16747901000119104",
            "description": "Proliferative retinopathy of left eye due to diabetes mellitus type 2 (disorder)",
            "attributes": null
          },
          {
            "code": "16748141000119100",
            "description": "Proliferative retinopathy of bilateral eyes due to diabetes mellitus type 2 (disorder)",
            "attributes": null
          },
          {
            "code": "16749661000119102",
            "description": "Proliferative retinopathy of right eye due to diabetes mellitus type 2 (disorder)",
            "attributes": null
          },
          {
            "code": "16891151000119103",
            "description": "Coronary artery disease due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "190331003",
            "description": "Hyperosmolar coma due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "190388001",
            "description": "Multiple complications due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "190389009",
            "description": "Type II diabetes mellitus with ulcer (disorder)",
            "attributes": null
          },
          {
            "code": "190390000",
            "description": "Type II diabetes mellitus with gangrene (disorder)",
            "attributes": null
          },
          {
            "code": "199230006",
            "description": "Pre-existing type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "201000119106",
            "description": "Disorder due to well controlled type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "237599002",
            "description": "Insulin treated type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "237627000",
            "description": "Pregnancy and type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "24471000000103",
            "description": "Type 2 diabetic on insulin (finding)",
            "attributes": null
          },
          {
            "code": "24481000000101",
            "description": "Type 2 diabetic on diet only (finding)",
            "attributes": null
          },
          {
            "code": "279321000000104",
            "description": "Diabetes type 2 review (regime/therapy)",
            "attributes": null
          },
          {
            "code": "28331000119107",
            "description": "Retinal edema due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "313436004",
            "description": "Type II diabetes mellitus without complication (disorder)",
            "attributes": null
          },
          {
            "code": "314902007",
            "description": "Peripheral angiopathy due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "314903002",
            "description": "Arthropathy due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "314904008",
            "description": "Type II diabetes mellitus with neuropathic arthropathy (disorder)",
            "attributes": null
          },
          {
            "code": "359642000",
            "description": "Diabetes mellitus type 2 in nonobese (disorder)",
            "attributes": null
          },
          {
            "code": "368051000119109",
            "description": "Hyperglycemia due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "368581000119106",
            "description": "Neuropathy due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "368591000119109",
            "description": "Cheiroarthropathy due to diabetes mellitus type 2 (disorder)",
            "attributes": null
          },
          {
            "code": "395204000",
            "description": "Hyperosmolar non-ketotic state due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "41911000119107",
            "description": "Glaucoma due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "420279001",
            "description": "Renal disorder due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "420436000",
            "description": "Mononeuropathy due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "420715001",
            "description": "Persistent microalbuminuria due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "420756003",
            "description": "Cataract of eye due to diabetes mellitus type 2 (disorder)",
            "attributes": null
          },
          {
            "code": "421326000",
            "description": "Disorder of nervous system due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "421631007",
            "description": "Gangrene due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "421750000",
            "description": "Ketoacidosis due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "421779007",
            "description": "Exudative maculopathy due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "421847006",
            "description": "Ketoacidotic coma due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "421986006",
            "description": "Persistent proteinuria due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "422014003",
            "description": "Disorder due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "422034002",
            "description": "Retinopathy due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "422099009",
            "description": "Disorder of eye due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "422166005",
            "description": "Peripheral circulatory disorder due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "427027005",
            "description": "Lumbosacral radiculoplexus neuropathy due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "427134009",
            "description": "Small vessel disease due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "428007007",
            "description": "Erectile dysfunction due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "44054006",
            "description": "Diabetes mellitus type 2 (disorder)",
            "attributes": null
          },
          {
            "code": "443694000",
            "description": "Type II diabetes mellitus uncontrolled (finding)",
            "attributes": null
          },
          {
            "code": "444110003",
            "description": "Type II diabetes mellitus well controlled (finding)",
            "attributes": null
          },
          {
            "code": "445353002",
            "description": "Brittle type II diabetes mellitus (finding)",
            "attributes": null
          },
          {
            "code": "472969004",
            "description": "History of diabetes mellitus type 2 (situation)",
            "attributes": null
          },
          {
            "code": "532411000000102",
            "description": "Diabetes mellitus adult onset with no mention of complication (disorder)",
            "attributes": null
          },
          {
            "code": "60951000119105",
            "description": "Blindness due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "609567009",
            "description": "Pre-existing type 2 diabetes mellitus in pregnancy (disorder)",
            "attributes": null
          },
          {
            "code": "701000119103",
            "description": "Mixed hyperlipidemia due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "703138006",
            "description": "Type II diabetes mellitus in remission (disorder)",
            "attributes": null
          },
          {
            "code": "711000119100",
            "description": "Chronic kidney disease stage 5 due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "712883005",
            "description": "Autonomic neuropathy due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "713703005",
            "description": "Gastroparesis due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "713706002",
            "description": "Polyneuropathy due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "71421000119105",
            "description": "Hypertension in chronic kidney disease due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "71441000119104",
            "description": "Nephrotic syndrome due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "719216001",
            "description": "Hypoglycemic coma due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "72051000119101",
            "description": "Severe malnutrition due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "72061000119104",
            "description": "Osteomyelitis due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "721000119107",
            "description": "Chronic kidney disease stage 4 due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "721284006",
            "description": "Acidosis due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "731000119105",
            "description": "Chronic kidney disease stage 3 due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "741000119101",
            "description": "Chronic kidney disease stage 2 due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "751000119104",
            "description": "Chronic kidney disease stage 1 due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "754121000000107",
            "description": "Type II diabetic dietary review (regime/therapy)",
            "attributes": null
          },
          {
            "code": "761000119102",
            "description": "Dyslipidemia due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "769220000",
            "description": "Macular edema due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "771000119108",
            "description": "Chronic kidney disease due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "781000119106",
            "description": "Neuropathic arthropathy due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "789567007",
            "description": "Ulcer of heel due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "789569005",
            "description": "Neuropathic ulcer of heel due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "789570006",
            "description": "Neuropathic ulcer of midfoot due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "791000119109",
            "description": "Angina due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "81531005",
            "description": "Diabetes mellitus type 2 in obese (disorder)",
            "attributes": null
          },
          {
            "code": "82541000119100",
            "description": "Traction detachment of retina due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "82551000119103",
            "description": "Rubeosis iridis due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "84361000119102",
            "description": "Insulin reactive hypoglycemia due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "87441000119104",
            "description": "Ulcer of ankle due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "87451000119102",
            "description": "Heel AND/OR midfoot ulcer due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "87461000119100",
            "description": "Ulcer of forefoot due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "87921000119104",
            "description": "Cranial nerve palsy due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "90781000119102",
            "description": "Microalbuminuria due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "90791000119104",
            "description": "End stage renal disease on dialysis due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "97331000119101",
            "description": "Macular edema and retinopathy due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "97341000119105",
            "description": "Proliferative retinopathy with retinal edema due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "97621000119107",
            "description": "Stasis ulcer due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "9859006",
            "description": "Acanthosis nigricans due to type 2 diabetes mellitus (disorder)",
            "attributes": null
          }
        ]
      },
      {
        "concept_id": 9464,
        "concept_version_id": 16949,
        "concept_name": "Diabetes Other",
        "coding_system": {
          "id": 9,
          "name": "SNOMED  CT codes",
          "description": "SNOMED CT codes"
        },
        "phenotype_id": "PH4062",
        "phenotype_version_id": 9273,
        "phenotype_name": "Diabetes",
        "code_attribute_header": null,
        "codes": [
          {
            "code": "104031000000108",
            "description": "Secondary pancreatic diabetes mellitus",
            "attributes": null
          },
          {
            "code": "105401000119101",
            "description": "Diabetes mellitus due to pancreatic injury (disorder)",
            "attributes": null
          },
          {
            "code": "112991000000101",
            "description": "Lipoatrophic diabetes mellitus without complication (disorder)",
            "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 (disorder)",
            "attributes": null
          },
          {
            "code": "127012008",
            "description": "Lipoatrophic diabetes (disorder)",
            "attributes": null
          },
          {
            "code": "190416008",
            "description": "Steroid-induced diabetes mellitus without complication (disorder)",
            "attributes": null
          },
          {
            "code": "190447002",
            "description": "Steroid-induced diabetes (disorder)",
            "attributes": null
          },
          {
            "code": "237601000",
            "description": "Secondary endocrine diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "237604008",
            "description": "Maturity onset diabetes of the young type 2 (disorder)",
            "attributes": null
          },
          {
            "code": "237608006",
            "description": "Lipodystrophy partial with Rieger anomaly short stature and insulinopenic diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "237610008",
            "description": "Acrorenal field defect ectodermal dysplasia and lipoatrophic diabetes (disorder)",
            "attributes": null
          },
          {
            "code": "237612000",
            "description": "Photomyoclonus diabetes mellitus deafness nephropathy and cerebral dysfunction (disorder)",
            "attributes": null
          },
          {
            "code": "237616002",
            "description": "Hypogonadism diabetes mellitus alopecia mental retardation and electrocardiographic abnormalities (disorder)",
            "attributes": null
          },
          {
            "code": "237617006",
            "description": "Megaloblastic anemia thiamine-responsive with diabetes mellitus and sensorineural deafness (disorder)",
            "attributes": null
          },
          {
            "code": "237619009",
            "description": "Diabetes-deafness syndrome maternally transmitted (disorder)",
            "attributes": null
          },
          {
            "code": "2751001",
            "description": "Fibrocalculous pancreatic diabetes (disorder)",
            "attributes": null
          },
          {
            "code": "284449005",
            "description": "Congenital total lipodystrophy (disorder)",
            "attributes": null
          },
          {
            "code": "28453007",
            "description": "Maturity onset diabetes mellitus in young (disorder)",
            "attributes": null
          },
          {
            "code": "286451000000100",
            "description": "Cystic fibrosis related diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "292571000000107",
            "description": "Cystic fibrosis related diabetes mellitus",
            "attributes": null
          },
          {
            "code": "303059007",
            "description": "Postpancreatectomy hypoinsulinemia (disorder)",
            "attributes": null
          },
          {
            "code": "33559001",
            "description": "Pineal hyperplasia AND diabetes mellitus syndrome (disorder)",
            "attributes": null
          },
          {
            "code": "335621000000101",
            "description": "Maternally inherited diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "368601000119102",
            "description": "Hyperosmolar coma due to secondary diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "368711000119106",
            "description": "Mild nonproliferative retinopathy due to secondary diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "368721000119104",
            "description": "Non-proliferative retinopathy due to secondary diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "368741000119105",
            "description": "Moderate non-proliferative retinopathy due to secondary diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "390715006",
            "description": "Diabetes mellitus autosomal dominant (disorder)",
            "attributes": null
          },
          {
            "code": "390716007",
            "description": "Diabetes mellitus autosomal dominant type 2 (disorder)",
            "attributes": null
          },
          {
            "code": "400971001",
            "description": "Maturity onset diabetes mellitus in young (disorder)",
            "attributes": null
          },
          {
            "code": "408540003",
            "description": "Diabetes mellitus caused by non-steroid drugs (disorder)",
            "attributes": null
          },
          {
            "code": "408545008",
            "description": "Fibrocalculous pancreatic diabetes (disorder)",
            "attributes": null
          },
          {
            "code": "413183008",
            "description": "Diabetes mellitus caused by non-steroid drugs without complication (disorder)",
            "attributes": null
          },
          {
            "code": "413184002",
            "description": "Fibrocalculous pancreatopathy without complication (disorder)",
            "attributes": null
          },
          {
            "code": "426705001",
            "description": "Diabetes mellitus co-occurrent and due to cystic fibrosis (disorder)",
            "attributes": null
          },
          {
            "code": "427089005",
            "description": "Diabetes mellitus due to cystic fibrosis (disorder)",
            "attributes": null
          },
          {
            "code": "42954008",
            "description": "Diabetes mellitus associated with receptor abnormality (disorder)",
            "attributes": null
          },
          {
            "code": "445260006",
            "description": "Posttransplant diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "472972006",
            "description": "History of maturity onset diabetes mellitus in young (situation)",
            "attributes": null
          },
          {
            "code": "51002006",
            "description": "Diabetes mellitus associated with pancreatic disease (disorder)",
            "attributes": null
          },
          {
            "code": "59079001",
            "description": "Diabetes mellitus associated with hormonal etiology (disorder)",
            "attributes": null
          },
          {
            "code": "5969009",
            "description": "Diabetes mellitus associated with genetic syndrome (disorder)",
            "attributes": null
          },
          {
            "code": "609561005",
            "description": "Maturity-onset diabetes of the young (disorder)",
            "attributes": null
          },
          {
            "code": "609562003",
            "description": "Maturity onset diabetes of the young type 1 (disorder)",
            "attributes": null
          },
          {
            "code": "609565001",
            "description": "Permanent neonatal diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "609568004",
            "description": "Diabetes mellitus due to genetic defect in beta cell function (disorder)",
            "attributes": null
          },
          {
            "code": "609569007",
            "description": "Diabetes mellitus due to genetic defect in insulin action (disorder)",
            "attributes": null
          },
          {
            "code": "609570008",
            "description": "Maturity-onset diabetes of the young type 3 (disorder)",
            "attributes": null
          },
          {
            "code": "609571007",
            "description": "Maturity-onset diabetes of the young type 4 (disorder)",
            "attributes": null
          },
          {
            "code": "609572000",
            "description": "Maturity-onset diabetes of the young type 5 (disorder)",
            "attributes": null
          },
          {
            "code": "609573005",
            "description": "Maturity-onset diabetes of the young type 6 (disorder)",
            "attributes": null
          },
          {
            "code": "609574004",
            "description": "Maturity-onset diabetes of the young type 7 (disorder)",
            "attributes": null
          },
          {
            "code": "609575003",
            "description": "Maturity-onset diabetes of the young type 8 (disorder)",
            "attributes": null
          },
          {
            "code": "609576002",
            "description": "Maturity-onset diabetes of the young type 9 (disorder)",
            "attributes": null
          },
          {
            "code": "609577006",
            "description": "Maturity-onset diabetes of the young type 10 (disorder)",
            "attributes": null
          },
          {
            "code": "609578001",
            "description": "Maturity-onset diabetes of the young type 11 (disorder)",
            "attributes": null
          },
          {
            "code": "70694009",
            "description": "Wolfram syndrome (disorder)",
            "attributes": null
          },
          {
            "code": "720519003",
            "description": "Atherosclerosis deafness diabetes epilepsy nephropathy syndrome (disorder)",
            "attributes": null
          },
          {
            "code": "721973006",
            "description": "Lipodystrophy intellectual disability deafness syndrome (disorder)",
            "attributes": null
          },
          {
            "code": "722206009",
            "description": "Pancreatic hypoplasia diabetes mellitus congenital heart disease syndrome (disorder)",
            "attributes": null
          },
          {
            "code": "722454003",
            "description": "Intellectual disability craniofacial dysmorphism hypogonadism diabetes mellitus syndrome (disorder)",
            "attributes": null
          },
          {
            "code": "724067006",
            "description": "Permanent neonatal diabetes mellitus with cerebellar agenesis syndrome (disorder)",
            "attributes": null
          },
          {
            "code": "724276006",
            "description": "X-linked immune dysregulation polyendocrinopathy enteropathy syndrome (disorder)",
            "attributes": null
          },
          {
            "code": "733072002",
            "description": "Alaninuria microcephaly dwarfism enamel hypoplasia diabetes mellitus syndrome (disorder)",
            "attributes": null
          },
          {
            "code": "734022008",
            "description": "Wolfram-like syndrome (disorder)",
            "attributes": null
          },
          {
            "code": "737212004",
            "description": "Diabetes mellitus caused by chemical (disorder)",
            "attributes": null
          },
          {
            "code": "75682002",
            "description": "Diabetes mellitus caused by insulin receptor antibodies (disorder)",
            "attributes": null
          },
          {
            "code": "771521000000101",
            "description": "History of autosomal dominant diabetes mellitus (situation)",
            "attributes": null
          },
          {
            "code": "771571000000102",
            "description": "History of secondary diabetes mellitus (situation)",
            "attributes": null
          },
          {
            "code": "782755007",
            "description": "Primary microcephaly mild intellectual disability young-onset diabetes syndrome (disorder)",
            "attributes": null
          },
          {
            "code": "782825008",
            "description": "Primary microcephaly epilepsy permanent neonatal diabetes syndrome (disorder)",
            "attributes": null
          },
          {
            "code": "78471000000108",
            "description": "Maturity onset diabetes mellitus in young",
            "attributes": null
          },
          {
            "code": "816067005",
            "description": "Diabetes hypogonadism deafness intellectual disability syndrome (disorder)",
            "attributes": null
          },
          {
            "code": "8801005",
            "description": "Secondary diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "91352004",
            "description": "Diabetes mellitus due to structurally abnormal insulin (disorder)",
            "attributes": null
          },
          {
            "code": "974131000000100",
            "description": "Maturity onset diabetes of the young type 5 (disorder)",
            "attributes": null
          },
          {
            "code": "974141000000109",
            "description": "Maturity onset diabetes of the young type 5",
            "attributes": null
          },
          {
            "code": "99261000000102",
            "description": "Fibrocalculous pancreatic diabetes",
            "attributes": null
          }
        ]
      },
      {
        "concept_id": 9465,
        "concept_version_id": 16950,
        "concept_name": "Diabetes Not Otherwise Specified",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH4062",
        "phenotype_version_id": 9273,
        "phenotype_name": "Diabetes",
        "code_attribute_header": null,
        "codes": [
          {
            "code": "E13",
            "description": "Other specified diabetes mellitus",
            "attributes": null
          },
          {
            "code": "E130",
            "description": "Other specified diabetes mellitus with coma",
            "attributes": null
          },
          {
            "code": "E131",
            "description": "Other specified diabetes mellitus with ketoacidosis",
            "attributes": null
          },
          {
            "code": "E132",
            "description": "Other specified diabetes mellitus with renal complications",
            "attributes": null
          },
          {
            "code": "E133",
            "description": "Other specified diabetes mellitus with ophthalmic complications",
            "attributes": null
          },
          {
            "code": "E134",
            "description": "Other specified diabetes mellitus with neurological complications",
            "attributes": null
          },
          {
            "code": "E135",
            "description": "Other specified diabetes mellitus with peripheral circulatory complications",
            "attributes": null
          },
          {
            "code": "E136",
            "description": "Other specified diabetes mellitus with other specified complications",
            "attributes": null
          },
          {
            "code": "E137",
            "description": "Other specified diabetes mellitus with multiple complications",
            "attributes": null
          },
          {
            "code": "E138",
            "description": "Other specified diabetes mellitus with unspecified complications",
            "attributes": null
          },
          {
            "code": "E139",
            "description": "Other specified diabetes mellitus without complications",
            "attributes": null
          },
          {
            "code": "E14",
            "description": "Unspecified diabetes mellitus",
            "attributes": null
          },
          {
            "code": "E140",
            "description": "Unspecified diabetes mellitus with coma",
            "attributes": null
          },
          {
            "code": "E141",
            "description": "Unspecified diabetes mellitus with ketoacidosis",
            "attributes": null
          },
          {
            "code": "E142",
            "description": "Unspecified diabetes mellitus with renal complications",
            "attributes": null
          },
          {
            "code": "E143",
            "description": "Unspecified diabetes mellitus with ophthalmic complications",
            "attributes": null
          },
          {
            "code": "E144",
            "description": "Unspecified diabetes mellitus with neurological complications",
            "attributes": null
          },
          {
            "code": "E145",
            "description": "Unspecified diabetes mellitus with peripheral circulatory complications",
            "attributes": null
          },
          {
            "code": "E146",
            "description": "Unspecified diabetes mellitus with other specified complications",
            "attributes": null
          },
          {
            "code": "E147",
            "description": "Unspecified diabetes mellitus with multiple complications",
            "attributes": null
          },
          {
            "code": "E148",
            "description": "Unspecified diabetes mellitus with unspecified complications",
            "attributes": null
          },
          {
            "code": "E149",
            "description": "Unspecified diabetes mellitus without complications",
            "attributes": null
          },
          {
            "code": "G590",
            "description": "Diabetic mononeuropathy",
            "attributes": null
          },
          {
            "code": "G632",
            "description": "Diabetic polyneuropathy",
            "attributes": null
          },
          {
            "code": "H280",
            "description": "Diabetic cataract",
            "attributes": null
          },
          {
            "code": "H360",
            "description": "Diabetic retinopathy",
            "attributes": null
          },
          {
            "code": "M142",
            "description": "Diabetic arthropathy",
            "attributes": null
          },
          {
            "code": "N083",
            "description": "Glomerular disorders in diabetes mellitus",
            "attributes": null
          },
          {
            "code": "O243",
            "description": "Diabetes mellitus in pregnancy: Pre-existing diabetes mellitus, unspecified",
            "attributes": null
          },
          {
            "code": "Y423",
            "description": "Insulin and oral hypoglycaemic [antidiabetic] drugs",
            "attributes": null
          }
        ]
      },
      {
        "concept_id": 9466,
        "concept_version_id": 16951,
        "concept_name": "Diabetes Not Otherwise Specified",
        "coding_system": {
          "id": 9,
          "name": "SNOMED  CT codes",
          "description": "SNOMED CT codes"
        },
        "phenotype_id": "PH4062",
        "phenotype_version_id": 9273,
        "phenotype_name": "Diabetes",
        "code_attribute_header": null,
        "codes": [
          {
            "code": "103981000119101",
            "description": "Proliferative retinopathy following surgery due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "106281000119103",
            "description": "Pre-existing diabetes mellitus in mother complicating childbirth (disorder)",
            "attributes": null
          },
          {
            "code": "10660471000119108",
            "description": "Ulcer of left foot due to type 2 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "10754881000119104",
            "description": "Diabetes mellitus in mother complicating childbirth (disorder)",
            "attributes": null
          },
          {
            "code": "1102351000000100",
            "description": "Ketosis-prone diabetes mellitus",
            "attributes": null
          },
          {
            "code": "1102351000000105",
            "description": "Ketosis-prone diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "111552007",
            "description": "Diabetes mellitus without complication (disorder)",
            "attributes": null
          },
          {
            "code": "111556005",
            "description": "Ketoacidosis without coma due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "11530004",
            "description": "Brittle diabetes mellitus (finding)",
            "attributes": null
          },
          {
            "code": "126534007",
            "description": "Mixed sensorimotor polyneuropathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "126535008",
            "description": "Motor polyneuropathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "127011001",
            "description": "Sensory neuropathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "127013003",
            "description": "Disorder of kidney due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "127014009",
            "description": "Peripheral angiopathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "16890881000119106",
            "description": "History of proliferative retinopathy due to diabetes mellitus (situation)",
            "attributes": null
          },
          {
            "code": "170745003",
            "description": "Diabetic on diet only (finding)",
            "attributes": null
          },
          {
            "code": "170747006",
            "description": "Diabetic on insulin (finding)",
            "attributes": null
          },
          {
            "code": "170763003",
            "description": "Diabetic - good control (finding)",
            "attributes": null
          },
          {
            "code": "170766006",
            "description": "Loss of hypoglycemic warning due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "190329007",
            "description": "Diabetes mellitus with hyperosmolar coma (disorder)",
            "attributes": null
          },
          {
            "code": "193141005",
            "description": "Mononeuritis multiplex due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "193183000",
            "description": "Acute painful neuropathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "193184006",
            "description": "Chronic painful neuropathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "193185007",
            "description": "Asymptomatic neuropathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "193349004",
            "description": "Preproliferative retinopathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "193350004",
            "description": "Advanced maculopathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "193489006",
            "description": "Iritis due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "19378003",
            "description": "Pseudotabes due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "197605007",
            "description": "Nephrotic syndrome due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "198121000000103",
            "description": "Hypoglycaemic warning impaired (disorder)",
            "attributes": null
          },
          {
            "code": "198131000000101",
            "description": "Hypoglycaemic warning good (disorder)",
            "attributes": null
          },
          {
            "code": "200687002",
            "description": "Cellulitis of foot due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "201250006",
            "description": "Ischemic ulcer of foot due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "201251005",
            "description": "Neuropathic ulcer of foot due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "201252003",
            "description": "Mixed diabetic ulcer - foot (disorder)",
            "attributes": null
          },
          {
            "code": "201723002",
            "description": "Cheiroarthropathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "201724008",
            "description": "Neuropathic arthropathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "230572002",
            "description": "Neuropathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "230573007",
            "description": "Diabetic distal sensorimotor polyneuropathy (disorder)",
            "attributes": null
          },
          {
            "code": "230574001",
            "description": "Acute painful polyneuropathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "230575000",
            "description": "Chronic painful polyneuropathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "230576004",
            "description": "Asymmetric polyneuropathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "230577008",
            "description": "Mononeuropathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "230578003",
            "description": "Diabetic truncal radiculopathy (disorder)",
            "attributes": null
          },
          {
            "code": "230579006",
            "description": "Thoracic radiculopathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "232020009",
            "description": "Disorder of macula due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "232021008",
            "description": "Proliferative retinopathy with optic disc neovascularization due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "232022001",
            "description": "Proliferative retinopathy with neovascularization elsewhere than the optic disc due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "232023006",
            "description": "Traction detachment of retina due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "236499007",
            "description": "Microalbuminuric nephropathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "236500003",
            "description": "Proteinuric nephropathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "237620003",
            "description": "Abnormal metabolic state due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "237621004",
            "description": "Severe hyperglycemia due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "237622006",
            "description": "Poor glycemic control (disorder)",
            "attributes": null
          },
          {
            "code": "237632004",
            "description": "Hypoglycemic event due to diabetes (disorder)",
            "attributes": null
          },
          {
            "code": "237633009",
            "description": "Hypoglycemia due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "237635002",
            "description": "Nocturnal hypoglycemia due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "237650006",
            "description": "Insulin resistance in diabetes (disorder)",
            "attributes": null
          },
          {
            "code": "238981002",
            "description": "Disorder of soft tissue due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "238982009",
            "description": "Dermopathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "238983004",
            "description": "Thick skin syndrome due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "238984005",
            "description": "Rubeosis faciei due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "25093002",
            "description": "Disorder of eye due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "25412000",
            "description": "Microaneurysm of retinal artery due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "25907005",
            "description": "Diabetic gangrene (disorder)",
            "attributes": null
          },
          {
            "code": "26298008",
            "description": "Ketoacidotic coma due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "267467004",
            "description": "Diabetes mellitus (&amp; [ketoacidosis]) (disorder)",
            "attributes": null
          },
          {
            "code": "267471001",
            "description": "Diabetes + eye manifestation (&amp; [cataract] or [retinopathy]) (disorder)",
            "attributes": null
          },
          {
            "code": "267604001",
            "description": "Myasthenic syndrome due to diabetic mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "268519009",
            "description": "Diabetic - poor control (finding)",
            "attributes": null
          },
          {
            "code": "280137006",
            "description": "Diabetic foot (disorder)",
            "attributes": null
          },
          {
            "code": "308105005",
            "description": "On examination-Right diabetic foot at risk (finding)",
            "attributes": null
          },
          {
            "code": "308106006",
            "description": "On examination-Left diabetic foot at risk (finding)",
            "attributes": null
          },
          {
            "code": "309426007",
            "description": "Glomerulopathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "310387003",
            "description": "Intracapillary glomerulosclerosis of kidney due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "310505005",
            "description": "Hyperosmolar non-ketotic state due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "311366001",
            "description": "Kimmelstiel-Wilson syndrome (disorder)",
            "attributes": null
          },
          {
            "code": "311782002",
            "description": "Advanced retinal disease due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "312903003",
            "description": "Mild nonproliferative retinopathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "312904009",
            "description": "Moderate nonproliferative retinopathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "312905005",
            "description": "Severe nonproliferative retinopathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "312906006",
            "description": "Non-high-risk proliferative retinopathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "312907002",
            "description": "High risk proliferative retinopathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "312908007",
            "description": "Quiescent proliferative retinopathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "312909004",
            "description": "Proliferative retinopathy with iris neovascularization due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "312910009",
            "description": "Vitreous hemorrhage due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "312912001",
            "description": "Macular edema due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "314010006",
            "description": "Diffuse exudative maculopathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "314011005",
            "description": "Focal exudative maculopathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "314014002",
            "description": "Ischemic maculopathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "314015001",
            "description": "Mixed maculopathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "314537004",
            "description": "Optic papillopathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "315051004",
            "description": "Diabetes resolved (finding)",
            "attributes": null
          },
          {
            "code": "35777006",
            "description": "Mononeuropathy multiplex due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "359611005",
            "description": "Neuropathy with neurologic complication due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "361216007",
            "description": "Femoral mononeuropathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "367241000119104",
            "description": "Hyperosmolar coma due to drug induced diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "367261000119100",
            "description": "Hyperosmolarity due to drug induced diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "368141000119106",
            "description": "Autonomic neuropathy due to drug induced diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "368151000119108",
            "description": "Cataract due to drug induced diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "368171000119104",
            "description": "Dermatitis due to drug induced diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "368181000119101",
            "description": "Ulcer of foot due to drug induced diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "368201000119100",
            "description": "Disorder of kidney due to drug induced diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "368251000119101",
            "description": "Polyneuropathy due to drug induced diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "368421000119108",
            "description": "Chronic kidney disease stage 1 due to drug induced diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "368431000119106",
            "description": "Chronic kidney disease stage 2 due to drug induced diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "368441000119102",
            "description": "Chronic kidney disease stage 3 due to drug induced diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "368451000119100",
            "description": "Chronic kidney disease stage 4 due to drug induced diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "368461000119103",
            "description": "Chronic kidney disease stage 5 due to drug induced diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "368471000119109",
            "description": "End stage renal disease on dialysis due to drug induced diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "371087003",
            "description": "Ulcer of foot due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "38046004",
            "description": "Diffuse glomerulosclerosis of kidney due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "38205001",
            "description": "Diarrhea due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "385041000000108",
            "description": "Diabetes mellitus with multiple complications (disorder)",
            "attributes": null
          },
          {
            "code": "385051000000106",
            "description": "Pre-existing diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "39058009",
            "description": "Lumbosacral radiculoplexus neuropathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "390834004",
            "description": "Nonproliferative retinopathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "390850007",
            "description": "On examination - no right diabetic retinopathy (situation)",
            "attributes": null
          },
          {
            "code": "390853009",
            "description": "On examination - no left diabetic retinopathy (situation)",
            "attributes": null
          },
          {
            "code": "390854003",
            "description": "On examination - diabetic maculopathy present both eyes (situation)",
            "attributes": null
          },
          {
            "code": "390855002",
            "description": "On examination - diabetic maculopathy absent both eyes (situation)",
            "attributes": null
          },
          {
            "code": "39127005",
            "description": "Symmetric proximal motor neuropathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "39181008",
            "description": "Radiculoplexus neuropathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "398140007",
            "description": "Post hypoglycemic hyperglycemia due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "399862001",
            "description": "High risk proliferative retinopathy without macular edema due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "399863006",
            "description": "Very severe nonproliferative retinopathy without macular edema due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "399864000",
            "description": "Macular edema not clinically significant due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "399865004",
            "description": "Very severe proliferative retinopathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "399866003",
            "description": "Venous beading of retina due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "399868002",
            "description": "Intraretinal microvascular anomaly due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "399869005",
            "description": "High risk proliferative retinopathy not amenable to photocoagulation due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "399870006",
            "description": "Non-high-risk proliferative retinopathy with no macular edema due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "399871005",
            "description": "Visually threatening retinopathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "399872003",
            "description": "Severe nonproliferative retinopathy with clinically significant macular edema due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "399873008",
            "description": "Severe nonproliferative retinopathy without macular edema due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "399874002",
            "description": "High risk proliferative retinopathy with clinically significant macula edema due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "399875001",
            "description": "Non-high-risk proliferative retinopathy with clinically significant macular edema due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "399876000",
            "description": "Very severe nonproliferative retinopathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "399877009",
            "description": "Very severe nonproliferative retinopathy with clinically significant macular edema due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "401191002",
            "description": "Diabetic foot examination (regime/therapy)",
            "attributes": null
          },
          {
            "code": "402864004",
            "description": "Wet gangrene of foot due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "407569005",
            "description": "Patient on maximal tolerated therapy for diabetes (finding)",
            "attributes": null
          },
          {
            "code": "408409007",
            "description": "On examination - right eye background diabetic retinopathy (disorder)",
            "attributes": null
          },
          {
            "code": "408410002",
            "description": "On examination - left eye background diabetic retinopathy (disorder)",
            "attributes": null
          },
          {
            "code": "408411003",
            "description": "On examination - right eye preproliferative diabetic retinopathy (disorder)",
            "attributes": null
          },
          {
            "code": "408412005",
            "description": "On examination - left eye preproliferative diabetic retinopathy (disorder)",
            "attributes": null
          },
          {
            "code": "408413000",
            "description": "On examination - right eye proliferative diabetic retinopathy (disorder)",
            "attributes": null
          },
          {
            "code": "408414006",
            "description": "On examination - left eye proliferative diabetic retinopathy (disorder)",
            "attributes": null
          },
          {
            "code": "408415007",
            "description": "On examination - right eye diabetic maculopathy (disorder)",
            "attributes": null
          },
          {
            "code": "408416008",
            "description": "On examination - left eye diabetic maculopathy (disorder)",
            "attributes": null
          },
          {
            "code": "412752009",
            "description": "Diabetic foot examination declined (situation)",
            "attributes": null
          },
          {
            "code": "414894003",
            "description": "On examination - left eye stable treated proliferative diabetic retinopathy (disorder)",
            "attributes": null
          },
          {
            "code": "414910007",
            "description": "On examination - right eye stable treated proliferative diabetic retinopathy (disorder)",
            "attributes": null
          },
          {
            "code": "417677008",
            "description": "On examination - sight threatening diabetic retinopathy (disorder)",
            "attributes": null
          },
          {
            "code": "419100001",
            "description": "Infection of foot due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "420422005",
            "description": "Ketoacidosis due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "420662003",
            "description": "Coma due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "421725003",
            "description": "Hypoglycemic coma due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "421895002",
            "description": "Peripheral vascular disorder due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "421966007",
            "description": "Non-ketotic non-hyperosmolar coma due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "422088007",
            "description": "Disorder of nervous system due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "422126006",
            "description": "Hyperosmolar coma due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "422183001",
            "description": "Skin ulcer due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "422275004",
            "description": "Gangrene due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "424736006",
            "description": "Peripheral neuropathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "425455002",
            "description": "Glomerulonephritis due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "426875007",
            "description": "Latent autoimmune diabetes mellitus in adult (disorder)",
            "attributes": null
          },
          {
            "code": "427943001",
            "description": "Ophthalmoplegia due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "429729007",
            "description": "Diabetic education completed (situation)",
            "attributes": null
          },
          {
            "code": "43959009",
            "description": "Cataract of eye due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "441628001",
            "description": "Multiple complications due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "441656006",
            "description": "Hyperglycemic crisis due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "445170001",
            "description": "Macroalbuminuric nephropathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "446641003",
            "description": "Renal cysts and diabetes syndrome (disorder)",
            "attributes": null
          },
          {
            "code": "4855003",
            "description": "Retinopathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "48951005",
            "description": "Bullous disease due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "49455004",
            "description": "Polyneuropathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "50620007",
            "description": "Autonomic neuropathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "530558861000132000",
            "description": "Atypical diabetes mellitus",
            "attributes": null
          },
          {
            "code": "530558861000132104",
            "description": "Atypical diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "5368009",
            "description": "Drug-induced diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "54181000",
            "description": "Diabetes-nephrosis syndrome (disorder)",
            "attributes": null
          },
          {
            "code": "59276001",
            "description": "Proliferative retinopathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "609563008",
            "description": "Pre-existing diabetes mellitus in pregnancy (disorder)",
            "attributes": null
          },
          {
            "code": "62260007",
            "description": "Pretibial pigmental patches due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "63510008",
            "description": "Nodular glomerulosclerosis of kidney due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "658011000000104",
            "description": "Diabetes mellitus with other specified manifestation (disorder)",
            "attributes": null
          },
          {
            "code": "677741000119109",
            "description": "Non-diabetic proliferative retinopathy of bilateral eyes (disorder)",
            "attributes": null
          },
          {
            "code": "703136005",
            "description": "Diabetes mellitus in remission (disorder)",
            "attributes": null
          },
          {
            "code": "707221002",
            "description": "Glomerulosclerosis of kidney due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "709147009",
            "description": "Gingivitis co-occurrent with diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "713457002",
            "description": "Neovascular glaucoma due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "713704004",
            "description": "Gastroparesis due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "716031000000106",
            "description": "Excepted from diabetes quality indicators - informed dissent (finding)",
            "attributes": null
          },
          {
            "code": "716362006",
            "description": "Gingival disease co-occurrent with diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "717421000000100",
            "description": "Excepted from diabetes quality indicators - patient unsuitable (finding)",
            "attributes": null
          },
          {
            "code": "723074006",
            "description": "Renal papillary necrosis due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "724136006",
            "description": "Mastopathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "724810001",
            "description": "Radiculoplexoneuropathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "724876003",
            "description": "Lesion of skin due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "724997001",
            "description": "Lumbosacral plexopathy co-occurrent and due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "729981000000105",
            "description": "Renal cysts and diabetes syndrome (disorder)",
            "attributes": null
          },
          {
            "code": "73211009",
            "description": "Diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "735199000",
            "description": "History of diabetes related lower limb amputation (situation)",
            "attributes": null
          },
          {
            "code": "735200002",
            "description": "Absence of lower limb due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "735537007",
            "description": "Hyperosmolar hyperglycemic coma due to diabetes mellitus without ketoacidosis (disorder)",
            "attributes": null
          },
          {
            "code": "735538002",
            "description": "Lactic acidosis due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "735539005",
            "description": "Metabolic acidosis due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "74627003",
            "description": "Complication due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "762489000",
            "description": "Acute complication due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "768792007",
            "description": "Cataract of right eye due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "768793002",
            "description": "Cataract of left eye due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "768794008",
            "description": "Cataract of bilateral eyes due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "768797001",
            "description": "Iritis of right eye due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "768798006",
            "description": "Iritis of left eye due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "768799003",
            "description": "Iritis of bilateral eyes due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "769181007",
            "description": "Preproliferative retinopathy of right eye due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "769182000",
            "description": "Preproliferative retinopathy of left eye due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "769183005",
            "description": "Mild nonproliferative retinopathy of right eye due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "769184004",
            "description": "Mild nonproliferative retinopathy of left eye due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "769185003",
            "description": "Moderate nonproliferative retinopathy of right eye due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "769186002",
            "description": "Moderate nonproliferative retinopathy of left eye due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "769187006",
            "description": "Severe nonproliferative retinopathy of right eye due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "769188001",
            "description": "Severe nonproliferative retinopathy of left eye due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "769190000",
            "description": "Very severe nonproliferative retinopathy of right eye due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "769191001",
            "description": "Very severe nonproliferative retinopathy of left eye due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "769217008",
            "description": "Macular edema of right eye due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "769218003",
            "description": "Macular edema of left eye due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "769221001",
            "description": "Clinically significant macular edema of right eye due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "769222008",
            "description": "Clinically significant macular edema of left eye due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "769244003",
            "description": "Disorder of right macula due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "769245002",
            "description": "Disorder of left macula due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "770094004",
            "description": "Cervical radiculoplexus neuropathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "770095003",
            "description": "Cranial nerve palsy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "770096002",
            "description": "Erectile dysfunction due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "770097006",
            "description": "Clinically significant macular edema due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "770323005",
            "description": "Retinal edema due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "770324004",
            "description": "Ischemia of retina due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "770361008",
            "description": "Vitreous hemorrhage of right eye due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "770362001",
            "description": "Vitreous hemorrhage of left eye due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "770581008",
            "description": "Microaneurysm of right retinal artery due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "770582001",
            "description": "Microaneurysm of left retinal artery due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "770599000",
            "description": "Venous beading of right retina due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "770600002",
            "description": "Venous beading of left retina due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "770765001",
            "description": "Proliferative retinopathy of right eye due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "770766000",
            "description": "Proliferative retinopathy of left eye due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "773001000000103",
            "description": "Symptomatic diabetic peripheral neuropathy (disorder)",
            "attributes": null
          },
          {
            "code": "775841000000109",
            "description": "Diabetic retinopathy detected by national screening programme (disorder)",
            "attributes": null
          },
          {
            "code": "783722008",
            "description": "Myopathy and diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "788878000",
            "description": "Cardiomyopathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "789562001",
            "description": "Ulcer of heel due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "789568002",
            "description": "Ulcer of midfoot due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "789585000",
            "description": "Sensory polyneuropathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "79554005",
            "description": "Asymmetric proximal motor neuropathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "80660001",
            "description": "Mauriac's syndrome (disorder)",
            "attributes": null
          },
          {
            "code": "816177009",
            "description": "Nonproliferative retinopathy of left eye due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "816178004",
            "description": "Nonproliferative retinopathy of right eye due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "816961009",
            "description": "Stable treated proliferative retinopathy of right eye due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "816962002",
            "description": "Stable treated proliferative retinopathy of left eye due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "81830002",
            "description": "Mononeuropathy simplex due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "822995009",
            "description": "Hyperglycemia due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "82980005",
            "description": "Anemia due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "860712005",
            "description": "Disorder of macula of bilateral eyes due to diabetes mellitus present (situation)",
            "attributes": null
          },
          {
            "code": "860721006",
            "description": "Disorder of macula of bilateral eyes due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "860798008",
            "description": "Glaucoma due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "860883001",
            "description": "Generalized autonomic neuropathy due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "860977000",
            "description": "Ulcer of right foot due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "860978005",
            "description": "Ulcer of left foot due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "860979002",
            "description": "Chronic ulcer of right foot due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "860980004",
            "description": "Chronic ulcer of left foot due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "863879002",
            "description": "At low risk of ulcer of right foot due to diabetes mellitus (finding)",
            "attributes": null
          },
          {
            "code": "863880004",
            "description": "At low risk of ulcer of left foot due to diabetes mellitus (finding)",
            "attributes": null
          },
          {
            "code": "863881000",
            "description": "At moderate risk of ulcer of left foot due to diabetes mellitus (finding)",
            "attributes": null
          },
          {
            "code": "863882007",
            "description": "At increased risk of ulcer of left foot due to diabetes mellitus (finding)",
            "attributes": null
          },
          {
            "code": "863883002",
            "description": "At increased risk of ulcer of right foot due to diabetes mellitus (finding)",
            "attributes": null
          },
          {
            "code": "863884008",
            "description": "At high risk of ulcer of right foot due to diabetes mellitus (finding)",
            "attributes": null
          },
          {
            "code": "863885009",
            "description": "At moderate risk of ulcer of right foot due to diabetes mellitus (finding)",
            "attributes": null
          },
          {
            "code": "863886005",
            "description": "At high risk of ulcer of left foot due to diabetes mellitus (finding)",
            "attributes": null
          },
          {
            "code": "870420005",
            "description": "Severe nonproliferative retinopathy with venous beading of retina due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "870421009",
            "description": "Cystoid macular edema due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "870529009",
            "description": "Persistent macular edema due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "871778008",
            "description": "Centrally involved macular edema due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "871781003",
            "description": "Non centrally involved macular edema due to diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "890171006",
            "description": "Ketosis-prone diabetes mellitus (disorder)",
            "attributes": null
          },
          {
            "code": "894741000000107",
            "description": "Hypoglycaemic warning absent (disorder)",
            "attributes": null
          }
        ]
      },
      {
        "concept_id": 9467,
        "concept_version_id": 16952,
        "concept_name": "HbA1c",
        "coding_system": {
          "id": 9,
          "name": "SNOMED  CT codes",
          "description": "SNOMED CT codes"
        },
        "phenotype_id": "PH4062",
        "phenotype_version_id": 9273,
        "phenotype_name": "Diabetes",
        "code_attribute_header": null,
        "codes": [
          {
            "code": "1049301000000100",
            "description": "Haemoglobin A1c level (diagnostic reference range) - International Federation of Clinical Chemistry and Laboratory Medicine standardised (observable entity)",
            "attributes": null
          },
          {
            "code": "1049321000000100",
            "description": "Haemoglobin A1c level (monitoring ranges) - International Federation of Clinical Chemistry and Laboratory Medicine standardised (observable entity)",
            "attributes": null
          },
          {
            "code": "1107481000000106",
            "description": "Substance concentration of haemoglobin A1c in blood (observable entity)",
            "attributes": null
          },
          {
            "code": "1971000237103",
            "description": "Substance concentration of haemoglobin A1c diagnostic reference range in blood (observable entity)",
            "attributes": null
          },
          {
            "code": "6181000237109",
            "description": "Substance concentration of haemoglobin A1c monitoring range in blood (observable entity)",
            "attributes": null
          },
          {
            "code": "999791000000106",
            "description": "Haemoglobin A1c level - International Federation of Clinical Chemistry and Laboratory Medicine standardised (observable entity)",
            "attributes": null
          }
        ]
      },
      {
        "concept_id": 9468,
        "concept_version_id": 16953,
        "concept_name": "Insulin",
        "coding_system": {
          "id": 11,
          "name": "BNF codes",
          "description": "BNF codes"
        },
        "phenotype_id": "PH4062",
        "phenotype_version_id": 9273,
        "phenotype_name": "Diabetes",
        "code_attribute_header": null,
        "codes": [
          {
            "code": "0601011A0",
            "description": "Insulin aspart",
            "attributes": null
          },
          {
            "code": "0601011L0",
            "description": "Insulin Lispro",
            "attributes": null
          },
          {
            "code": "0601011N0",
            "description": "Soluble insulin (Neutral insulin)",
            "attributes": null
          },
          {
            "code": "0601011P0",
            "description": "Insulin glulisine",
            "attributes": null
          },
          {
            "code": "0601011Q0",
            "description": "",
            "attributes": null
          },
          {
            "code": "0601011R0",
            "description": "Insulin human",
            "attributes": null
          },
          {
            "code": "0601012AB",
            "description": "Insulin glargine/lixisenatide",
            "attributes": null
          },
          {
            "code": "0601012D0",
            "description": "Biphasic isophane insulin",
            "attributes": null
          },
          {
            "code": "0601012F0",
            "description": "Biphasic insulin lispro",
            "attributes": null
          },
          {
            "code": "0601012G0",
            "description": "Insulin zinc suspension",
            "attributes": null
          },
          {
            "code": "0601012N0",
            "description": "",
            "attributes": null
          },
          {
            "code": "0601012S0",
            "description": "Isophane insulin",
            "attributes": null
          },
          {
            "code": "0601012U0",
            "description": "Protamine zinc insulin",
            "attributes": null
          },
          {
            "code": "0601012V0",
            "description": "Insulin glargine",
            "attributes": null
          },
          {
            "code": "0601012W0",
            "description": "Biphasic insulin aspart",
            "attributes": null
          },
          {
            "code": "0601012X0",
            "description": "Insulin detemir",
            "attributes": null
          },
          {
            "code": "0601012Z0",
            "description": "Insulin degludec",
            "attributes": null
          }
        ]
      },
      {
        "concept_id": 9469,
        "concept_version_id": 16954,
        "concept_name": "Metformin",
        "coding_system": {
          "id": 11,
          "name": "BNF codes",
          "description": "BNF codes"
        },
        "phenotype_id": "PH4062",
        "phenotype_version_id": 9273,
        "phenotype_name": "Diabetes",
        "code_attribute_header": null,
        "codes": [
          {
            "code": "0601022B0",
            "description": "Metformin hydrochloride",
            "attributes": null
          }
        ]
      },
      {
        "concept_id": 9470,
        "concept_version_id": 16955,
        "concept_name": "Glucose Lowering Therapies",
        "coding_system": {
          "id": 11,
          "name": "BNF codes",
          "description": "BNF codes"
        },
        "phenotype_id": "PH4062",
        "phenotype_version_id": 9273,
        "phenotype_name": "Diabetes",
        "code_attribute_header": null,
        "codes": [
          {
            "code": "0601021A0",
            "description": "Glimepiride",
            "attributes": null
          },
          {
            "code": "0601021E0",
            "description": "Chlorpropamide",
            "attributes": null
          },
          {
            "code": "0601021H0",
            "description": "Glibenclamide",
            "attributes": null
          },
          {
            "code": "0601021M0",
            "description": "Gliclazide",
            "attributes": null
          },
          {
            "code": "0601021P0",
            "description": "Glipizide",
            "attributes": null
          },
          {
            "code": "0601021R0",
            "description": "",
            "attributes": null
          },
          {
            "code": "0601021X0",
            "description": "Tolbutamide",
            "attributes": null
          },
          {
            "code": "0601023A0",
            "description": "Acarbose",
            "attributes": null
          },
          {
            "code": "0601023AA",
            "description": "Vildagliptin",
            "attributes": null
          },
          {
            "code": "0601023AB",
            "description": "Liraglutide",
            "attributes": null
          },
          {
            "code": "0601023AC",
            "description": "Saxagliptin",
            "attributes": null
          },
          {
            "code": "0601023AD",
            "description": "Metformin hydrochloride/sitagliptin",
            "attributes": null
          },
          {
            "code": "0601023AE",
            "description": "Linagliptin",
            "attributes": null
          },
          {
            "code": "0601023AF",
            "description": "Linagliptin/metformin",
            "attributes": null
          },
          {
            "code": "0601023AG",
            "description": "Dapagliflozin",
            "attributes": null
          },
          {
            "code": "0601023AH",
            "description": "Saxagliptin/metformin",
            "attributes": null
          },
          {
            "code": "0601023AI",
            "description": "Lixisenatide",
            "attributes": null
          },
          {
            "code": "0601023AJ",
            "description": "Alogliptin/metformin",
            "attributes": null
          },
          {
            "code": "0601023AK",
            "description": "Alogliptin",
            "attributes": null
          },
          {
            "code": "0601023AL",
            "description": "Dapagliflozin/metformin",
            "attributes": null
          },
          {
            "code": "0601023AM",
            "description": "Canagliflozin",
            "attributes": null
          },
          {
            "code": "0601023AN",
            "description": "Empagliflozin",
            "attributes": null
          },
          {
            "code": "0601023AP",
            "description": "Canagliflozin/metformin",
            "attributes": null
          },
          {
            "code": "0601023AQ",
            "description": "Dulaglutide",
            "attributes": null
          },
          {
            "code": "0601023AR",
            "description": "Empagliflozin/metformin",
            "attributes": null
          },
          {
            "code": "0601023AS",
            "description": "Albiglutide",
            "attributes": null
          },
          {
            "code": "0601023AU",
            "description": "Ins degludec/liraglutide",
            "attributes": null
          },
          {
            "code": "0601023AV",
            "description": "Saxagliptin/dapagliflozin",
            "attributes": null
          },
          {
            "code": "0601023AW",
            "description": "Semaglutide",
            "attributes": null
          },
          {
            "code": "0601023AX",
            "description": "Ertugliflozin",
            "attributes": null
          },
          {
            "code": "0601023AY",
            "description": "Empagliflozin/linagliptin",
            "attributes": null
          },
          {
            "code": "0601023AZ",
            "description": "Tirzepatide",
            "attributes": null
          },
          {
            "code": "0601023B0",
            "description": "Pioglitazone hydrochloride",
            "attributes": null
          },
          {
            "code": "0601023I0",
            "description": "Guar gum",
            "attributes": null
          },
          {
            "code": "0601023R0",
            "description": "Repaglinide",
            "attributes": null
          },
          {
            "code": "0601023S0",
            "description": "Rosiglitazone",
            "attributes": null
          },
          {
            "code": "0601023U0",
            "description": "Nateglinide",
            "attributes": null
          },
          {
            "code": "0601023V0",
            "description": "Metformin hydrochloride/rosiglitazone",
            "attributes": null
          },
          {
            "code": "0601023W0",
            "description": "Metformin hydrochloride/pioglitazone",
            "attributes": null
          },
          {
            "code": "0601023X0",
            "description": "Sitagliptin",
            "attributes": null
          },
          {
            "code": "0601023Y0",
            "description": "Exenatide",
            "attributes": null
          },
          {
            "code": "0601023Z0",
            "description": "Metformin hydrochloride/vildagliptin",
            "attributes": null
          }
        ]
      }
    ],
    "status": 1,
    "doi": "https://doi.org/10.48533/61w4-w911",
    "is_deleted": false,
    "publish_status": 2,
    "owner": "fchalmers",
    "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": 9273,
        "version_name": "Diabetes",
        "version_date": "2026-04-23T16:16:54.391584Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]