Your discharge will get you the same benefits based on your duration of service. Your honorable discharge isn't tainted by the medical aspect. In fact, even a straight medical would get you the same benefits. Most are qualified by requiring a discharge that is "not dishonorable."
You even get a break on some of the time requirements if the discharge was for a service-related disability.