[
  {
    "phenotype_id": "PH4300",
    "phenotype_version_id": 9518,
    "name": "Primary Malignancy_Lung and trachea",
    "definition": "Malignant neoplasm of bronchus and lung.\n\nUKB baseline self reported fields.\n",
    "implementation": "The earliest record across all sources is obtained.\n",
    "publications": [
      {
        "doi": "https://doi.org/10.1038/s41598-025-05838-9",
        "details": "Torralbo, Ana and Davitte, Jonathan M. and Croteau-Chonka, Damien C. and Ytsma, Cai R. and Tomlinson, Christopher and Fitzpatrick, Natalie and Chung, Sheng-Chia and Fatemifar, Ghazaleh and Cortes, Adrian S. and Richardson, Tom G. and Barclay, Matthew and Carrasco Zanini Sanchez, Julia and Finan, Chris and Hemingway, Harry and Hingorani, Aroon D. and Kuan Po Ai, Valerie and Langenberg, Claudia and Lyratzopoulos, Georgios and Lumbers, Tom and Pietzner, Maik and Shah, Anoop Dinesh and Thygesen, Johan Hilge and Zelenka, Natalie and Whittaker, John C. and Ehm, Margaret G. and Denaxas, Spiros, A Computational Framework for Defining and Validating Reproducible Phenotyping Algorithms of 313 Diseases in the UK Biobank.",
        "primary": true
      }
    ],
    "validation": "Phenotypes underwent a multi\\-layered validation approach that included a) evaluating data source concordance, b) age\\-sex incidence and baseline prevalence patterns, c) an external comparison to a representative and unselected UK EHR dataset, d) modifiable risk factor associations, and e) genetic correlations with external genome\\-wide association studies (GWAS). Results showed consistent disease distributions by age and sex, high ranked correlation with general population prevalence estimates, confirmed risk factor associations, and significant genetic correlations with external GWAS.\n",
    "citation_requirements": null,
    "created": "2026-06-08T20:16:25.471412Z",
    "author": "Torralbo, A; Davitte, J M; Croteau-Chonka, D C; Ytsma, C; Tomlinson, C; Fitzpatrick, N K; Chung, S C; Fatemifar, G; Cortes, A S; Richardson, T G; Barclay, M; Carrasco Zanini, J; Finan, C; Hemingway, H; Hingorani, A; Kuan, V; Langenberg, C; Lyratzopoulos, G; Lumbers, R T; Pietzner, M; Shah, A D; Thygesen, J H; Zelenka, N; Whittaker, J C; Ehm, M G; Denaxas, S",
    "collections": [
      {
        "name": "Phenotype Library",
        "value": 18
      },
      {
        "name": "UK Biobank",
        "value": 32
      }
    ],
    "tags": null,
    "organisation": null,
    "world_access": 1,
    "updated": "2026-06-08T20:16:25.466034Z",
    "sex": [
      {
        "name": "Both",
        "value": "3"
      }
    ],
    "type": [
      {
        "name": "Disease or syndrome",
        "value": "2"
      }
    ],
    "trials": null,
    "ontology": [
      {
        "name": "Primary malignant neoplasm of lung (disorder)",
        "value": 113127
      }
    ],
    "phenoflowid": null,
    "data_sources": [
      {
        "name": "UK Biobank",
        "value": 13,
        "uid": "6a9f93ad-2434-41d9-93bf-6e9d2eee04e5",
        "url": "https://healthdatagateway.org/en/dataset/700",
        "datasource_id": 700
      },
      {
        "name": "Patient Episode Dataset for Wales (PEDW)",
        "value": 40,
        "uid": "4c33a5d2-164c-41d7-9797-dc2b008cc852",
        "url": "https://healthdatagateway.org/en/dataset/318",
        "datasource_id": 318
      },
      {
        "name": "Scottish Cancer Registry (SMR06)",
        "value": 417,
        "uid": "ad36dc03-1856-44de-99b0-1af6f312d86b",
        "url": "https://healthdatagateway.org/en/dataset/79",
        "datasource_id": 79
      },
      {
        "name": "Cancer Registration Data",
        "value": 788,
        "uid": "6904a2ff-ab44-4dd6-b9ec-25d3cad29e43",
        "url": "https://healthdatagateway.org/en/dataset/880",
        "datasource_id": 880
      }
    ],
    "endorsements": null,
    "project_name": null,
    "coding_system": [
      {
        "name": "ICD10 codes",
        "value": 4
      },
      {
        "name": "UKBioBank codes",
        "value": 12
      },
      {
        "name": "Non-standard codes",
        "value": 13
      },
      {
        "name": "Read codes v3",
        "value": 6
      }
    ],
    "corresp_author": "Ana Torralbo",
    "event_date_range": null,
    "concept_information": [
      {
        "concept_id": 10842,
        "concept_version_id": 18327,
        "concept_name": "Recent medication for lung cancer (not mesothelioma)",
        "coding_system": {
          "id": 13,
          "name": "Non-standard codes",
          "description": "Non-standard codes"
        },
        "phenotype_id": "PH4300",
        "phenotype_version_id": 9518,
        "phenotype_name": "Primary Malignancy_Lung and trachea",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "1",
            "description": "Yes",
            "attributes": {
              "type": "any"
            }
          }
        ]
      },
      {
        "concept_id": 10843,
        "concept_version_id": 18328,
        "concept_name": "Doctor diagnosed lung cancer (not mesothelioma)",
        "coding_system": {
          "id": 13,
          "name": "Non-standard codes",
          "description": "Non-standard codes"
        },
        "phenotype_id": "PH4300",
        "phenotype_version_id": 9518,
        "phenotype_name": "Primary Malignancy_Lung and trachea",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "1",
            "description": "Yes",
            "attributes": {
              "type": "any"
            }
          }
        ]
      },
      {
        "concept_id": 10844,
        "concept_version_id": 18329,
        "concept_name": "Cancer code, self-reported",
        "coding_system": {
          "id": 12,
          "name": "UKBioBank codes",
          "description": "UKBioBank codes"
        },
        "phenotype_id": "PH4300",
        "phenotype_version_id": 9518,
        "phenotype_name": "Primary Malignancy_Lung and trachea",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "1001",
            "description": "lung cancer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "1006",
            "description": "larynx/throat cancer",
            "attributes": {
              "type": "any"
            }
          }
        ]
      },
      {
        "concept_id": 10845,
        "concept_version_id": 18330,
        "concept_name": "Diagnoses - main ICD10",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH4300",
        "phenotype_version_id": 9518,
        "phenotype_name": "Primary Malignancy_Lung and trachea",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "C33",
            "description": "Malignant neoplasm of trachea",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C34",
            "description": "Malignant neoplasm of bronchus and lung",
            "attributes": {
              "type": "any"
            }
          }
        ]
      },
      {
        "concept_id": 10846,
        "concept_version_id": 18331,
        "concept_name": "Diagnoses - secondary ICD10",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH4300",
        "phenotype_version_id": 9518,
        "phenotype_name": "Primary Malignancy_Lung and trachea",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "C33",
            "description": "Malignant neoplasm of trachea",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C34",
            "description": "Malignant neoplasm of bronchus and lung",
            "attributes": {
              "type": "any"
            }
          }
        ]
      },
      {
        "concept_id": 10847,
        "concept_version_id": 18332,
        "concept_name": "Underlying (primary) cause of death: ICD10",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH4300",
        "phenotype_version_id": 9518,
        "phenotype_name": "Primary Malignancy_Lung and trachea",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "C33",
            "description": "Malignant neoplasm of trachea",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C34",
            "description": "Malignant neoplasm of bronchus and lung",
            "attributes": {
              "type": "any"
            }
          }
        ]
      },
      {
        "concept_id": 10848,
        "concept_version_id": 18333,
        "concept_name": "Contributory (secondary) causes of death: ICD10",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH4300",
        "phenotype_version_id": 9518,
        "phenotype_name": "Primary Malignancy_Lung and trachea",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "C33",
            "description": "Malignant neoplasm of trachea",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C34",
            "description": "Malignant neoplasm of bronchus and lung",
            "attributes": {
              "type": "any"
            }
          }
        ]
      },
      {
        "concept_id": 10849,
        "concept_version_id": 18334,
        "concept_name": "GP clinical event records",
        "coding_system": {
          "id": 6,
          "name": "Read codes v3",
          "description": "Read codes v3"
        },
        "phenotype_id": "PH4300",
        "phenotype_version_id": 9518,
        "phenotype_name": "Primary Malignancy_Lung and trachea",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "B22..00",
            "description": "Malignant neoplasm of trachea, bronchus and lung",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B220.00",
            "description": "Malignant neoplasm of trachea",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B220100",
            "description": "Malignant neoplasm of mucosa of trachea",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B220z00",
            "description": "Malignant neoplasm of trachea NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B221.00",
            "description": "Malignant neoplasm of main bronchus",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B221000",
            "description": "Malignant neoplasm of carina of bronchus",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B221100",
            "description": "Malignant neoplasm of hilus of lung",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B221z00",
            "description": "Malignant neoplasm of main bronchus NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B222.00",
            "description": "Malignant neoplasm of upper lobe, bronchus or lung",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B222000",
            "description": "Malignant neoplasm of upper lobe bronchus",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B222100",
            "description": "Malignant neoplasm of upper lobe of lung",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B222.11",
            "description": "Pancoast's syndrome",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B222z00",
            "description": "Malignant neoplasm of upper lobe, bronchus or lung NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B223.00",
            "description": "Malignant neoplasm of middle lobe, bronchus or lung",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B223000",
            "description": "Malignant neoplasm of middle lobe bronchus",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B223100",
            "description": "Malignant neoplasm of middle lobe of lung",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B223z00",
            "description": "Malignant neoplasm of middle lobe, bronchus or lung NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B224.00",
            "description": "Malignant neoplasm of lower lobe, bronchus or lung",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B224000",
            "description": "Malignant neoplasm of lower lobe bronchus",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B224100",
            "description": "Malignant neoplasm of lower lobe of lung",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B224z00",
            "description": "Malignant neoplasm of lower lobe, bronchus or lung NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B225.00",
            "description": "Malignant neoplasm of overlapping lesion of bronchus &amp; lung",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B22y.00",
            "description": "Malignant neoplasm of other sites of bronchus or lung",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B22z.00",
            "description": "Malignant neoplasm of bronchus or lung NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "B22z.11",
            "description": "Lung cancer",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "BB5S200",
            "description": "[M]Bronchiolo-alveolar adenocarcinoma",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "BB5S211",
            "description": "[M]Alveolar cell carcinoma",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "BB5S212",
            "description": "[M]Bronchiolar carcinoma",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "BB5S400",
            "description": "[M]Alveolar adenocarcinoma",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "Byu2000",
            "description": "[X]Malignant neoplasm of bronchus or lung, unspecified",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XE1vb",
            "description": "Malignant neoplasm of upper lobe, bronchus or lung",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "XE1vc",
            "description": "Malignant neoplasm of bronchus or lung NOS",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "ZV10100",
            "description": "[V]Personal history of malig neop of trachea/bronchus/lung",
            "attributes": {
              "type": "prevalent"
            }
          },
          {
            "code": "ZV10111",
            "description": "[V]Personal history of malignant neoplasm of bronchus",
            "attributes": {
              "type": "prevalent"
            }
          },
          {
            "code": "ZV10112",
            "description": "[V]Personal history of malignant neoplasm of lung",
            "attributes": {
              "type": "prevalent"
            }
          }
        ]
      },
      {
        "concept_id": 10850,
        "concept_version_id": 18335,
        "concept_name": "Type of cancer: ICD10",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH4300",
        "phenotype_version_id": 9518,
        "phenotype_name": "Primary Malignancy_Lung and trachea",
        "code_attribute_header": [
          "type"
        ],
        "codes": [
          {
            "code": "C33",
            "description": "Malignant neoplasm of trachea",
            "attributes": {
              "type": "any"
            }
          },
          {
            "code": "C34",
            "description": "Malignant neoplasm of bronchus and lung",
            "attributes": {
              "type": "any"
            }
          }
        ]
      }
    ],
    "status": 1,
    "doi": "https://doi.org/10.48533/bqhc-rd67",
    "is_deleted": false,
    "publish_status": 2,
    "owner": "ieuan.scanlon",
    "template": {
      "id": 2,
      "name": "BHF Data Science Centre Phenotype",
      "description": "BHF Data Science Centre Phenotype definitions that describe a list of clinical codes, algorithms using clinical codes, or set of clinical trials. Visit the BHF Data Science Centre website to learn more: https://bhfdatasciencecentre.org",
      "version_id": 1
    },
    "versions": [
      {
        "version_id": 9518,
        "version_name": "Primary Malignancy_Lung and trachea",
        "version_date": "2026-06-08T20:16:25.481217Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]