Diagnosis involves assessing risk factors and using ultrasound scans to detect blood clots. In cases of suspected pulmonary embolism, computed tomography (CT) scans and ventilation-perfusion scans are used. Treatment includes pharmacological interventions with anticoagulant medications and, in extensive cases, minimally invasive mechanical treatments like thrombolysis to dissolve clots and prevent long-term complications.