[
  {
    "phenotype_id": "PH2474",
    "phenotype_version_id": 5973,
    "name": "Codes for 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\nTaken from the `DMTYPE1_COD` refset published by NHSD. Contains public sector information licensed under the UK Open Government Licence v3\\.0 (https://www.nationalarchives.gov.uk/doc/open\\-government\\-licence/version/3/).\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-26T22:17:33.838767Z",
    "author": "NHSD Primary Care Domain Refsets",
    "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-26T22:17:39.097357Z",
    "references": [
      {
        "url": "https://digital.nhs.uk/data-and-information/data-collections-and-data-sets/data-collections/quality-and-outcomes-framework-qof/quality-and-outcome-framework-qof-business-rules/primary-care-domain-reference-set-portal",
        "title": "Primary Care Domain Reference Set Portal"
      }
    ],
    "signed_off": [],
    "methodology": "",
    "coding_system": [
      {
        "name": "SNOMED  CT codes",
        "value": 9
      }
    ],
    "open_codelist_id": "nhsd-primary-care-domain-refsets/dmtype1_cod",
    "source_reference": "https://www.opencodelists.org/codelist/nhsd-primary-care-domain-refsets/dmtype1_cod/20250912",
    "concept_information": [
      {
        "concept_id": 6150,
        "concept_version_id": 13635,
        "concept_name": "nhsd-primary-care-domain-refsets/dmtype1_cod/20250912",
        "coding_system": {
          "id": 9,
          "name": "SNOMED  CT codes",
          "description": "SNOMED CT codes"
        },
        "phenotype_id": "PH2474",
        "phenotype_version_id": 5973,
        "phenotype_name": "Codes for type 1 diabetes",
        "code_attribute_header": [],
        "codes": [
          {
            "code": "1142044000",
            "description": "Pre-existing malnutrition-related diabetes mellitus in pregnancy",
            "attributes": null
          },
          {
            "code": "1172389004",
            "description": "Disorder due to malnutrition related diabetes mellitus",
            "attributes": null
          },
          {
            "code": "1196923000",
            "description": "Neovascular glaucoma due to diabetes mellitus type 1",
            "attributes": null
          },
          {
            "code": "1217077001",
            "description": "Drug-induced insulin coma in nondiabetic",
            "attributes": null
          },
          {
            "code": "1255271005",
            "description": "Type 1 diabetes mellitus, central and peripheral neurodegeneration syndrome",
            "attributes": null
          },
          {
            "code": "190330002",
            "description": "Hyperosmolar coma due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "190368000",
            "description": "Type I diabetes mellitus with ulcer",
            "attributes": null
          },
          {
            "code": "190369008",
            "description": "Type I diabetes mellitus with gangrene",
            "attributes": null
          },
          {
            "code": "190372001",
            "description": "Type I diabetes mellitus maturity onset",
            "attributes": null
          },
          {
            "code": "290002008",
            "description": "Brittle type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "313435000",
            "description": "Type I diabetes mellitus without complication",
            "attributes": null
          },
          {
            "code": "314771006",
            "description": "Type I diabetes mellitus with hypoglycemic coma",
            "attributes": null
          },
          {
            "code": "314893005",
            "description": "Arthropathy due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "368541000119101",
            "description": "Cheiroarthropathy due to diabetes mellitus type 1",
            "attributes": null
          },
          {
            "code": "368561000119102",
            "description": "Hyperosmolarity due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "401110002",
            "description": "Type 1 diabetes mellitus with persistent microalbuminuria",
            "attributes": null
          },
          {
            "code": "420270002",
            "description": "Ketoacidosis due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "420486006",
            "description": "Exudative maculopathy due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "420514000",
            "description": "Persistent proteinuria due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "420789003",
            "description": "Retinopathy due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "420825003",
            "description": "Gangrene due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "420868002",
            "description": "Disorder due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "420918009",
            "description": "Mononeuropathy due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "421075007",
            "description": "Ketoacidotic coma due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "421165007",
            "description": "Diabetic oculopathy associated with type I diabetes mellitus",
            "attributes": null
          },
          {
            "code": "421305000",
            "description": "Persistent microalbuminuria due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "421365002",
            "description": "Peripheral circulatory disorder due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "421437000",
            "description": "Hypoglycemic coma due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "421468001",
            "description": "Disorder of nervous system due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "421893009",
            "description": "Renal disorder due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "421920002",
            "description": "Cataract of eye due to diabetes mellitus type 1",
            "attributes": null
          },
          {
            "code": "422228004",
            "description": "Multiple complications due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "426875007",
            "description": "Latent autoimmune diabetes mellitus in adult",
            "attributes": null
          },
          {
            "code": "428896009",
            "description": "Hyperosmolality due to uncontrolled type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "444073006",
            "description": "Uncontrolled type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "46635009",
            "description": "Diabetes mellitus type 1",
            "attributes": null
          },
          {
            "code": "703137001",
            "description": "Type I diabetes mellitus in remission",
            "attributes": null
          },
          {
            "code": "713702000",
            "description": "Gastroparesis due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "713705003",
            "description": "Polyneuropathy due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "71771000119100",
            "description": "Neuropathic arthropathy due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "739681000",
            "description": "Disorder of eye due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "789571005",
            "description": "Ulcer of heel due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "789572003",
            "description": "Ulcer of midfoot due to type 1 diabetes mellitus",
            "attributes": null
          },
          {
            "code": "82581000119105",
            "description": "Rubeosis iridis due to type 1 diabetes mellitus",
            "attributes": null
          }
        ]
      }
    ],
    "coding_system_release": "",
    "open_codelist_version_id": "7c89457d",
    "open_codelist_version_tag": "20250912",
    "status": 1,
    "doi": "https://doi.org/10.48533/dvxj-mq37",
    "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": 5973,
        "version_name": "Codes for type 1 diabetes",
        "version_date": "2026-01-26T22:17:39.112799Z",
        "is_published": true,
        "is_latest": true
      },
      {
        "version_id": 5972,
        "version_name": "Codes for type 1 diabetes",
        "version_date": "2026-01-26T22:17:37.904789Z",
        "is_published": true,
        "is_latest": false
      },
      {
        "version_id": 5971,
        "version_name": "Codes for type 1 diabetes",
        "version_date": "2026-01-26T22:17:36.681994Z",
        "is_published": true,
        "is_latest": false
      },
      {
        "version_id": 5970,
        "version_name": "Codes for type 1 diabetes",
        "version_date": "2026-01-26T22:17:35.322082Z",
        "is_published": true,
        "is_latest": false
      },
      {
        "version_id": 5969,
        "version_name": "Codes for type 1 diabetes",
        "version_date": "2026-01-26T22:17:33.847936Z",
        "is_published": true,
        "is_latest": false
      }
    ]
  }
]