Towards case-based performance measures: uncovering deficiencies in applied medical care.