Primary and secondary pulmonary hypertension