[
  {
    "phenotype_id": "PH2747",
    "phenotype_version_id": 6900,
    "name": "Lung cancer codes",
    "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\nTaken from the `LUNGCAN_COD` refset published by NHSD. Contains public sector information licensed under the UK Open Government Licence v3\\.0 (https://www.nationalarchives.gov.uk/doc/open\\-government\\-licence/version/3/).\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-26T22:41:15.794814Z",
    "author": "NHSD Primary Care Domain Refsets",
    "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-26T22:41:19.879770Z",
    "references": [],
    "signed_off": [],
    "methodology": "",
    "coding_system": [
      {
        "name": "SNOMED  CT codes",
        "value": 9
      }
    ],
    "open_codelist_id": "nhsd-primary-care-domain-refsets/lungcan_cod",
    "source_reference": "https://www.opencodelists.org/codelist/nhsd-primary-care-domain-refsets/lungcan_cod/20250912",
    "concept_information": [
      {
        "concept_id": 7077,
        "concept_version_id": 14562,
        "concept_name": "nhsd-primary-care-domain-refsets/lungcan_cod/20250912",
        "coding_system": {
          "id": 9,
          "name": "SNOMED  CT codes",
          "description": "SNOMED CT codes"
        },
        "phenotype_id": "PH2747",
        "phenotype_version_id": 6900,
        "phenotype_name": "Lung cancer codes",
        "code_attribute_header": [],
        "codes": [
          {
            "code": "1078881000119102",
            "description": "Primary adenocarcinoma of lower lobe of left lung",
            "attributes": null
          },
          {
            "code": "1078901000119100",
            "description": "Primary adenocarcinoma of upper lobe of left lung",
            "attributes": null
          },
          {
            "code": "1078931000119107",
            "description": "Primary adenocarcinoma of lower lobe of right lung",
            "attributes": null
          },
          {
            "code": "1078951000119101",
            "description": "Primary adenocarcinoma of middle lobe of right lung",
            "attributes": null
          },
          {
            "code": "1078961000119104",
            "description": "Primary adenocarcinoma of upper lobe of right lung",
            "attributes": null
          },
          {
            "code": "1080451000119101",
            "description": "Primary large cell carcinoma of lower lobe of left lung",
            "attributes": null
          },
          {
            "code": "1080471000119105",
            "description": "Primary large cell carcinoma of upper lobe of left lung",
            "attributes": null
          },
          {
            "code": "1080501000119104",
            "description": "Primary large cell carcinoma of lower lobe of right lung",
            "attributes": null
          },
          {
            "code": "1080521000119108",
            "description": "Primary large cell carcinoma of middle lobe of right lung",
            "attributes": null
          },
          {
            "code": "1080531000119106",
            "description": "Primary large cell carcinoma of upper lobe of right lung",
            "attributes": null
          },
          {
            "code": "1081841000119106",
            "description": "Primary small cell carcinoma of lower lobe of left lung",
            "attributes": null
          },
          {
            "code": "1081861000119105",
            "description": "Primary small cell carcinoma of upper lobe of left lung",
            "attributes": null
          },
          {
            "code": "1081891000119103",
            "description": "Primary small cell carcinoma of lower lobe of right lung",
            "attributes": null
          },
          {
            "code": "1081911000119101",
            "description": "Primary small cell carcinoma of middle lobe of right lung",
            "attributes": null
          },
          {
            "code": "1081921000119108",
            "description": "Primary small cell carcinoma of upper lobe of right lung",
            "attributes": null
          },
          {
            "code": "1082111000119109",
            "description": "Primary squamous cell carcinoma of lower lobe of left lung",
            "attributes": null
          },
          {
            "code": "1082121000119102",
            "description": "Primary squamous cell carcinoma of left main bronchus",
            "attributes": null
          },
          {
            "code": "1082141000119108",
            "description": "Primary squamous cell carcinoma of upper lobe of left lung",
            "attributes": null
          },
          {
            "code": "1082231000119109",
            "description": "Primary squamous cell carcinoma of lower lobe of right lung",
            "attributes": null
          },
          {
            "code": "1082241000119100",
            "description": "Primary squamous cell carcinoma of right main bronchus",
            "attributes": null
          },
          {
            "code": "1082251000119103",
            "description": "Primary squamous cell carcinoma of middle lobe of right lung",
            "attributes": null
          },
          {
            "code": "1082271000119107",
            "description": "Primary squamous cell carcinoma of upper lobe of right lung",
            "attributes": null
          },
          {
            "code": "109371002",
            "description": "Overlapping malignant neoplasm of bronchus and lung",
            "attributes": null
          },
          {
            "code": "109390005",
            "description": "Kaposi's sarcoma of lung",
            "attributes": null
          },
          {
            "code": "10995411000119108",
            "description": "History of malignant carcinoid tumor of bronchus",
            "attributes": null
          },
          {
            "code": "1141627001",
            "description": "Non-small cell lung carcinoma with neuregulin 1 gene fusion",
            "attributes": null
          },
          {
            "code": "1179762006",
            "description": "Malignant neoplasm of middle lobe of right lung",
            "attributes": null
          },
          {
            "code": "1196841007",
            "description": "Primary desmoplastic mesothelioma of pleura",
            "attributes": null
          },
          {
            "code": "1196856003",
            "description": "Primary biphasic malignant mesothelioma of pleura",
            "attributes": null
          },
          {
            "code": "1196883002",
            "description": "Primary epithelioid malignant mesothelioma of pleura",
            "attributes": null
          },
          {
            "code": "1197259008",
            "description": "Primary sarcomatoid malignant mesothelioma of pleura",
            "attributes": null
          },
          {
            "code": "1197296004",
            "description": "Primary malignant germ cell neoplasm of pleura",
            "attributes": null
          },
          {
            "code": "12240951000119107",
            "description": "Squamous cell carcinoma of left lung",
            "attributes": null
          },
          {
            "code": "12240991000119102",
            "description": "Squamous cell carcinoma of right lung",
            "attributes": null
          },
          {
            "code": "1237048006",
            "description": "Metastatic squamous cell carcinoma to bronchus",
            "attributes": null
          },
          {
            "code": "1237466009",
            "description": "Metastatic squamous cell carcinoma to bronchus of left upper lobe",
            "attributes": null
          },
          {
            "code": "1237467000",
            "description": "Metastatic squamous cell carcinoma to bronchus of right upper lobe",
            "attributes": null
          },
          {
            "code": "1237469002",
            "description": "Metastatic squamous cell carcinoma to bronchus of left lower lobe",
            "attributes": null
          },
          {
            "code": "1237471002",
            "description": "Metastatic squamous cell carcinoma to bronchus of right lower lobe",
            "attributes": null
          },
          {
            "code": "1237472009",
            "description": "Metastatic squamous cell carcinoma to bronchus of middle lobe of right lung",
            "attributes": null
          },
          {
            "code": "1237516000",
            "description": "Metastatic carcinoma to lower lobe of lung",
            "attributes": null
          },
          {
            "code": "1237518004",
            "description": "Metastatic carcinoma to main bronchus",
            "attributes": null
          },
          {
            "code": "1254728008",
            "description": "Metastatic adenoid cystic carcinoma to trachea",
            "attributes": null
          },
          {
            "code": "1254732002",
            "description": "Metastatic large cell carcinoma to lung",
            "attributes": null
          },
          {
            "code": "1254733007",
            "description": "Metastatic large cell carcinoma to right lung",
            "attributes": null
          },
          {
            "code": "1254734001",
            "description": "Metastatic large cell carcinoma to left lung",
            "attributes": null
          },
          {
            "code": "1254735000",
            "description": "Metastatic large cell carcinoma to bilateral lungs",
            "attributes": null
          },
          {
            "code": "1254740008",
            "description": "Metastatic giant cell carcinoma to lung",
            "attributes": null
          },
          {
            "code": "1254745003",
            "description": "Metastatic giant cell carcinoma to left lung",
            "attributes": null
          },
          {
            "code": "1254746002",
            "description": "Metastatic giant cell carcinoma to right lung",
            "attributes": null
          },
          {
            "code": "1254747006",
            "description": "Metastatic giant cell carcinoma to bilateral lungs",
            "attributes": null
          },
          {
            "code": "1254783002",
            "description": "Verrucous carcinoma of trachea",
            "attributes": null
          },
          {
            "code": "1254785009",
            "description": "Squamous cell adenoid carcinoma of trachea",
            "attributes": null
          },
          {
            "code": "1254786005",
            "description": "Spindle cell carcinoma of trachea",
            "attributes": null
          },
          {
            "code": "1254787001",
            "description": "Papillary squamous cell carcinoma of trachea",
            "attributes": null
          },
          {
            "code": "1254788006",
            "description": "Lymphoepithelial carcinoma of trachea",
            "attributes": null
          },
          {
            "code": "1254789003",
            "description": "Clear cell squamous cell carcinoma of trachea",
            "attributes": null
          },
          {
            "code": "1254790007",
            "description": "Basaloid squamous cell carcinoma of trachea",
            "attributes": null
          },
          {
            "code": "1255085007",
            "description": "Adenocarcinoma of trachea",
            "attributes": null
          },
          {
            "code": "1255392007",
            "description": "Undifferentiated carcinoma of trachea",
            "attributes": null
          },
          {
            "code": "1255393002",
            "description": "Undifferentiated carcinoma of lung",
            "attributes": null
          },
          {
            "code": "1255395009",
            "description": "Spindle cell carcinoma of lung",
            "attributes": null
          },
          {
            "code": "1255629002",
            "description": "Signet ring cell carcinoma of lung",
            "attributes": null
          },
          {
            "code": "1255630007",
            "description": "Signet ring cell carcinoma of trachea",
            "attributes": null
          },
          {
            "code": "1255641009",
            "description": "Pleomorphic carcinoma of lung",
            "attributes": null
          },
          {
            "code": "1255643007",
            "description": "Acinar cell carcinoma of trachea",
            "attributes": null
          },
          {
            "code": "1255644001",
            "description": "Acinar cell carcinoma of lung",
            "attributes": null
          },
          {
            "code": "1255651005",
            "description": "Basaloid squamous cell carcinoma of lung",
            "attributes": null
          },
          {
            "code": "1255655001",
            "description": "Giant cell carcinoma of trachea",
            "attributes": null
          },
          {
            "code": "1255658004",
            "description": "Carcinosarcoma of lung",
            "attributes": null
          },
          {
            "code": "1255662005",
            "description": "Myoepithelial carcinoma of lung",
            "attributes": null
          },
          {
            "code": "1255663000",
            "description": "Myoepithelial carcinoma of trachea",
            "attributes": null
          },
          {
            "code": "1255725002",
            "description": "Non-small cell adenocarcinoma of lung",
            "attributes": null
          },
          {
            "code": "1259366006",
            "description": "Primary adenoid cystic carcinoma of trachea",
            "attributes": null
          },
          {
            "code": "1259367002",
            "description": "Primary squamous cell carcinoma of bronchus",
            "attributes": null
          },
          {
            "code": "1259368007",
            "description": "Primary large cell carcinoma of lung",
            "attributes": null
          },
          {
            "code": "1259369004",
            "description": "Primary giant cell carcinoma of lung",
            "attributes": null
          },
          {
            "code": "1259370003",
            "description": "Primary oat cell carcinoma of lung",
            "attributes": null
          },
          {
            "code": "1259371004",
            "description": "Primary squamous cell carcinoma of lung",
            "attributes": null
          },
          {
            "code": "1259409000",
            "description": "Primary squamous cell carcinoma of bronchus in left lower lobe",
            "attributes": null
          },
          {
            "code": "1259410005",
            "description": "Primary squamous cell carcinoma of bronchus in left upper lobe",
            "attributes": null
          },
          {
            "code": "1259411009",
            "description": "Primary squamous cell carcinoma of bronchus in right lower lobe",
            "attributes": null
          },
          {
            "code": "1259412002",
            "description": "Primary squamous cell carcinoma of bronchus of middle lobe of right lung",
            "attributes": null
          },
          {
            "code": "1259413007",
            "description": "Primary squamous cell carcinoma of bronchus in right upper lobe",
            "attributes": null
          },
          {
            "code": "1259461000",
            "description": "Primary squamous cell carcinoma of right lung",
            "attributes": null
          },
          {
            "code": "1259463002",
            "description": "Primary squamous cell carcinoma of left lung",
            "attributes": null
          },
          {
            "code": "1259528009",
            "description": "Primary carcinoma of main bronchus",
            "attributes": null
          },
          {
            "code": "1259668002",
            "description": "Primary acinar cell cystadenocarcinoma of lung",
            "attributes": null
          },
          {
            "code": "1259686004",
            "description": "Primary non-small cell lung carcinoma with neuregulin 1 gene fusion",
            "attributes": null
          },
          {
            "code": "1259716003",
            "description": "Primary malignant mesothelioma",
            "attributes": null
          },
          {
            "code": "1259726005",
            "description": "Primary epithelioid hemangioendothelioma of lung",
            "attributes": null
          },
          {
            "code": "1259727001",
            "description": "Primary non-small cell lung cancer",
            "attributes": null
          },
          {
            "code": "1259754003",
            "description": "Primary squamous non-small cell lung cancer",
            "attributes": null
          },
          {
            "code": "1259757005",
            "description": "Primary nonsquamous nonsmall cell neoplasm of lung",
            "attributes": null
          },
          {
            "code": "1259758000",
            "description": "Primary reactive oxygen species 1 positive non-small cell lung cancer",
            "attributes": null
          },
          {
            "code": "1259760003",
            "description": "Primary non-small cell lung cancer with mutation in epidermal growth factor receptor",
            "attributes": null
          },
          {
            "code": "1259761004",
            "description": "Primary non-small cell lung cancer without mutation in epidermal growth factor receptor",
            "attributes": null
          },
          {
            "code": "1259768005",
            "description": "Primary non-small cell lung cancer negative for epidermal growth factor receptor expression",
            "attributes": null
          },
          {
            "code": "1259776007",
            "description": "Primary non-small cell lung cancer, positive for epidermal growth factor receptor expression",
            "attributes": null
          },
          {
            "code": "1259794001",
            "description": "Primary Pancoast tumor",
            "attributes": null
          },
          {
            "code": "1259820006",
            "description": "Primary reactive oxygen species 1 negative non-small cell lung cancer",
            "attributes": null
          },
          {
            "code": "1259821005",
            "description": "Primary anaplastic lymphoma kinase fusion oncogene positive non-small cell lung cancer",
            "attributes": null
          },
          {
            "code": "1259822003",
            "description": "Primary anaplastic lymphoma kinase fusion oncogene negative non-small cell lung cancer",
            "attributes": null
          },
          {
            "code": "1260019009",
            "description": "Adenoid cystic carcinoma of lung",
            "attributes": null
          },
          {
            "code": "1260032004",
            "description": "Clear cell adenocarcinoma of lung",
            "attributes": null
          },
          {
            "code": "1260033009",
            "description": "Clear cell adenocarcinoma of trachea",
            "attributes": null
          },
          {
            "code": "1260038000",
            "description": "Adenosquamous carcinoma of trachea",
            "attributes": null
          },
          {
            "code": "1260042002",
            "description": "Adenosquamous carcinoma of lung",
            "attributes": null
          },
          {
            "code": "1260056000",
            "description": "Clear cell squamous cell carcinoma of lung",
            "attributes": null
          },
          {
            "code": "1260057009",
            "description": "Mucinous adenocarcinoma of lung",
            "attributes": null
          },
          {
            "code": "1260059007",
            "description": "Mucinous bronchiolo-alveolar carcinoma of lung",
            "attributes": null
          },
          {
            "code": "1260060002",
            "description": "Mucinous adenocarcinoma of trachea",
            "attributes": null
          },
          {
            "code": "1260062005",
            "description": "Mucoepidermoid carcinoma of lung",
            "attributes": null
          },
          {
            "code": "1260064006",
            "description": "Mucinous cystadenocarcinoma of trachea",
            "attributes": null
          },
          {
            "code": "1260065007",
            "description": "Mucinous cystadenocarcinoma of lung",
            "attributes": null
          },
          {
            "code": "1260066008",
            "description": "Papillary adenocarcinoma of trachea",
            "attributes": null
          },
          {
            "code": "1260068009",
            "description": "Papillary adenocarcinoma of lung",
            "attributes": null
          },
          {
            "code": "1260070000",
            "description": "Non-mucinous bronchiolo-alveolar carcinoma of lung",
            "attributes": null
          },
          {
            "code": "1260071001",
            "description": "Papillary squamous cell carcinoma of lung",
            "attributes": null
          },
          {
            "code": "1260072008",
            "description": "Pseudosarcomatous carcinoma of lung",
            "attributes": null
          },
          {
            "code": "1260075005",
            "description": "Solid carcinoma of trachea",
            "attributes": null
          },
          {
            "code": "1260076006",
            "description": "Small cell non-keratinizing squamous cell carcinoma of lung",
            "attributes": null
          },
          {
            "code": "1260077002",
            "description": "Solid carcinoma of lung",
            "attributes": null
          },
          {
            "code": "1260087003",
            "description": "Fetal adenocarcinoma of lung",
            "attributes": null
          },
          {
            "code": "1260092001",
            "description": "Mixed mucinous and non-mucinous bronchiolo-alveolar carcinoma of lung",
            "attributes": null
          },
          {
            "code": "1260093006",
            "description": "Mixed subtype adenocarcinoma of lung",
            "attributes": null
          },
          {
            "code": "1260115001",
            "description": "Salivary gland type carcinoma of lung",
            "attributes": null
          },
          {
            "code": "1268348008",
            "description": "Primary small cell carcinoma of lung",
            "attributes": null
          },
          {
            "code": "1268704000",
            "description": "Primary malignant mesothelioma of pleura",
            "attributes": null
          },
          {
            "code": "1268899005",
            "description": "Primary pleuropulmonary blastoma",
            "attributes": null
          },
          {
            "code": "1268902008",
            "description": "Primary pulmonary blastoma",
            "attributes": null
          },
          {
            "code": "1287573002",
            "description": "Carcinoid tumor of bronchus",
            "attributes": null
          },
          {
            "code": "1287970008",
            "description": "Primary malignant neoplasm of bilateral main bronchi",
            "attributes": null
          },
          {
            "code": "1290016007",
            "description": "Primary well-differentiated neuroendocrine tumor of bronchus",
            "attributes": null
          },
          {
            "code": "1290021005",
            "description": "Primary well-differentiated neuroendocrine tumor of lung",
            "attributes": null
          },
          {
            "code": "145298771000119104",
            "description": "Malignant carcinoid tumor of left lung",
            "attributes": null
          },
          {
            "code": "15955901000119104",
            "description": "Primary small cell carcinoma of right lung",
            "attributes": null
          },
          {
            "code": "15955941000119102",
            "description": "Primary small cell carcinoma of left lung",
            "attributes": null
          },
          {
            "code": "15956221000119105",
            "description": "Metastatic adenocarcinoma to right lung",
            "attributes": null
          },
          {
            "code": "15956261000119100",
            "description": "Metastatic adenocarcinoma to left lung",
            "attributes": null
          },
          {
            "code": "15956341000119105",
            "description": "Adenocarcinoma of left lung",
            "attributes": null
          },
          {
            "code": "15956381000119100",
            "description": "Adenocarcinoma of right lung",
            "attributes": null
          },
          {
            "code": "15956661000119102",
            "description": "Metastatic small cell carcinoma to right lung",
            "attributes": null
          },
          {
            "code": "15956701000119109",
            "description": "Metastatic small cell carcinoma to left lung",
            "attributes": null
          },
          {
            "code": "15956741000119106",
            "description": "Metastatic small cell carcinoma to bilateral lungs",
            "attributes": null
          },
          {
            "code": "15957141000119109",
            "description": "Metastatic squamous cell carcinoma to bilateral lungs",
            "attributes": null
          },
          {
            "code": "15957181000119104",
            "description": "Metastatic squamous cell carcinoma to right lung",
            "attributes": null
          },
          {
            "code": "15957221000119107",
            "description": "Metastatic squamous cell carcinoma to left lung",
            "attributes": null
          },
          {
            "code": "15957261000119102",
            "description": "Kaposi sarcoma of bilateral lungs",
            "attributes": null
          },
          {
            "code": "161428004",
            "description": "History of - * bronchus (context-dependent category)",
            "attributes": null
          },
          {
            "code": "16527441000119105",
            "description": "Primary non-small cell carcinoma of lower lobe of left lung",
            "attributes": null
          },
          {
            "code": "16527481000119100",
            "description": "Primary non-small cell carcinoma of middle lobe of right lung",
            "attributes": null
          },
          {
            "code": "16527521000119100",
            "description": "Primary non-small cell carcinoma of upper lobe of left lung",
            "attributes": null
          },
          {
            "code": "16527561000119105",
            "description": "Primary non-small cell carcinoma of lower lobe of right lung",
            "attributes": null
          },
          {
            "code": "16527601000119105",
            "description": "Primary non-small cell carcinoma of right lung",
            "attributes": null
          },
          {
            "code": "16527641000119107",
            "description": "Primary non-small cell carcinoma of left lung",
            "attributes": null
          },
          {
            "code": "16527721000119108",
            "description": "Primary non-small cell carcinoma of upper lobe of right lung",
            "attributes": null
          },
          {
            "code": "16848061000119103",
            "description": "History of primary malignant neoplasm of left lung",
            "attributes": null
          },
          {
            "code": "16848101000119100",
            "description": "History of primary malignant neoplasm of right lung",
            "attributes": null
          },
          {
            "code": "16848141000119103",
            "description": "History of primary non-small cell carcinoma of right lung",
            "attributes": null
          },
          {
            "code": "16848181000119108",
            "description": "History of primary non-small cell carcinoma of left lung",
            "attributes": null
          },
          {
            "code": "16848221000119100",
            "description": "History of primary non-small cell carcinoma of bilateral lungs",
            "attributes": null
          },
          {
            "code": "16848261000119105",
            "description": "History of primary malignant neoplasm of bilateral lungs",
            "attributes": null
          },
          {
            "code": "16848661000119108",
            "description": "History of primary malignant neoplasm of bilateral main bronchi",
            "attributes": null
          },
          {
            "code": "187853005",
            "description": "Malignant neoplasm of cartilage of trachea",
            "attributes": null
          },
          {
            "code": "187854004",
            "description": "Malignant neoplasm of mucosa of trachea",
            "attributes": null
          },
          {
            "code": "187855003",
            "description": "Malignant neoplasm of trachea NOS",
            "attributes": null
          },
          {
            "code": "187857006",
            "description": "Malignant neoplasm of carina of trachea",
            "attributes": null
          },
          {
            "code": "187859009",
            "description": "Malignant neoplasm of main bronchus NOS",
            "attributes": null
          },
          {
            "code": "187861000",
            "description": "Malignant neoplasm of upper lobe bronchus",
            "attributes": null
          },
          {
            "code": "187862007",
            "description": "Malignant neoplasm of upper lobe of lung",
            "attributes": null
          },
          {
            "code": "187863002",
            "description": "Malignant neoplasm of upper lobe, bronchus or lung NOS",
            "attributes": null
          },
          {
            "code": "187864008",
            "description": "Malignant neoplasm of middle lobe, bronchus or lung",
            "attributes": null
          },
          {
            "code": "187865009",
            "description": "Malignant neoplasm of middle lobe bronchus",
            "attributes": null
          },
          {
            "code": "187866005",
            "description": "Malignant neoplasm of middle lobe of lung",
            "attributes": null
          },
          {
            "code": "187867001",
            "description": "Malignant neoplasm of middle lobe, bronchus or lung NOS",
            "attributes": null
          },
          {
            "code": "187868006",
            "description": "Malignant neoplasm of lower lobe, bronchus or lung",
            "attributes": null
          },
          {
            "code": "187869003",
            "description": "Malignant neoplasm of lower lobe bronchus",
            "attributes": null
          },
          {
            "code": "187870002",
            "description": "Malignant neoplasm of lower lobe of lung",
            "attributes": null
          },
          {
            "code": "187871003",
            "description": "Malignant neoplasm of lower lobe, bronchus or lung NOS",
            "attributes": null
          },
          {
            "code": "187874006",
            "description": "Malignant neoplasm of other sites of bronchus or lung",
            "attributes": null
          },
          {
            "code": "189815007",
            "description": "Pulmonary blastoma",
            "attributes": null
          },
          {
            "code": "190092003",
            "description": "[X]Malignant neoplasm of bronchus or lung, unspecified",
            "attributes": null
          },
          {
            "code": "233647007",
            "description": "Malignant chylothorax",
            "attributes": null
          },
          {
            "code": "254619006",
            "description": "Adenoid cystic carcinoma of trachea",
            "attributes": null
          },
          {
            "code": "254620000",
            "description": "Squamous cell carcinoma of trachea",
            "attributes": null
          },
          {
            "code": "254622008",
            "description": "Squamous cell carcinoma of bronchus",
            "attributes": null
          },
          {
            "code": "254625005",
            "description": "Malignant neoplasm of lung parenchyma",
            "attributes": null
          },
          {
            "code": "254626006",
            "description": "Adenocarcinoma of lung",
            "attributes": null
          },
          {
            "code": "254627002",
            "description": "Carcinoid tumor of lung",
            "attributes": null
          },
          {
            "code": "254628007",
            "description": "Carcinoma of lung parenchyma",
            "attributes": null
          },
          {
            "code": "254629004",
            "description": "Large cell carcinoma of lung",
            "attributes": null
          },
          {
            "code": "254630009",
            "description": "Clear cell carcinoma of lung",
            "attributes": null
          },
          {
            "code": "254631008",
            "description": "Giant cell carcinoma of lung",
            "attributes": null
          },
          {
            "code": "254632001",
            "description": "Small cell carcinoma of lung",
            "attributes": null
          },
          {
            "code": "254633006",
            "description": "Oat cell carcinoma of lung",
            "attributes": null
          },
          {
            "code": "254634000",
            "description": "Squamous cell carcinoma of lung",
            "attributes": null
          },
          {
            "code": "254637007",
            "description": "Non-small cell lung cancer",
            "attributes": null
          },
          {
            "code": "254638002",
            "description": "Pancoast tumor",
            "attributes": null
          },
          {
            "code": "254645002",
            "description": "Malignant mesothelioma of pleura",
            "attributes": null
          },
          {
            "code": "266988009",
            "description": "History of - * trachea/lung (context-dependent category)",
            "attributes": null
          },
          {
            "code": "269464000",
            "description": "Malignant neoplasm of upper lobe, bronchus or lung",
            "attributes": null
          },
          {
            "code": "269465004",
            "description": "Malignant neoplasm of bronchus or lung NOS",
            "attributes": null
          },
          {
            "code": "275532001",
            "description": "History of - * lung (context-dependent category)",
            "attributes": null
          },
          {
            "code": "275533006",
            "description": "History of - * trachea (context-dependent category)",
            "attributes": null
          },
          {
            "code": "313353007",
            "description": "Squamous cell carcinoma of bronchus in left lower lobe",
            "attributes": null
          },
          {
            "code": "313354001",
            "description": "Squamous cell carcinoma of bronchus in left upper lobe",
            "attributes": null
          },
          {
            "code": "313355000",
            "description": "Squamous cell carcinoma of bronchus in right lower lobe",
            "attributes": null
          },
          {
            "code": "313356004",
            "description": "Squamous cell carcinoma of bronchus of middle lobe of right lung",
            "attributes": null
          },
          {
            "code": "313357008",
            "description": "Squamous cell carcinoma of bronchus in right upper lobe",
            "attributes": null
          },
          {
            "code": "314954002",
            "description": "Local recurrence of malignant neoplasm of lung",
            "attributes": null
          },
          {
            "code": "315734003",
            "description": "[V]Personal history of malignant neoplasm of trachea, bronchus or lung",
            "attributes": null
          },
          {
            "code": "354391000119100",
            "description": "Kaposi sarcoma of left lung",
            "attributes": null
          },
          {
            "code": "354461000119102",
            "description": "Kaposi sarcoma of right lung",
            "attributes": null
          },
          {
            "code": "354721000119103",
            "description": "Primary malignant neoplasm of left main bronchus",
            "attributes": null
          },
          {
            "code": "354731000119100",
            "description": "Primary malignant neoplasm of right main bronchus",
            "attributes": null
          },
          {
            "code": "363358000",
            "description": "Malignant neoplasm of lung",
            "attributes": null
          },
          {
            "code": "363432004",
            "description": "Malignant neoplasm of trachea",
            "attributes": null
          },
          {
            "code": "363493006",
            "description": "Malignant neoplasm of bronchus",
            "attributes": null
          },
          {
            "code": "372065009",
            "description": "Malignant neoplasm of main bronchus",
            "attributes": null
          },
          {
            "code": "372110008",
            "description": "Primary malignant neoplasm of lower lobe, bronchus or lung",
            "attributes": null
          },
          {
            "code": "372111007",
            "description": "Carcinoma of lower lobe of lung",
            "attributes": null
          },
          {
            "code": "372112000",
            "description": "Primary malignant neoplasm of middle lobe, bronchus or lung",
            "attributes": null
          },
          {
            "code": "372113005",
            "description": "Carcinoma of middle lobe, bronchus or lung",
            "attributes": null
          },
          {
            "code": "372120003",
            "description": "Carcinoma of main bronchus",
            "attributes": null
          },
          {
            "code": "372135002",
            "description": "Primary malignant neoplasm of upper lobe, bronchus or lung",
            "attributes": null
          },
          {
            "code": "373627005",
            "description": "Bronchioloalveolar carcinoma",
            "attributes": null
          },
          {
            "code": "412341000000106",
            "description": "[V]Personal history of malignant neoplasm of trachea, bronchus or lung",
            "attributes": null
          },
          {
            "code": "415077006",
            "description": "History of primary malignant neoplasm of bronchus",
            "attributes": null
          },
          {
            "code": "415082004",
            "description": "History of primary malignant neoplasm of lung",
            "attributes": null
          },
          {
            "code": "415085002",
            "description": "History of primary malignant neoplasm of trachea",
            "attributes": null
          },
          {
            "code": "422968005",
            "description": "Non-small cell carcinoma of lung, TNM stage 3",
            "attributes": null
          },
          {
            "code": "423050000",
            "description": "Large cell carcinoma of lung, TNM stage 2",
            "attributes": null
          },
          {
            "code": "423121009",
            "description": "Non-small cell carcinoma of lung, TNM stage 4",
            "attributes": null
          },
          {
            "code": "423295000",
            "description": "Squamous cell carcinoma of lung, TNM stage 1",
            "attributes": null
          },
          {
            "code": "423468007",
            "description": "Squamous cell carcinoma of lung, TNM stage 2",
            "attributes": null
          },
          {
            "code": "423600008",
            "description": "Large cell carcinoma of lung, TNM stage 4",
            "attributes": null
          },
          {
            "code": "424078005",
            "description": "Adenocarcinoma of lung, stage I",
            "attributes": null
          },
          {
            "code": "424132000",
            "description": "Non-small cell carcinoma of lung, TNM stage 1",
            "attributes": null
          },
          {
            "code": "424454009",
            "description": "Adenocarcinoma of lung, stage III",
            "attributes": null
          },
          {
            "code": "424632001",
            "description": "Adenocarcinoma of lung, stage II",
            "attributes": null
          },
          {
            "code": "424938000",
            "description": "Large cell carcinoma of lung, TNM stage 1",
            "attributes": null
          },
          {
            "code": "424970000",
            "description": "Large cell carcinoma of lung, TNM stage 3",
            "attributes": null
          },
          {
            "code": "424993006",
            "description": "Adenocarcinoma of lung, stage IV",
            "attributes": null
          },
          {
            "code": "425048006",
            "description": "Non-small cell carcinoma of lung, TNM stage 2",
            "attributes": null
          },
          {
            "code": "425230006",
            "description": "Squamous cell carcinoma of lung, TNM stage 3",
            "attributes": null
          },
          {
            "code": "425376008",
            "description": "Squamous cell carcinoma of lung, TNM stage 4",
            "attributes": null
          },
          {
            "code": "426964009",
            "description": "Non-small cell lung cancer, positive for epidermal growth factor receptor expression",
            "attributes": null
          },
          {
            "code": "427038005",
            "description": "Non-small cell lung cancer, negative for epidermal growth factor receptor expression",
            "attributes": null
          },
          {
            "code": "429226001",
            "description": "History of non-small cell malignant neoplasm of lung",
            "attributes": null
          },
          {
            "code": "429355006",
            "description": "History of malignant neoplasm of pleura",
            "attributes": null
          },
          {
            "code": "432007009",
            "description": "History of malignant mesothelioma of pleura",
            "attributes": null
          },
          {
            "code": "440173001",
            "description": "Nonsquamous nonsmall cell neoplasm of lung",
            "attributes": null
          },
          {
            "code": "448372003",
            "description": "Non-Hodgkin's lymphoma of lung",
            "attributes": null
          },
          {
            "code": "448993007",
            "description": "Malignant epithelial neoplasm of lung",
            "attributes": null
          },
          {
            "code": "479031000000103",
            "description": "[X]Malignant neoplasm of bronchus or lung, unspecified",
            "attributes": null
          },
          {
            "code": "550101000000109",
            "description": "Malignant neoplasm of trachea NOS",
            "attributes": null
          },
          {
            "code": "550111000000106",
            "description": "Malignant neoplasm of main bronchus NOS",
            "attributes": null
          },
          {
            "code": "557081000000104",
            "description": "Malignant neoplasm of upper lobe, bronchus or lung NOS",
            "attributes": null
          },
          {
            "code": "557091000000102",
            "description": "Malignant neoplasm of middle lobe, bronchus or lung NOS",
            "attributes": null
          },
          {
            "code": "557101000000105",
            "description": "Malignant neoplasm of lower lobe, bronchus or lung NOS",
            "attributes": null
          },
          {
            "code": "557111000000107",
            "description": "Malignant neoplasm of other sites of bronchus or lung",
            "attributes": null
          },
          {
            "code": "573491000000102",
            "description": "Malignant neoplasm of bronchus or lung NOS",
            "attributes": null
          },
          {
            "code": "619792361000119102",
            "description": "History of primary small cell carcinoma of lung",
            "attributes": null
          },
          {
            "code": "67811000119102",
            "description": "Primary small cell malignant neoplasm of lung, TNM stage 1",
            "attributes": null
          },
          {
            "code": "67821000119109",
            "description": "Primary small cell malignant neoplasm of lung, TNM stage 2",
            "attributes": null
          },
          {
            "code": "67831000119107",
            "description": "Primary small cell malignant neoplasm of lung, TNM stage 3",
            "attributes": null
          },
          {
            "code": "67841000119103",
            "description": "Primary small cell malignant neoplasm of lung, TNM stage 4",
            "attributes": null
          },
          {
            "code": "683991000119103",
            "description": "Extensive stage primary small cell carcinoma of lung",
            "attributes": null
          },
          {
            "code": "703228009",
            "description": "Non-small cell lung cancer with mutation in epidermal growth factor receptor",
            "attributes": null
          },
          {
            "code": "703230006",
            "description": "Non-small cell lung cancer without mutation in epidermal growth factor receptor",
            "attributes": null
          },
          {
            "code": "707377003",
            "description": "Primary signet ring cell carcinoma of trachea",
            "attributes": null
          },
          {
            "code": "707378008",
            "description": "Primary myoepithelial carcinoma of trachea",
            "attributes": null
          },
          {
            "code": "707379000",
            "description": "Primary mucoepidermoid carcinoma of trachea",
            "attributes": null
          },
          {
            "code": "707380002",
            "description": "Primary salivary gland type carcinoma of trachea",
            "attributes": null
          },
          {
            "code": "707383000",
            "description": "Primary mucinous cystadenocarcinoma of trachea",
            "attributes": null
          },
          {
            "code": "707384006",
            "description": "Primary solid carcinoma of trachea",
            "attributes": null
          },
          {
            "code": "707385007",
            "description": "Primary undifferentiated carcinoma of trachea",
            "attributes": null
          },
          {
            "code": "707386008",
            "description": "Primary acinar cell carcinoma of trachea",
            "attributes": null
          },
          {
            "code": "707388009",
            "description": "Primary squamous cell carcinoma of trachea",
            "attributes": null
          },
          {
            "code": "707389001",
            "description": "Primary clear cell squamous cell carcinoma of trachea",
            "attributes": null
          },
          {
            "code": "707390005",
            "description": "Primary basaloid squamous cell carcinoma of trachea",
            "attributes": null
          },
          {
            "code": "707391009",
            "description": "Primary papillary squamous cell carcinoma of trachea",
            "attributes": null
          },
          {
            "code": "707392002",
            "description": "Primary giant cell carcinoma of trachea",
            "attributes": null
          },
          {
            "code": "707393007",
            "description": "Primary adenosquamous carcinoma of trachea",
            "attributes": null
          },
          {
            "code": "707394001",
            "description": "Primary spindle cell carcinoma of trachea",
            "attributes": null
          },
          {
            "code": "707403002",
            "description": "Primary fetal adenocarcinoma of lung",
            "attributes": null
          },
          {
            "code": "707404008",
            "description": "Primary mixed subtype adenocarcinoma of lung",
            "attributes": null
          },
          {
            "code": "707405009",
            "description": "Primary adenosquamous carcinoma of lung",
            "attributes": null
          },
          {
            "code": "707407001",
            "description": "Primary signet ring cell carcinoma of lung",
            "attributes": null
          },
          {
            "code": "707408006",
            "description": "Primary small cell non-keratinizing squamous cell carcinoma of lung",
            "attributes": null
          },
          {
            "code": "707409003",
            "description": "Primary acinar cell carcinoma of lung",
            "attributes": null
          },
          {
            "code": "707410008",
            "description": "Primary solid carcinoma of lung",
            "attributes": null
          },
          {
            "code": "707411007",
            "description": "Primary papillary adenocarcinoma of lung",
            "attributes": null
          },
          {
            "code": "707451005",
            "description": "Primary adenocarcinoma of lung",
            "attributes": null
          },
          {
            "code": "707452003",
            "description": "Primary mucinous adenocarcinoma of lung",
            "attributes": null
          },
          {
            "code": "707453008",
            "description": "Primary clear cell squamous cell carcinoma of lung",
            "attributes": null
          },
          {
            "code": "707454002",
            "description": "Primary basaloid squamous cell carcinoma of lung",
            "attributes": null
          },
          {
            "code": "707455001",
            "description": "Primary papillary squamous cell carcinoma of lung",
            "attributes": null
          },
          {
            "code": "707456000",
            "description": "Primary undifferentiated carcinoma of lung",
            "attributes": null
          },
          {
            "code": "707457009",
            "description": "Primary spindle cell carcinoma of lung",
            "attributes": null
          },
          {
            "code": "707458004",
            "description": "Primary pleomorphic carcinoma of lung",
            "attributes": null
          },
          {
            "code": "707460002",
            "description": "Primary pseudosarcomatous carcinoma of lung",
            "attributes": null
          },
          {
            "code": "707464006",
            "description": "Primary myoepithelial carcinoma of lung",
            "attributes": null
          },
          {
            "code": "707465007",
            "description": "Primary mucoepidermoid carcinoma of lung",
            "attributes": null
          },
          {
            "code": "707466008",
            "description": "Primary adenoid cystic carcinoma of lung",
            "attributes": null
          },
          {
            "code": "707467004",
            "description": "Primary salivary gland type carcinoma of lung",
            "attributes": null
          },
          {
            "code": "707468009",
            "description": "Primary mixed mucinous and non-mucinous bronchiolo-alveolar carcinoma of lung",
            "attributes": null
          },
          {
            "code": "707469001",
            "description": "Primary non-mucinous bronchiolo-alveolar carcinoma of lung",
            "attributes": null
          },
          {
            "code": "707470000",
            "description": "Primary mucinous bronchiolo-alveolar carcinoma of lung",
            "attributes": null
          },
          {
            "code": "707471001",
            "description": "Primary clear cell adenocarcinoma of trachea",
            "attributes": null
          },
          {
            "code": "707472008",
            "description": "Primary papillary adenocarcinoma of trachea",
            "attributes": null
          },
          {
            "code": "707473003",
            "description": "Primary mucinous adenocarcinoma of trachea",
            "attributes": null
          },
          {
            "code": "707475005",
            "description": "Primary adenocarcinoma of trachea",
            "attributes": null
          },
          {
            "code": "707493006",
            "description": "Primary lymphoepithelial carcinoma of trachea",
            "attributes": null
          },
          {
            "code": "707494000",
            "description": "Primary verrucous carcinoma of trachea",
            "attributes": null
          },
          {
            "code": "707495004",
            "description": "Primary squamous cell adenoid carcinoma of trachea",
            "attributes": null
          },
          {
            "code": "707594002",
            "description": "Neuroendocrine neoplasm of lung",
            "attributes": null
          },
          {
            "code": "707595001",
            "description": "Primary mucinous cystadenocarcinoma of lung",
            "attributes": null
          },
          {
            "code": "707596000",
            "description": "Primary carcinosarcoma of lung",
            "attributes": null
          },
          {
            "code": "707670009",
            "description": "Pleuropulmonary blastoma",
            "attributes": null
          },
          {
            "code": "707671008",
            "description": "Pleuropulmonary blastoma type I",
            "attributes": null
          },
          {
            "code": "707672001",
            "description": "Pleuropulmonary blastoma type II",
            "attributes": null
          },
          {
            "code": "707673006",
            "description": "Pleuropulmonary blastoma type III",
            "attributes": null
          },
          {
            "code": "707674000",
            "description": "Primary malignant epithelial neoplasm of trachea",
            "attributes": null
          },
          {
            "code": "711414003",
            "description": "Primary clear cell adenocarcinoma of lung",
            "attributes": null
          },
          {
            "code": "722425009",
            "description": "Reactive oxygen species 1 positive non-small cell lung cancer",
            "attributes": null
          },
          {
            "code": "722527003",
            "description": "Primary malignant neuroendocrine neoplasm of bronchus",
            "attributes": null
          },
          {
            "code": "722528008",
            "description": "Primary malignant neuroendocrine neoplasm of lung",
            "attributes": null
          },
          {
            "code": "723301009",
            "description": "Squamous non-small cell lung cancer",
            "attributes": null
          },
          {
            "code": "724056005",
            "description": "Malignant neoplasm of lower lobe of right lung",
            "attributes": null
          },
          {
            "code": "724058006",
            "description": "Malignant neoplasm of upper lobe of left lung",
            "attributes": null
          },
          {
            "code": "724059003",
            "description": "Malignant neoplasm of lower lobe of left lung",
            "attributes": null
          },
          {
            "code": "724060008",
            "description": "Malignant neoplasm of right upper lobe of lung",
            "attributes": null
          },
          {
            "code": "726653000",
            "description": "Malignant carcinoid tumor of bronchus",
            "attributes": null
          },
          {
            "code": "733144006",
            "description": "Malignant epithelial neoplasm of bronchus",
            "attributes": null
          },
          {
            "code": "793197981000119106",
            "description": "Malignant carcinoid tumor of right lung",
            "attributes": null
          },
          {
            "code": "822969007",
            "description": "Acinar cell cystadenocarcinoma of lung",
            "attributes": null
          },
          {
            "code": "830055006",
            "description": "Anaplastic lymphoma kinase fusion oncogene negative non-small cell lung cancer",
            "attributes": null
          },
          {
            "code": "830060005",
            "description": "Reactive oxygen species 1 negative non-small cell lung cancer",
            "attributes": null
          },
          {
            "code": "830151004",
            "description": "Anaplastic lymphoma kinase fusion oncogene positive non-small cell lung cancer",
            "attributes": null
          },
          {
            "code": "83270006",
            "description": "Neoplastic pleural effusion",
            "attributes": null
          },
          {
            "code": "860792009",
            "description": "Pleural effusion due to malignant neoplastic disease",
            "attributes": null
          },
          {
            "code": "890528009",
            "description": "Primary malignant neoplasm of left lung",
            "attributes": null
          },
          {
            "code": "890529001",
            "description": "Primary malignant neoplasm of right lung",
            "attributes": null
          },
          {
            "code": "890534002",
            "description": "Primary malignant neoplasm of bilateral lungs",
            "attributes": null
          },
          {
            "code": "91221000119102",
            "description": "Metastatic malignant melanoma to pleura",
            "attributes": null
          },
          {
            "code": "93729006",
            "description": "Primary malignant neoplasm of bronchus of left lower lobe",
            "attributes": null
          },
          {
            "code": "93730001",
            "description": "Primary malignant neoplasm of bronchus of left upper lobe",
            "attributes": null
          },
          {
            "code": "93731002",
            "description": "Primary malignant neoplasm of bronchus of right lower lobe",
            "attributes": null
          },
          {
            "code": "93732009",
            "description": "Primary malignant neoplasm of bronchus of middle lobe of right lung",
            "attributes": null
          },
          {
            "code": "93733004",
            "description": "Primary malignant neoplasm of bronchus of right upper lobe",
            "attributes": null
          },
          {
            "code": "93734005",
            "description": "Primary malignant neoplasm of bronchus",
            "attributes": null
          },
          {
            "code": "93739000",
            "description": "Primary malignant neoplasm of carina",
            "attributes": null
          },
          {
            "code": "93827000",
            "description": "Primary malignant neoplasm of hilus of lung",
            "attributes": null
          },
          {
            "code": "93864006",
            "description": "Primary malignant neoplasm of lower lobe of left lung",
            "attributes": null
          },
          {
            "code": "93865007",
            "description": "Primary malignant neoplasm of upper lobe of left lung",
            "attributes": null
          },
          {
            "code": "93880001",
            "description": "Primary malignant neoplasm of lung",
            "attributes": null
          },
          {
            "code": "93882009",
            "description": "Primary malignant neoplasm of main bronchus",
            "attributes": null
          },
          {
            "code": "93991009",
            "description": "Primary malignant neoplasm of right lower lobe of lung",
            "attributes": null
          },
          {
            "code": "93992002",
            "description": "Primary malignant neoplasm of middle lobe of right lung",
            "attributes": null
          },
          {
            "code": "93993007",
            "description": "Primary malignant neoplasm of upper lobe of right lung",
            "attributes": null
          },
          {
            "code": "94104001",
            "description": "Primary malignant neoplasm of trachea",
            "attributes": null
          }
        ]
      }
    ],
    "coding_system_release": "",
    "open_codelist_version_id": "6ab88ca1",
    "open_codelist_version_tag": "20250912",
    "status": 1,
    "doi": "https://doi.org/10.48533/0k73-1r62",
    "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": 6900,
        "version_name": "Lung cancer codes",
        "version_date": "2026-01-26T22:41:19.888197Z",
        "is_published": true,
        "is_latest": true
      },
      {
        "version_id": 6899,
        "version_name": "Lung cancer codes",
        "version_date": "2026-01-26T22:41:17.916526Z",
        "is_published": true,
        "is_latest": false
      },
      {
        "version_id": 6898,
        "version_name": "Lung cancer codes",
        "version_date": "2026-01-26T22:41:15.801586Z",
        "is_published": true,
        "is_latest": false
      }
    ]
  }
]