We assessed endothelial function using the flow-mediated dilation test on baseline , then within 1-3 hours after percutaneous coronary intervention , and again on days 2 and 7 after percutaneous coronary intervention .