You are being treated for heartburn or hiatal hernia, and you feel sudden chest or stomach pain, have difficulty swallowing, are vomiting, or are unable to have a bowel movement or pass gas; you may have a hernia that has become obstructed or strangulated, which are emergencies.
One strong possibility for your symptom is gall bladder stones and cholesterol deposits within the gall bladder which can cause sharp pain. Getting an ultrasound of the upper abdomen done in a walk in clinic or the ER will confirm the diagnosis.
Piriformis Syndrome. Piriformis trigger points, by keeping the muscles tight and rock hard, can cause actual sciatic nerve compression. Pain from piriformis trigger points is harsher and more electric than pain from gluteus minimus trigger points and is felt in the back of the thigh, the calf, and the sole of the foot. There may also be other abnormal sensations, such as numbness, tingling, burning, or hypersensitivity, in any of these areas.