Retirement tax questions

The withdrawal is always going to be taxable income everywhere, since it was not taxed when it was contributed (for a traditional IRA, that is).  You may be exempt from the additional 10% penalty, but only to the extent that your medical expenses are more than 10% of your adjusted gross income.