[
  {
    "phenotype_id": "PH569",
    "phenotype_version_id": 1138,
    "name": "Type 2 Diabetes",
    "definition": "Data source: \n\nWe used the Clinical Practice Research Datalink (CPRD), a large primary care database that holds complete electronic patient records (including diagnoses, prescriptions and referrals) from participating family practices across the UK. A hierarchical clinical coding system (Read) is used to record the data. In July 2012, data were available for 644 practices and 13,772,992 patients. Full details of the database have been provided elsewhere.\n\n\nDiabetes cohort:\n\nWe extracted data from 1 April 2006 to 31 March 2012 and, for ease of reporting and analysing, aggregated information into six financial years. Within each year, practice inclusion eligibility was determined by a CPRD assessment algorithm, which informs on practices considered to be of research standard; therefore, our cohort of practices varied over time. For each research standard practice and year, we defined as eligible patients those who were registered with the practice for the full year and were aged 18 years or over in that year. From these patients, using relevant Read codes for type 2 diabetes (e.g. C10F.00: Type 2 diabetes mellitus) and excluding those treated with insulin within 2 years of diagnosis, we identified 246,544 patients over the study period. Diagnoses were not constrained to the study period and a relevant code prior to the study as well as during the study period would flag a patient from the respective year onwards. Data on sex, age and removal from the database due to deaths were available and complete for all patients.We extracted data on diabetes-related macrovascular (myocardial infarction, stroke, peripheral vascular disease or amputation) and microvascular (retinopathy, neuropathy, nephropathy [chronic kidney disease stages 4–5] or foot ulcer) complications as well as comorbidities (asthma, coronary heart disease, chronic kidney disease [excluded from microvascular analysis], chronic obstructive pulmonary disease, depression, dementia, severe mental illness, heart failure, hypertension, stroke [excluded from macrovascular analysis], cancer, epilepsy, osteoarthritis, osteoporosis and hypothyroidism). Although we aimed to include all conditions associated with diabetes, the choice was partially determined by the domains incentivised under the Quality and Outcomes Framework (QOF), for which accuracy of diagnosis is considered high. Information was also extracted on smoking (never smoked, current, exsmoker and missing data),BMI, HbA1c levels (%), cholesterol levels (mmol/l) and systolic/diastolic BP (mmHg). Biometric measurement data were cleaned and we calculated patient means for each year when more than one relevant record was available. Using product lists we determined prescription prevalence (at least one) for relevant medications: ACE inhibitors, acarbose, α-blockers, anticoagulants, antiplatelet agents, β-blockers, calcium-channel blockers, thiazide diuretics, loop diuretics, dipeptidyl peptidase-4 inhibitors, glucagon-like peptide- 1 agonists, statins and other lipid-lowering drugs, meglitinides , metformin, sulfonylureas and thiazolidinediones. For approximately 60% of the practices, records were linked to Office of National Statistics (ONS) mortality data and we had access to death dates for all their patients. For these, using ICD-10 codes (www.who.int/classifications/icd/en/) we were able to estimate deathslinked to specific causes (underlying or in the top three): diabetes (E10–E16), ischaemic heart disease (I21–I22), stroke (I60–I64) or stroke excluding bleeds (excluding I63).\n\n\n\n\n\n\n\n\n",
    "implementation": "",
    "publications": [
      {
        "doi": null,
        "details": "Evangelos Kontopantelis, David A Springate, David Reeves, Darren M. Aschroff, Martin Rutter, Iain Buchan, Tim Doran, Glucose, blood pressure and cholesterol levels and their relationships to clinical outcomes in type 2 diabetes: a retrospective cohort study. Diabetologia, 58:505-518, 2015. "
      }
    ],
    "validation": "",
    "citation_requirements": "",
    "created": "2021-10-06T16:25:10.398577Z",
    "author": "Evangelos Kontopantelis, David A Springate, David Reeves, Darren M. Aschroff, Martin Rutter, Iain Buchan, Tim Doran, Matthias Pierce, Darren M. Ashcroft",
    "collections": [
      {
        "name": "ClinicalCodes Repository",
        "value": 25
      },
      {
        "name": "Phenotype Library",
        "value": 18
      }
    ],
    "tags": null,
    "organisation": null,
    "world_access": 1,
    "updated": "2021-10-06T16:25:10.398607Z",
    "sex": [
      {
        "name": "Both",
        "value": "3"
      }
    ],
    "type": [
      {
        "name": "Drug",
        "value": "3"
      }
    ],
    "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
      }
    ],
    "coding_system": [
      {
        "name": "Read codes v2",
        "value": 5
      }
    ],
    "event_date_range": "01/04/2006 - 31/03/2012",
    "concept_information": [
      {
        "concept_id": 1968,
        "concept_version_id": 5074,
        "concept_name": "Type 2 Diabetes - Primary Care",
        "coding_system": {
          "id": 5,
          "name": "Read codes v2",
          "description": "Read codes v2"
        },
        "phenotype_id": "PH569",
        "phenotype_version_id": 1138,
        "phenotype_name": "Type 2 Diabetes",
        "code_attribute_header": [
          "Entity type",
          "Category",
          "Coding System (Read)"
        ],
        "codes": [
          {
            "code": "66Ao.00",
            "description": "Diabetes type 2 review",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "66At100",
            "description": "Type II diabetic dietary review",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "66At111",
            "description": "Type 2 diabetic dietary review",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C100112",
            "description": "Non-insulin dependent diabetes mellitus",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109.00",
            "description": "Non-insulin dependent diabetes mellitus",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109000",
            "description": "Non-insulin-dependent diabetes mellitus with renal comps",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109011",
            "description": "Type II diabetes mellitus with renal complications",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109012",
            "description": "Type 2 diabetes mellitus with renal complications",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109100",
            "description": "Non-insulin-dependent diabetes mellitus with ophthalm comps",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109.11",
            "description": "NIDDM - Non-insulin dependent diabetes mellitus",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109111",
            "description": "Type II diabetes mellitus with ophthalmic complications",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109112",
            "description": "Type 2 diabetes mellitus with ophthalmic complications",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109.12",
            "description": "Type 2 diabetes mellitus",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109.13",
            "description": "Type II diabetes mellitus",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109200",
            "description": "Non-insulin-dependent diabetes mellitus with neuro comps",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109211",
            "description": "Type II diabetes mellitus with neurological complications",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109212",
            "description": "Type 2 diabetes mellitus with neurological complications",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109300",
            "description": "Non-insulin-dependent diabetes mellitus with multiple comps",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109400",
            "description": "Non-insulin dependent diabetes mellitus with ulcer",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109411",
            "description": "Type II diabetes mellitus with ulcer",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109412",
            "description": "Type 2 diabetes mellitus with ulcer",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109500",
            "description": "Non-insulin dependent diabetes mellitus with gangrene",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109511",
            "description": "Type II diabetes mellitus with gangrene",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109512",
            "description": "Type 2 diabetes mellitus with gangrene",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109600",
            "description": "Non-insulin-dependent diabetes mellitus with retinopathy",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109611",
            "description": "Type II diabetes mellitus with retinopathy",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109612",
            "description": "Type 2 diabetes mellitus with retinopathy",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109700",
            "description": "Non-insulin dependent diabetes mellitus - poor control",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109711",
            "description": "Type II diabetes mellitus - poor control",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109712",
            "description": "Type 2 diabetes mellitus - poor control",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109900",
            "description": "Non-insulin-dependent diabetes mellitus without complication",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109A00",
            "description": "Non-insulin dependent diabetes mellitus with mononeuropathy",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109A11",
            "description": "Type II diabetes mellitus with mononeuropathy",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109B00",
            "description": "Non-insulin dependent diabetes mellitus with polyneuropathy",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109B11",
            "description": "Type II diabetes mellitus with polyneuropathy",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109C00",
            "description": "Non-insulin dependent diabetes mellitus with nephropathy",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109C11",
            "description": "Type II diabetes mellitus with nephropathy",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109C12",
            "description": "Type 2 diabetes mellitus with nephropathy",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109D00",
            "description": "Non-insulin dependent diabetes mellitus with hypoglyca coma",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109D11",
            "description": "Type II diabetes mellitus with hypoglycaemic coma",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109D12",
            "description": "Type 2 diabetes mellitus with hypoglycaemic coma",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109E00",
            "description": "Non-insulin depend diabetes mellitus with diabetic cataract",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109E11",
            "description": "Type II diabetes mellitus with diabetic cataract",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109E12",
            "description": "Type 2 diabetes mellitus with diabetic cataract",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109F11",
            "description": "Type II diabetes mellitus with peripheral angiopathy",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109F12",
            "description": "Type 2 diabetes mellitus with peripheral angiopathy",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109G00",
            "description": "Non-insulin dependent diabetes mellitus with arthropathy",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109G11",
            "description": "Type II diabetes mellitus with arthropathy",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109G12",
            "description": "Type 2 diabetes mellitus with arthropathy",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109H11",
            "description": "Type II diabetes mellitus with neuropathic arthropathy",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109H12",
            "description": "Type 2 diabetes mellitus with neuropathic arthropathy",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109J00",
            "description": "Insulin treated Type 2 diabetes mellitus",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109J11",
            "description": "Insulin treated non-insulin dependent diabetes mellitus",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109J12",
            "description": "Insulin treated Type II diabetes mellitus",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C109K00",
            "description": "Hyperosmolar non-ketotic state in type 2 diabetes mellitus",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10D.00",
            "description": "Diabetes mellitus autosomal dominant type 2",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10F.00",
            "description": "Type 2 diabetes mellitus",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10F000",
            "description": "Type 2 diabetes mellitus with renal complications",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10F011",
            "description": "Type II diabetes mellitus with renal complications",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10F100",
            "description": "Type 2 diabetes mellitus with ophthalmic complications",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10F.11",
            "description": "Type II diabetes mellitus",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10F111",
            "description": "Type II diabetes mellitus with ophthalmic complications",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10F200",
            "description": "Type 2 diabetes mellitus with neurological complications",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10F211",
            "description": "Type II diabetes mellitus with neurological complications",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10F300",
            "description": "Type 2 diabetes mellitus with multiple complications",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10F311",
            "description": "Type II diabetes mellitus with multiple complications",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10F400",
            "description": "Type 2 diabetes mellitus with ulcer",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10F411",
            "description": "Type II diabetes mellitus with ulcer",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10F500",
            "description": "Type 2 diabetes mellitus with gangrene",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10F511",
            "description": "Type II diabetes mellitus with gangrene",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10F600",
            "description": "Type 2 diabetes mellitus with retinopathy",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10F611",
            "description": "Type II diabetes mellitus with retinopathy",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10F700",
            "description": "Type 2 diabetes mellitus - poor control",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10F711",
            "description": "Type II diabetes mellitus - poor control",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10F900",
            "description": "Type 2 diabetes mellitus without complication",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10F911",
            "description": "Type II diabetes mellitus without complication",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10FA00",
            "description": "Type 2 diabetes mellitus with mononeuropathy",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10FA11",
            "description": "Type II diabetes mellitus with mononeuropathy",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10FB00",
            "description": "Type 2 diabetes mellitus with polyneuropathy",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10FB11",
            "description": "Type II diabetes mellitus with polyneuropathy",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10FC00",
            "description": "Type 2 diabetes mellitus with nephropathy",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10FC11",
            "description": "Type II diabetes mellitus with nephropathy",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10FD00",
            "description": "Type 2 diabetes mellitus with hypoglycaemic coma",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10FD11",
            "description": "Type II diabetes mellitus with hypoglycaemic coma",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10FE00",
            "description": "Type 2 diabetes mellitus with diabetic cataract",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10FE11",
            "description": "Type II diabetes mellitus with diabetic cataract",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10FF00",
            "description": "Type 2 diabetes mellitus with peripheral angiopathy",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10FG00",
            "description": "Type 2 diabetes mellitus with arthropathy",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10FG11",
            "description": "Type II diabetes mellitus with arthropathy",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10FH00",
            "description": "Type 2 diabetes mellitus with neuropathic arthropathy",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10FJ00",
            "description": "Insulin treated Type 2 diabetes mellitus",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10FJ11",
            "description": "Insulin treated Type II diabetes mellitus",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10FK00",
            "description": "Hyperosmolar non-ketotic state in type 2 diabetes mellitus",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10FL00",
            "description": "Type 2 diabetes mellitus with persistent proteinuria",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10FL11",
            "description": "Type II diabetes mellitus with persistent proteinuria",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10FM00",
            "description": "Type 2 diabetes mellitus with persistent microalbuminuria",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10FM11",
            "description": "Type II diabetes mellitus with persistent microalbuminuria",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10FN00",
            "description": "Type 2 diabetes mellitus with ketoacidosis",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10FP00",
            "description": "Type 2 diabetes mellitus with ketoacidotic coma",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10FQ00",
            "description": "Type 2 diabetes mellitus with exudative maculopathy",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "C10FR00",
            "description": "Type 2 diabetes mellitus with gastroparesis",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "ZC2CA00",
            "description": "Dietary advice for type II diabetes",
            "attributes": {
              "Entity type": "Type 2 Diabetes",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          }
        ]
      }
    ],
    "status": 2,
    "doi": "https://doi.org/10.48533/314h-c482",
    "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": 1138,
        "version_name": "Type 2 Diabetes",
        "version_date": "2021-10-06T16:25:10.428137Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]