Health related quality of life in patients with chronic gastritis and peptic ulcer and factors with impact: a longitudinal study