alter table "Patient" 
add column "TempPatient" boolean default false;

--wait for the query to run, it will take time and ignore some warnings after query succeded
update "Patient" set "TempPatient"=true where "PaymentStatus"=false and "UMRNo" not ilike '%UMR%';