Home improvements for medical reasons are tax deductible, but only to the extent that they do not increase the value of the home. Consult with a realtor to make this determination. Note: Improvements to accommodate a disability (e.g., a ramp for wheelchair access) are deductible without regard to any increase in property value.
The length of time that an asset is owned and that generally determines long- or short-term capital gain treatment.