[
  {
    "phenotype_id": "PH3426",
    "phenotype_version_id": 8464,
    "name": "Gastrointestinal bleeding ICD-10",
    "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 to define gastrointestinal bleeding in ONS death data.\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:17:06.117024Z",
    "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:17:06.110747Z",
    "references": [
      {
        "url": "https://datacompass.lshtm.ac.uk/id/eprint/851/",
        "title": "LSHTM Data Compass"
      }
    ],
    "signed_off": [],
    "methodology": "Taken from LSHTM Data Compass. Notably, child codes indicating no bleeding and unspecific codes for K25, K26, K27, K28 are not identified on this codelist.\n\n",
    "coding_system": [
      {
        "name": "ICD10 codes",
        "value": 4
      }
    ],
    "open_codelist_id": "opensafely/gastrointestinal-bleeding-icd-10",
    "source_reference": "https://www.opencodelists.org/codelist/opensafely/gastrointestinal-bleeding-icd-10/6b731e30",
    "concept_information": [
      {
        "concept_id": 8641,
        "concept_version_id": 16126,
        "concept_name": "opensafely/gastrointestinal-bleeding-icd-10/6b731e30",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH3426",
        "phenotype_version_id": 8464,
        "phenotype_name": "Gastrointestinal bleeding ICD-10",
        "code_attribute_header": [],
        "codes": [
          {
            "code": "I850",
            "description": "Oesophageal varices with bleeding",
            "attributes": null
          },
          {
            "code": "K226",
            "description": "Gastro-oesophageal laceration-haemorrhage syndrome",
            "attributes": null
          },
          {
            "code": "K25",
            "description": "Gastric ulcer",
            "attributes": null
          },
          {
            "code": "K26",
            "description": "Duodenal ulcer",
            "attributes": null
          },
          {
            "code": "K27",
            "description": "Peptic ulcer, site unspecified",
            "attributes": null
          },
          {
            "code": "K28",
            "description": "Gastrojejunal ulcer",
            "attributes": null
          },
          {
            "code": "K290",
            "description": "Acute haemorrhagic gastritis",
            "attributes": null
          },
          {
            "code": "K920",
            "description": "Haematemesis",
            "attributes": null
          },
          {
            "code": "K921",
            "description": "Melaena",
            "attributes": null
          },
          {
            "code": "K922",
            "description": "Gastrointestinal haemorrhage, unspecified",
            "attributes": null
          }
        ]
      }
    ],
    "coding_system_release": "",
    "open_codelist_version_id": "6b731e30",
    "open_codelist_version_tag": "",
    "status": 1,
    "doi": "https://doi.org/10.48533/ppvg-cv86",
    "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": 8464,
        "version_name": "Gastrointestinal bleeding ICD-10",
        "version_date": "2026-01-26T23:17:06.127026Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]