A patient admitted with a peptic ulcer complains of right should pain and is hypotensive. the nurse anticipates that the causes for these symptoms are related to