search record diagnostic