I'm not okay with a quota on doctors. I'm certainly not okay with a quota on engineers, especially since that's a massive incentive to offshoring to somewhere that isn't stupid enough to artificially constrain the number of engineers.
There is no formal quota on doctors but the number of residencies limits the number of doctors that can actually get licensed. I've seen it argued that this is intentionally restricted to limit the number of doctors entering the field.