Brexit has brought the issue of a shortage of doctors and nurses into sharper focus