The law now gives people with disabilities some protection against discrimination.
This makes it harder, though not impossible, for employers to exclude you from the scheme. They can only do this if they can show there is substantial extra risk of you taking early retirement due to ill health.
You can also be deprived of some benefits on the same grounds, though you will still have to make the same contributions. If you are excluded from the scheme you have no right to the employer contributions that would have been paid on your behalf.
It is illegal for you to be excluded from a scheme or some of its benefits at any time except when you first ask to join. You cannot be excluded if you become ill or develop a disability after you have been accepted as a member.
The OPAS website has a pdf about ill-health early retirement which may be helfpul is you develop a disability while a member of a scheme that makes it difficult for you to work.
Just One More Click: Doggy drama about staying safe online at work.