[
  {
    "phenotype_id": "PH141",
    "phenotype_version_id": 282,
    "name": "Coeliac disease",
    "definition": "At the specified date, a patient is defined as having had 'Coeliac disease' 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. 'Coeliac disease' diagnosis or history of diagnosis or procedure during a consultation \n\nOR\nSecondary care\n\n\n1. ALL diagnoses of 'Coeliac disease' 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:45.727194Z",
    "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:45.727222Z",
    "sex": [
      {
        "name": "Both",
        "value": "3"
      }
    ],
    "type": [
      {
        "name": "Disease or syndrome",
        "value": "2"
      }
    ],
    "ontology": null,
    "phenoflowid": "https://kclhi.org/phenoflow/workflows/github.com/phenoflow/Coeliac-disease---afe7c4c0-1771-11ef-9de4-4d4ea830ad16/blob/read-potential-cases-fhir/Coeliac-disease.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": 1085,
        "concept_version_id": 3309,
        "concept_name": "Coeliac disease - Primary care",
        "coding_system": {
          "id": 5,
          "name": "Read codes v2",
          "description": "Read codes v2"
        },
        "phenotype_id": "PH141",
        "phenotype_version_id": 282,
        "phenotype_name": "Coeliac disease",
        "code_attribute_header": [
          "Disease",
          "Medcode",
          "Category"
        ],
        "codes": [
          {
            "code": "6648.00",
            "description": "Coeliac disease monitoring",
            "attributes": {
              "Disease": "Coeliac disease",
              "Medcode": "102315.0",
              "Category": "History of Coeliac disease"
            }
          },
          {
            "code": "6648000.0",
            "description": "Coeliac disease annual review",
            "attributes": {
              "Disease": "Coeliac disease",
              "Medcode": "102617.0",
              "Category": "History of Coeliac disease"
            }
          },
          {
            "code": "8IAp.00",
            "description": "Coeliac disease annual review declined",
            "attributes": {
              "Disease": "Coeliac disease",
              "Medcode": "103379.0",
              "Category": "History of Coeliac disease"
            }
          },
          {
            "code": "9mB..00",
            "description": "Coeliac disease monitoring invitation",
            "attributes": {
              "Disease": "Coeliac disease",
              "Medcode": "106282.0",
              "Category": "History of Coeliac disease"
            }
          },
          {
            "code": "9mB1.00",
            "description": "Coeliac disease monitoring invitation first letter",
            "attributes": {
              "Disease": "Coeliac disease",
              "Medcode": "106326.0",
              "Category": "History of Coeliac disease"
            }
          },
          {
            "code": "J690.00",
            "description": "Coeliac disease",
            "attributes": {
              "Disease": "Coeliac disease",
              "Medcode": "1515.0",
              "Category": "Diagnosis of Coeliac disease"
            }
          },
          {
            "code": "J690000",
            "description": "Congenital coeliac disease",
            "attributes": {
              "Disease": "Coeliac disease",
              "Medcode": "62397.0",
              "Category": "Diagnosis of Coeliac disease"
            }
          },
          {
            "code": "J690100",
            "description": "Acquired coeliac disease",
            "attributes": {
              "Disease": "Coeliac disease",
              "Medcode": "63195.0",
              "Category": "Diagnosis of Coeliac disease"
            }
          },
          {
            "code": "J690.11",
            "description": "Coeliac rickets",
            "attributes": {
              "Disease": "Coeliac disease",
              "Medcode": "68680.0",
              "Category": "Diagnosis of Coeliac disease"
            }
          },
          {
            "code": "J690.12",
            "description": "Gee - Herter disease",
            "attributes": {
              "Disease": "Coeliac disease",
              "Medcode": "57966.0",
              "Category": "Diagnosis of Coeliac disease"
            }
          },
          {
            "code": "J690.13",
            "description": "Gluten enteropathy",
            "attributes": {
              "Disease": "Coeliac disease",
              "Medcode": "3509.0",
              "Category": "Diagnosis of Coeliac disease"
            }
          },
          {
            "code": "J690.14",
            "description": "Sprue - nontropical",
            "attributes": {
              "Disease": "Coeliac disease",
              "Medcode": "16365.0",
              "Category": "Diagnosis of Coeliac disease"
            }
          },
          {
            "code": "J690.15",
            "description": "Steatorrhea - idiopathic",
            "attributes": {
              "Disease": "Coeliac disease",
              "Medcode": "4787.0",
              "Category": "Diagnosis of Coeliac disease"
            }
          },
          {
            "code": "J690z00",
            "description": "Coeliac disease NOS",
            "attributes": {
              "Disease": "Coeliac disease",
              "Medcode": "44310.0",
              "Category": "Diagnosis of Coeliac disease"
            }
          },
          {
            "code": "ZC2C200",
            "description": "Dietary advice for coeliac disease",
            "attributes": {
              "Disease": "Coeliac disease",
              "Medcode": "45925.0",
              "Category": "Diagnosis of Coeliac disease"
            }
          }
        ]
      },
      {
        "concept_id": 1086,
        "concept_version_id": 3311,
        "concept_name": "Coeliac disease - Primary care",
        "coding_system": {
          "id": 8,
          "name": "Med codes",
          "description": "Med codes"
        },
        "phenotype_id": "PH141",
        "phenotype_version_id": 282,
        "phenotype_name": "Coeliac disease",
        "code_attribute_header": [
          "Disease",
          "ReadcodeDescr",
          "Readcode"
        ],
        "codes": [
          {
            "code": "102315.0",
            "description": "History of Coeliac disease",
            "attributes": {
              "Disease": "Coeliac disease",
              "ReadcodeDescr": "Coeliac disease monitoring",
              "Readcode": "6648.00"
            }
          },
          {
            "code": "102617.0",
            "description": "History of Coeliac disease",
            "attributes": {
              "Disease": "Coeliac disease",
              "ReadcodeDescr": "Coeliac disease annual review",
              "Readcode": "6648000.0"
            }
          },
          {
            "code": "103379.0",
            "description": "History of Coeliac disease",
            "attributes": {
              "Disease": "Coeliac disease",
              "ReadcodeDescr": "Coeliac disease annual review declined",
              "Readcode": "8IAp.00"
            }
          },
          {
            "code": "106282.0",
            "description": "History of Coeliac disease",
            "attributes": {
              "Disease": "Coeliac disease",
              "ReadcodeDescr": "Coeliac disease monitoring invitation",
              "Readcode": "9mB..00"
            }
          },
          {
            "code": "106326.0",
            "description": "History of Coeliac disease",
            "attributes": {
              "Disease": "Coeliac disease",
              "ReadcodeDescr": "Coeliac disease monitoring invitation first letter",
              "Readcode": "9mB1.00"
            }
          },
          {
            "code": "1515.0",
            "description": "Diagnosis of Coeliac disease",
            "attributes": {
              "Disease": "Coeliac disease",
              "ReadcodeDescr": "Coeliac disease",
              "Readcode": "J690.00"
            }
          },
          {
            "code": "16365.0",
            "description": "Diagnosis of Coeliac disease",
            "attributes": {
              "Disease": "Coeliac disease",
              "ReadcodeDescr": "Sprue - nontropical",
              "Readcode": "J690.14"
            }
          },
          {
            "code": "3509.0",
            "description": "Diagnosis of Coeliac disease",
            "attributes": {
              "Disease": "Coeliac disease",
              "ReadcodeDescr": "Gluten enteropathy",
              "Readcode": "J690.13"
            }
          },
          {
            "code": "44310.0",
            "description": "Diagnosis of Coeliac disease",
            "attributes": {
              "Disease": "Coeliac disease",
              "ReadcodeDescr": "Coeliac disease NOS",
              "Readcode": "J690z00"
            }
          },
          {
            "code": "45925.0",
            "description": "Diagnosis of Coeliac disease",
            "attributes": {
              "Disease": "Coeliac disease",
              "ReadcodeDescr": "Dietary advice for coeliac disease",
              "Readcode": "ZC2C200"
            }
          },
          {
            "code": "4787.0",
            "description": "Diagnosis of Coeliac disease",
            "attributes": {
              "Disease": "Coeliac disease",
              "ReadcodeDescr": "Steatorrhea - idiopathic",
              "Readcode": "J690.15"
            }
          },
          {
            "code": "57966.0",
            "description": "Diagnosis of Coeliac disease",
            "attributes": {
              "Disease": "Coeliac disease",
              "ReadcodeDescr": "Gee - Herter disease",
              "Readcode": "J690.12"
            }
          },
          {
            "code": "62397.0",
            "description": "Diagnosis of Coeliac disease",
            "attributes": {
              "Disease": "Coeliac disease",
              "ReadcodeDescr": "Congenital coeliac disease",
              "Readcode": "J690000"
            }
          },
          {
            "code": "63195.0",
            "description": "Diagnosis of Coeliac disease",
            "attributes": {
              "Disease": "Coeliac disease",
              "ReadcodeDescr": "Acquired coeliac disease",
              "Readcode": "J690100"
            }
          },
          {
            "code": "68680.0",
            "description": "Diagnosis of Coeliac disease",
            "attributes": {
              "Disease": "Coeliac disease",
              "ReadcodeDescr": "Coeliac rickets",
              "Readcode": "J690.11"
            }
          }
        ]
      },
      {
        "concept_id": 1087,
        "concept_version_id": 3313,
        "concept_name": "Coeliac disease - Secondary care - Diagnoses",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH141",
        "phenotype_version_id": 282,
        "phenotype_name": "Coeliac disease",
        "code_attribute_header": [
          "Disease",
          "Category"
        ],
        "codes": [
          {
            "code": "K90.0",
            "description": "Coeliac disease",
            "attributes": {
              "Disease": "Coeliac disease",
              "Category": "Diagnosis of Coeliac disease"
            }
          }
        ]
      }
    ],
    "status": 2,
    "doi": "https://doi.org/10.48533/2fah-h262",
    "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": 282,
        "version_name": "Coeliac disease",
        "version_date": "2021-10-06T16:04:45.754979Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]