Email Record: Evaluating and improving the measurement of hospital case mix