Hi Frederic,

ADT^A28 messages actually share the same structure as the ADT^A05 according
to the HL7 spec, so the parser would be parsing into an ADT_A05 message type
regardless of whether MSH-9-3 was set or not.

This behaviour is one of the more confusing aspects of HAPI for sure, and
for that matter it's one of the more unintuitive things about HL7 v2 as a
whole.

Cheers,
James

On Thu, Jul 29, 2010 at 5:35 AM, Frédéric JECKER <f.jec...@symaris.com>wrote:

> Hi,
>
> First, thanks for the google app cross reference, this tool is really
> awesome !
>
> I'm integrating a new site and discovered that the messages I receive are
> including the MSH-9/Message Structure field.
> When the message is parsed, the info contained in this field overwhelms the
> message code and trigger event so that the resulting Message object
> is not the awaited one ie an ADT^A28 field has a ADT^A05 structure and the
> resulting Message object is an ADT_A05 message.
> Is there a way / option to tell the parser to ignore this field ?
>
> Regards
>
> FJ
>
>
>
>
>
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://p.sf.net/sfu/dev2dev-palm
> _______________________________________________
> Hl7api-devel mailing list
> Hl7api-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hl7api-devel
>
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Hl7api-devel mailing list
Hl7api-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to