Court thanks medical director for 20 years of service