Do I count the full amount I was charged for surgery for expenses or the payment plan amount?

what counts towards medical expenses?