diagnosis lookup fix