The conversation between human and AI assistant.
[|Human|] Have had a very bad congestion in my chest with a lot of excessive coughing for 3 weeks now. After the 1st week of this I started to have pain in my left rib cage and back and across my midriff,I also have had constant ache that only lets up when I lay down or lean too my left side, the ache goes around to my back too mostly on the left side.I get a some relief from taking Ibuprofen several times a day.It feels like I have strained or pulled something across my ribs or midriff section.Iam not coughing as much the last couple of days but I can still have wheezy sound when I do cough and the mucas is . more clear now .
[|AI|]  Hi thanks for asking question. Here are few possibilities I your case.First this pain could be simple muscular strain related pain by heavyweight lift or by any unusual activity. It will heal within few days. Analgesic and hot compression useful. Second along with cough do you have fever?? Weight loss??? If yes then respiratory causes ruled out esp. Pneumonia or TB like condition. Chest x-ray and sputum examination useful. Do you have gastric problem? Like acid reflux or ulcer.? Then they can lead referred chest pain. Finally rule out card cardiac problem by simply investigation ECG. I hope my suggestion will helpful to you. Chat Doctor. 
