A 45-year-old woman presents with pleuritic chest pain and breathlessness 5 days after knee replacement surgery. She is tachycardic, mildly hypoxic and has a Wells score suggesting intermediate probability for pulmonary embolism. Her chest X-ray is normal and D-dimer is elevated. She has normal renal function and is not pregnant. What is the most appropriate next investigation?