You can deduct the cost of medical equipment as long as you have documentation of it being approved or recommended by a medical specialist. You do not need a prescription but it does need to assist medical care or health for an individual.
However, remember that you can only deduct 7% of your adjusted gross income of Medical Deductions.
The following IRS Topic No 502 explains the medical deductions allowed:
https://www.irs.gov/taxtopics/tc502
Also, the following article also assists with explaining what can be deducted as medical expenses.
https://ttlc.intuit.com/questions/2501475-are-home-health-aides-a-deductible-medical-expense