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. This evidence concerns the gene ESR1 and cancer.