Emergency medicine and urgent care, Training