[
  {
    "phenotype_id": "PH123",
    "phenotype_version_id": 246,
    "name": "Benign neoplasm of stomach and duodenum",
    "definition": "At the specified date, a patient is defined as having had Benign neoplasm of stomach and duodenum IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:\n\n\nPrimary care\n\n\n1. Benign neoplasm of stomach and duodenum diagnosis or history of diagnosis during a consultation \n\nOR\nSecondary care\n\n\n1. ALL diagnoses of Benign neoplasm of stomach and duodenum or history of diagnosis during a hospitalization\n\n\n\n\n\n\n\n\n\n\n\n\n",
    "implementation": "",
    "publications": [
      {
        "doi": "10.1016/S2589-7500(19)30012-3",
        "details": "Kuan V., Denaxas S., Gonzalez-Izquierdo A. et al. A chronological map of 308 physical and mental health conditions from 4 million individuals in the National Health Service. The Lancet Digital Health - DOI 10.1016/S2589-7500(19)30012-3"
      }
    ],
    "validation": "",
    "citation_requirements": "",
    "created": "2021-10-06T16:04:00.042223Z",
    "author": "Kuan V, Denaxas S, Gonzalez-Izquierdo A, Direk K, Bhatti O, Husain S, Sutaria S, Hingorani M, Nitsch D, Parisinos C, Lumbers T, Mathur R, Sofat R, Casas JP, Wong I, Hemingway H, Hingorani A",
    "collections": [
      {
        "name": "CALIBER",
        "value": 21
      },
      {
        "name": "Phenotype Library",
        "value": 18
      }
    ],
    "tags": null,
    "organisation": null,
    "world_access": 1,
    "updated": "2021-10-06T16:04:00.042251Z",
    "sex": [
      {
        "name": "Both",
        "value": "3"
      }
    ],
    "type": [
      {
        "name": "Disease or syndrome",
        "value": "2"
      }
    ],
    "ontology": null,
    "phenoflowid": "https://kclhi.org/phenoflow/workflows/github.com/phenoflow/Benign-neoplasm-of-stomach-and-duodenum---ab7bd110-2022-11ef-94c0-09c4aef33dd3/blob/read-potential-cases-fhir/Benign-neoplasm-of-stomach-and-duodenum.cwl",
    "data_sources": [
      {
        "name": "CPRD GOLD",
        "value": 5,
        "uid": "a29feafa-7bdd-44e9-b977-c9d26425e67f",
        "url": "https://healthdatagateway.org/en/dataset/694",
        "datasource_id": 694
      },
      {
        "name": "HES Admitted Patient Care data for CPRD GOLD",
        "value": 9,
        "uid": "4bcf64a6-f404-4ef4-ae6e-172512ab5f43",
        "url": "https://healthdatagateway.org/en/dataset/674",
        "datasource_id": 674
      }
    ],
    "coding_system": [
      {
        "name": "ICD10 codes",
        "value": 4
      },
      {
        "name": "Read codes v2",
        "value": 5
      },
      {
        "name": "Med codes",
        "value": 8
      }
    ],
    "event_date_range": "01/01/1999 - 01/07/2016",
    "concept_information": [
      {
        "concept_id": 1032,
        "concept_version_id": 3203,
        "concept_name": "Benign neoplasm of stomach and duodenum - Primary care",
        "coding_system": {
          "id": 5,
          "name": "Read codes v2",
          "description": "Read codes v2"
        },
        "phenotype_id": "PH123",
        "phenotype_version_id": 246,
        "phenotype_name": "Benign neoplasm of stomach and duodenum",
        "code_attribute_header": [
          "Disease",
          "Medcode",
          "Category"
        ],
        "codes": [
          {
            "code": "7612000.0",
            "description": "Open excision of polyp of stomach",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "Medcode": "31943.0",
              "Category": "Diagnosis of Benign neoplasm of stomach and duodenum"
            }
          },
          {
            "code": "B711.00",
            "description": "Benign neoplasm of stomach",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "Medcode": "2151.0",
              "Category": "Diagnosis of Benign neoplasm of stomach and duodenum"
            }
          },
          {
            "code": "B711000",
            "description": "Benign neoplasm of stomach cardia",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "Medcode": "70651.0",
              "Category": "Diagnosis of Benign neoplasm of stomach and duodenum"
            }
          },
          {
            "code": "B711100",
            "description": "Benign neoplasm of pylorus of stomach",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "Medcode": "62625.0",
              "Category": "Diagnosis of Benign neoplasm of stomach and duodenum"
            }
          },
          {
            "code": "B711.11",
            "description": "Gastric polyp",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "Medcode": "9930.0",
              "Category": "Diagnosis of Benign neoplasm of stomach and duodenum"
            }
          },
          {
            "code": "B711200",
            "description": "Benign neoplasm of fundus of stomach",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "Medcode": "52425.0",
              "Category": "Diagnosis of Benign neoplasm of stomach and duodenum"
            }
          },
          {
            "code": "B711300",
            "description": "Benign neoplasm of body of stomach",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "Medcode": "62798.0",
              "Category": "Diagnosis of Benign neoplasm of stomach and duodenum"
            }
          },
          {
            "code": "B711400",
            "description": "Benign neoplasm of pyloric antrum",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "Medcode": "57870.0",
              "Category": "Diagnosis of Benign neoplasm of stomach and duodenum"
            }
          },
          {
            "code": "B711z00",
            "description": "Benign neoplasm of stomach NOS",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "Medcode": "54667.0",
              "Category": "Diagnosis of Benign neoplasm of stomach and duodenum"
            }
          },
          {
            "code": "B712.00",
            "description": "Benign neoplasm of small intestine and duodenum",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "Medcode": "15203.0",
              "Category": "Diagnosis of Benign neoplasm of stomach and duodenum"
            }
          },
          {
            "code": "B712000",
            "description": "Benign neoplasm of duodenum",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "Medcode": "48001.0",
              "Category": "Diagnosis of Benign neoplasm of stomach and duodenum"
            }
          },
          {
            "code": "B712011",
            "description": "Duodenal polyp",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "Medcode": "14949.0",
              "Category": "Diagnosis of Benign neoplasm of stomach and duodenum"
            }
          },
          {
            "code": "B712100",
            "description": "Benign neoplasm of jejunum",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "Medcode": "70965.0",
              "Category": "Diagnosis of Benign neoplasm of stomach and duodenum"
            }
          },
          {
            "code": "B712111",
            "description": "Jejunal polyp",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "Medcode": "43341.0",
              "Category": "Diagnosis of Benign neoplasm of stomach and duodenum"
            }
          },
          {
            "code": "B712200",
            "description": "Benign neoplasm of ileum",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "Medcode": "70275.0",
              "Category": "Diagnosis of Benign neoplasm of stomach and duodenum"
            }
          },
          {
            "code": "B712z00",
            "description": "Benign neoplasm of small intestine or duodenum NOS",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "Medcode": "95911.0",
              "Category": "Diagnosis of Benign neoplasm of stomach and duodenum"
            }
          },
          {
            "code": "J177.00",
            "description": "Gastric polyp",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "Medcode": "25671.0",
              "Category": "Diagnosis of Benign neoplasm of stomach and duodenum"
            }
          },
          {
            "code": "J177.11",
            "description": "Polyp of stomach",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "Medcode": "19143.0",
              "Category": "Diagnosis of Benign neoplasm of stomach and duodenum"
            }
          },
          {
            "code": "J178.00",
            "description": "Duodenal polyp",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "Medcode": "51733.0",
              "Category": "Diagnosis of Benign neoplasm of stomach and duodenum"
            }
          },
          {
            "code": "J178.11",
            "description": "Polyp of duodenum",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "Medcode": "41334.0",
              "Category": "Diagnosis of Benign neoplasm of stomach and duodenum"
            }
          }
        ]
      },
      {
        "concept_id": 1033,
        "concept_version_id": 3205,
        "concept_name": "Benign neoplasm of stomach and duodenum - Primary care",
        "coding_system": {
          "id": 8,
          "name": "Med codes",
          "description": "Med codes"
        },
        "phenotype_id": "PH123",
        "phenotype_version_id": 246,
        "phenotype_name": "Benign neoplasm of stomach and duodenum",
        "code_attribute_header": [
          "Disease",
          "ReadcodeDescr",
          "Readcode"
        ],
        "codes": [
          {
            "code": "14949.0",
            "description": "Diagnosis of Benign neoplasm of stomach and duodenum",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "ReadcodeDescr": "Duodenal polyp",
              "Readcode": "B712011"
            }
          },
          {
            "code": "15203.0",
            "description": "Diagnosis of Benign neoplasm of stomach and duodenum",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "ReadcodeDescr": "Benign neoplasm of small intestine and duodenum",
              "Readcode": "B712.00"
            }
          },
          {
            "code": "19143.0",
            "description": "Diagnosis of Benign neoplasm of stomach and duodenum",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "ReadcodeDescr": "Polyp of stomach",
              "Readcode": "J177.11"
            }
          },
          {
            "code": "2151.0",
            "description": "Diagnosis of Benign neoplasm of stomach and duodenum",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "ReadcodeDescr": "Benign neoplasm of stomach",
              "Readcode": "B711.00"
            }
          },
          {
            "code": "25671.0",
            "description": "Diagnosis of Benign neoplasm of stomach and duodenum",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "ReadcodeDescr": "Gastric polyp",
              "Readcode": "J177.00"
            }
          },
          {
            "code": "31943.0",
            "description": "Diagnosis of Benign neoplasm of stomach and duodenum",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "ReadcodeDescr": "Open excision of polyp of stomach",
              "Readcode": "7612000.0"
            }
          },
          {
            "code": "41334.0",
            "description": "Diagnosis of Benign neoplasm of stomach and duodenum",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "ReadcodeDescr": "Polyp of duodenum",
              "Readcode": "J178.11"
            }
          },
          {
            "code": "43341.0",
            "description": "Diagnosis of Benign neoplasm of stomach and duodenum",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "ReadcodeDescr": "Jejunal polyp",
              "Readcode": "B712111"
            }
          },
          {
            "code": "48001.0",
            "description": "Diagnosis of Benign neoplasm of stomach and duodenum",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "ReadcodeDescr": "Benign neoplasm of duodenum",
              "Readcode": "B712000"
            }
          },
          {
            "code": "51733.0",
            "description": "Diagnosis of Benign neoplasm of stomach and duodenum",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "ReadcodeDescr": "Duodenal polyp",
              "Readcode": "J178.00"
            }
          },
          {
            "code": "52425.0",
            "description": "Diagnosis of Benign neoplasm of stomach and duodenum",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "ReadcodeDescr": "Benign neoplasm of fundus of stomach",
              "Readcode": "B711200"
            }
          },
          {
            "code": "54667.0",
            "description": "Diagnosis of Benign neoplasm of stomach and duodenum",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "ReadcodeDescr": "Benign neoplasm of stomach NOS",
              "Readcode": "B711z00"
            }
          },
          {
            "code": "57870.0",
            "description": "Diagnosis of Benign neoplasm of stomach and duodenum",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "ReadcodeDescr": "Benign neoplasm of pyloric antrum",
              "Readcode": "B711400"
            }
          },
          {
            "code": "62625.0",
            "description": "Diagnosis of Benign neoplasm of stomach and duodenum",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "ReadcodeDescr": "Benign neoplasm of pylorus of stomach",
              "Readcode": "B711100"
            }
          },
          {
            "code": "62798.0",
            "description": "Diagnosis of Benign neoplasm of stomach and duodenum",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "ReadcodeDescr": "Benign neoplasm of body of stomach",
              "Readcode": "B711300"
            }
          },
          {
            "code": "70275.0",
            "description": "Diagnosis of Benign neoplasm of stomach and duodenum",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "ReadcodeDescr": "Benign neoplasm of ileum",
              "Readcode": "B712200"
            }
          },
          {
            "code": "70651.0",
            "description": "Diagnosis of Benign neoplasm of stomach and duodenum",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "ReadcodeDescr": "Benign neoplasm of stomach cardia",
              "Readcode": "B711000"
            }
          },
          {
            "code": "70965.0",
            "description": "Diagnosis of Benign neoplasm of stomach and duodenum",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "ReadcodeDescr": "Benign neoplasm of jejunum",
              "Readcode": "B712100"
            }
          },
          {
            "code": "95911.0",
            "description": "Diagnosis of Benign neoplasm of stomach and duodenum",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "ReadcodeDescr": "Benign neoplasm of small intestine or duodenum NOS",
              "Readcode": "B712z00"
            }
          },
          {
            "code": "9930.0",
            "description": "Diagnosis of Benign neoplasm of stomach and duodenum",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "ReadcodeDescr": "Gastric polyp",
              "Readcode": "B711.11"
            }
          }
        ]
      },
      {
        "concept_id": 1034,
        "concept_version_id": 3207,
        "concept_name": "Benign neoplasm of stomach and duodenum - Secondary care - Diagnoses",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH123",
        "phenotype_version_id": 246,
        "phenotype_name": "Benign neoplasm of stomach and duodenum",
        "code_attribute_header": [
          "Disease",
          "Category"
        ],
        "codes": [
          {
            "code": "D13.1",
            "description": "Benign neoplasm: Stomach",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "Category": "Diagnosis of Benign neoplasm of stomach and duodenum"
            }
          },
          {
            "code": "D13.2",
            "description": "Benign neoplasm: Duodenum",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "Category": "Diagnosis of Benign neoplasm of stomach and duodenum"
            }
          },
          {
            "code": "D13.3",
            "description": "Benign neoplasm: Other and unspecified parts of small intestine",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "Category": "Diagnosis of Benign neoplasm of stomach and duodenum"
            }
          },
          {
            "code": "K31.7",
            "description": "Polyp of stomach and duodenum",
            "attributes": {
              "Disease": "Benign neoplasm of stomach and duodenum",
              "Category": "Diagnosis of Benign neoplasm of stomach and duodenum"
            }
          }
        ]
      }
    ],
    "status": 2,
    "doi": "https://doi.org/10.48533/65hh-1k92",
    "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": 246,
        "version_name": "Benign neoplasm of stomach and duodenum",
        "version_date": "2021-10-06T16:04:00.069500Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]