The x-ray would determine if there was any bony or musculoskeletal causes of your pain.
If the symptoms continue, gallbladder or liver disease can also present like this. An abdominal ultrasound should be considered if this is suspected.
If negative, an upper endoscopy or upper GI series can be considered to evaluate these symptoms.
This can be discussed with your personal physician.
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.
Kevin, M.D.
kevinmd_b