Hospitals have responded to unexpectedly high drug prices by reducing inventories, substituting less expensive alternatives and changing dispensing practices.