Somewhere, dunno where, there is a country where doctors in state medical institutions make less than me, get bullied by superiors daily, deal with all kind of bureaucratic paper fuckery, and yet show the heroism of not leaving that work for greener pastures in private medical institutions which pay normal. And they are conscious of that. Cause sometimes lonely old people, or clueless\lost\just poor people, or someone unprepared, need help.
Your system might not be good, but if you are thinking of building some other one, please think how it’s going to make doctor’s pay proportional to their value for the society, without tanking the rest of said society.