The endoscopic diagnosis of upper-gastrointestinal hemorrhage