been coughing for 3-4 days. have shortness of breath, swollen feet, when lie down breathing becomes tougher, heavy snoring, wake up in the middle of the night to cough and catch breath, on 4th day vomited, if breathe out the lungs sound like a heavy smoker of many years..
Thanks for your question on Chat Doctor. I can understand your concern. By your history and description, we should definitely rule out heart (congestive cardiac failure) and lung (acute bronchitis) related diseases. So better to consult doctor and get done ECG, 2d echo, chest x-ray and PFT (Pulmonary Function Test). ECG and 2d echo are needed for heart failure. Chest x-ray and PFT are needed for bronchitis. You may need antibiotic, diuretics, bronchodilators and other supportive Chat Doctor.  Don't worry, you will be alright with appropriate treatment. Hope I have solved your query. I will be happy to help you further. Wish you good health. Thanks.