Your health care provider may perform a blood test or a chest x-ray. A chest x-ray lets your health care provider look at the size of your heart and lungs. It can also help diagnose a lung disease that may cause pulmonary hypertension.