The NHS is relying on workers who originally come from countries where there is a critical shortage of health specialists.