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

Re: [HAPI-devel] Hl7api-devel Digest, Vol 68, Issue 1

2012-03-06 Thread LDH
You generally don't control that i think. Where are you getting the HL7 feed from? Talk to those guys who are sending you HL7 and ask them which port are they sending it to? They may not care and you just need to agree on one. ---