Conversation: The conversation between human and AI assistant.
[|Human|] I have been having a bad pain just under the edge of my middle left rib cage. It is slightly burning sensation that seems worse when I lay down. I also seem to have a lot of inner twitching for lack of a better term, on the right side just under my rib cage. I have no history of reflux, andhave only had heartburn during pregnancy. I am currently without insurance and would hate to go to the ER for gas or something relatively normal.
[|AI|]  Thanks for contacting Chat Doctor. You gave problem of heartburn at lying down position that may because of gastroesophageal reflux disease. Gastritis may cause burning pain in stomach. More gas or acidity may cause pain under rib cage area. Proper physical examination and history give exact idea. Consent a physician for further diagnosis. Avoid spicy food and citrus foods. Avoid alcohol Chat Doctor.  Avoid stress. Elevate your head during sleeping. Eat small amount of meal and chew properly. Avoid immediate sleeping after meal. I hope my guidance is helpful to you. Take care. Thanks.