What is the differential diagnosis of upper gastrointestinal bleeding?

Upper gastrointestinal bleeding mainly refers to bleeding from the entrance of the oropharynx to the esophagus, and then to the bulb of the gastroduodenum and the descending duodenum. The main bleeding manifestation is vomiting coffee residue-like material, or solving black tarry stools, which should be differentiated from the following: 1. differentiated from hemoptysis, which originates from respiratory tract diseases, such as bronchiectasis, tuberculosis, which is causing bleeding of respiratory tract origin; 2. part of bleeding from oral parts, such as oral tumors, bleeding around the gums, or bleeding caused by the posterior pharyngeal wall, nasal bleeding, which It may induce errors that produce vomiting of blood, which requires identification of the relevant organs; 3. Bleeding caused by high intestinal tract, such as small intestine bleeding, biliary system bleeding, i.e., bleeding in the bile ducts, which can also manifest as black stools, should be identified.