Is there a best practice or convention for distinguishing two or more types of items in a long list in an elegant way? I have a search box in my app that returns two types of medical diagnosis codes. I'd like to come up with a way to show the user that one code is of type "ICD9" and one is of type "ICD10". The solutions I can think of are to label each one w/ their respective code, place an icon next to each code representing a code type (then the user somehow has to know what the icons mean), or color-code either the text, or the background (again, then the user has to know what color matches what code type).
Any suggestions?