Home Improvement for Medical Reason

Can I deduct expenses incurred for changes made to prevent falls in the bathroom and for installing sensor alarms to monitor a dementia patient who is walking out?