Analysis of coding rules on diagnosis perspective and diagnosis level of document diagnostic method