In a prospective double-blind study , 50 patients with dyspeptic complaints and endoscopic diagnosis of peptic ulcer , erosive gastritis , esophagitis or duodenitis with a positive urease test , were randomized to a 7-day course of treatment with either omeprazole 20 mg or ranitidine 300 mg a day .
