story#741, merge consecutive patient visits