Balancing between efficiency and equity in publicly funded health systems