Thanks James, it works. It seems I need some information about the
original request message to construct the ACK.
- Asanka
James Agnew wrote:
I'm probably be missing something, but you should be able
to do it the same way you'd construct any other message. I.e:
ACK ack = new ACK();
//
I'm probably be missing something, but you should be able to do it the same
way you'd construct any other message. I.e:
ACK ack = new ACK();
// populate MSH
ack.getMSA().getAcknowledgementCode().setValue("AR");
ack.getERR().getErrorCodeAndLocation(0).getCodeIdentifyingError().getIdentifier().
Hi Roger,
Thank you for the response, nice blog post.
Problem that I have is I want to construct the ACK with a ERR segment
from scratch, that I don't have a original message at the point I know
only an error happen after forwarding the original message.
Any clue on constructing the message
I have posted a short piece (+ code) on ACK/NAKs in HAPI, see:
http://searjeant.blogspot.com/2009/02/camel-hl7-hapi-and-nak-messages.html
http://searjeant.blogspot.com/2009/02/camel-hl7-hapi-and-nak-messages.html
Hope this is some help to you.
Roger.
asanka wrote:
>
> Hi,
> How do we handle
huzaifa.kamal wrote:
>
> Hey Can somebody help me in generating a HL7 ack using HAPI.
>
> I have a application A which receives a HL7 msg. and generate an ACk for
> it can u plz help me in it... i m new to this HAPI domain.
>
You can use the following code snippet to create an ack.
5 matches
Mail list logo