[
  {
    "phenotype_id": "PH3552",
    "phenotype_version_id": 8619,
    "name": "Lung Cancer",
    "definition": "This codelist was taken from [OpenCodelists](https://www.opencodelists.org/), created by [OpenSAFELY](https://www.opensafely.org/). We recommend viewing this Phenotype on the OpenCodelist website to view the most recent version.\n\n\nCodes indicating a diagnosis of lung cancer\n\n\n© University of Oxford for the Bennett Institute for Applied Data Science 2025\\. This work may be copied freely for non\\-commercial research and study.\n\n",
    "implementation": null,
    "publications": null,
    "validation": null,
    "citation_requirements": null,
    "created": "2026-01-26T23:21:52.978201Z",
    "author": "OpenSAFELY",
    "collections": [
      {
        "name": "OpenCodelist",
        "value": 31
      },
      {
        "name": "Phenotype Library",
        "value": 18
      }
    ],
    "tags": null,
    "organisation": {
      "id": 1,
      "slug": "opensafely",
      "name": "OpenSAFELY"
    },
    "world_access": 1,
    "updated": "2026-01-26T23:21:52.972501Z",
    "references": [
      {
        "url": "https://github.com/ebmdatalab/opensafely-codelist-development/issues/10",
        "title": "Discussion on GitHub issue"
      }
    ],
    "signed_off": [],
    "methodology": "Derived from Read V2 codelist provided by LSHTM. See discussion in GitHub issue referenced below\n\n",
    "coding_system": [
      {
        "name": "Read codes v3",
        "value": 6
      }
    ],
    "open_codelist_id": "opensafely/lung-cancer",
    "source_reference": "https://www.opencodelists.org/codelist/opensafely/lung-cancer/2020-04-15",
    "concept_information": [
      {
        "concept_id": 8796,
        "concept_version_id": 16281,
        "concept_name": "opensafely/lung-cancer/2020-04-15",
        "coding_system": {
          "id": 6,
          "name": "Read codes v3",
          "description": "Read codes v3"
        },
        "phenotype_id": "PH3552",
        "phenotype_version_id": 8619,
        "phenotype_name": "Lung Cancer",
        "code_attribute_header": [
          "CTV3Source"
        ],
        "codes": [
          {
            "code": "B22..",
            "description": "Malignant neoplasm of trachea, bronchus and lung",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "B220.",
            "description": "Malignant tumour of trachea",
            "attributes": {
              "CTV3Source": "QOF"
            }
          },
          {
            "code": "B2200",
            "description": "Malignant neoplasm of cartilage of trachea",
            "attributes": {
              "CTV3Source": "QOF"
            }
          },
          {
            "code": "B2201",
            "description": "Malignant neoplasm of mucosa of trachea",
            "attributes": {
              "CTV3Source": "QOF"
            }
          },
          {
            "code": "B220z",
            "description": "Malignant neoplasm of trachea NOS",
            "attributes": {
              "CTV3Source": "QOF"
            }
          },
          {
            "code": "B221.",
            "description": "Malignant neoplasm of main bronchus",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "B2210",
            "description": "Malignant neoplasm of carina of bronchus",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "B2211",
            "description": "Malignant neoplasm of hilus of lung",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "B221z",
            "description": "Malignant neoplasm of main bronchus NOS",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "B222.",
            "description": "Malig neopl of upper lobe/bronchus/lung: (&amp; [Pancoast synd])",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "B2220",
            "description": "Malignant neoplasm of upper lobe bronchus",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "B2221",
            "description": "Malignant neoplasm of upper lobe of lung",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "B222z",
            "description": "Malignant neoplasm of upper lobe, bronchus or lung NOS",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "B223.",
            "description": "Malignant neoplasm of middle lobe, bronchus or lung",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "B2230",
            "description": "Malignant neoplasm of middle lobe bronchus",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "B2231",
            "description": "Malignant neoplasm of middle lobe of lung",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "B223z",
            "description": "Malignant neoplasm of middle lobe, bronchus or lung NOS",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "B224.",
            "description": "Malignant neoplasm of lower lobe, bronchus or lung",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "B2240",
            "description": "Malignant neoplasm of lower lobe bronchus",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "B2241",
            "description": "Malignant neoplasm of lower lobe of lung",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "B224z",
            "description": "Malignant neoplasm of lower lobe, bronchus or lung NOS",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "B225.",
            "description": "Malignant neoplasm of overlapping lesion of bronchus &amp; lung",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "B22y.",
            "description": "Malignant neoplasm of other sites of bronchus or lung",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "B22z.",
            "description": "Malig neopl lung: [of bronchus or lung NOS] or [lung cancer]",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "B23..",
            "description": "Malignant tumour of pleura",
            "attributes": {
              "CTV3Source": "QOF"
            }
          },
          {
            "code": "B230.",
            "description": "Malignant neoplasm of parietal pleura",
            "attributes": {
              "CTV3Source": "QOF"
            }
          },
          {
            "code": "B231.",
            "description": "Malignant neoplasm of visceral pleura",
            "attributes": {
              "CTV3Source": "QOF"
            }
          },
          {
            "code": "B232.",
            "description": "Malignant mesothelioma of pleura",
            "attributes": {
              "CTV3Source": "QOF"
            }
          },
          {
            "code": "B23y.",
            "description": "Malignant neoplasm of other specified pleura",
            "attributes": {
              "CTV3Source": "QOF"
            }
          },
          {
            "code": "B23z.",
            "description": "Malignant neoplasm of pleura NOS",
            "attributes": {
              "CTV3Source": "QOF"
            }
          },
          {
            "code": "B2zy.",
            "description": "Malignant neoplasm of other site of respiratory tract",
            "attributes": {
              "CTV3Source": "QOF"
            }
          },
          {
            "code": "B2zz.",
            "description": "Malignant neoplasm of respiratory tract NOS",
            "attributes": {
              "CTV3Source": "QOF"
            }
          },
          {
            "code": "BB1K.",
            "description": "Oat cell carcinoma",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "BB1L.",
            "description": "Small cell carcinoma - fusiform cell",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "BB5S2",
            "description": "[M]Bronchiolo-alveolar adenocarcinoma",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "BB5S4",
            "description": "Alveolar adenocarcinoma",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "Byu20",
            "description": "[X]Malignant neoplasm of bronchus or lung, unspecified",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "Byu5.",
            "description": "[X]Malignant neoplasm of mesothelial and soft tissue",
            "attributes": {
              "CTV3Source": "QOF"
            }
          },
          {
            "code": "Byu50",
            "description": "(Mesothelioma of lung) or ([X]mesothelioma of other sites)",
            "attributes": {
              "CTV3Source": "QOF"
            }
          },
          {
            "code": "Byu51",
            "description": "[X]Mesothelioma, unspecified",
            "attributes": {
              "CTV3Source": "QOF"
            }
          },
          {
            "code": "X2032",
            "description": "Pulmonary tumour embolism",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "X77mv",
            "description": "Small cell carcinoma - intermediate cell",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "X77mw",
            "description": "Small cell - large cell carcinoma",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "X77nT",
            "description": "Carcinoid bronchial adenoma",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "X77oo",
            "description": "Pulmonary blastoma",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "X78Q1",
            "description": "Adenoid cystic carcinoma of trachea",
            "attributes": {
              "CTV3Source": "QOF"
            }
          },
          {
            "code": "X78Q2",
            "description": "Squamous cell carcinoma of trachea",
            "attributes": {
              "CTV3Source": "QOF"
            }
          },
          {
            "code": "X78Q7",
            "description": "Malignant tumour of bronchus",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "X78Q8",
            "description": "Squamous cell carcinoma of bronchus",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "X78Qc",
            "description": "Malignant mesothelioma of pleura",
            "attributes": {
              "CTV3Source": "QOF"
            }
          },
          {
            "code": "X78QF",
            "description": "Malignant tumour of lung parenchyma",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "X78QG",
            "description": "Adenocarcinoma of lung",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "X78QI",
            "description": "Carcinoid tumour of lung",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "X78QJ",
            "description": "Carcinoma of lung parenchyma",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "X78QK",
            "description": "Large cell carcinoma of lung",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "X78QL",
            "description": "Clear cell carcinoma of lung",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "X78QM",
            "description": "Giant cell carcinoma of lung",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "X78QN",
            "description": "Small cell carcinoma of lung",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "X78QO",
            "description": "Oat cell carcinoma of lung",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "X78QP",
            "description": "Squamous cell carcinoma of lung",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "X78QQ",
            "description": "Epithelioid haemangioendothelioma of lung",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "X78QR",
            "description": "Lymphomatoid granulomatosis of lung",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "X78QS",
            "description": "Non-small cell lung cancer",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "X78QT",
            "description": "Pancoast tumour",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "Xa0bg",
            "description": "Pancoast's syndrome",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "Xa0KG",
            "description": "Malignant tumour of lung",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "XaBAp",
            "description": "Bronchioloalveolar adenocarcinoma of lung",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "XaEJe",
            "description": "Squamous cell carcinoma of bronchus in left lower lobe",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "XaEJf",
            "description": "Squamous cell carcinoma of bronchus in left upper lobe",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "XaEJg",
            "description": "Squamous cell carcinoma of bronchus in right lower lobe",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "XaEJh",
            "description": "Squamous cell carcinoma of bronchus in right middle lobe",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "XaEJi",
            "description": "Squamous cell carcinoma of bronchus in right upper lobe",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "XaFr7",
            "description": "Local recurrence of malignant tumour of lung",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "XaFrw",
            "description": "Metastasis from malignant tumour of lung",
            "attributes": {
              "CTV3Source": "QOF"
            }
          },
          {
            "code": "XaZzj",
            "description": "Non-small cell carcinoma",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "XE1vb",
            "description": "Malignant neoplasm of upper lobe, bronchus or lung",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "XE1vc",
            "description": "Malignant neoplasm of bronchus or lung NOS",
            "attributes": {
              "CTV3Source": "CTV3Map_Code_And_Term"
            }
          },
          {
            "code": "XE1yF",
            "description": "(Bronchus carc) or (lung carc) or (Ca trachea/bronchus/lung)",
            "attributes": {
              "CTV3Source": "QOF"
            }
          },
          {
            "code": "XE1yH",
            "description": "(Trachea carcinoma) or (Pancoast's tumour) or (Ca trachea)",
            "attributes": {
              "CTV3Source": "QOF"
            }
          },
          {
            "code": "XE1yJ",
            "description": "Ca main bronchus",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "XE1yL",
            "description": "Ca upper lobe bronchus/lung",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "XE1yN",
            "description": "Ca middle lobe bronchus/lung",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "XE1yP",
            "description": "Ca lower lobe bronchus/lung",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          },
          {
            "code": "XE1yR",
            "description": "Ca trachea/bronchus/lung NOS",
            "attributes": {
              "CTV3Source": "CTV3_Children"
            }
          }
        ]
      }
    ],
    "coding_system_release": "",
    "open_codelist_version_id": "53469981",
    "open_codelist_version_tag": "2020-04-15",
    "status": 1,
    "doi": "https://doi.org/10.48533/erkh-jc41",
    "is_deleted": false,
    "publish_status": 2,
    "owner": "ieuan.scanlon",
    "template": {
      "id": 3,
      "name": "OpenCodelists Phenotype",
      "description": "OpenSafely's OpenCodelist Phenotype, visit https://www.opencodelists.org/ to learn more",
      "version_id": 1
    },
    "versions": [
      {
        "version_id": 8619,
        "version_name": "Lung Cancer",
        "version_date": "2026-01-26T23:21:52.986081Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]