[
  {
    "phenotype_id": "PH3791",
    "phenotype_version_id": 8944,
    "name": "Type 1 Diabetes",
    "definition": "This codelist was taken from [OpenCodelists](https://www.opencodelists.org/), created by [OpenSAFELY](https://www.opensafely.org/). We recommend viewing this Phenotype on the OpenCodelist website to view the most recent version.\n\n\nCodes explicitly indicating Type 1 Diabetes\n\n\n© University of Oxford for the Bennett Institute for Applied Data Science 2025\\. This work may be copied freely for non\\-commercial research and study.\n\n",
    "implementation": null,
    "publications": null,
    "validation": null,
    "citation_requirements": null,
    "created": "2026-01-26T23:34:50.793050Z",
    "author": "OpenSAFELY",
    "collections": [
      {
        "name": "OpenCodelist",
        "value": 31
      },
      {
        "name": "Phenotype Library",
        "value": 18
      }
    ],
    "tags": null,
    "organisation": {
      "id": 1,
      "slug": "opensafely",
      "name": "OpenSAFELY"
    },
    "world_access": 1,
    "updated": "2026-01-26T23:34:50.787493Z",
    "references": [
      {
        "url": "https://github.com/opensafely/ethnicity-covid-research/issues/11",
        "title": "Discussion on GitHub issue"
      }
    ],
    "signed_off": [],
    "methodology": "Derived from Diabetes codelist previously developed for OpenSAFELY. See discussion in GitHub issue referenced below\n\n",
    "coding_system": [
      {
        "name": "Read codes v3",
        "value": 6
      }
    ],
    "open_codelist_id": "opensafely/type-1-diabetes",
    "source_reference": "https://www.opencodelists.org/codelist/opensafely/type-1-diabetes/2020-06-29",
    "concept_information": [
      {
        "concept_id": 9121,
        "concept_version_id": 16606,
        "concept_name": "opensafely/type-1-diabetes/2020-06-29",
        "coding_system": {
          "id": 6,
          "name": "Read codes v3",
          "description": "Read codes v3"
        },
        "phenotype_id": "PH3791",
        "phenotype_version_id": 8944,
        "phenotype_name": "Type 1 Diabetes",
        "code_attribute_header": [
          "CTV3Source"
        ],
        "codes": [
          {
            "code": "7L100",
            "description": "Continuous subcutaneous infusion of insulin",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "C1010",
            "description": "Type 1 diabetes mellitus with ketoacidosis",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "C1030",
            "description": "Type 1 diabetes mellitus with ketoacidotic coma",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "C1080",
            "description": "Type I diabetes mellitus with renal complications",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "C1081",
            "description": "Type I diabetes mellitus with ophthalmic complications",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "C1082",
            "description": "Type I diabetes mellitus with neurological complications",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "C1083",
            "description": "Type I diabetes mellitus with multiple complications",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "C1085",
            "description": "Type I diabetes mellitus with ulcer",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "C1086",
            "description": "Type I diabetes mellitus with gangrene",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "C1087",
            "description": "Type I diabetes mellitus with retinopathy",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "C1088",
            "description": "Type I diabetes mellitus - poor control",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "C1089",
            "description": "Type I diabetes mellitus maturity onset",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "X40J4",
            "description": "Type I diabetes mellitus",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "Xa2h9",
            "description": "Dietary advice for type I diabetes",
            "attributes": {
              "CTV3Source": "High_Level_SNOMED"
            }
          },
          {
            "code": "Xa4g7",
            "description": "Unstable type I diabetes mellitus",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "Xaage",
            "description": "Type I diabetes mellitus in remission",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "XaELP",
            "description": "Type I diabetes mellitus without complication",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "XaEnn",
            "description": "Type I diabetes mellitus with mononeuropathy",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "XaEno",
            "description": "Type I diabetes mellitus with polyneuropathy",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "XaF04",
            "description": "Type I diabetes mellitus with nephropathy",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "XafjT",
            "description": "Eating disorder co-occurrent with diabetes mellitus type 1",
            "attributes": {
              "CTV3Source": "QOF"
            }
          },
          {
            "code": "XaFm8",
            "description": "Type I diabetes mellitus with diabetic cataract",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "XaFmK",
            "description": "Type I diabetes mellitus with peripheral angiopathy",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "XaFmL",
            "description": "Type I diabetes mellitus with arthropathy",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "XaFmM",
            "description": "Type I diabetes mellitus with neuropathic arthropathy",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "XaFWG",
            "description": "Type I diabetes mellitus with hypoglycaemic coma",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "XaIzM",
            "description": "Type 1 diabetes mellitus with persistent proteinuria",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "XaIzN",
            "description": "Type 1 diabetes mellitus with persistent microalbuminuria",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "XaJSr",
            "description": "Type 1 diabetes mellitus with exudative maculopathy",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "XaKyW",
            "description": "Type 1 diabetes mellitus with gastroparesis",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "XaMhJ",
            "description": "Diabetes type 1 review",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "XaX3p",
            "description": "Type I diabetic dietary review",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "XaX49",
            "description": "Referral to type I diabetes structured education programme",
            "attributes": {
              "CTV3Source": "QOF"
            }
          },
          {
            "code": "XaXZv",
            "description": "H/O: diabetes mellitus type 1",
            "attributes": {
              "CTV3Source": "QOF"
            }
          },
          {
            "code": "XM19i",
            "description": "[EDTA]Diabetes Type I associated with renal failure",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          }
        ]
      }
    ],
    "coding_system_release": "",
    "open_codelist_version_id": "61e9b227",
    "open_codelist_version_tag": "2020-06-29",
    "status": 1,
    "doi": "https://doi.org/10.48533/m276-g186",
    "is_deleted": false,
    "publish_status": 2,
    "owner": "ieuan.scanlon",
    "template": {
      "id": 3,
      "name": "OpenCodelists Phenotype",
      "description": "OpenSafely's OpenCodelist Phenotype, visit https://www.opencodelists.org/ to learn more",
      "version_id": 1
    },
    "versions": [
      {
        "version_id": 8944,
        "version_name": "Type 1 Diabetes",
        "version_date": "2026-01-26T23:34:50.801352Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]