Potential application of item-response theory to interpretation of medical codes in electronic patient records