The complexity of resource allocation for health