Thanks for posting on HCM,
From your description you are having a chest pain
that is probably due to peptic ulcer
diseases (PUD) or gastrooesophageal reflux diseases (GERD) or acute gastritis
or acute oesophagitis. If you would have precised the exact location of the pain or where it pains most ( like the pain is retrosternal) it will orient us better into determining the origin of the pain. If the pain is more on the ribs, then it might be acute costochondritis
or angina pectoris
. Normally before performing an X-ray, doctor had to examine you physically and locate the area where the pain is most intense either by properly interviewing you and/or examining you before requesting for X-rays or laboratory tests, as this would have oriented the exams asked.
I suggest you still get back to the hospital and get examined properly. As if any of the above mentioned conditions are responsible appropriate treatment will be required. If acute PUD or GERD or Gastritis then proton pump
inhibitors such as omeprazole
or h2 inhibitors such as ranidine and/or associated to antacids to treat the affection will be required. Running a test to determine the presence of H. pylori will also be important to determine infectious cause of the gastritis.
Hope this helps