Adds a diagnosis search feature to history