No no…you had a physical issue (anxiety is a physical issue related to brain chemistry), took note that you had one, and then took steps to rectify it. Also, the ironic thing about anxiety is that people with anxiety are relucttant to make a doctors appointment because of, wait for it, …ANXIETY. Thinking you were dying was because of ANXIETY.
The key in the future is to note when the Anxiety Monster is talking to you.
Colleges want to see you will do well. Having addressed your anxiety you should do much better!
Here are my thoughts on picking a college for someone with anxiety: