Medicine

A patient presents with haemoptysis, copious sputum and 'tram lines' (abnormal air bronchogram) pattern on the chest X-ray. What is the most likely diagnosis?