There are several possibilites. There is a possibility of your medications causing liver damage - especially the pravastatin. A liver panel testing for AST, ALT, GGT, alkaline phosphatase and total bilirubin would be helpful to see if the enzymes are elevated - suggesting damage or inflammation.
Irbesartan can also increase liver function tests as well.
In addition to the liver function tests, I would also suggest an abdominal ultrasound, which can evaluate for liver disorders (i.e. masses or fatty liver) and the gall bladder system.
If these tests are negative, you may want to consider an upper GI workup (including upper GI series or upper endoscopy) to look for GERD, ulcers, or esophageal/stomach inflammation that can also cause upper GI pain.
Followup with your personal physician is essential.
This answer is not intended as and does not substitute for medical advice - the information presented is for patient education only. Please see your personal physician for further evaluation of your individual case.
Thanks,
Kevin, M.D.