Kommunene har snart nok leger, men nye oppgaver står i kø