[
  {
    "phenotype_id": "PH832",
    "phenotype_version_id": 1743,
    "name": "Diabetes",
    "definition": "We generated a cohort of 25 million patients from 1831 UK general practices registered with the Clinical Practice Research Datalink (CPRD) Aurum (inEngland) and CPRD GOLD (in Northern Ireland, Scotland, and Wales) databases. The cohort included 14 929 251 patients (median age 41 years [IQR 25–59]; 7 461 565 [50·0%] of whom were women), who were followed between March 1 and Dec 10, 2020. We aimed to compare: (1) the UK-wide incidence of type 2 diabetes; (2) the frequency of HbA1c testing; and (3) mortality in people with type 2 diabetes, by nation, before and after the first nationwide COVID-19 lockdown, which began in March 23, 2020 (appendix pp 1–3). There were 790 377 (5·3%) people with type 2 diabetes in the cohort (median age 67 years (IQR 57–76); 348 515 (44·1%) of whom were women).\n\n\n\n\n\n\n\n\n",
    "implementation": "",
    "publications": [
      {
        "doi": null,
        "details": "Matthew J Carr, Alison K Wright, Lalantha Leelarantha, Hood Thabit, Nicola Milne, Naresh Kanumilli, Darren M Ashcroft, Martin K Rutter, Impact of COVID-19 on diagnoses, monitoring, and mortality in people with type 2 diabetes in the UK. The Lancet Diabetes Endocrinology, 9, 2021."
      }
    ],
    "validation": "",
    "citation_requirements": "",
    "created": "2022-04-04T07:06:08.532116Z",
    "author": "Matthew J Carr, Alison K Wright, Lalantha Leelarantha, Hood Thabit, Nicola Milne, Naresh Kanumilli, Darren M Ashcroft, Martin K Rutter",
    "collections": [
      {
        "name": "ClinicalCodes Repository",
        "value": 25
      },
      {
        "name": "Phenotype Library",
        "value": 18
      }
    ],
    "tags": null,
    "organisation": null,
    "world_access": 1,
    "updated": "2022-04-04T07:06:08.532141Z",
    "sex": [
      {
        "name": "Both",
        "value": "3"
      }
    ],
    "type": [
      {
        "name": "Disease or syndrome",
        "value": "2"
      }
    ],
    "ontology": null,
    "phenoflowid": "",
    "data_sources": [
      {
        "name": "CPRD GOLD",
        "value": 5,
        "uid": "a29feafa-7bdd-44e9-b977-c9d26425e67f",
        "url": "https://healthdatagateway.org/en/dataset/694",
        "datasource_id": 694
      },
      {
        "name": "CPRD Aurum",
        "value": 6,
        "uid": "1d574c14-1af0-490d-9c4e-be88cfd0e345",
        "url": "https://healthdatagateway.org/en/dataset/692",
        "datasource_id": 692
      }
    ],
    "coding_system": [
      {
        "name": "Read codes v2",
        "value": 5
      },
      {
        "name": "SNOMED  CT codes",
        "value": 9
      }
    ],
    "event_date_range": "01/01/2010 - 29/02/2020",
    "concept_information": [
      {
        "concept_id": 2587,
        "concept_version_id": 6587,
        "concept_name": "Diabetes - Primary Care",
        "coding_system": {
          "id": 5,
          "name": "Read codes v2",
          "description": "Read codes v2"
        },
        "phenotype_id": "PH832",
        "phenotype_version_id": 1743,
        "phenotype_name": "Diabetes",
        "code_attribute_header": [
          "Entity type",
          "Coding System (Read SNOMED)",
          "Category"
        ],
        "codes": [
          {
            "code": "C100011",
            "description": "Insulin dependent diabetes mellitus",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C100112",
            "description": "Non-insulin dependent diabetes mellitus",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C107300",
            "description": "IDDM with peripheral circulatory disorder",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C107400",
            "description": "NIDDM with peripheral circulatory disorder",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108.00",
            "description": "Insulin dependent diabetes mellitus",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108000",
            "description": "Insulin-dependent diabetes mellitus with renal complications",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108011",
            "description": "Type I diabetes mellitus with renal complications",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108012",
            "description": "Type 1 diabetes mellitus with renal complications",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108100",
            "description": "Insulin-dependent diabetes mellitus with ophthalmic comps",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108.11",
            "description": "IDDM-Insulin dependent diabetes mellitus",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108111",
            "description": "Type I diabetes mellitus with ophthalmic complications",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108112",
            "description": "Type 1 diabetes mellitus with ophthalmic complications",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108.12",
            "description": "Type 1 diabetes mellitus",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108.13",
            "description": "Type I diabetes mellitus",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108200",
            "description": "Insulin-dependent diabetes mellitus with neurological comps",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108211",
            "description": "Type I diabetes mellitus with neurological complications",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108212",
            "description": "Type 1 diabetes mellitus with neurological complications",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108300",
            "description": "Insulin dependent diabetes mellitus with multiple complicatn",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108311",
            "description": "Type I diabetes mellitus with multiple complications",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108312",
            "description": "Type 1 diabetes mellitus with multiple complications",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108400",
            "description": "Unstable insulin dependent diabetes mellitus",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108411",
            "description": "Unstable type I diabetes mellitus",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108412",
            "description": "Unstable type 1 diabetes mellitus",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108500",
            "description": "Insulin dependent diabetes mellitus with ulcer",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108511",
            "description": "Type I diabetes mellitus with ulcer",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108512",
            "description": "Type 1 diabetes mellitus with ulcer",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108600",
            "description": "Insulin dependent diabetes mellitus with gangrene",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108611",
            "description": "Type I diabetes mellitus with gangrene",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108612",
            "description": "Type 1 diabetes mellitus with gangrene",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108700",
            "description": "Insulin dependent diabetes mellitus with retinopathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108711",
            "description": "Type I diabetes mellitus with retinopathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108712",
            "description": "Type 1 diabetes mellitus with retinopathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108800",
            "description": "Insulin dependent diabetes mellitus - poor control",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108811",
            "description": "Type I diabetes mellitus - poor control",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108812",
            "description": "Type 1 diabetes mellitus - poor control",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108900",
            "description": "Insulin dependent diabetes maturity onset",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108911",
            "description": "Type I diabetes mellitus maturity onset",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108912",
            "description": "Type 1 diabetes mellitus maturity onset",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108A00",
            "description": "Insulin-dependent diabetes without complication",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108A11",
            "description": "Type I diabetes mellitus without complication",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108A12",
            "description": "Type 1 diabetes mellitus without complication",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108B00",
            "description": "Insulin dependent diabetes mellitus with mononeuropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108B11",
            "description": "Type I diabetes mellitus with mononeuropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108B12",
            "description": "Type 1 diabetes mellitus with mononeuropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108C00",
            "description": "Insulin dependent diabetes mellitus with polyneuropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108C11",
            "description": "Type I diabetes mellitus with polyneuropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108C12",
            "description": "Type 1 diabetes mellitus with polyneuropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108D00",
            "description": "Insulin dependent diabetes mellitus with nephropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108D11",
            "description": "Type I diabetes mellitus with nephropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108D12",
            "description": "Type 1 diabetes mellitus with nephropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108E00",
            "description": "Insulin dependent diabetes mellitus with hypoglycaemic coma",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108E11",
            "description": "Type I diabetes mellitus with hypoglycaemic coma",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108E12",
            "description": "Type 1 diabetes mellitus with hypoglycaemic coma",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108F00",
            "description": "Insulin dependent diabetes mellitus with diabetic cataract",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108F11",
            "description": "Type I diabetes mellitus with diabetic cataract",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108F12",
            "description": "Type 1 diabetes mellitus with diabetic cataract",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108G00",
            "description": "Insulin dependent diab mell with peripheral angiopathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108G11",
            "description": "Type I diabetes mellitus with peripheral angiopathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108G12",
            "description": "Type 1 diabetes mellitus with peripheral angiopathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108H00",
            "description": "Insulin dependent diabetes mellitus with arthropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108H11",
            "description": "Type I diabetes mellitus with arthropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108H12",
            "description": "Type 1 diabetes mellitus with arthropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108J00",
            "description": "Insulin dependent diab mell with neuropathic arthropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108J11",
            "description": "Type I diabetes mellitus with neuropathic arthropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C108J12",
            "description": "Type 1 diabetes mellitus with neuropathic arthropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109.00",
            "description": "Non-insulin dependent diabetes mellitus",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109000",
            "description": "Non-insulin-dependent diabetes mellitus with renal comps",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109011",
            "description": "Type II diabetes mellitus with renal complications",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109012",
            "description": "Type 2 diabetes mellitus with renal complications",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109100",
            "description": "Non-insulin-dependent diabetes mellitus with ophthalm comps",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109.11",
            "description": "NIDDM - Non-insulin dependent diabetes mellitus",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109111",
            "description": "Type II diabetes mellitus with ophthalmic complications",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109112",
            "description": "Type 2 diabetes mellitus with ophthalmic complications",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109.12",
            "description": "Type 2 diabetes mellitus",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109.13",
            "description": "Type II diabetes mellitus",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109200",
            "description": "Non-insulin-dependent diabetes mellitus with neuro comps",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109211",
            "description": "Type II diabetes mellitus with neurological complications",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109212",
            "description": "Type 2 diabetes mellitus with neurological complications",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109300",
            "description": "Non-insulin-dependent diabetes mellitus with multiple comps",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109311",
            "description": "Type II diabetes mellitus with multiple complications",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109312",
            "description": "Type 2 diabetes mellitus with multiple complications",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109400",
            "description": "Non-insulin dependent diabetes mellitus with ulcer",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109411",
            "description": "Type II diabetes mellitus with ulcer",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109412",
            "description": "Type 2 diabetes mellitus with ulcer",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109500",
            "description": "Non-insulin dependent diabetes mellitus with gangrene",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109511",
            "description": "Type II diabetes mellitus with gangrene",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109512",
            "description": "Type 2 diabetes mellitus with gangrene",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109600",
            "description": "Non-insulin-dependent diabetes mellitus with retinopathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109611",
            "description": "Type II diabetes mellitus with retinopathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109612",
            "description": "Type 2 diabetes mellitus with retinopathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109700",
            "description": "Non-insulin dependent diabetes mellitus - poor control",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109711",
            "description": "Type II diabetes mellitus - poor control",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109712",
            "description": "Type 2 diabetes mellitus - poor control",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109900",
            "description": "Non-insulin-dependent diabetes mellitus without complication",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109911",
            "description": "Type II diabetes mellitus without complication",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109912",
            "description": "Type 2 diabetes mellitus without complication",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109A00",
            "description": "Non-insulin dependent diabetes mellitus with mononeuropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109A11",
            "description": "Type II diabetes mellitus with mononeuropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109A12",
            "description": "Type 2 diabetes mellitus with mononeuropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109B00",
            "description": "Non-insulin dependent diabetes mellitus with polyneuropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109B11",
            "description": "Type II diabetes mellitus with polyneuropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109B12",
            "description": "Type 2 diabetes mellitus with polyneuropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109C00",
            "description": "Non-insulin dependent diabetes mellitus with nephropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109C11",
            "description": "Type II diabetes mellitus with nephropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109C12",
            "description": "Type 2 diabetes mellitus with nephropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109D00",
            "description": "Non-insulin dependent diabetes mellitus with hypoglyca coma",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109D11",
            "description": "Type II diabetes mellitus with hypoglycaemic coma",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109D12",
            "description": "Type 2 diabetes mellitus with hypoglycaemic coma",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109E00",
            "description": "Non-insulin depend diabetes mellitus with diabetic cataract",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109E11",
            "description": "Type II diabetes mellitus with diabetic cataract",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109E12",
            "description": "Type 2 diabetes mellitus with diabetic cataract",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109F00",
            "description": "Non-insulin-dependent d m with peripheral angiopath",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109F11",
            "description": "Type II diabetes mellitus with peripheral angiopathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109F12",
            "description": "Type 2 diabetes mellitus with peripheral angiopathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109G00",
            "description": "Non-insulin dependent diabetes mellitus with arthropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109G11",
            "description": "Type II diabetes mellitus with arthropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109G12",
            "description": "Type 2 diabetes mellitus with arthropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109H00",
            "description": "Non-insulin dependent d m with neuropathic arthropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109H11",
            "description": "Type II diabetes mellitus with neuropathic arthropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109H12",
            "description": "Type 2 diabetes mellitus with neuropathic arthropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109J00",
            "description": "Insulin treated Type 2 diabetes mellitus",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109J11",
            "description": "Insulin treated non-insulin dependent diabetes mellitus",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109J12",
            "description": "Insulin treated Type II diabetes mellitus",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C109K00",
            "description": "Hyperosmolar non-ketotic state in type 2 diabetes mellitus",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10E.00",
            "description": "Type 1 diabetes mellitus",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10E000",
            "description": "Type 1 diabetes mellitus with renal complications",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10E011",
            "description": "Type I diabetes mellitus with renal complications",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10E012",
            "description": "Insulin-dependent diabetes mellitus with renal complications",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10E100",
            "description": "Type 1 diabetes mellitus with ophthalmic complications",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10E.11",
            "description": "Type I diabetes mellitus",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10E111",
            "description": "Type I diabetes mellitus with ophthalmic complications",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10E112",
            "description": "Insulin-dependent diabetes mellitus with ophthalmic comps",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10E.12",
            "description": "Insulin dependent diabetes mellitus",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10E200",
            "description": "Type 1 diabetes mellitus with neurological complications",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10E211",
            "description": "Type I diabetes mellitus with neurological complications",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10E212",
            "description": "Insulin-dependent diabetes mellitus with neurological comps",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10E300",
            "description": "Type 1 diabetes mellitus with multiple complications",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10E311",
            "description": "Type I diabetes mellitus with multiple complications",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10E312",
            "description": "Insulin dependent diabetes mellitus with multiple complicat",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10E400",
            "description": "Unstable type 1 diabetes mellitus",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10E411",
            "description": "Unstable type I diabetes mellitus",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10E412",
            "description": "Unstable insulin dependent diabetes mellitus",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10E500",
            "description": "Type 1 diabetes mellitus with ulcer",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10E511",
            "description": "Type I diabetes mellitus with ulcer",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10E512",
            "description": "Insulin dependent diabetes mellitus with ulcer",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10E600",
            "description": "Type 1 diabetes mellitus with gangrene",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10E611",
            "description": "Type I diabetes mellitus with gangrene",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10E612",
            "description": "Insulin dependent diabetes mellitus with gangrene",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10E700",
            "description": "Type 1 diabetes mellitus with retinopathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10E711",
            "description": "Type I diabetes mellitus with retinopathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10E712",
            "description": "Insulin dependent diabetes mellitus with retinopathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10E800",
            "description": "Type 1 diabetes mellitus - poor control",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10E811",
            "description": "Type I diabetes mellitus - poor control",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10E812",
            "description": "Insulin dependent diabetes mellitus - poor control",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10E900",
            "description": "Type 1 diabetes mellitus maturity onset",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10E911",
            "description": "Type I diabetes mellitus maturity onset",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10E912",
            "description": "Insulin dependent diabetes maturity onset",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10EA00",
            "description": "Type 1 diabetes mellitus without complication",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10EA11",
            "description": "Type I diabetes mellitus without complication",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10EA12",
            "description": "Insulin-dependent diabetes without complication",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10EB00",
            "description": "Type 1 diabetes mellitus with mononeuropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10EB11",
            "description": "Type I diabetes mellitus with mononeuropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10EB12",
            "description": "Insulin dependent diabetes mellitus with mononeuropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10EC00",
            "description": "Type 1 diabetes mellitus with polyneuropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10EC11",
            "description": "Type I diabetes mellitus with polyneuropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10EC12",
            "description": "Insulin dependent diabetes mellitus with polyneuropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10ED00",
            "description": "Type 1 diabetes mellitus with nephropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10ED11",
            "description": "Type I diabetes mellitus with nephropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10ED12",
            "description": "Insulin dependent diabetes mellitus with nephropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10EE00",
            "description": "Type 1 diabetes mellitus with hypoglycaemic coma",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10EE11",
            "description": "Type I diabetes mellitus with hypoglycaemic coma",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10EE12",
            "description": "Insulin dependent diabetes mellitus with hypoglycaemic coma",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10EF00",
            "description": "Type 1 diabetes mellitus with diabetic cataract",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10EF11",
            "description": "Type I diabetes mellitus with diabetic cataract",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10EF12",
            "description": "Insulin dependent diabetes mellitus with diabetic cataract",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10EG00",
            "description": "Type 1 diabetes mellitus with peripheral angiopathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10EG11",
            "description": "Type I diabetes mellitus with peripheral angiopathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10EG12",
            "description": "Insulin dependent diab mell with peripheral angiopathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10EH00",
            "description": "Type 1 diabetes mellitus with arthropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10EH11",
            "description": "Type I diabetes mellitus with arthropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10EH12",
            "description": "Insulin dependent diabetes mellitus with arthropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10EJ00",
            "description": "Type 1 diabetes mellitus with neuropathic arthropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10EJ11",
            "description": "Type I diabetes mellitus with neuropathic arthropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10EJ12",
            "description": "Insulin dependent diab mell with neuropathic arthropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10EK00",
            "description": "Type 1 diabetes mellitus with persistent proteinuria",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10EK11",
            "description": "Type I diabetes mellitus with persistent proteinuria",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10EL00",
            "description": "Type 1 diabetes mellitus with persistent microalbuminuria",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10EL11",
            "description": "Type I diabetes mellitus with persistent microalbuminuria",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10EM00",
            "description": "Type 1 diabetes mellitus with ketoacidosis",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10EM11",
            "description": "Type I diabetes mellitus with ketoacidosis",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10EN00",
            "description": "Type 1 diabetes mellitus with ketoacidotic coma",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10EN11",
            "description": "Type I diabetes mellitus with ketoacidotic coma",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10EP00",
            "description": "Type 1 diabetes mellitus with exudative maculopathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10EP11",
            "description": "Type I diabetes mellitus with exudative maculopathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10EQ00",
            "description": "Type 1 diabetes mellitus with gastroparesis",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10EQ11",
            "description": "Type I diabetes mellitus with gastroparesis",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10F.00",
            "description": "Type 2 diabetes mellitus",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10F000",
            "description": "Type 2 diabetes mellitus with renal complications",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10F011",
            "description": "Type II diabetes mellitus with renal complications",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10F100",
            "description": "Type 2 diabetes mellitus with ophthalmic complications",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10F.11",
            "description": "Type II diabetes mellitus",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10F111",
            "description": "Type II diabetes mellitus with ophthalmic complications",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10F200",
            "description": "Type 2 diabetes mellitus with neurological complications",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10F211",
            "description": "Type II diabetes mellitus with neurological complications",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10F300",
            "description": "Type 2 diabetes mellitus with multiple complications",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10F311",
            "description": "Type II diabetes mellitus with multiple complications",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10F400",
            "description": "Type 2 diabetes mellitus with ulcer",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10F411",
            "description": "Type II diabetes mellitus with ulcer",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10F500",
            "description": "Type 2 diabetes mellitus with gangrene",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10F511",
            "description": "Type II diabetes mellitus with gangrene",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10F600",
            "description": "Type 2 diabetes mellitus with retinopathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10F611",
            "description": "Type II diabetes mellitus with retinopathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10F700",
            "description": "Type 2 diabetes mellitus - poor control",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10F711",
            "description": "Type II diabetes mellitus - poor control",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10F900",
            "description": "Type 2 diabetes mellitus without complication",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10F911",
            "description": "Type II diabetes mellitus without complication",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10FA00",
            "description": "Type 2 diabetes mellitus with mononeuropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10FA11",
            "description": "Type II diabetes mellitus with mononeuropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10FB00",
            "description": "Type 2 diabetes mellitus with polyneuropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10FB11",
            "description": "Type II diabetes mellitus with polyneuropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10FC00",
            "description": "Type 2 diabetes mellitus with nephropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10FC11",
            "description": "Type II diabetes mellitus with nephropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10FD00",
            "description": "Type 2 diabetes mellitus with hypoglycaemic coma",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10FD11",
            "description": "Type II diabetes mellitus with hypoglycaemic coma",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10FE00",
            "description": "Type 2 diabetes mellitus with diabetic cataract",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10FE11",
            "description": "Type II diabetes mellitus with diabetic cataract",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10FF00",
            "description": "Type 2 diabetes mellitus with peripheral angiopathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10FF11",
            "description": "Type II diabetes mellitus with peripheral angiopathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10FG00",
            "description": "Type 2 diabetes mellitus with arthropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10FG11",
            "description": "Type II diabetes mellitus with arthropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10FH00",
            "description": "Type 2 diabetes mellitus with neuropathic arthropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10FH11",
            "description": "Type II diabetes mellitus with neuropathic arthropathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10FJ00",
            "description": "Insulin treated Type 2 diabetes mellitus",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10FJ11",
            "description": "Insulin treated Type II diabetes mellitus",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10FK00",
            "description": "Hyperosmolar non-ketotic state in type 2 diabetes mellitus",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10FK11",
            "description": "Hyperosmolar non-ketotic state in type II diabetes mellitus",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10FL00",
            "description": "Type 2 diabetes mellitus with persistent proteinuria",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10FL11",
            "description": "Type II diabetes mellitus with persistent proteinuria",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10FM00",
            "description": "Type 2 diabetes mellitus with persistent microalbuminuria",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10FM11",
            "description": "Type II diabetes mellitus with persistent microalbuminuria",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10FN00",
            "description": "Type 2 diabetes mellitus with ketoacidosis",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10FN11",
            "description": "Type II diabetes mellitus with ketoacidosis",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10FP00",
            "description": "Type 2 diabetes mellitus with ketoacidotic coma",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10FP11",
            "description": "Type II diabetes mellitus with ketoacidotic coma",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10FQ00",
            "description": "Type 2 diabetes mellitus with exudative maculopathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10FQ11",
            "description": "Type II diabetes mellitus with exudative maculopathy",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10FR00",
            "description": "Type 2 diabetes mellitus with gastroparesis",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "C10FR11",
            "description": "Type II diabetes mellitus with gastroparesis",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "Read",
              "Category": "diagnostic"
            }
          }
        ]
      },
      {
        "concept_id": 2588,
        "concept_version_id": 6589,
        "concept_name": "Diabetes - Primary Care",
        "coding_system": {
          "id": 9,
          "name": "SNOMED  CT codes",
          "description": "SNOMED CT codes"
        },
        "phenotype_id": "PH832",
        "phenotype_version_id": 1743,
        "phenotype_name": "Diabetes",
        "code_attribute_header": [
          "Entity type",
          "Coding System (Read SNOMED)",
          "Category"
        ],
        "codes": [
          {
            "code": "2967590010",
            "description": "Angina associated with type II diabetes mellitus",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "SNOMED",
              "Category": "diagnostic"
            }
          },
          {
            "code": "2967662015",
            "description": "Diabetic angina pectoris associated with type 2 diabetes mellitus",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "SNOMED",
              "Category": "diagnostic"
            }
          },
          {
            "code": "2967773018",
            "description": "Angina associated with type 2 diabetes mellitus",
            "attributes": {
              "Entity type": "res166: Diabetes",
              "Coding System (Read SNOMED)": "SNOMED",
              "Category": "diagnostic"
            }
          }
        ]
      }
    ],
    "status": 2,
    "doi": "https://doi.org/10.48533/sy84-am24",
    "is_deleted": null,
    "publish_status": 2,
    "owner": "ieuan.scanlon",
    "template": {
      "id": 1,
      "name": "Clinical-Coded Phenotype",
      "description": "Phenotype definitions that are based on lists of clinical codes, or algorithms using clinical codes.",
      "version_id": 1
    },
    "versions": [
      {
        "version_id": 1743,
        "version_name": "Diabetes",
        "version_date": "2022-04-04T07:06:08.562190Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]