During CTPA, the patient lies on a CT scanner table, and an intravenous line is placed to administer the contrast dye. The table moves through the scanner as x-ray beams capture detailed images of the pulmonary arteries. The entire procedure typically takes around 30 minutes, and patients may need to hold their breath momentarily during the scan.