A 64-year-old woman presents with acute onset of pleuritic chest pain and dyspnoea. She recently had knee replacement surgery. Oxygen saturation is 90% on room air, heart rate 110/min and blood pressure 120/78 mm Hg. Wells score suggests intermediate probability of pulmonary embolism. D-dimer is elevated. According to current diagnostic pathways, what is the next most appropriate investigation?