Hi Ratha,

The ACK message in your post appears to be valid, which part are you not
happy with?

ACK^A01^ACK means:
1 (ACK)- ACK is the message type
2 (A01)- Is the trigger event being acknowledged
3 (ACK)- Is the message structure for the ack message

Cheers,
James


On Wed, Jun 12, 2013 at 6:01 AM, vijayaratha vijayasingam <
vijayara...@gmail.com> wrote:

> Hi all;
> Im using Hapi 2.1 version release an dit works perfect. But i have an
> issue with an error response which i get from Hapi.
> My request is;
> MSH|^~\&|||||20130612143324.392+0530||ADT^A01^ADT_A01|2601|T|2.5
>
> And My response is;
> MSH|^~\&|||||20130612152510.448+0530||ACK^A01^ACK|1623|T|2.5
> MSA|AE|2601
> ERR|||207^Application internal error^HL70357^^^^^^OOPS|E
>
>
> In the above response , if you check the MSH-9 filed , it is;
>
> *ACK^A01^ACK
> *
>
> Shouldn't that be "|ACK". because it is additionaly adding "*AO1*" message to
> that filed, which is not valid. And i suspect that , it picks from that
> from original request.
>
> Can anybody help me on this? Ho w can i avoid that invalid segment?
> Why Hapi additionally adds that filed in the MSH-9 filed?
>
> Thanks
> -ratha
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Hl7api-devel mailing list
> Hl7api-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hl7api-devel
>
>
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Hl7api-devel mailing list
Hl7api-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to