Summary perioperative risk metrics within the electronic medical record predict patient-level cost variation in pancreaticoduodenectomy.