If I paid medical expenses but collected on a settlement that covered the expenses, can I still deduct them?

I was told that the money from the settlement was not taxable. It was a civil Lawsuit...?