Gender ideology can only operate in an environment where facts don't exist and the only reality is feelings. Ergo if you feel like a woman you are a woman.
In that context, EBM is just an opinion and no better than any other opinion. It follows that there's no issue with ignoring guidelines or prescribing life changing medication without seeing patients. The only thing that matters is the patients' feelings. In this ideology, the idea that the patients might be too young to understand doesn't even figure.
Dr Redvers was operating in the world of facts, NHS guidelines, strict safeguarding principles, the law and EBM. They are incompatible with gender ideology so she needed to be suppressed at any cost.
So from that point of view I can see that she was discriminated against on the basis of her mindset / belief. It's just that most people would call her belief reality.
I am trying to organise my thoughts here, I am sure a knowledgeable mumsnetter will come along soon and articulate this much better than me!