The network pharmacological analysis reveals that the Pan Ji Sheng formula could regulate HSP90AA1, PTGS2, ESR1, MAPK14, and other genes, modulating pathways such as cancer pathways, TNF signaling pathways, and toll-like receptor signaling pathways to regulate inflammatory response and immune processes. The gene discussed is PTGS2; the disease is cancer.