Without the requested information, I can only provide you with the following general response, which will hopefully still answer your query. First of all, I am sorry to hear about the issues you have experienced in your situation.
The surgery has a right to refuse to provide you with their services if they really wanted to. Just because you worked there or you are a registered patient, does not mean that they haver to see you and provide you with their services. After all, they are just a service provider and they have the right to decide who they have as their customers.
The law only gives you protection if you are denied a service due to discrimination. This will happen if they are using a protected characteristic as the reason for not providing their services.
The Equality Act 2010 lists several protected characteristics, which are protected from detrimental treatment. Therefore, if someone is using any of these protected characteristics to treat someone detrimentally, that will likely amount to unlawful discrimination. They are:
- gender reassignment
- marriage and civil partnership
- pregnancy and maternity
- religion or belief
- sexual orientation