Baseline transthoracic echocardiography was used to categorize diastolic function , estimate pulmonary artery pressure and pulmonary capillary wedge pressure , and calculate the transpulmonary pressure gradient ( TPG ) .