Tests most useful for diagnosing or excluding PE are D-dimer testing CT angiography Ventilation / perfusion scanning Duplex ultrasonography Echocardiography may be useful to identify pulmonary embolism on the way to the lung (clot-in-transit).