A 40-year-old man has a 15-year history of well-controlled chronic plaque psoriasis and psoriatic arthritis and is now evaluated for a severe flare of both the skin and joint disease. One month ago, he developed severe pain and swelling of the hands, elbows, knees, ankles, and toes; symptoms have been unresponsive to ibuprofen. He also developed sudden worsening of psoriasis over the trunk and extremities. He notes increased fatigue and intermittent lymphadenopathy in the neck for the past 3 months. He has no other symptoms. His only medication is sulfasalazine.
On physical examination, temperature is 37.8 °C (100.0 °F), blood pressure is 130/85 mm Hg, and pulse rate is 80/min. Swelling and tenderness of the bilateral elbows, wrists, proximal interphalangeal joints, knees, ankles, and metatarsophalangeal joints are noted. Oropharyngeal candidiasis is present. Cervical lymphadenopathy is noted bilaterally. Except for the skin, the remainder of the physical examination is normal.
The appearance of the skin is shown.

Which of the following is the most appropriate diagnostic test to perform next?