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.
The organs and structures contained in each quadrant can cause regional or generalized abdominal pain and give the first clues about the origin of abdominal illnesses. The right side of your abdomen contains your liver, gallbladder and parts of your intestines, including the appendix. The triad of right-sided abdominal pain, elevated liver enzymes and fatigue, narrows the list of possible causes to those organs in the right-upper quadrant of the abdomen.