Pathology

A 40 year old man has chronic cough with fever for several months. The chest radiograph reveals a diffuse reticulondular pattern. Microscopically on transbronchial biopsy there are focal areas of inflammation containing epitheloid cell granuloma, Langhans giant cells, and lymphocytes. These findings are typical for which of the following type of hypersensitivity immunologic responses: