In short, it depends on the wording of the rules of your company pension scheme....
In some cases the rules require that a member must not be capable of performing any job at all; other schemes have less restrictive criteria. For example, they may simply require that a member is unable to carry on with his / her normal occupation.
The pension trustees would need medical evidence of your condition as well as an indication as to whether the condition is likely to improve in the future.
You need to check the rules of your scheme, or possibly ask your company pensions manager.