Hi all;
Any idea why hapi missed to add field 3,4 and 5?
I checked with Hapi testpanel, above two messages are valid but in very
first NACK message, i dont get field 3,4,5..
I would like to get with fields

Thanks


On 5 June 2013 13:07, vijayaratha vijayasingam <vijayara...@gmail.com>wrote:

> Hi all;
> I have an issue about the NACK message generated by HAPI,
>
> I'm generating the NACK message as follows;
>
> * Message msg= hl7Msg.generateACK(HL7Constants.HL7_MSA_ERROR_FIELD_VALUE,
> *
> *    new HL7Exception(errorMsg));*
>
> This returns; following message;
> MSH|^~\&|||||20130604165513.576+0100||ACK|108|P|2.5
> MSA|AE|HL7Gtw01361605B49500
> ERR|^^^207&ERROR&hl70357&&errmsg
>
>  If you notice the ERR segment, it doesn't have required info;
>
> Is the above message valid?
>
> I suspect it has to be like this;
> MSH|^~\&|||||20130604165513.576+0100||ACK|108|P|2.5
> MSA|AE|HL7Gtw01361605B49500
> ERR|||207|E|^errmsg
>
> Why do i get such invalid message? Am i doing anything wrong here?
>
> Thanks
> -Ratha
>
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Hl7api-devel mailing list
Hl7api-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to