Is it justified and dismiss a medical doctor who is highly qualified from the post of surgeon general and replace with a nurse who is not at all a surgeon by any government? Is it not a gross discrimination of a race openly?

What type of remedy is suggested to prevent this kind of injustice towards doctors in any country?