@Test
public void testMultipleSegments_Version23() throws Exception {

	ca.uhn.hl7v2.model.v23.message.ACK response = new ca.uhn.hl7v2.model.v23.message.ACK();
	Terser t = new Terser(response);
	t.set("MSH-1", "|");
	t.set("MSH-2", "^~\\&");
	t.set("MSH-3", "X");
	t.set("MSH-4", "Y");
	t.set("MSH-9-1", "ACK");
	t.set("MSH-9-2", "A08");
	t.set("MSH-10", "1");
	t.set("MSH-12", "2.3");
	CompositeHL7v2Exception ex0 = new CompositeHL7v2Exception("Bluh",
			new HL7v2Exception[] { ex1, ex2, ex3 });
	ex0.populateMessage(response, AckTypeCode.AE);
	String result = p.encode(response);
	//  System.out.println(result);
	assertTrue(result
			.contains("ERR|MSH^1^2^200&Unsupported message type&HL70357&&Blah~PID^5^4^201&Unsupported event code&HL70357&&Bleh~PV1^0^0^203&Unsupported version id&HL70357&&Blih"));
}