When the purchaser is less well informed about costs of treatment than the provider, it is typically optimal to add a cost sharing component to the contract so that the purchaser pays less if costs are low and thus reduces the expected cost of treatment, see Laffont and Tirole (1993).