Managing coherence and context in medical problem-solving discourse.