A 47-year-old woman is evaluated in the emergency department for sharp mid-chest pain that developed abruptly. The pain is exacerbated by lying down, deep inspiration, or coughing but improves when she sits up.

On physical examination, temperature is 37.8 °C (100.0 °F), blood pressure is 140/88 mm Hg, pulse rate is 100/min, and respiration rate is 22/min. A friction rub at the left sternal border is heard. The lungs are clear. There are swelling and tenderness of the second and third proximal interphalangeal and metacarpophalangeal joints.

Electrocardiogram shows diffuse ST-segment elevations in all leads except aVR and V1 and PR-segment depression in leads V2 to V6.

Which of the following is the most likely cause of this patient's pericarditis?