Network pharmacology analysis identified the top ten target genes for THSWD treatment of delirium, including MAOA, MAOB, SNCA, IL1B, APP, PTGS2, TNF, IL6, GSK3B and ABHE. The gene discussed is TNF; the disease is delirium.