The medical and educational models of health care under prospective pricing