Design: Prospective and observational study. Setting: Cancer Institute of São Paulo; University of são Paulo. Patients: All patients with cancer referred to the Endoscopy Unit because of upper gastrointestinal bleeding will be included consecutively.