Performance measurement and optimization of resource allocation in a health care system