When claiming the total amount of medical expenses on my 1040. Do I list my total out of pocket or would I list the total balanced paid off if a third party was involved?

The third party is a financial group who paid off the hospital, who didn't offer payment agreements, and set up and arrangement with the financial group.