Conversation: The conversation between human and AI assistant.
[|Human|] I woke up early this morning with piercing pains on the right side of my upper chest to the right of my sternum and underneath my rib cage. The pain is worst when lying down and breathing deeply, though has been there all day. I can feel slight vibrations whilst breathing in. Over the last week, I have felt slight pains in the same area but barely noticeable until today. I m not sure if it s linked but my stool has traces of blood in it too, and my visits to the toilet have either had symptoms of diarrhoea, when blood has been sprayed, or being hard and black. Thanks
[|AI|]  Thanks for your question on Chat Doctor. I advise you to get done chest x-ray first to rule out lung infection as cause for your right sided chest discomfort. If x-ray is normal than you may have gastric ulcer related disease. In this due ulcer pain in chest is felt, it is burning like sensation. And ulcer causes slow continuous bleeding from the vessel and this blood appear in the stool as black colored. Blood is actually changed its color due to gastric acid and turns black. So black colored stool is suggestive of gastric bleed. So better to consult gastroenterologist and discuss all these. You may need upper GIs copy.