Can I deduct the cost of plane tickets and hotel lodging for out of state medical care?

I had to fly to San Diego on March 11th, 2018 for medical care/surgery on March 13th, 2018. Because I had to stay in San Diego until March 22nd, 2018 for post surgery follow-ups and clearance, can I deduct the cost of the plane tickets and the hotel room for the duration of my stay?