Carbon dioxide elimination through bicarbonate ultrafiltration and sodium hydroxide infusion