Refine diagnosis reference.