The obstruction of food passage in the stomach is due to lesions such as ulcers or cancerous tumors. It can be divided into two main categories: incomplete obstruction and complete obstruction. Pyloric obstruction is one of the common complications of gastric and duodenal ulcers and can occur in the recent (i.e., active) or late stage of ulcer disease. Tests for obstruction of food passage in the stomach due to gastric ulcer: 1. Gastric fluid analysis and gastric acid measurement Gastric fluid analysis and gastric acid measurement are useful for both the diagnosis of gastroduodenal ulcer and the choice of treatment modality. If the basal acid output (BAO) is >5mmol/h, it may be a duodenal ulcer, and BAO >7,5mmol/h should be treated surgically. BAO >20mmol/h maximum acid output (MAO) >60mmol/h, or BAO/MAO >0,6 may be a gastrinoma, and further gastrin measurement should be performed. The gastrin measurement should be further performed. Other hospitals choose vagotomy to treat duodenal ulcer according to gastric acid typing, specifically: when BAO<15mmol/h, pentagastrin-stimulated gastric acid maximal secretion (PMAO) less than 40mmol/h and insulin hypoglycemia-stimulated gastric maximal secretion (IMAO) greater than or equal to PMAO, and not accompanied by pyloric obstruction, then perform highly selective vagotomy When BAO>15mmol/h, PMAO>40mmol/h, PMAO>IMAO, and pyloric obstruction, selective vagotomy plus sinus resection was performed. The postoperative follow-up showed that the selection of vagotomy according to the type of gastric acid secretion could significantly reduce the recurrence rate of ulcer and improve the treatment effect. Serum gastrin and serum calcium measurement Serum gastrin measurement can help to exclude or diagnose gastrinoma. Serum gastrin >20 pg/ml can be considered as gastrinoma; when gastrin >100 pg/ml, gastrinoma can be confirmed. Patients with hyperparathyroidism are prone to complications of peptic ulcers, so the measurement of serum calcium is also helpful. 3. Stool occult blood test Gastric ulcer with bleeding may be positive, but if the stool occult blood test is consistently positive, malignant lesions of the stomach should be considered. 4.The tests related to bleeding in combination with gastric ulcer include hemoglobin, erythrocyte volume, reticulocyte count, bleeding and clotting time. 5.Schilling test In patients with extensive atrophic gastritis, the Schilling test is performed to determine vitamin B12. 6.H. pylori test This test is not a basis for the diagnosis of ulcer disease, but it is important in the treatment because it is closely related to the recurrence of ulcer disease. Anyone who is positive for this bacterium should be eradicated with effective drugs. 7.Gastroscopy plus biopsy The accuracy and sensitivity are better, and the confirmation rate is high. Electronic fiber gastroscopy can accurately understand the size, location, bleeding, penetration, active or quiescent stage of gastric ulcer, and the pathological pattern of ulcer can be roughly understood as benign or malignant, plus pathological biopsy can clearly know whether it is benign or malignant. Gastroscopy can also be combined with H. pylori testing to find out if there is H. pylori infection. Gastroscopy can perform certain treatments, such as microscopic local hemostasis. 8, barium meal examination can be based on the general shape of the stomach to understand the peristalsis of the stomach and whether the leather pouch stomach, while according to the niche shadow and mucosal changes can identify benign or malignant. Benign ulcer niche shadow is mostly located outside the gastric wall, and the surrounding mucosa is radially concentrated. Barium meal can also understand the duodenum and pylorus with deformation, stenosis and obstruction. However, barium meal has certain false negatives. 9.CT examination Not as the first choice and routine examination of this disease, but still has some significance in the diagnosis and differential diagnosis of ulcerative diseases. The CT manifestation of gastric ulcer is a combination of ulcer, gastric wall edema and scarring changes. The gastric wall defect formed by an ulcer varies greatly in CT presentation depending on the gastric wall edema. When there is no gastric wall edema and scarring, the ulcer appears as a disc-shaped depression of the gastric wall in the cross-sectional view, and the surrounding gastric wall thickening is not obvious, so the lesion is easily missed if not carefully observed. When edema and scarring of the gastric wall are obvious, the lesion is easier to detect by CT. Against the edema and thickened gastric wall, the ulcer surface is a deeper defect concave into the gastric wall. Depending on the contrast agent chosen for the gastric cavity, a low-density or high-density contrast shadow located within the gastric wall is visible, with no thickening of the gastric wall around it; when the submucosal edema is obvious, it appears as a low-density band aborting the edge of the ulcer. Enhanced scan, showing a mucosal layer consistent with the intensity of the surrounding normal gastric wall mucosa interrupted at the edge of the ulcer, and the surrounding gastric wall showing stratification phenomenon, this feature has important value in differentiating from gastric cancer.