Hi,
According to the tax rules, there's a certain order in which the tax credits need to be claimed first.
When it comes to tuition, it has to be used before other tax credits to reduce federal taxes payable to 0. This is before medical, charitable, interest on student loans, dividend tax credits and the foreign tax credit.