I wouldn't get too stressed, there are a lot of cardiac conditions that can be allowed for on a 'special issuance' medical certificate.
It really is a case by case evaluation, the only one I know that will lock you out for sure is a heart transplant !
Hang in there and stay positive.