Health ministers adopt plan to stem staff shortage