Quality and outside capacity in the provision of health services