An algorithm to identify cases of pulmonary arterial hypertension from the electronic medical record