[
  {
    "phenotype_id": "PH887",
    "phenotype_version_id": 1853,
    "name": "Peptic Ulcer Disease",
    "definition": "Background:\n\nSelf-harm is a major risk factor for suicide, with older adults (older than 65 years) having reportedly greater suicidal intent than any other age group. With the aging population rising and paucity of research focus in this age group, the extent of the problem of self-harm needs to be established. In a primary care cohort of older adults we aimed to investigate the incidence of self-harm, subsequent clinical management, prevalence of mental and physical diagnoses, and unnatural-cause mortality risk, including suicide.\n\n\nMethods:\n\nThe UK Clinical Practice Research Datalink contains anonymised patient records from general practice that routinely capture clinical information pertaining to both primary and secondary care services. We identified 4124 adults aged 65 years and older with a self-harm episode ascertained from Read codes recorded during 2001–14. We calculated standardised incidence and in 2854 adults with at least 12 months follow-up examined the frequency of psychiatric referrals and prescription of psychotropic medication after self-harm. We estimated prevalence of mental and physical illness diagnoses before and after self-harm and, using Cox regression in a matched cohort, we examined cause-specific mortality risks.\n\n\nFindings:\n\nOverall incidence of self-harm in older adults aged 65 years and older was 4·1 per 10 000 person-years with stable gender-specific rates observed over the 13-year period. After self-harm, 335 (11·7%) of 2854 adults were referred to mental health services, 1692 (59·3%) were prescribed an antidepressant, and 336 (11·8%) were prescribed a tricyclic antidepressant (TCA). Having a diagnosed previous mental illness was twice as prevalent in the self-harm cohort as in the comparison cohort (prevalence ratio 2·10 [95% CI 2·03–2·17]) and with a previous physical health condition prevalence was 20% higher in the self-harm cohort compared to the comparison cohort (1·20 [1·17–1·23]). Adults from the self-harm cohort (n=2454) died from unnatural causes an estimated 20 times more frequently than the comparison cohort (n=48 921) during the first year. A markedly elevated risk of suicide (hazard ratio 145·4 [95% CI 53·9–392·3]) was observed in the self-harm cohort.\n\n\nInterpretation: \n\nWithin primary care, we have identified a group of older adults at high risk from unnatural death, particularly within the first year of self-harm. We have highlighted a high frequency of prescription of TCAs, known to be potentially fatally toxic in overdose. We emphasise the need for early intervention, careful alternative prescribing, and increased support when older adults consult after an episode of self-harm and with other health conditions.\n\n\n\n\n\n\n\n\n",
    "implementation": "",
    "publications": [
      {
        "doi": null,
        "details": "Catherine Morgan, Roger T Webb, Mathew J Carr, Evangelos Kontopantelis, Carolyn A Chew-Graham, Nav Kapur, Darren M. Ashcroft, Self-harm in a primary care cohort of older people incidence, clinical management, and risk of suicide and other causes of death. Psychiatry, 5, 2018."
      }
    ],
    "validation": "",
    "citation_requirements": "",
    "created": "2022-04-04T07:08:22.752393Z",
    "author": "Catherine Morgan, Roger T Webb, Mathew J Carr, Evangelos Kontopantelis, Carolyn A Chew-Graham, Nav Kapur, Darren M. Ashcroft",
    "collections": [
      {
        "name": "ClinicalCodes Repository",
        "value": 25
      },
      {
        "name": "Phenotype Library",
        "value": 18
      }
    ],
    "tags": null,
    "organisation": null,
    "world_access": 1,
    "updated": "2022-04-04T07:08:22.752417Z",
    "sex": [
      {
        "name": "Both",
        "value": "3"
      }
    ],
    "type": [
      {
        "name": "Disease or syndrome",
        "value": "2"
      }
    ],
    "ontology": null,
    "phenoflowid": "",
    "data_sources": [
      {
        "name": "CPRD GOLD",
        "value": 5,
        "uid": "a29feafa-7bdd-44e9-b977-c9d26425e67f",
        "url": "https://healthdatagateway.org/en/dataset/694",
        "datasource_id": 694
      }
    ],
    "coding_system": [
      {
        "name": "ICD10 codes",
        "value": 4
      },
      {
        "name": "Read codes v2",
        "value": 5
      }
    ],
    "event_date_range": "01/01/2001 - 31/12/2014",
    "concept_information": [
      {
        "concept_id": 2653,
        "concept_version_id": 6719,
        "concept_name": "Peptic Ulcer Disease - Primary Care",
        "coding_system": {
          "id": 5,
          "name": "Read codes v2",
          "description": "Read codes v2"
        },
        "phenotype_id": "PH887",
        "phenotype_version_id": 1853,
        "phenotype_name": "Peptic Ulcer Disease",
        "code_attribute_header": [
          "Entity type",
          "Coding System (ICD-10 Read)",
          "Category"
        ],
        "codes": [
          {
            "code": "1956.00",
            "description": "Peptic ulcer symptoms",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "7612111",
            "description": "Balfour excision of gastric ulcer",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "7612500",
            "description": "Resection of gastric ulcer by cautery",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "761D600",
            "description": "Endoscopic injection haemostasis of gastric ulcer",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "761J.00",
            "description": "Operations on gastric ulcer",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "761J000",
            "description": "Closure of perforated gastric ulcer",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "761J100",
            "description": "Closure of gastric ulcer NEC",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "761J.11",
            "description": "Stomach ulcer operations",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "761J111",
            "description": "Suture of ulcer of stomach NEC",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "761Jy00",
            "description": "Other specified operation on gastric ulcer",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "761Jz00",
            "description": "Operation on gastric ulcer NOS",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "7627.00",
            "description": "Operations on duodenal ulcer",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "7627000",
            "description": "Closure of perforated duodenal ulcer",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J102000",
            "description": "Peptic ulcer of oesophagus",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J11..00",
            "description": "Gastric ulcer - (GU)",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J110.00",
            "description": "Acute gastric ulcer",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J110000",
            "description": "Acute gastric ulcer without mention of complication",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J110100",
            "description": "Acute gastric ulcer with haemorrhage",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J110111",
            "description": "Bleeding acute gastric ulcer",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J110200",
            "description": "Acute gastric ulcer with perforation",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J110300",
            "description": "Acute gastric ulcer with haemorrhage and perforation",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J110400",
            "description": "Acute gastric ulcer with obstruction",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J110y00",
            "description": "Acute gastric ulcer unspecified",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J110z00",
            "description": "Acute gastric ulcer NOS",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J111.00",
            "description": "Chronic gastric ulcer",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J111000",
            "description": "Chronic gastric ulcer without mention of complication",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J11..11",
            "description": "Prepyloric ulcer",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J111100",
            "description": "Chronic gastric ulcer with haemorrhage",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J111111",
            "description": "Bleeding chronic gastric ulcer",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J11..12",
            "description": "Pyloric ulcer",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J111200",
            "description": "Chronic gastric ulcer with perforation",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J111211",
            "description": "Perforated chronic gastric ulcer",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J111300",
            "description": "Chronic gastric ulcer with haemorrhage and perforation",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J111400",
            "description": "Chronic gastric ulcer with obstruction",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J111y00",
            "description": "Chronic gastric ulcer unspecified",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J111z00",
            "description": "Chronic gastric ulcer NOS",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J112.00",
            "description": "Anti-platelet induced gastric ulcer",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J11y.00",
            "description": "Unspecified gastric ulcer",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J11y000",
            "description": "Unspecified gastric ulcer without mention of complication",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J11y100",
            "description": "Unspecified gastric ulcer with haemorrhage",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J11y200",
            "description": "Unspecified gastric ulcer with perforation",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J11y400",
            "description": "Unspecified gastric ulcer with obstruction",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J11yy00",
            "description": "Unspec gastric ulcer; unspec haemorrhage and/or perforation",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J11yz00",
            "description": "Unspecified gastric ulcer NOS",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J11z.00",
            "description": "Gastric ulcer NOS",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J11z.12",
            "description": "Multiple gastric ulcers",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J12..00",
            "description": "Duodenal ulcer - (DU)",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J120.00",
            "description": "Acute duodenal ulcer",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J120000",
            "description": "Acute duodenal ulcer without mention of complication",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J120100",
            "description": "Acute duodenal ulcer with haemorrhage",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J120200",
            "description": "Acute duodenal ulcer with perforation",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J120300",
            "description": "Acute duodenal ulcer with haemorrhage and perforation",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J120400",
            "description": "Acute duodenal ulcer with obstruction",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J120y00",
            "description": "Acute duodenal ulcer unspecified",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J120z00",
            "description": "Acute duodenal ulcer NOS",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J121.00",
            "description": "Chronic duodenal ulcer",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J121000",
            "description": "Chronic duodenal ulcer without mention of complication",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J121111",
            "description": "Bleeding chronic duodenal ulcer",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J121300",
            "description": "Chronic duodenal ulcer with haemorrhage and perforation",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J121400",
            "description": "Chronic duodenal ulcer with obstruction",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J121y00",
            "description": "Chronic duodenal ulcer unspecified",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J121z00",
            "description": "Chronic duodenal ulcer NOS",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J122.00",
            "description": "Duodenal ulcer disease",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J123.00",
            "description": "Duodenal erosion",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J124.00",
            "description": "Recurrent duodenal ulcer",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J12y.00",
            "description": "Unspecified duodenal ulcer",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J12y000",
            "description": "Unspecified duodenal ulcer without mention of complication",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J12y200",
            "description": "Unspecified duodenal ulcer with perforation",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J12y300",
            "description": "Unspecified duodenal ulcer with haemorrhage and perforation",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J12y400",
            "description": "Unspecified duodenal ulcer with obstruction",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J12yy00",
            "description": "Unspec duodenal ulcer; unspec haemorrhage and/or perforation",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J12yz00",
            "description": "Unspecified duodenal ulcer NOS",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J12z.00",
            "description": "Duodenal ulcer NOS",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J13..00",
            "description": "Peptic ulcer - (PU) site unspecified",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J130.00",
            "description": "Acute peptic ulcer",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J130000",
            "description": "Acute peptic ulcer without mention of complication",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J130100",
            "description": "Acute peptic ulcer with haemorrhage",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J130200",
            "description": "Acute peptic ulcer with perforation",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J130300",
            "description": "Acute peptic ulcer with haemorrhage and perforation",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J130y00",
            "description": "Acute peptic ulcer unspecified",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J130z00",
            "description": "Acute peptic ulcer NOS",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J131.00",
            "description": "Chronic peptic ulcer",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J131000",
            "description": "Chronic peptic ulcer without mention of complication",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J13..11",
            "description": "Stress ulcer NOS",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J131100",
            "description": "Chronic peptic ulcer with haemorrhage",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J131200",
            "description": "Chronic peptic ulcer with perforation",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J131400",
            "description": "Chronic peptic ulcer with obstruction",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J131y00",
            "description": "Chronic peptic ulcer unspecified",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J131z00",
            "description": "Chronic peptic ulcer NOS",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J13y.00",
            "description": "Unspecified peptic ulcer",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J13y000",
            "description": "Unspecified peptic ulcer without mention of complication",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J13y100",
            "description": "Unspecified peptic ulcer with haemorrhage",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J13y200",
            "description": "Unspecified peptic ulcer with perforation",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J13y300",
            "description": "Unspecified peptic ulcer with haemorrhage and perforation",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J13y400",
            "description": "Unspecified peptic ulcer with obstruction",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J13yz00",
            "description": "Unspecified peptic ulcer NOS",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J13z.00",
            "description": "Peptic ulcer NOS",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J14..00",
            "description": "Gastrojejunal ulcer (GJU)",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J140.00",
            "description": "Acute gastrojejunal ulcer",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J140100",
            "description": "Acute gastrojejunal ulcer with haemorrhage",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J140200",
            "description": "Acute gastrojejunal ulcer with perforation",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J140300",
            "description": "Acute gastrojejunal ulcer with haemorrhage and perforation",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J140z00",
            "description": "Acute gastrojejunal ulcer NOS",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J141.00",
            "description": "Chronic gastrojejunal ulcer",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J14..12",
            "description": "Gastrocolic ulcer",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J14..15",
            "description": "Stomal ulcer",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J14y.00",
            "description": "Unspecified gastrojejunal ulcer",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J14y100",
            "description": "Unspecified gastrojejunal ulcer with haemorrhage",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J14y200",
            "description": "Unspecified gastrojejunal ulcer with perforation",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J14yz00",
            "description": "Unspecified gastrojejunal ulcer NOS",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "J14z.00",
            "description": "Gastrojejunal ulcer NOS",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "ZV12711",
            "description": "[V]Personal history of peptic ulcer",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          },
          {
            "code": "ZV12C00",
            "description": "[V] Personal history of gastric ulcer",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "Read",
              "Category": "diagnostic"
            }
          }
        ]
      },
      {
        "concept_id": 2654,
        "concept_version_id": 6721,
        "concept_name": "Peptic Ulcer Disease - Primary Care",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH887",
        "phenotype_version_id": 1853,
        "phenotype_name": "Peptic Ulcer Disease",
        "code_attribute_header": [
          "Entity type",
          "Coding System (ICD-10 Read)",
          "Category"
        ],
        "codes": [
          {
            "code": "K22.1",
            "description": "Ulcer of oesophagus",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "ICD-10",
              "Category": "diagnostic"
            }
          },
          {
            "code": "K25",
            "description": "Gastric ulcer",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "ICD-10",
              "Category": "diagnostic"
            }
          },
          {
            "code": "K26",
            "description": "Duodenal ulcer",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "ICD-10",
              "Category": "diagnostic"
            }
          },
          {
            "code": "K27",
            "description": "Peptic ulcer, site unspecified",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "ICD-10",
              "Category": "diagnostic"
            }
          },
          {
            "code": "K28",
            "description": "Gastrojejunal ulcer",
            "attributes": {
              "Entity type": "res69: peptic_ulcer_disease",
              "Coding System (ICD-10 Read)": "ICD-10",
              "Category": "diagnostic"
            }
          }
        ]
      }
    ],
    "status": 2,
    "doi": "https://doi.org/10.48533/5040-sb45",
    "is_deleted": null,
    "publish_status": 2,
    "owner": "ieuan.scanlon",
    "template": {
      "id": 1,
      "name": "Clinical-Coded Phenotype",
      "description": "Phenotype definitions that are based on lists of clinical codes, or algorithms using clinical codes.",
      "version_id": 1
    },
    "versions": [
      {
        "version_id": 1853,
        "version_name": "Peptic Ulcer Disease",
        "version_date": "2022-04-04T07:08:22.779187Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]