I am not an expert but google HIPA.
Should help you out. And as long as you get an honorable discharge, which you should, there won't be any problems outside of the navy.
Uh....there is a fairly good chance that certain employers will perform physical/psych exams for 'bona fide condition of employment' during the hiring process. Not all job fields will be accessible post-Navy.
That said, the OP (and others in a similar situation) may want to get a cardiac stress test for the various forms of atrial fibrillation. It is a very real and life-threatening disorder, complete with racing heart, sense of doom, etc. It doesn't just happen to oldsters in TV pharmaceutical ads, it can crop up at any age.
Good luck!