A 40-year-old woman is admitted to the hospital for significant hypoxemia. She reports a 3-day history of fever, fatigue, headache, dry cough, and pleuritic chest pain. She also notes several tender, raised soft tissue “lumps” on her legs. Four weeks before symptom onset, she traveled to Arizona to participate in an outdoor art convention. Medical history is significant for well-controlled Crohn disease, and results of surveillance testing for Mycobacterium tuberculosis have been negative. Her only medication is infliximab.

On physical examination, temperature is 38.7 °C (101.7 °F), blood pressure is 102/82 mm Hg, pulse rate is 98/min, and respiration rate is 22/min. BMI is 26. Oxygen saturation is 96% with 5 L/min of oxygen via nasal cannula. No lymphadenopathy is palpable. Coarse crackles and scattered rhonchi are heard in all lung fields with dullness to percussion at the bases. Cardiac examination reveals no murmurs. No hepatosplenomegaly is noted. She has four to five discrete, tender, 1- to 2-cm erythematous nodules on both anterior lower extremities.

Laboratory studies show a leukocyte count of 4500/µL (4.5 × 109/L) (40% polymorphonuclear cells, 50% lymphocytes, 4% monocytes, 6% eosinophils). Results of pneumococcal and Legionella urine antigen assays are negative, and a serum mycoplasma IgM antibody assay is reactive.

Chest radiography shows bilateral airspace opacities, small bilateral pleural effusions, and enlarged right-sided hilar lymphadenopathy.

Which of the following is the most likely diagnosis?