This study supports that PD1/PDL1 gene expression is a predictor of lung cancer prognosis in early- and late-stage NSCLC. Here, CD274 is linked to lung carcinoma.