The provincial government funds the spots through the various medical schools. They've been cutting spots more recently because the urban centres actually have enough doctors now, and they can't control where doctors go after completing their residencies (except for IMGs like myself who have to sign return of service contracts). The actual job selection is done by individual sub programs under the universities. We have a lot of international medical grads now, so much so that competition is very fierce. I'm pretty close to getting a spot as I'm getting interviews, but I seem to be coming up just short every year.