Avoid error when has_patinfo? defined