The chaotic scenes at too many hospitals mean retaining medical staff is a major challenge