The main purposes of this study are to compare clinical outcomes of two groups of patients with similar medical conditions (one with non-variceal upper gastrointestinal (UGI) lesions such as ulcers and another group with varices or portal hypertensive lesions) who are treated either with current standard visually guided endoscopic treatment according to stigmata of hemorrhage or with endoscopic Doppler endoscopic ultrasound probe (DEP) monitoring of blood flow in the lesion.