Below is an instruction from Human. Write a response.
    ### Instruction:
    How to diagnose Gastritis ?
    ### Response:
    A health care provider diagnoses gastritis based on the following:
                
- medical history  - physical exam  - upper GI endoscopy  - other tests
                
Medical History
                
Taking a medical history may help the health care provider diagnose gastritis.
    