Causes of a cavitating lesion in the chest radiograph are all except -
High-Yield Explanation
Haematoma (not hamartoma) causes lung cavitation.
Pulmonary infarct, squamous cell carcinoma of lung, RA & Caplan's syndrome can also cause lung cavitation.