A 27-year-old man is evaluated for the acute onset of fever, chills, body aches, and dry cough that began last evening after returning home from trimming timber at a saw mill. He has similar symptoms that have been occurring two to three times a month for the past 3 months. These episodes always occur at home and not at the saw mill but never occur on the weekends or when he is away from home on an extended vacation. Two other colleagues who trim timber at work have also reported similar symptoms over the same time period. His medical history is otherwise unremarkable. He takes no medications.
On physical examination, the patient is currently afebrile, blood pressure is normal, pulse rate is 103/min, and respiration rate is 26/min. Pulmonary examination reveals diffuse crackles throughout all lung zones. Cardiac examination is normal except for tachycardia.
Chest radiograph shows ill-defined haziness in the upper lung zones, but no clear infiltrates. CT of the chest shows mid-lobe–predominant changes; representative findings are shown.

Which of the following is the most likely diagnosis?