See IRS Pub 502 page 6 for information on capital expenses.
https://www.irs.gov/pub/irs-pdf/p502.pdf
You can include in medical expenses amounts you pay for special equipment installed in a home, or for improvements, if their main purpose is medical care for you, your spouse, or your dependent. The cost of permanent improvements that increase the value of your property may be partly included as a medical expense. The cost of the improvement is reduced by the increase in the value of your property. The difference is a medical expense. If the value of your property isn't increased by the improvement, the entire cost is included as a medical expense.
**Disclaimer: This post is for discussion purposes only and is NOT tax advice. The author takes no responsibility for the accuracy of any information in this post.**