A North East hospital has been criticised after a patient died following major surgery.