Abstract:Objective To explore the law of medication and the possible mechanism of core drugs in the treatment of stomachache. Methods To sort out the medical records in the“stomachache” section of clinical guide medical records · Volume 8, using SPSS 22.0 and SPSS modeler 18.0 statistical software to analyze the drug use rules and excavate the core drugs. Through the BATMAN-TCM online analysis tool to predict the target of the core drugs and KEGG pathway analysis, to reveal the molecular mechanism of the core drugs in the treatment of stomachache. Results There are 48 prescriptions in 44 cases of “stomachache” in clinical guide medical record · Volume 8, involving 75 traditional Chinese medicines. Pinellia and Poria cocos are the most frequently used drugs, most of which are Xinwen products, which are attributed to spleen, stomach and lung meridians, forming 7 groups of common factors and 4 pairs of drug compatibility relations. Pinellia and Poria cocos, as the core drugs, contain 8 potential targets and 7 signal pathways related to stomachache. Conclusion In the treatment of stomacheache, Ye’s emphasis is to adjust the whole body Qi mechanism, restore the spleen and stomach movement and turn the axis. Xinwen is the main drug, aiming at regulating Qi, resolving phlegm, dispersing cold and removing blood stasis. The mechanism of action may be through the intervention of Calcium Signaling Pathway, CGMP-PKG Signaling Pathway, and Neuroactive Ligand-Receptor Interaction.