select lpuregion_id, lpuregiontype_id, "tmp"."get_lpuregion_id"(lpu_id, lpuregiontype_id, person_id)
from personcard 
where lpu_id = 5584192
and lpuregion_id != "tmp"."get_lpuregion_id"(lpu_id, lpuregiontype_id, person_id)
