You may be entitled to a partial deduction for the improvements.
You would take the value of your home after the improvement and subtract the value of your home before the improvement. If this amount is less than the cost of the improvement, the difference would be includible as a medical expense.
I have included a link to IRS Publication 502. See page 6 regarding capital expenditures.