I should've mentioned I also have epilepsy but have had surgery in 2003 for and helped for a few years but seizures came back and now I'm back on medication taking zonigram and keppra for twice a day. My job is also physical I'm always pushing, stretching my body, and maneuvering heavy objects around so I could have strained a muscle somewhere doing something. I also have been a little depressed lately but don't know if that would be the reason for the discomfort I'm feeling.
In hiatal hernia a part of the stomach sticks upward into the chest and causes chest pain, heartburn, and swallowing difficulty. Since you have been operated for hiatal hernia it seems to be unlikely.Gastroesophageal reflux disease is another possibility. The common causes of chest pain are muscle strain, sprain, pleurisy, asthma, costochondritis.A bruised or broken rib, and panic attack all can lead to pain in chest.GERD can cause heartburn and chest discomfort. If the pain is on left side of chest and is accompanied with sweating, shortness of breath it can be an indication of heart attack etc.There are many other things it could be so if it persists you should seek medical help. A clinical examination and workup will definitely help. An esophagoscopy; X-ray chest and ECG may help. It is best to seek medical help.
Best luck and regards!