Coding errors: a comparative analysis of hospital and prospectively collected departmental data