A 25-year-old woman is evaluated for a 3-hour history of pleuritic chest pain and mild shortness of breath. She is pregnant at 16 weeks' gestation. Her symptoms began acutely; she reports no other symptoms or previous problems during the pregnancy. Medical and family history is unremarkable. Her only medication is a prenatal vitamin.
On physical examination, she is afebrile, blood pressure is 125/88 mm Hg, heart rate is 80/min, and respiration rate is 15/min. Oxygen saturation is 97% breathing ambient air. Lungs are clear, and cardiac examination is normal. She has a distended, pregnant abdomen. Trace bipedal edema is noted, and the left midcalf circumference is 1.5 cm larger than the right. The remainder of the physical examination is unremarkable.
A chest radiograph is normal.
Which of the following is the most appropriate diagnostic test to perform next?