Even then, they can in general be improved by use of a price that varies with the number of patients treated (cost and volume contract) if the number of patients to be treated is not known at the time the price is set and if the hospital has limited capacity to borrow to cover financial shortfalls.