[
  {
    "phenotype_id": "PH3498",
    "phenotype_version_id": 8546,
    "name": "Inflammatory Bowel Disease (SNOMED)",
    "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\nAutomatically\\-generated equivalent of [Inflammatory Bowel Disease](/codelist/opensafely/inflammatory-bowel-disease/)\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:19:49.324462Z",
    "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:19:49.314919Z",
    "references": [],
    "signed_off": [],
    "methodology": "See [code on GitHub](https://github.com/opensafely-core/opencodelists/blob/248fe3397327e019a2d93830bd5fdb1c2562b23d/codelists/management/commands/convert_codelist.py)\n\n",
    "coding_system": [
      {
        "name": "SNOMED  CT codes",
        "value": 9
      }
    ],
    "open_codelist_id": "opensafely/inflammatory-bowel-disease-snomed",
    "source_reference": "https://www.opencodelists.org/codelist/opensafely/inflammatory-bowel-disease-snomed/2020-04-07",
    "concept_information": [
      {
        "concept_id": 8723,
        "concept_version_id": 16208,
        "concept_name": "opensafely/inflammatory-bowel-disease-snomed/2020-04-07",
        "coding_system": {
          "id": 9,
          "name": "SNOMED  CT codes",
          "description": "SNOMED CT codes"
        },
        "phenotype_id": "PH3498",
        "phenotype_version_id": 8546,
        "phenotype_name": "Inflammatory Bowel Disease (SNOMED)",
        "code_attribute_header": [
          "active",
          "notes"
        ],
        "codes": [
          {
            "code": "1085131000119105",
            "description": "Abscess of intestine co-occurrent and due to chronic ulcerative pancolitis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "1085181000119106",
            "description": "Abscess of intestine co-occurrent and due to chronic ulcerative proctitis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "1085231000119100",
            "description": "Abscess of intestine co-occurrent and due to chronic ulcerative rectosigmoiditis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "1085751000119100",
            "description": "Abscess of intestine co-occurrent and due to Crohn's disease of large intestine (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "1085801000119106",
            "description": "Abscess of intestine co-occurrent and due to Crohn's disease of small and large intestine (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "1085851000119105",
            "description": "Abscess of intestine co-occurrent and due to Crohn's disease of small intestine (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "1085901000119101",
            "description": "Abscess of intestine co-occurrent and due to Crohn's disease (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "1092841000119100",
            "description": "Abscess of intestine co-occurrent and due to ulcerative colitis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "128600008",
            "description": "Acute ulcerative colitis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "13470001",
            "description": "Chronic ulcerative ileocolitis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "14066009",
            "description": "Noninfectious colitis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "14311001",
            "description": "Severe chronic ulcerative colitis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "15342002",
            "description": "Chronic ulcerative enterocolitis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "176371000000109",
            "description": "Exacerbation of Crohn's disease of small intestine",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "176381000000106",
            "description": "Exacerbation of Crohn's disease of large intestine",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "176391000000108",
            "description": "Exacerbation of ulcerative colitis",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "176401000000106",
            "description": "Exacerbation of non-infective colitis",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "196578009",
            "description": "Crohn's disease of oral soft tissues (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "196976000",
            "description": "Regional enteritis of the jejunum (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "196977009",
            "description": "Crohn's disease of terminal ileum (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "196983007",
            "description": "Regional ileocolitis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "196987008",
            "description": "Ulcerative ileocolitis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "197024006",
            "description": "Allergic enterocolitis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "197533001",
            "description": "[X]Non-infective enteritis and colitis (disorder)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "201727001",
            "description": "Arthropathy in ulcerative colitis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "201728006",
            "description": "Arthropathy in Crohn's disease (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "201805000",
            "description": "Juvenile arthritis in Crohn's disease (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "201807008",
            "description": "Juvenile arthritis in ulcerative colitis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "22207007",
            "description": "Chronic proliferative enteritis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "22231002",
            "description": "Allergic enteritis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "234999001",
            "description": "Crohn's disease of gingivae (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "235607002",
            "description": "Crohn's disease of esophagus (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "235664007",
            "description": "Crohn's disease of stomach (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "235714007",
            "description": "Ulcerative enterocolitis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "235746007",
            "description": "Indeterminate colitis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "235796008",
            "description": "Perianal Crohn's disease (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "242004",
            "description": "Noninfectious jejunitis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "24526004",
            "description": "Inflammatory bowel disease (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "25887009",
            "description": "Allergic sigmoiditis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "26006005",
            "description": "Allergic gastroenteritis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "266451002",
            "description": "Allergic gastroenteritis and colitis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "266999006",
            "description": "History of colitis (situation)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "275549008",
            "description": "History of ulcerative colitis (situation)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "27701000",
            "description": "Proctocolitis (disorder)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "295046003",
            "description": "Ulcerative proctocolitis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "30304000",
            "description": "Allergic colitis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "30719001",
            "description": "Dietetic enteritis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "307418008",
            "description": "Non-infective enteritis and colitis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "34000006",
            "description": "Crohn's disease (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "359656003",
            "description": "Idiopathic diffuse ulcerative nongranulomatous enteritis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "359664009",
            "description": "Idiopathic chronic inflammatory bowel disease (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "38106008",
            "description": "Crohn's disease of ileum (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "3815005",
            "description": "Crohn's disease of rectum (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "397172008",
            "description": "Gastrointestinal Crohn's disease (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "397173003",
            "description": "Crohn's disease of intestine (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "400651000000102",
            "description": "[X]Non-infective enteritis and colitis (disorder)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "410483002",
            "description": "Iritis with inflammatory bowel disease (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "410484008",
            "description": "Iritis with ulcerative colitis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "412691000000107",
            "description": "[X]Other ulcerative colitis (disorder)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "414153008",
            "description": "Exacerbation of Crohn's disease of large intestine (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "414154002",
            "description": "Exacerbation of Crohn's disease of small intestine (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "414155001",
            "description": "Exacerbation of non-infective colitis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "414156000",
            "description": "Exacerbation of ulcerative colitis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "426549001",
            "description": "Crohn's disease in remission (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "43752006",
            "description": "Inflammation of small intestine and colon (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "441971007",
            "description": "Chronic left-sided ulcerative colitis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "442159003",
            "description": "Chronic ulcerative pancolitis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "444546002",
            "description": "Chronic ulcerative colitis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "444548001",
            "description": "Ulcerative pancolitis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "445243001",
            "description": "Left sided ulcerative colitis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "455601000000104",
            "description": "[X]Other Crohn's disease (disorder)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "491331000000106",
            "description": "Indeterminate colitis",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "49464009",
            "description": "Dietetic sigmoiditis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "50440006",
            "description": "Crohn's disease of colon (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "52231000",
            "description": "Chronic ulcerative proctitis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "52506002",
            "description": "Chronic ulcerative rectosigmoiditis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "53372009",
            "description": "Noninfectious sigmoiditis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "56287005",
            "description": "Crohn's disease of duodenum (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "56689002",
            "description": "Crohn's disease of small intestine (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "609161000000100",
            "description": "Allergic gastroenteritis NOS (disorder)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "61424003",
            "description": "Crohn's disease of pylorus (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "624791000000102",
            "description": "Crohn's disease of the large bowel NOS (disorder)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "632681000000100",
            "description": "Crohn's disease of the ileum unspecified (disorder)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "632691000000103",
            "description": "Crohn's disease of the ileum NOS (disorder)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "64766004",
            "description": "Ulcerative colitis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "697969008",
            "description": "Ulcerative colitis in remission (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "70622003",
            "description": "Crohn's disease of pyloric antrum (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "70882003",
            "description": "Staphylococcal enteritis of chinchillas (disorder)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "71207007",
            "description": "Noninfectious enteritis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "71833008",
            "description": "Crohn's disease of small AND large intestines (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "720820000",
            "description": "Cutaneous photosensitivity and lethal colitis syndrome (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "721686000",
            "description": "Inflammatory polyps co-occurrent and due to inflammatory bowel disease (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "721702009",
            "description": "Crohn disease of anal canal (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "722850002",
            "description": "Crohn's disease of gastrointestinal anastomosis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "72547003",
            "description": "Dietetic colitis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "733157003",
            "description": "Crohn disease of appendix (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "735731005",
            "description": "Chronic non-infectious enteritis of uncertain etiology (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "737193000",
            "description": "Allergic enteritis of small intestine (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "737194006",
            "description": "Dietetic enteritis of small intestine (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "737195007",
            "description": "Crohn disease of upper gastrointestinal tract (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "7620006",
            "description": "Crohn's disease of large bowel (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "78324009",
            "description": "Mild chronic ulcerative colitis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "78712000",
            "description": "Moderate chronic ulcerative colitis (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "793751000000105",
            "description": "Neonatal necrotising enterocolitis (disorder)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "793781000000104",
            "description": "Perinatal necrotising enterocolitis (disorder)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "8161000119106",
            "description": "Arthritis co-occurrent and due to Crohn's disease (disorder)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "822251000000103",
            "description": "Ulcerative pancolitis (disorder)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "823401000000107",
            "description": "Left sided ulcerative colitis (disorder)",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "834601000000106",
            "description": "Ulcerative pancolitis",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "834721000000108",
            "description": "Left sided ulcerative colitis",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          },
          {
            "code": "91390005",
            "description": "Crohn's disease of jejunum (disorder)",
            "attributes": {
              "active": "y",
              "notes": "direct mapping"
            }
          },
          {
            "code": "939131000000104",
            "description": "History of Clostridium difficile infection (situation)",
            "attributes": {
              "active": "y",
              "notes": "descendant of concept mapped from leaf"
            }
          },
          {
            "code": "939141000000108",
            "description": "History of clostridium difficile",
            "attributes": {
              "active": "n",
              "notes": "via Query Table"
            }
          }
        ]
      }
    ],
    "coding_system_release": "",
    "open_codelist_version_id": "693b3e7a",
    "open_codelist_version_tag": "2020-04-07",
    "status": 1,
    "doi": "https://doi.org/10.48533/aejs-te13",
    "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": 8546,
        "version_name": "Inflammatory Bowel Disease (SNOMED)",
        "version_date": "2026-01-26T23:19:49.332153Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]