It depends. If this was elective surgery, then none of it is deductible.
If the surgery was medically necessary then yes, you can deduct these expenses.
Flying would not be mileage, it would just be a travel expense entered on the "additional medical expenses" boxes at the end of the medical section of TurboTax.
"You can include in medical expenses amounts you pay for transportation to another city if the trip is primarily for, and essential to, receiving medical services. You may be able to include up to $50 for each night for each person. You can include lodging for a person traveling with the person receiving the medical care. For example, if a parent is traveling with a sick child, up to $100 per night can be included as a medical expense for lodging. Meals aren't included. See Lodging , earlier."
**Mark the post that answers your question by clicking on "Mark as Best Answer"