In network pharmacology, KEGG pathway analysis found that Danhong injection was mainly through PD-L1 expression and PD-1 checkpoint pathway in cancer (PPCPC), LA, proteoglycans in cancer (PRC), PC, PASP, etc to treat IPF. This evidence concerns the gene CD274 and idiopathic pulmonary fibrosis.