break out of the loop when matching patient if found