Use of algorithmic pathways to develop quality, cost-effective clinical care