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. This evidence concerns the gene PTGS2 and delirium.