[
  {
    "phenotype_id": "PH256",
    "phenotype_version_id": 512,
    "name": "Primary Malignancy_Lung and trachea",
    "definition": "At the specified date, a patient is defined as having had Primary Malignancy Lung and trachea IF they meet the criteria for any of the following on or before the specified date. The earliest date on which the individual meets any of the following criteria on or before the specified date is defined as the first event date:\n\n\nPrimary care\n\n\n1. Primary Malignancy_Lung and trachea diagnosis or history of diagnosis during a consultation \n\nOR\nSecondary care\n\n\n1. ALL diagnoses of Primary Malignancy_Lung and trachea or history of diagnosis during a hospitalization\n\n\n\n\n\n\n\n\n\n\n\n\n",
    "implementation": "",
    "publications": [
      {
        "doi": "10.1016/S2589-7500(19)30012-3",
        "details": "Kuan V., Denaxas S., Gonzalez-Izquierdo A. et al. A chronological map of 308 physical and mental health conditions from 4 million individuals in the National Health Service. The Lancet Digital Health - DOI 10.1016/S2589-7500(19)30012-3"
      }
    ],
    "validation": "",
    "citation_requirements": "",
    "created": "2021-10-06T16:09:55.994392Z",
    "author": "Kuan V, Denaxas S, Gonzalez-Izquierdo A, Direk K, Bhatti O, Husain S, Sutaria S, Hingorani M, Nitsch D, Parisinos C, Lumbers T, Mathur R, Sofat R, Casas JP, Wong I, Hemingway H, Hingorani A",
    "collections": [
      {
        "name": "CALIBER",
        "value": 21
      },
      {
        "name": "Phenotype Library",
        "value": 18
      }
    ],
    "tags": null,
    "organisation": null,
    "world_access": 1,
    "updated": "2021-10-06T16:09:55.994418Z",
    "sex": [
      {
        "name": "Both",
        "value": "3"
      }
    ],
    "type": [
      {
        "name": "Disease or syndrome",
        "value": "2"
      }
    ],
    "ontology": null,
    "phenoflowid": "https://kclhi.org/phenoflow/workflows/github.com/phenoflow/Primary-Malignancy_Lung-and-trachea---e166ec80-17ab-11ef-9de4-4d4ea830ad16/blob/read-potential-cases-fhir/Primary-Malignancy_Lung-and-trachea.cwl",
    "data_sources": [
      {
        "name": "CPRD GOLD",
        "value": 5,
        "uid": "a29feafa-7bdd-44e9-b977-c9d26425e67f",
        "url": "https://healthdatagateway.org/en/dataset/694",
        "datasource_id": 694
      },
      {
        "name": "HES Admitted Patient Care data for CPRD GOLD",
        "value": 9,
        "uid": "4bcf64a6-f404-4ef4-ae6e-172512ab5f43",
        "url": "https://healthdatagateway.org/en/dataset/674",
        "datasource_id": 674
      }
    ],
    "coding_system": [
      {
        "name": "ICD10 codes",
        "value": 4
      },
      {
        "name": "Read codes v2",
        "value": 5
      },
      {
        "name": "Med codes",
        "value": 8
      }
    ],
    "event_date_range": "01/01/1999 - 01/07/2016",
    "concept_information": [
      {
        "concept_id": 1412,
        "concept_version_id": 3963,
        "concept_name": "Primary Malignancy_Lung and trachea - Primary care",
        "coding_system": {
          "id": 5,
          "name": "Read codes v2",
          "description": "Read codes v2"
        },
        "phenotype_id": "PH256",
        "phenotype_version_id": 512,
        "phenotype_name": "Primary Malignancy_Lung and trachea",
        "code_attribute_header": [
          "Disease",
          "Medcode",
          "Category"
        ],
        "codes": [
          {
            "code": "B22..00",
            "description": "Malignant neoplasm of trachea, bronchus and lung",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "Medcode": "13243.0",
              "Category": "Diagnosis of Primary Malignancy_Lung and trachea"
            }
          },
          {
            "code": "B220.00",
            "description": "Malignant neoplasm of trachea",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "Medcode": "15221.0",
              "Category": "Diagnosis of Primary Malignancy_Lung and trachea"
            }
          },
          {
            "code": "B220100",
            "description": "Malignant neoplasm of mucosa of trachea",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "Medcode": "103946.0",
              "Category": "Diagnosis of Primary Malignancy_Lung and trachea"
            }
          },
          {
            "code": "B220z00",
            "description": "Malignant neoplasm of trachea NOS",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "Medcode": "37810.0",
              "Category": "Diagnosis of Primary Malignancy_Lung and trachea"
            }
          },
          {
            "code": "B221.00",
            "description": "Malignant neoplasm of main bronchus",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "Medcode": "12870.0",
              "Category": "Diagnosis of Primary Malignancy_Lung and trachea"
            }
          },
          {
            "code": "B221000",
            "description": "Malignant neoplasm of carina of bronchus",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "Medcode": "17391.0",
              "Category": "Diagnosis of Primary Malignancy_Lung and trachea"
            }
          },
          {
            "code": "B221100",
            "description": "Malignant neoplasm of hilus of lung",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "Medcode": "33444.0",
              "Category": "Diagnosis of Primary Malignancy_Lung and trachea"
            }
          },
          {
            "code": "B221z00",
            "description": "Malignant neoplasm of main bronchus NOS",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "Medcode": "21698.0",
              "Category": "Diagnosis of Primary Malignancy_Lung and trachea"
            }
          },
          {
            "code": "B222.00",
            "description": "Malignant neoplasm of upper lobe, bronchus or lung",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "Medcode": "10358.0",
              "Category": "Diagnosis of Primary Malignancy_Lung and trachea"
            }
          },
          {
            "code": "B222000",
            "description": "Malignant neoplasm of upper lobe bronchus",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "Medcode": "31700.0",
              "Category": "Diagnosis of Primary Malignancy_Lung and trachea"
            }
          },
          {
            "code": "B222100",
            "description": "Malignant neoplasm of upper lobe of lung",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "Medcode": "25886.0",
              "Category": "Diagnosis of Primary Malignancy_Lung and trachea"
            }
          },
          {
            "code": "B222.11",
            "description": "Pancoast's syndrome",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "Medcode": "20170.0",
              "Category": "Diagnosis of Primary Malignancy_Lung and trachea"
            }
          },
          {
            "code": "B222z00",
            "description": "Malignant neoplasm of upper lobe, bronchus or lung NOS",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "Medcode": "44169.0",
              "Category": "Diagnosis of Primary Malignancy_Lung and trachea"
            }
          },
          {
            "code": "B223.00",
            "description": "Malignant neoplasm of middle lobe, bronchus or lung",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "Medcode": "31268.0",
              "Category": "Diagnosis of Primary Malignancy_Lung and trachea"
            }
          },
          {
            "code": "B223000",
            "description": "Malignant neoplasm of middle lobe bronchus",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "Medcode": "41523.0",
              "Category": "Diagnosis of Primary Malignancy_Lung and trachea"
            }
          },
          {
            "code": "B223100",
            "description": "Malignant neoplasm of middle lobe of lung",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "Medcode": "39923.0",
              "Category": "Diagnosis of Primary Malignancy_Lung and trachea"
            }
          },
          {
            "code": "B223z00",
            "description": "Malignant neoplasm of middle lobe, bronchus or lung NOS",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "Medcode": "54134.0",
              "Category": "Diagnosis of Primary Malignancy_Lung and trachea"
            }
          },
          {
            "code": "B224.00",
            "description": "Malignant neoplasm of lower lobe, bronchus or lung",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "Medcode": "31188.0",
              "Category": "Diagnosis of Primary Malignancy_Lung and trachea"
            }
          },
          {
            "code": "B224000",
            "description": "Malignant neoplasm of lower lobe bronchus",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "Medcode": "18678.0",
              "Category": "Diagnosis of Primary Malignancy_Lung and trachea"
            }
          },
          {
            "code": "B224100",
            "description": "Malignant neoplasm of lower lobe of lung",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "Medcode": "12582.0",
              "Category": "Diagnosis of Primary Malignancy_Lung and trachea"
            }
          },
          {
            "code": "B224z00",
            "description": "Malignant neoplasm of lower lobe, bronchus or lung NOS",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "Medcode": "42566.0",
              "Category": "Diagnosis of Primary Malignancy_Lung and trachea"
            }
          },
          {
            "code": "B225.00",
            "description": "Malignant neoplasm of overlapping lesion of bronchus & lung",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "Medcode": "36371.0",
              "Category": "Diagnosis of Primary Malignancy_Lung and trachea"
            }
          },
          {
            "code": "B22y.00",
            "description": "Malignant neoplasm of other sites of bronchus or lung",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "Medcode": "38961.0",
              "Category": "Diagnosis of Primary Malignancy_Lung and trachea"
            }
          },
          {
            "code": "B22z.00",
            "description": "Malignant neoplasm of bronchus or lung NOS",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "Medcode": "3903.0",
              "Category": "Diagnosis of Primary Malignancy_Lung and trachea"
            }
          },
          {
            "code": "B22z.11",
            "description": "Lung cancer",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "Medcode": "2587.0",
              "Category": "Diagnosis of Primary Malignancy_Lung and trachea"
            }
          },
          {
            "code": "BB5S200",
            "description": "[M]Bronchiolo-alveolar adenocarcinoma",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "Medcode": "34015.0",
              "Category": "Diagnosis of Primary Malignancy_Lung and trachea"
            }
          },
          {
            "code": "BB5S211",
            "description": "[M]Alveolar cell carcinoma",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "Medcode": "36530.0",
              "Category": "Diagnosis of Primary Malignancy_Lung and trachea"
            }
          },
          {
            "code": "BB5S212",
            "description": "[M]Bronchiolar carcinoma",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "Medcode": "16723.0",
              "Category": "Diagnosis of Primary Malignancy_Lung and trachea"
            }
          },
          {
            "code": "BB5S400",
            "description": "[M]Alveolar adenocarcinoma",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "Medcode": "57802.0",
              "Category": "Diagnosis of Primary Malignancy_Lung and trachea"
            }
          },
          {
            "code": "Byu2000",
            "description": "[X]Malignant neoplasm of bronchus or lung, unspecified",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "Medcode": "40595.0",
              "Category": "Diagnosis of Primary Malignancy_Lung and trachea"
            }
          },
          {
            "code": "ZV10100",
            "description": "[V]Personal history of malig neop of trachea/bronchus/lung",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "Medcode": "49289.0",
              "Category": "History of Primary Malignancy_Lung and trachea"
            }
          },
          {
            "code": "ZV10111",
            "description": "[V]Personal history of malignant neoplasm of bronchus",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "Medcode": "32246.0",
              "Category": "History of Primary Malignancy_Lung and trachea"
            }
          },
          {
            "code": "ZV10112",
            "description": "[V]Personal history of malignant neoplasm of lung",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "Medcode": "29284.0",
              "Category": "History of Primary Malignancy_Lung and trachea"
            }
          }
        ]
      },
      {
        "concept_id": 1413,
        "concept_version_id": 3965,
        "concept_name": "Primary Malignancy_Lung and trachea - Primary care",
        "coding_system": {
          "id": 8,
          "name": "Med codes",
          "description": "Med codes"
        },
        "phenotype_id": "PH256",
        "phenotype_version_id": 512,
        "phenotype_name": "Primary Malignancy_Lung and trachea",
        "code_attribute_header": [
          "Disease",
          "ReadcodeDescr",
          "Readcode"
        ],
        "codes": [
          {
            "code": "10358.0",
            "description": "Diagnosis of Primary Malignancy_Lung and trachea",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "ReadcodeDescr": "Malignant neoplasm of upper lobe, bronchus or lung",
              "Readcode": "B222.00"
            }
          },
          {
            "code": "103946.0",
            "description": "Diagnosis of Primary Malignancy_Lung and trachea",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "ReadcodeDescr": "Malignant neoplasm of mucosa of trachea",
              "Readcode": "B220100"
            }
          },
          {
            "code": "12582.0",
            "description": "Diagnosis of Primary Malignancy_Lung and trachea",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "ReadcodeDescr": "Malignant neoplasm of lower lobe of lung",
              "Readcode": "B224100"
            }
          },
          {
            "code": "12870.0",
            "description": "Diagnosis of Primary Malignancy_Lung and trachea",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "ReadcodeDescr": "Malignant neoplasm of main bronchus",
              "Readcode": "B221.00"
            }
          },
          {
            "code": "13243.0",
            "description": "Diagnosis of Primary Malignancy_Lung and trachea",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "ReadcodeDescr": "Malignant neoplasm of trachea, bronchus and lung",
              "Readcode": "B22..00"
            }
          },
          {
            "code": "15221.0",
            "description": "Diagnosis of Primary Malignancy_Lung and trachea",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "ReadcodeDescr": "Malignant neoplasm of trachea",
              "Readcode": "B220.00"
            }
          },
          {
            "code": "16723.0",
            "description": "Diagnosis of Primary Malignancy_Lung and trachea",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "ReadcodeDescr": "[M]Bronchiolar carcinoma",
              "Readcode": "BB5S212"
            }
          },
          {
            "code": "17391.0",
            "description": "Diagnosis of Primary Malignancy_Lung and trachea",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "ReadcodeDescr": "Malignant neoplasm of carina of bronchus",
              "Readcode": "B221000"
            }
          },
          {
            "code": "18678.0",
            "description": "Diagnosis of Primary Malignancy_Lung and trachea",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "ReadcodeDescr": "Malignant neoplasm of lower lobe bronchus",
              "Readcode": "B224000"
            }
          },
          {
            "code": "20170.0",
            "description": "Diagnosis of Primary Malignancy_Lung and trachea",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "ReadcodeDescr": "Pancoast's syndrome",
              "Readcode": "B222.11"
            }
          },
          {
            "code": "21698.0",
            "description": "Diagnosis of Primary Malignancy_Lung and trachea",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "ReadcodeDescr": "Malignant neoplasm of main bronchus NOS",
              "Readcode": "B221z00"
            }
          },
          {
            "code": "2587.0",
            "description": "Diagnosis of Primary Malignancy_Lung and trachea",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "ReadcodeDescr": "Lung cancer",
              "Readcode": "B22z.11"
            }
          },
          {
            "code": "25886.0",
            "description": "Diagnosis of Primary Malignancy_Lung and trachea",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "ReadcodeDescr": "Malignant neoplasm of upper lobe of lung",
              "Readcode": "B222100"
            }
          },
          {
            "code": "29284.0",
            "description": "History of Primary Malignancy_Lung and trachea",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "ReadcodeDescr": "[V]Personal history of malignant neoplasm of lung",
              "Readcode": "ZV10112"
            }
          },
          {
            "code": "31188.0",
            "description": "Diagnosis of Primary Malignancy_Lung and trachea",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "ReadcodeDescr": "Malignant neoplasm of lower lobe, bronchus or lung",
              "Readcode": "B224.00"
            }
          },
          {
            "code": "31268.0",
            "description": "Diagnosis of Primary Malignancy_Lung and trachea",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "ReadcodeDescr": "Malignant neoplasm of middle lobe, bronchus or lung",
              "Readcode": "B223.00"
            }
          },
          {
            "code": "31700.0",
            "description": "Diagnosis of Primary Malignancy_Lung and trachea",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "ReadcodeDescr": "Malignant neoplasm of upper lobe bronchus",
              "Readcode": "B222000"
            }
          },
          {
            "code": "32246.0",
            "description": "History of Primary Malignancy_Lung and trachea",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "ReadcodeDescr": "[V]Personal history of malignant neoplasm of bronchus",
              "Readcode": "ZV10111"
            }
          },
          {
            "code": "33444.0",
            "description": "Diagnosis of Primary Malignancy_Lung and trachea",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "ReadcodeDescr": "Malignant neoplasm of hilus of lung",
              "Readcode": "B221100"
            }
          },
          {
            "code": "34015.0",
            "description": "Diagnosis of Primary Malignancy_Lung and trachea",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "ReadcodeDescr": "[M]Bronchiolo-alveolar adenocarcinoma",
              "Readcode": "BB5S200"
            }
          },
          {
            "code": "36371.0",
            "description": "Diagnosis of Primary Malignancy_Lung and trachea",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "ReadcodeDescr": "Malignant neoplasm of overlapping lesion of bronchus & lung",
              "Readcode": "B225.00"
            }
          },
          {
            "code": "36530.0",
            "description": "Diagnosis of Primary Malignancy_Lung and trachea",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "ReadcodeDescr": "[M]Alveolar cell carcinoma",
              "Readcode": "BB5S211"
            }
          },
          {
            "code": "37810.0",
            "description": "Diagnosis of Primary Malignancy_Lung and trachea",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "ReadcodeDescr": "Malignant neoplasm of trachea NOS",
              "Readcode": "B220z00"
            }
          },
          {
            "code": "38961.0",
            "description": "Diagnosis of Primary Malignancy_Lung and trachea",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "ReadcodeDescr": "Malignant neoplasm of other sites of bronchus or lung",
              "Readcode": "B22y.00"
            }
          },
          {
            "code": "3903.0",
            "description": "Diagnosis of Primary Malignancy_Lung and trachea",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "ReadcodeDescr": "Malignant neoplasm of bronchus or lung NOS",
              "Readcode": "B22z.00"
            }
          },
          {
            "code": "39923.0",
            "description": "Diagnosis of Primary Malignancy_Lung and trachea",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "ReadcodeDescr": "Malignant neoplasm of middle lobe of lung",
              "Readcode": "B223100"
            }
          },
          {
            "code": "40595.0",
            "description": "Diagnosis of Primary Malignancy_Lung and trachea",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "ReadcodeDescr": "[X]Malignant neoplasm of bronchus or lung, unspecified",
              "Readcode": "Byu2000"
            }
          },
          {
            "code": "41523.0",
            "description": "Diagnosis of Primary Malignancy_Lung and trachea",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "ReadcodeDescr": "Malignant neoplasm of middle lobe bronchus",
              "Readcode": "B223000"
            }
          },
          {
            "code": "42566.0",
            "description": "Diagnosis of Primary Malignancy_Lung and trachea",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "ReadcodeDescr": "Malignant neoplasm of lower lobe, bronchus or lung NOS",
              "Readcode": "B224z00"
            }
          },
          {
            "code": "44169.0",
            "description": "Diagnosis of Primary Malignancy_Lung and trachea",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "ReadcodeDescr": "Malignant neoplasm of upper lobe, bronchus or lung NOS",
              "Readcode": "B222z00"
            }
          },
          {
            "code": "49289.0",
            "description": "History of Primary Malignancy_Lung and trachea",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "ReadcodeDescr": "[V]Personal history of malig neop of trachea/bronchus/lung",
              "Readcode": "ZV10100"
            }
          },
          {
            "code": "54134.0",
            "description": "Diagnosis of Primary Malignancy_Lung and trachea",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "ReadcodeDescr": "Malignant neoplasm of middle lobe, bronchus or lung NOS",
              "Readcode": "B223z00"
            }
          },
          {
            "code": "57802.0",
            "description": "Diagnosis of Primary Malignancy_Lung and trachea",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "ReadcodeDescr": "[M]Alveolar adenocarcinoma",
              "Readcode": "BB5S400"
            }
          }
        ]
      },
      {
        "concept_id": 1414,
        "concept_version_id": 3967,
        "concept_name": "Primary Malignancy_Lung and trachea - Secondary care - Diagnoses",
        "coding_system": {
          "id": 4,
          "name": "ICD10 codes",
          "description": "ICD10 Codes"
        },
        "phenotype_id": "PH256",
        "phenotype_version_id": 512,
        "phenotype_name": "Primary Malignancy_Lung and trachea",
        "code_attribute_header": [
          "Disease",
          "Category"
        ],
        "codes": [
          {
            "code": "C33",
            "description": "Malignant neoplasm of trachea",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "Category": "Diagnosis of Primary Malignancy_Lung and trachea"
            }
          },
          {
            "code": "C34",
            "description": "Malignant neoplasm of bronchus and lung",
            "attributes": {
              "Disease": "Primary Malignancy_Lung and trachea",
              "Category": "Diagnosis of Primary Malignancy_Lung and trachea"
            }
          }
        ]
      }
    ],
    "status": 2,
    "doi": "https://doi.org/10.48533/z5wt-sn75",
    "is_deleted": null,
    "publish_status": 2,
    "owner": "ieuan.scanlon",
    "template": {
      "id": 1,
      "name": "Clinical-Coded Phenotype",
      "description": "Phenotype definitions that are based on lists of clinical codes, or algorithms using clinical codes.",
      "version_id": 1
    },
    "versions": [
      {
        "version_id": 512,
        "version_name": "Primary Malignancy_Lung and trachea",
        "version_date": "2021-10-06T16:09:56.021303Z",
        "is_published": true,
        "is_latest": true
      }
    ]
  }
]