The test may be requested when a patient presents with symptoms such as shortness of breath, chest pain, or coughing up blood, and there is a high suspicion of pulmonary embolism. Risk factors for pulmonary embolism include recent surgery, cancer, prolonged immobility, and a personal or family history of blood clots.