[
  {
    "phenotype_id": "PH109",
    "phenotype_version_id": 218,
    "name": "Asthma",
    "definition": "At the specified date, a patient is defined as having had 'Asthma' 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. 'Asthma' diagnosis or history of diagnosis during a consultation \n\nOR\nSecondary care (ICD10)\n\n\n1. ALL diagnoses of 'Asthma' 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:03:27.271015Z",
    "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:03:27.271044Z",
    "sex": [
      {
        "name": "Both",
        "value": "3"
      }
    ],
    "type": [
      {
        "name": "Disease or syndrome",
        "value": "2"
      }
    ],
    "ontology": null,
    "phenoflowid": "https://kclhi.org/phenoflow/workflows/github.com/phenoflow/Asthma---55881430-1762-11ef-9de4-4d4ea830ad16/blob/read-potential-cases-fhir/Asthma.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": 992,
        "concept_version_id": 3123,
        "concept_name": "Asthma - Primary care",
        "coding_system": {
          "id": 5,
          "name": "Read codes v2",
          "description": "Read codes v2"
        },
        "phenotype_id": "PH109",
        "phenotype_version_id": 218,
        "phenotype_name": "Asthma",
        "code_attribute_header": [
          "Disease",
          "Medcode",
          "Category"
        ],
        "codes": [
          {
            "code": "14B4.00",
            "description": "H/O: asthma",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "719.0",
              "Category": "History of Asthma"
            }
          },
          {
            "code": "173A.00",
            "description": "Exercise induced asthma",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "5867.0",
              "Category": "Diagnosis of Asthma"
            }
          },
          {
            "code": "173c.00",
            "description": "Occupational asthma",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "22752.0",
              "Category": "Diagnosis of Asthma"
            }
          },
          {
            "code": "173d.00",
            "description": "Work aggravated asthma",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "73522.0",
              "Category": "Diagnosis of Asthma"
            }
          },
          {
            "code": "1780.00",
            "description": "Aspirin induced asthma",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "41017.0",
              "Category": "Diagnosis of Asthma"
            }
          },
          {
            "code": "1O2..00",
            "description": "Asthma confirmed",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "11370.0",
              "Category": "Diagnosis of Asthma"
            }
          },
          {
            "code": "2126200.0",
            "description": "Asthma resolved",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "10996.0",
              "Category": "History of Asthma"
            }
          },
          {
            "code": "212G.00",
            "description": "Asthma resolved",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "11839.0",
              "Category": "History of Asthma"
            }
          },
          {
            "code": "H312000",
            "description": "Chronic asthmatic bronchitis",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "5798.0",
              "Category": "Diagnosis of Asthma"
            }
          },
          {
            "code": "H33..00",
            "description": "Asthma",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "78.0",
              "Category": "Diagnosis of Asthma"
            }
          },
          {
            "code": "H330.00",
            "description": "Extrinsic (atopic) asthma",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "7146.0",
              "Category": "Diagnosis of Asthma"
            }
          },
          {
            "code": "H330000",
            "description": "Extrinsic asthma without status asthmaticus",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "14777.0",
              "Category": "Diagnosis of Asthma"
            }
          },
          {
            "code": "H330011",
            "description": "Hay fever with asthma",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "5627.0",
              "Category": "Diagnosis of Asthma"
            }
          },
          {
            "code": "H330100",
            "description": "Extrinsic asthma with status asthmaticus",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "27926.0",
              "Category": "Diagnosis of Asthma"
            }
          },
          {
            "code": "H330.11",
            "description": "Allergic asthma",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "2290.0",
              "Category": "Diagnosis of Asthma"
            }
          },
          {
            "code": "H330111",
            "description": "Extrinsic asthma with asthma attack",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "6707.0",
              "Category": "Diagnosis of Asthma"
            }
          },
          {
            "code": "H330.12",
            "description": "Childhood asthma",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "1208.0",
              "Category": "Diagnosis of Asthma"
            }
          },
          {
            "code": "H330.13",
            "description": "Hay fever with asthma",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "15248.0",
              "Category": "Diagnosis of Asthma"
            }
          },
          {
            "code": "H330.14",
            "description": "Pollen asthma",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "7731.0",
              "Category": "Diagnosis of Asthma"
            }
          },
          {
            "code": "H330z00",
            "description": "Extrinsic asthma NOS",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "45782.0",
              "Category": "Diagnosis of Asthma"
            }
          },
          {
            "code": "H331.00",
            "description": "Intrinsic asthma",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "5267.0",
              "Category": "Diagnosis of Asthma"
            }
          },
          {
            "code": "H331000",
            "description": "Intrinsic asthma without status asthmaticus",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "29325.0",
              "Category": "Diagnosis of Asthma"
            }
          },
          {
            "code": "H33..11",
            "description": "Bronchial asthma",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "1555.0",
              "Category": "Diagnosis of Asthma"
            }
          },
          {
            "code": "H331100",
            "description": "Intrinsic asthma with status asthmaticus",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "58196.0",
              "Category": "Diagnosis of Asthma"
            }
          },
          {
            "code": "H331.11",
            "description": "Late onset asthma",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "3665.0",
              "Category": "Diagnosis of Asthma"
            }
          },
          {
            "code": "H331111",
            "description": "Intrinsic asthma with asthma attack",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "18323.0",
              "Category": "Diagnosis of Asthma"
            }
          },
          {
            "code": "H331z00",
            "description": "Intrinsic asthma NOS",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "45073.0",
              "Category": "Diagnosis of Asthma"
            }
          },
          {
            "code": "H332.00",
            "description": "Mixed asthma",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "25796.0",
              "Category": "Diagnosis of Asthma"
            }
          },
          {
            "code": "H333.00",
            "description": "Acute exacerbation of asthma",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "185.0",
              "Category": "Diagnosis of Asthma"
            }
          },
          {
            "code": "H334.00",
            "description": "Brittle asthma",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "40823.0",
              "Category": "Diagnosis of Asthma"
            }
          },
          {
            "code": "H335.00",
            "description": "Chronic asthma with fixed airflow obstruction",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "106805.0",
              "Category": "Diagnosis of Asthma"
            }
          },
          {
            "code": "H33z.00",
            "description": "Asthma unspecified",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "4442.0",
              "Category": "Diagnosis of Asthma"
            }
          },
          {
            "code": "H33z000",
            "description": "Status asthmaticus NOS",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "4892.0",
              "Category": "Diagnosis of Asthma"
            }
          },
          {
            "code": "H33z011",
            "description": "Severe asthma attack",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "233.0",
              "Category": "Diagnosis of Asthma"
            }
          },
          {
            "code": "H33z100",
            "description": "Asthma attack",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "232.0",
              "Category": "Diagnosis of Asthma"
            }
          },
          {
            "code": "H33z.11",
            "description": "Hyperreactive airways disease",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "32727.0",
              "Category": "Diagnosis of Asthma"
            }
          },
          {
            "code": "H33z111",
            "description": "Asthma attack NOS",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "8335.0",
              "Category": "Diagnosis of Asthma"
            }
          },
          {
            "code": "H33z200",
            "description": "Late-onset asthma",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "12987.0",
              "Category": "Diagnosis of Asthma"
            }
          },
          {
            "code": "H33zz00",
            "description": "Asthma NOS",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "16070.0",
              "Category": "Diagnosis of Asthma"
            }
          },
          {
            "code": "H33zz11",
            "description": "Exercise induced asthma",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "4606.0",
              "Category": "Diagnosis of Asthma"
            }
          },
          {
            "code": "H33zz12",
            "description": "Allergic asthma NEC",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "21232.0",
              "Category": "Diagnosis of Asthma"
            }
          },
          {
            "code": "H33zz13",
            "description": "Allergic bronchitis NEC",
            "attributes": {
              "Disease": "Asthma",
              "Medcode": "18207.0",
              "Category": "Diagnosis of Asthma"
            }
          }
        ]
      },
      {
        "concept_id": 993,
        "concept_version_id": 3125,
        "concept_name": "Asthma - Primary care",
        "coding_system": {
          "id": 8,
          "name": "Med codes",
          "description": "Med codes"
        },
        "phenotype_id": "PH109",
        "phenotype_version_id": 218,
        "phenotype_name": "Asthma",
        "code_attribute_header": [
          "Disease",
          "ReadcodeDescr",
          "Readcode"
        ],
        "codes": [
          {
            "code": "106805.0",
            "description": "Diagnosis of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Chronic asthma with fixed airflow obstruction",
              "Readcode": "H335.00"
            }
          },
          {
            "code": "10996.0",
            "description": "History of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Asthma resolved",
              "Readcode": "2126200.0"
            }
          },
          {
            "code": "11370.0",
            "description": "Diagnosis of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Asthma confirmed",
              "Readcode": "1O2..00"
            }
          },
          {
            "code": "11839.0",
            "description": "History of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Asthma resolved",
              "Readcode": "212G.00"
            }
          },
          {
            "code": "1208.0",
            "description": "Diagnosis of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Childhood asthma",
              "Readcode": "H330.12"
            }
          },
          {
            "code": "12987.0",
            "description": "Diagnosis of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Late-onset asthma",
              "Readcode": "H33z200"
            }
          },
          {
            "code": "14777.0",
            "description": "Diagnosis of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Extrinsic asthma without status asthmaticus",
              "Readcode": "H330000"
            }
          },
          {
            "code": "15248.0",
            "description": "Diagnosis of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Hay fever with asthma",
              "Readcode": "H330.13"
            }
          },
          {
            "code": "1555.0",
            "description": "Diagnosis of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Bronchial asthma",
              "Readcode": "H33..11"
            }
          },
          {
            "code": "16070.0",
            "description": "Diagnosis of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Asthma NOS",
              "Readcode": "H33zz00"
            }
          },
          {
            "code": "18207.0",
            "description": "Diagnosis of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Allergic bronchitis NEC",
              "Readcode": "H33zz13"
            }
          },
          {
            "code": "18323.0",
            "description": "Diagnosis of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Intrinsic asthma with asthma attack",
              "Readcode": "H331111"
            }
          },
          {
            "code": "185.0",
            "description": "Diagnosis of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Acute exacerbation of asthma",
              "Readcode": "H333.00"
            }
          },
          {
            "code": "21232.0",
            "description": "Diagnosis of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Allergic asthma NEC",
              "Readcode": "H33zz12"
            }
          },
          {
            "code": "22752.0",
            "description": "Diagnosis of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Occupational asthma",
              "Readcode": "173c.00"
            }
          },
          {
            "code": "2290.0",
            "description": "Diagnosis of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Allergic asthma",
              "Readcode": "H330.11"
            }
          },
          {
            "code": "232.0",
            "description": "Diagnosis of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Asthma attack",
              "Readcode": "H33z100"
            }
          },
          {
            "code": "233.0",
            "description": "Diagnosis of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Severe asthma attack",
              "Readcode": "H33z011"
            }
          },
          {
            "code": "25796.0",
            "description": "Diagnosis of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Mixed asthma",
              "Readcode": "H332.00"
            }
          },
          {
            "code": "27926.0",
            "description": "Diagnosis of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Extrinsic asthma with status asthmaticus",
              "Readcode": "H330100"
            }
          },
          {
            "code": "29325.0",
            "description": "Diagnosis of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Intrinsic asthma without status asthmaticus",
              "Readcode": "H331000"
            }
          },
          {
            "code": "32727.0",
            "description": "Diagnosis of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Hyperreactive airways disease",
              "Readcode": "H33z.11"
            }
          },
          {
            "code": "3665.0",
            "description": "Diagnosis of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Late onset asthma",
              "Readcode": "H331.11"
            }
          },
          {
            "code": "40823.0",
            "description": "Diagnosis of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Brittle asthma",
              "Readcode": "H334.00"
            }
          },
          {
            "code": "41017.0",
            "description": "Diagnosis of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Aspirin induced asthma",
              "Readcode": "1780.00"
            }
          },
          {
            "code": "4442.0",
            "description": "Diagnosis of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Asthma unspecified",
              "Readcode": "H33z.00"
            }
          },
          {
            "code": "45073.0",
            "description": "Diagnosis of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Intrinsic asthma NOS",
              "Readcode": "H331z00"
            }
          },
          {
            "code": "45782.0",
            "description": "Diagnosis of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Extrinsic asthma NOS",
              "Readcode": "H330z00"
            }
          },
          {
            "code": "4606.0",
            "description": "Diagnosis of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Exercise induced asthma",
              "Readcode": "H33zz11"
            }
          },
          {
            "code": "4892.0",
            "description": "Diagnosis of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Status asthmaticus NOS",
              "Readcode": "H33z000"
            }
          },
          {
            "code": "5267.0",
            "description": "Diagnosis of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Intrinsic asthma",
              "Readcode": "H331.00"
            }
          },
          {
            "code": "5627.0",
            "description": "Diagnosis of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Hay fever with asthma",
              "Readcode": "H330011"
            }
          },
          {
            "code": "5798.0",
            "description": "Diagnosis of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Chronic asthmatic bronchitis",
              "Readcode": "H312000"
            }
          },
          {
            "code": "58196.0",
            "description": "Diagnosis of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Intrinsic asthma with status asthmaticus",
              "Readcode": "H331100"
            }
          },
          {
            "code": "5867.0",
            "description": "Diagnosis of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Exercise induced asthma",
              "Readcode": "173A.00"
            }
          },
          {
            "code": "6707.0",
            "description": "Diagnosis of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Extrinsic asthma with asthma attack",
              "Readcode": "H330111"
            }
          },
          {
            "code": "7146.0",
            "description": "Diagnosis of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Extrinsic (atopic) asthma",
              "Readcode": "H330.00"
            }
          },
          {
            "code": "719.0",
            "description": "History of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "H/O: asthma",
              "Readcode": "14B4.00"
            }
          },
          {
            "code": "73522.0",
            "description": "Diagnosis of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Work aggravated asthma",
              "Readcode": "173d.00"
            }
          },
          {
            "code": "7731.0",
            "description": "Diagnosis of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Pollen asthma",
              "Readcode": "H330.14"
            }
          },
          {
            "code": "78.0",
            "description": "Diagnosis of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Asthma",
              "Readcode": "H33..00"
            }
          },
          {
            "code": "8335.0",
            "description": "Diagnosis of Asthma",
            "attributes": {
              "Disease": "Asthma",
              "ReadcodeDescr": "Asthma attack NOS",
              "Readcode": "H33z111"
            }
          }
        ]
      },
      {
        "concept_id": 994,
        "concept_version_id": 3127,
        "concept_name": "Asthma - Secondary care - Diagnoses",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH109",
        "phenotype_version_id": 218,
        "phenotype_name": "Asthma",
        "code_attribute_header": [
          "Disease",
          "Category"
        ],
        "codes": [
          {
            "code": "J45",
            "description": "Asthma",
            "attributes": {
              "Disease": "Asthma",
              "Category": "Diagnosis of Asthma"
            }
          },
          {
            "code": "J46",
            "description": "Status asthmaticus",
            "attributes": {
              "Disease": "Asthma",
              "Category": "Diagnosis of Asthma"
            }
          }
        ]
      }
    ],
    "status": 2,
    "doi": "https://doi.org/10.48533/bck0-6398",
    "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": 218,
        "version_name": "Asthma",
        "version_date": "2021-10-06T16:03:27.299054Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]