Re: [HAPI-devel] How to create acknowledgment message

2012-03-06 Thread Jens Kristian Villadsen
Hi Sandy - take a look at http://hl7api.sourceforge.net/base/apidocs/ca/uhn/hl7v2/model/Message.html#generateACK%28java.lang.String,%20ca.uhn.hl7v2.HL7Exception%29 2012/3/6 Sandy Chops > Hi, > > I would like to creat Acknowledgement message using AR and AE code and > send the error string in the

[HAPI-devel] How to create acknowledgment message

2012-03-06 Thread Sandy Chops
Hi, I would like to creat Acknowledgement message using AR and AE code and send the error string in the ERR segment. Using the ack = DefaultApplication.makeACK((Segment) message.get("MSH")); It only created AA message. Could someone please share me how to create ack message with other error co