A diagram of the biliary system . Note that the ampulla of Vater is behind the major duodenal papilla .