Next, we incorporate the importance order among ICD codes.
if the distance be-tween A and B in the code tree is smaller than that between A and C and we know A is the correct code, then B is more likely to be a correct code than C, since codes with smaller distance are more clinically relevant.