Thanks for providing more information.
As you describe sharp pain in upper abdomen,breasts shouldn't be ignored and can be caused due to possible causes like Gastroesophageal reflux disease,Costochondritis,Postcholecystectomy syndrome(presence of abdominal symptoms after surgical removal of the gallbladder in which increased bile flow) resulting in indigestion, bloating associated with pain in upper right abdomen.
Even as you have tendonitis in shoulder and if you lay down on it so it may be possible that it can aggravate pain in shoulder and also cause referral pain in chest however pain should be radiated to right side of chest only.
You should avoid late night eating and work.
Take OTC Metamucil and eat fat free diet.
You should discuss your symptoms with your regular doctor so make an appointment with your doctor.
If pain is severe again then visit ER.
I hope I've provided the information you were seeking. If you are happy with my service, please provide a rating. If not, please let me know so l can continue to help you. Thank you.