[
  {
    "phenotype_id": "PH4162",
    "phenotype_version_id": 9380,
    "name": "Diabetic ophthalmic complications",
    "definition": "Disease of the RETINA as a complication of DIABETES MELLITUS. It is characterized by the progressive microvascular complications, such as ANEURYSM, interretinal EDEMA, and intraocular PATHOLOGIC NEOVASCULARIZATION.\n\nUKB baseline self reported fields.\n",
    "implementation": "The earliest record across all sources is obtained.\n",
    "publications": [
      {
        "doi": "https://doi.org/10.1038/s41598-025-05838-9",
        "details": "Torralbo, Ana and Davitte, Jonathan M. and Croteau-Chonka, Damien C. and Ytsma, Cai R. and Tomlinson, Christopher and Fitzpatrick, Natalie and Chung, Sheng-Chia and Fatemifar, Ghazaleh and Cortes, Adrian S. and Richardson, Tom G. and Barclay, Matthew and Carrasco Zanini Sanchez, Julia and Finan, Chris and Hemingway, Harry and Hingorani, Aroon D. and Kuan Po Ai, Valerie and Langenberg, Claudia and Lyratzopoulos, Georgios and Lumbers, Tom and Pietzner, Maik and Shah, Anoop Dinesh and Thygesen, Johan Hilge and Zelenka, Natalie and Whittaker, John C. and Ehm, Margaret G. and Denaxas, Spiros, A Computational Framework for Defining and Validating Reproducible Phenotyping Algorithms of 313 Diseases in the UK Biobank.",
        "primary": true
      }
    ],
    "validation": "Phenotypes underwent a multi\\-layered validation approach that included a) evaluating data source concordance, b) age\\-sex incidence and baseline prevalence patterns, c) an external comparison to a representative and unselected UK EHR dataset, d) modifiable risk factor associations, and e) genetic correlations with external genome\\-wide association studies (GWAS). Results showed consistent disease distributions by age and sex, high ranked correlation with general population prevalence estimates, confirmed risk factor associations, and significant genetic correlations with external GWAS.\n",
    "citation_requirements": null,
    "created": "2026-06-08T20:09:05.082164Z",
    "author": "Torralbo, A; Davitte, J M; Croteau-Chonka, D C; Ytsma, C; Tomlinson, C; Fitzpatrick, N K; Chung, S C; Fatemifar, G; Cortes, A S; Richardson, T G; Barclay, M; Carrasco Zanini, J; Finan, C; Hemingway, H; Hingorani, A; Kuan, V; Langenberg, C; Lyratzopoulos, G; Lumbers, R T; Pietzner, M; Shah, A D; Thygesen, J H; Zelenka, N; Whittaker, J C; Ehm, M G; Denaxas, S",
    "collections": [
      {
        "name": "Phenotype Library",
        "value": 18
      },
      {
        "name": "UK Biobank",
        "value": 32
      }
    ],
    "tags": null,
    "organisation": null,
    "world_access": 1,
    "updated": "2026-06-08T20:09:05.076335Z",
    "sex": [
      {
        "name": "Both",
        "value": "3"
      }
    ],
    "type": [
      {
        "name": "Disease or syndrome",
        "value": "2"
      }
    ],
    "trials": null,
    "ontology": [
      {
        "name": "Disorder of eye due to diabetes mellitus (disorder)",
        "value": 261340
      }
    ],
    "phenoflowid": null,
    "data_sources": [
      {
        "name": "UK Biobank",
        "value": 13,
        "uid": "6a9f93ad-2434-41d9-93bf-6e9d2eee04e5",
        "url": "https://healthdatagateway.org/en/dataset/700",
        "datasource_id": 700
      },
      {
        "name": "Patient Episode Dataset for Wales (PEDW)",
        "value": 40,
        "uid": "4c33a5d2-164c-41d7-9797-dc2b008cc852",
        "url": "https://healthdatagateway.org/en/dataset/318",
        "datasource_id": 318
      },
      {
        "name": "Scottish Cancer Registry (SMR06)",
        "value": 417,
        "uid": "ad36dc03-1856-44de-99b0-1af6f312d86b",
        "url": "https://healthdatagateway.org/en/dataset/79",
        "datasource_id": 79
      },
      {
        "name": "Cancer Registration Data",
        "value": 788,
        "uid": "6904a2ff-ab44-4dd6-b9ec-25d3cad29e43",
        "url": "https://healthdatagateway.org/en/dataset/880",
        "datasource_id": 880
      }
    ],
    "endorsements": null,
    "project_name": null,
    "coding_system": [
      {
        "name": "Non-standard codes",
        "value": 13
      },
      {
        "name": "UKBioBank codes",
        "value": 12
      },
      {
        "name": "ICD10 codes",
        "value": 4
      },
      {
        "name": "Read codes v3",
        "value": 6
      }
    ],
    "corresp_author": "Ana Torralbo",
    "event_date_range": null,
    "concept_information": [
      {
        "concept_id": 10011,
        "concept_version_id": 17496,
        "concept_name": "Non-cancer illness code, self-reported",
        "coding_system": {
          "id": 12,
          "name": "UKBioBank codes",
          "description": "UKBioBank codes"
        },
        "phenotype_id": "PH4162",
        "phenotype_version_id": 9380,
        "phenotype_name": "Diabetic ophthalmic complications",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "1276",
            "description": "diabetic eye disease",
            "attributes": {
              "type": "any"
            }
          }
        ]
      },
      {
        "concept_id": 10012,
        "concept_version_id": 17497,
        "concept_name": "Diagnoses - main ICD10",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH4162",
        "phenotype_version_id": 9380,
        "phenotype_name": "Diabetic ophthalmic complications",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "E10.3",
            "description": "Insulin-dependent diabetes mellitus - With ophthalmic complications",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E11.3",
            "description": "Non-insulin-dependent diabetes mellitus - With ophthalmic complications",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E12.3",
            "description": "Malnutrition-related diabetes mellitus - With ophthalmic complications",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E13.3",
            "description": "Other specified diabetes mellitus - With ophthalmic complications",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E14.3",
            "description": "Unspecified diabetes mellitus - With ophthalmic complications",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "H28.0",
            "description": "Diabetic cataract",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "H35.0",
            "description": "Background retinopathy and retinal vascular changes",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "H35.2",
            "description": "Other proliferative retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "H36.0",
            "description": "Diabetic retinopathy",
            "attributes": {
              "type": "any"
            }
          }
        ]
      },
      {
        "concept_id": 10013,
        "concept_version_id": 17498,
        "concept_name": "Diagnoses - secondary ICD10",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH4162",
        "phenotype_version_id": 9380,
        "phenotype_name": "Diabetic ophthalmic complications",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "E10.3",
            "description": "Insulin-dependent diabetes mellitus - With ophthalmic complications",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E11.3",
            "description": "Non-insulin-dependent diabetes mellitus - With ophthalmic complications",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E12.3",
            "description": "Malnutrition-related diabetes mellitus - With ophthalmic complications",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E13.3",
            "description": "Other specified diabetes mellitus - With ophthalmic complications",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E14.3",
            "description": "Unspecified diabetes mellitus - With ophthalmic complications",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "H28.0",
            "description": "Diabetic cataract",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "H35.0",
            "description": "Background retinopathy and retinal vascular changes",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "H35.2",
            "description": "Other proliferative retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "H36.0",
            "description": "Diabetic retinopathy",
            "attributes": {
              "type": "any"
            }
          }
        ]
      },
      {
        "concept_id": 10014,
        "concept_version_id": 17499,
        "concept_name": "Underlying (primary) cause of death: ICD10",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH4162",
        "phenotype_version_id": 9380,
        "phenotype_name": "Diabetic ophthalmic complications",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "E10.3",
            "description": "Insulin-dependent diabetes mellitus - With ophthalmic complications",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E11.3",
            "description": "Non-insulin-dependent diabetes mellitus - With ophthalmic complications",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E12.3",
            "description": "Malnutrition-related diabetes mellitus - With ophthalmic complications",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E13.3",
            "description": "Other specified diabetes mellitus - With ophthalmic complications",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E14.3",
            "description": "Unspecified diabetes mellitus - With ophthalmic complications",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "H28.0",
            "description": "Diabetic cataract",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "H35.0",
            "description": "Background retinopathy and retinal vascular changes",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "H35.2",
            "description": "Other proliferative retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "H36.0",
            "description": "Diabetic retinopathy",
            "attributes": {
              "type": "any"
            }
          }
        ]
      },
      {
        "concept_id": 10015,
        "concept_version_id": 17500,
        "concept_name": "Contributory (secondary) causes of death: ICD10",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH4162",
        "phenotype_version_id": 9380,
        "phenotype_name": "Diabetic ophthalmic complications",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "E10.3",
            "description": "Insulin-dependent diabetes mellitus - With ophthalmic complications",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E11.3",
            "description": "Non-insulin-dependent diabetes mellitus - With ophthalmic complications",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E12.3",
            "description": "Malnutrition-related diabetes mellitus - With ophthalmic complications",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E13.3",
            "description": "Other specified diabetes mellitus - With ophthalmic complications",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "E14.3",
            "description": "Unspecified diabetes mellitus - With ophthalmic complications",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "H28.0",
            "description": "Diabetic cataract",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "H35.0",
            "description": "Background retinopathy and retinal vascular changes",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "H35.2",
            "description": "Other proliferative retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "H36.0",
            "description": "Diabetic retinopathy",
            "attributes": {
              "type": "any"
            }
          }
        ]
      },
      {
        "concept_id": 10016,
        "concept_version_id": 17501,
        "concept_name": "GP clinical event records",
        "coding_system": {
          "id": 6,
          "name": "Read codes v3",
          "description": "Read codes v3"
        },
        "phenotype_id": "PH4162",
        "phenotype_version_id": 9380,
        "phenotype_name": "Diabetic ophthalmic complications",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "2BBk.00",
            "description": "O/E - right eye stable treated prolif diabetic retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "2BBl.00",
            "description": "O/E - left eye stable treated prolif diabetic retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "2BBL.00",
            "description": "O/E - diabetic maculopathy present both eyes",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "2BBM.00",
            "description": "O/E - diabetic maculopathy absent both eyes",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "2BBo.00",
            "description": "O/E - sight threatening diabetic retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "2BBP.00",
            "description": "O/E - right eye background diabetic retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "2BBQ.00",
            "description": "O/E - left eye background diabetic retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "2BBr.00",
            "description": "Impaired vision due to diabetic retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "2BBR.00",
            "description": "O/E - right eye preproliferative diabetic retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "2BBS.00",
            "description": "O/E - left eye preproliferative diabetic retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "2BBT.00",
            "description": "O/E - right eye proliferative diabetic retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "2BBV.00",
            "description": "O/E - left eye proliferative diabetic retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "2BBW.00",
            "description": "O/E - right eye diabetic maculopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "2BBX.00",
            "description": "O/E - left eye diabetic maculopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "7276.00",
            "description": "Pan retinal photocoagulation for diabetes",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C105.00",
            "description": "Diabetes mellitus with ophthalmic manifestation",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C105000",
            "description": "Diabetes mellitus, juvenile type, + ophthalmic manifestation",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C105100",
            "description": "Diabetes mellitus, adult onset, + ophthalmic manifestation",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C105y00",
            "description": "Other specified diabetes mellitus with ophthalmic complicatn",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C105z00",
            "description": "Diabetes mellitus NOS with ophthalmic manifestation",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C108100",
            "description": "Insulin-dependent diabetes mellitus with ophthalmic comps",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C108112",
            "description": "Type 1 diabetes mellitus with ophthalmic complications",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C108700",
            "description": "Insulin dependent diabetes mellitus with retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C108711",
            "description": "Type I diabetes mellitus with retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C108712",
            "description": "Type 1 diabetes mellitus with retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C108F00",
            "description": "Insulin dependent diabetes mellitus with diabetic cataract",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C108F11",
            "description": "Type I diabetes mellitus with diabetic cataract",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C108F12",
            "description": "Type 1 diabetes mellitus with diabetic cataract",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C109100",
            "description": "Non-insulin-dependent diabetes mellitus with ophthalm comps",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C109111",
            "description": "Type II diabetes mellitus with ophthalmic complications",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C109112",
            "description": "Type 2 diabetes mellitus with ophthalmic complications",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C109600",
            "description": "Non-insulin-dependent diabetes mellitus with retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C109611",
            "description": "Type II diabetes mellitus with retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C109612",
            "description": "Type 2 diabetes mellitus with retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C109E00",
            "description": "Non-insulin depend diabetes mellitus with diabetic cataract",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C109E11",
            "description": "Type II diabetes mellitus with diabetic cataract",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C109E12",
            "description": "Type 2 diabetes mellitus with diabetic cataract",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C10E100",
            "description": "Type 1 diabetes mellitus with ophthalmic complications",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C10E111",
            "description": "Type I diabetes mellitus with ophthalmic complications",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C10E112",
            "description": "Insulin-dependent diabetes mellitus with ophthalmic comps",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C10E700",
            "description": "Type 1 diabetes mellitus with retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C10E711",
            "description": "Type I diabetes mellitus with retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C10E712",
            "description": "Insulin dependent diabetes mellitus with retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C10EF00",
            "description": "Type 1 diabetes mellitus with diabetic cataract",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C10EF12",
            "description": "Insulin dependent diabetes mellitus with diabetic cataract",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C10EP00",
            "description": "Type 1 diabetes mellitus with exudative maculopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C10EP11",
            "description": "Type I diabetes mellitus with exudative maculopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C10F100",
            "description": "Type 2 diabetes mellitus with ophthalmic complications",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C10F111",
            "description": "Type II diabetes mellitus with ophthalmic complications",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C10F600",
            "description": "Type 2 diabetes mellitus with retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C10F611",
            "description": "Type II diabetes mellitus with retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C10FE00",
            "description": "Type 2 diabetes mellitus with diabetic cataract",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C10FE11",
            "description": "Type II diabetes mellitus with diabetic cataract",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C10FQ00",
            "description": "Type 2 diabetes mellitus with exudative maculopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "F420.00",
            "description": "Diabetic retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "F420000",
            "description": "Background diabetic retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "F420100",
            "description": "Proliferative diabetic retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "F420200",
            "description": "Preproliferative diabetic retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "F420300",
            "description": "Advanced diabetic maculopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "F420400",
            "description": "Diabetic maculopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "F420500",
            "description": "Advanced diabetic retinal disease",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "F420600",
            "description": "Non proliferative diabetic retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "F420700",
            "description": "High risk proliferative diabetic retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "F420800",
            "description": "High risk non proliferative diabetic retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "F420z00",
            "description": "Diabetic retinopathy NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "F440700",
            "description": "Diabetic iritis",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "F464000",
            "description": "Diabetic cataract",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "X00dG",
            "description": "Diabetic maculopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XaD2T",
            "description": "Advanced diabetic retinal disease",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XaIP5",
            "description": "Non proliferative diabetic retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XaIPk",
            "description": "O/E - diabetic maculopathy present both eyes",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XaIPl",
            "description": "O/E - diabetic maculopathy absent both eyes",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XaIW8",
            "description": "High risk non proliferative diabetic retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XaJOg",
            "description": "O/E - right eye background diabetic retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XaJOh",
            "description": "O/E - left eye background diabetic retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XaJOi",
            "description": "O/E - right eye preproliferative diabetic retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XaJOj",
            "description": "O/E - left eye preproliferative diabetic retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XaJOk",
            "description": "O/E - right eye proliferative diabetic retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XaJOl",
            "description": "O/E - left eye proliferative diabetic retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XaJOn",
            "description": "O/E - right eye diabetic maculopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XaJOo",
            "description": "O/E - left eye diabetic maculopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XaJSr",
            "description": "Type 1 diabetes mellitus with exudative maculopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XaKcS",
            "description": "O/E - sight threatening diabetic retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XaKDG",
            "description": "O/E - right eye stable treated proliferative diabetic retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XaKDH",
            "description": "O/E - left eye stable treated proliferative diabetic retinopathy",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XaPen",
            "description": "Impaired vision due to diabetic retinopathy",
            "attributes": {
              "type": "any"
            }
          }
        ]
      },
      {
        "concept_id": 10017,
        "concept_version_id": 17502,
        "concept_name": "Which eye(s) affected by diabetes-related eye disease",
        "coding_system": {
          "id": 13,
          "name": "Non-standard codes",
          "description": "Non-standard codes"
        },
        "phenotype_id": "PH4162",
        "phenotype_version_id": 9380,
        "phenotype_name": "Diabetic ophthalmic complications",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "1",
            "description": "Right eye",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "2",
            "description": "Left eye",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "3",
            "description": "Both eyes",
            "attributes": {
              "type": "any"
            }
          }
        ]
      },
      {
        "concept_id": 10018,
        "concept_version_id": 17503,
        "concept_name": "Eye problems/disorders",
        "coding_system": {
          "id": 13,
          "name": "Non-standard codes",
          "description": "Non-standard codes"
        },
        "phenotype_id": "PH4162",
        "phenotype_version_id": 9380,
        "phenotype_name": "Diabetic ophthalmic complications",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "1",
            "description": "Diabetes related eye disease",
            "attributes": {
              "type": "any"
            }
          }
        ]
      }
    ],
    "status": 1,
    "doi": "https://doi.org/10.48533/qnbe-ns70",
    "is_deleted": false,
    "publish_status": 2,
    "owner": "ieuan.scanlon",
    "template": {
      "id": 2,
      "name": "BHF Data Science Centre Phenotype",
      "description": "BHF Data Science Centre Phenotype definitions that describe a list of clinical codes, algorithms using clinical codes, or set of clinical trials. Visit the BHF Data Science Centre website to learn more: https://bhfdatasciencecentre.org",
      "version_id": 1
    },
    "versions": [
      {
        "version_id": 9380,
        "version_name": "Diabetic ophthalmic complications",
        "version_date": "2026-06-08T20:09:05.092308Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]