Electrogastrogram examines the electrical activity of the stomach to diagnose gastrointestinal disorders such as gastroparesis syndrome, pediatric peptic ulcer, diabetic gastroparesis, and other gastrointestinal disorders. Gastroelectrography is a non-invasive test that records gastric electrical activity mainly through body surface electrodes. During the test, it is based on the changes in the morphology of gastrointestinal electrical waveforms as well as the parameters, so as to diagnose gastrointestinal disorders, such as gastro-hypoparalysis syndrome, pediatric peptic ulcer, diabetic gastro-hypoparalysis and so on, and it can be used for checking the effectiveness of the treatments as well. In addition to detecting gastric disorders, EEG can also be used to evaluate other diseases, such as diabetes mellitus. Before doing gastric electrocardiogram, it is important to follow the doctor’s instructions to prepare for the preoperative examination, fasting for 12 hours and 6 hours before the examination, and cooperating well with the doctor during the examination.