Management of complex payer contracts