modify diagnosis index by dept