If you have an income of, say, 60,000 you will be taxed on 60,000. If you have a 10,000 nursing home bill this will be deducted from the 60,000 to leave you with a taxable income of 50,000.
Thus you save the tax on 10,000 I.e 40% @ 10.000 = 4,000.
You will still pay USC on 60.