Algorithm accurately identifies pulmonary arterial hypertens