My doctor prescribed a whole house water filter due to my autoimmune allergies. I don't know if it will increase the value of my home. If we sell the home, the new owners may remove it.
See below for guidance:
https://ttlc.intuit.com/replies/5898800
Perhaps consulting with a realtor will held you to determine if your medical expense will add to the value of your home.