Yes, you can deduct costs associated with using your car or public transportation for medical visits and even to pick up prescriptions.
For car expenses, you can use either the standard mileage rate (TurboTax figures it for you) or actual expenses, such as gas.
You can add actual out-of-pocket expenses, such as parking fees and tolls, whether you use the standard mileage rate or actual expenses method.
Be sure to keep records of each trip, including the date, the mileage driven, who you saw, and the purpose. Keep receipts for each expense.
For more information, see Where do I enter my medical expenses?