The malignancies causing extrahepatic biliary obstruction were pancreatic cancer ( n = @ ) , stomach cancer ( n = @ ) , gallbladder cancer ( n = @ ) , common bile duct cancer ( n = @ ) , and other cancer types ( n = @ ) .