Whether a medical condition is considered a disability depends on many factors.
First is the condition optimally treated and stable? What is the long-term prognosis? What are the essential duties of your job? Are there accommodations or can the job be modified? It's a good idea to discuss all of this with your treating doctor.