[
  {
    "phenotype_id": "PH544",
    "phenotype_version_id": 1088,
    "name": "Macrovascular Complications",
    "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:24:24.328597Z",
    "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:24:24.328625Z",
    "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
      }
    ],
    "coding_system": [
      {
        "name": "Read codes v2",
        "value": 5
      }
    ],
    "event_date_range": "01/04/2006 - 31/03/2012",
    "concept_information": [
      {
        "concept_id": 1935,
        "concept_version_id": 5008,
        "concept_name": "Macrovascular Complications - Primary Care",
        "coding_system": {
          "id": 5,
          "name": "Read codes v2",
          "description": "Read codes v2"
        },
        "phenotype_id": "PH544",
        "phenotype_version_id": 1088,
        "phenotype_name": "Macrovascular Complications",
        "code_attribute_header": [
          "Entity type",
          "Category",
          "Coding System (Read)"
        ],
        "codes": [
          {
            "code": "7L06.00",
            "description": "Amputation of leg",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "7L06400",
            "description": "Amputation below knee",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "7L07.00",
            "description": "Amputation of foot",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "7L07000",
            "description": "Amputation through ankle",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "7L07012",
            "description": "Syme amputation of foot through ankle",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "7L07300",
            "description": "Amputation through metatarsal bones",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "7L07y00",
            "description": "Other specified amputation of foot",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "7L07z00",
            "description": "Amputation of foot NOS",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "7L08.00",
            "description": "Amputation of toe",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "7L08011",
            "description": "Amputation great toe",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "7L08100",
            "description": "Amputation of phalanx of toe",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "7L08300",
            "description": "Amputation lesser toe",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "7L08y00",
            "description": "Other specified amputation of toe",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "7L08z00",
            "description": "Amputation of toe NOS",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "7L0L200",
            "description": "Amputation of supernumerary toe",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G30..00",
            "description": "Acute myocardial infarction",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G300.00",
            "description": "Acute anterolateral infarction",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G301.00",
            "description": "Other specified anterior myocardial infarction",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G301000",
            "description": "Acute anteroapical infarction",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G301100",
            "description": "Acute anteroseptal infarction",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G30..12",
            "description": "Coronary thrombosis",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G30..13",
            "description": "Cardiac rupture following myocardial infarction (MI)",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G30..15",
            "description": "MI - acute myocardial infarction",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G30..16",
            "description": "Thrombosis - coronary",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G30..17",
            "description": "Silent myocardial infarction",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G301z00",
            "description": "Anterior myocardial infarction NOS",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G302.00",
            "description": "Acute inferolateral infarction",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G303.00",
            "description": "Acute inferoposterior infarction",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G304.00",
            "description": "Posterior myocardial infarction NOS",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G305.00",
            "description": "Lateral myocardial infarction NOS",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G306.00",
            "description": "True posterior myocardial infarction",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G307.00",
            "description": "Acute subendocardial infarction",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G307000",
            "description": "Acute non-Q wave infarction",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G307100",
            "description": "Acute non-ST segment elevation myocardial infarction",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G308.00",
            "description": "Inferior myocardial infarction NOS",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G309.00",
            "description": "Acute Q-wave infarct",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G30B.00",
            "description": "Acute posterolateral myocardial infarction",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G30X.00",
            "description": "Acute transmural myocardial infarction of unspecif site",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G30X000",
            "description": "Acute ST segment elevation myocardial infarction",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G30y.00",
            "description": "Other acute myocardial infarction",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G30y100",
            "description": "Acute papillary muscle infarction",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G30y200",
            "description": "Acute septal infarction",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G30yz00",
            "description": "Other acute myocardial infarction NOS",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G30z.00",
            "description": "Acute myocardial infarction NOS",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G311000",
            "description": "Myocardial infarction aborted",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G311011",
            "description": "MI - myocardial infarction aborted",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G311500",
            "description": "Acute coronary syndrome",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G35..00",
            "description": "Subsequent myocardial infarction",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G350.00",
            "description": "Subsequent myocardial infarction of anterior wall",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G351.00",
            "description": "Subsequent myocardial infarction of inferior wall",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G353.00",
            "description": "Subsequent myocardial infarction of other sites",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G35X.00",
            "description": "Subsequent myocardial infarction of unspecified site",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G360.00",
            "description": "Haemopericardium/current comp folow acut myocard infarct",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G362.00",
            "description": "Ventric septal defect/curr comp fol acut myocardal infarctn",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G363.00",
            "description": "Ruptur cardiac wall w'out haemopericard/cur comp fol ac MI",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G364.00",
            "description": "Ruptur chordae tendinae/curr comp fol acute myocard infarct",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G365.00",
            "description": "Rupture papillary muscle/curr comp fol acute myocard infarct",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G38..00",
            "description": "Postoperative myocardial infarction",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G380.00",
            "description": "Postoperative transmural myocardial infarction anterior wall",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G381.00",
            "description": "Postoperative transmural myocardial infarction inferior wall",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G384.00",
            "description": "Postoperative subendocardial myocardial infarction",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G38z.00",
            "description": "Postoperative myocardial infarction; unspecified",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G574011",
            "description": "Cardiac arrest-ventricular fibrillation",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G575.00",
            "description": "Cardiac arrest",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G575000",
            "description": "Cardiac arrest with successful resuscitation",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G575100",
            "description": "Sudden cardiac death; so described",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G575.11",
            "description": "Cardio-respiratory arrest",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G575.12",
            "description": "Asystole",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G575z00",
            "description": "Cardiac arrest; unspecified",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G61..00",
            "description": "Intracerebral haemorrhage",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G610.00",
            "description": "Cortical haemorrhage",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G611.00",
            "description": "Internal capsule haemorrhage",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G61..11",
            "description": "CVA - cerebrovascular accid due to intracerebral haemorrhage",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G61..12",
            "description": "Stroke due to intracerebral haemorrhage",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G612.00",
            "description": "Basal nucleus haemorrhage",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G613.00",
            "description": "Cerebellar haemorrhage",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G614.00",
            "description": "Pontine haemorrhage",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G615.00",
            "description": "Bulbar haemorrhage",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G616.00",
            "description": "External capsule haemorrhage",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G617.00",
            "description": "Intracerebral haemorrhage; intraventricular",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G618.00",
            "description": "Intracerebral haemorrhage; multiple localized",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G61X.00",
            "description": "Intracerebral haemorrhage in hemisphere; unspecified",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G61X000",
            "description": "Left sided intracerebral haemorrhage; unspecified",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G61X100",
            "description": "Right sided intracerebral haemorrhage; unspecified",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G61z.00",
            "description": "Intracerebral haemorrhage NOS",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G63..00",
            "description": "Precerebral arterial occlusion",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G63..11",
            "description": "Infarction - precerebral",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G632.00",
            "description": "Vertebral artery occlusion",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G63y000",
            "description": "Cerebral infarct due to thrombosis of precerebral arteries",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G63y100",
            "description": "Cerebral infarction due to embolism of precerebral arteries",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G640.00",
            "description": "Cerebral thrombosis",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G640000",
            "description": "Cerebral infarction due to thrombosis of cerebral arteries",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G641.00",
            "description": "Cerebral embolism",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G641000",
            "description": "Cerebral infarction due to embolism of cerebral arteries",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G641.11",
            "description": "Cerebral embolus",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G64..12",
            "description": "Infarction - cerebral",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G64..13",
            "description": "Stroke due to cerebral arterial occlusion",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G64z.00",
            "description": "Cerebral infarction NOS",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G64z000",
            "description": "Brainstem infarction",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G64z.11",
            "description": "Brainstem infarction NOS",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G64z111",
            "description": "Lateral medullary syndrome",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G64z.12",
            "description": "Cerebellar infarction",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G64z200",
            "description": "Left sided cerebral infarction",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G64z300",
            "description": "Right sided cerebral infarction",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G64z400",
            "description": "Infarction of basal ganglia",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G66..00",
            "description": "Stroke and cerebrovascular accident unspecified",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G661.00",
            "description": "Anterior cerebral artery syndrome",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G66..11",
            "description": "CVA unspecified",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G66..12",
            "description": "Stroke unspecified",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G66..13",
            "description": "CVA - Cerebrovascular accident unspecified",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G662.00",
            "description": "Posterior cerebral artery syndrome",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G663.00",
            "description": "Brain stem stroke syndrome",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G664.00",
            "description": "Cerebellar stroke syndrome",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G665.00",
            "description": "Pure motor lacunar syndrome",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G666.00",
            "description": "Pure sensory lacunar syndrome",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G667.00",
            "description": "Left sided CVA",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G668.00",
            "description": "Right sided CVA",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G671.00",
            "description": "Generalised ischaemic cerebrovascular disease NOS",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G671000",
            "description": "Acute cerebrovascular insufficiency NOS",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G671z00",
            "description": "Generalised ischaemic cerebrovascular disease NOS",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G676000",
            "description": "Cereb infarct due cerebral venous thrombosis; nonpyogenic",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G6W..00",
            "description": "Cereb infarct due unsp occlus/stenos precerebr arteries",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G6X..00",
            "description": "Cerebrl infarctn due/unspcf occlusn or sten/cerebrl artrs",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G70..00",
            "description": "Atherosclerosis",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G700.00",
            "description": "Aortic atherosclerosis",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G73..00",
            "description": "Other peripheral vascular disease",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G73..12",
            "description": "Ischaemia of legs",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G73y.00",
            "description": "Other specified peripheral vascular disease",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G73yz00",
            "description": "Other specified peripheral vascular disease NOS",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G73z.00",
            "description": "Peripheral vascular disease NOS",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G73z000",
            "description": "Intermittent claudication",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G73z011",
            "description": "Claudication",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G73zz00",
            "description": "Peripheral vascular disease NOS",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G742z00",
            "description": "Peripheral arterial embolism and thrombosis NOS",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G74y300",
            "description": "Embolism and thrombosis of the iliac artery unspecified",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "G76z000",
            "description": "Iliac artery occlusion",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "Gyu3400",
            "description": "[X]Acute transmural myocardial infarction of unspecif site",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "Gyu3600",
            "description": "[X]Subsequent myocardial infarction of unspecified site",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "Gyu6200",
            "description": "[X]Other intracerebral haemorrhage",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "Gyu6300",
            "description": "[X]Cerebrl infarctn due/unspcf occlusn or sten/cerebrl artrs",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "Gyu6400",
            "description": "[X]Other cerebral infarction",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "Gyu6F00",
            "description": "[X]Intracerebral haemorrhage in hemisphere; unspecified",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "Gyu6G00",
            "description": "[X]Cereb infarct due unsp occlus/stenos precerebr arteries",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "Gyu7400",
            "description": "[X]Other specified peripheral vascular diseases",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "M271000",
            "description": "Ischaemic ulcer diabetic foot",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          },
          {
            "code": "R054300",
            "description": "[D]Widespread diabetic foot gangrene",
            "attributes": {
              "Entity type": "Macrovascular_complications",
              "Category": "diagnostic",
              "Coding System (Read)": "Read"
            }
          }
        ]
      }
    ],
    "status": 2,
    "doi": "https://doi.org/10.48533/smd3-hy31",
    "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": 1088,
        "version_name": "Macrovascular Complications",
        "version_date": "2021-10-06T16:24:24.356976Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]