Ah.  Thank you for opening my eyes, Bryan.

I had seen the clues (the title of ADT^A28^ADT_A05 in the HL7 manual and the
matching connection in the eventmap properties file), but I hadn't
discovered that the message structures were identical nor found table 0354
(2.17.3) describing which events share which structure.

All is good now; we'll use the ADT_A05 structure for our A28 events as
described in the standard.  Thanks for the education...and to imagine that
my office is only a few doors down from Gunther Schadow (he would be so
ashamed of me).

Cheers,

Burke

-----Original Message-----
From: Bryan Tripp [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 02, 2007 9:32 PM
To: [EMAIL PROTECTED]
Cc: [email protected]
Subject: Re: [HAPI-devel] Missing messages

Hi Burke,

I'm not sure if you got Torben's answer before your last message, but
it was right. There is one HAPI class for each message structure, but
multiple events can use the same structure (e.g. event A28 uses
structure ADT_A05).

If you are creating a new message, use the structure that corresponds
to your event (this is given in the standard) and fill in the
structure, type, and event in MSH-9.

When you receive a message HAPI uses the structure specified in MSH-9
if it exists, otherwise it uses the event to look up the structure in
the ca.uhn.hl7v2.parser.eventmap tables.

Regards,
Bryan

On 8/2/07, Burke Mamlin <[EMAIL PROTECTED]> wrote:
> We have written some code using HAPI's v2.5 model, but ran into a problem
> when we realized that not all messages are included.
>
> For example, this class does NOT exist:
> ca.uhn.hl7v2.model.v25.message.ADT_A28
>
> We've tried using ca.uhn.hl7v2.model.v23.message.ADT_A28 instead, but then
> segments retrieved from the message (e.g., PID) are v2.3-based
> (ca.uhn.hl7v2.model.v23.message.PID) and do not work with our code that
> expects v2.5 objects (e.g., ca.uhn.hl7v2.model.v25.segment.PID).
>
> Searching the mailing archive seems to indicate that this is a previously
> known issue:
>
http://sourceforge.net/mailarchive/message.php?msg_id=FACBB5D0A731A44083D6F2
> AD5FD0D1AA27F137%40qrmail.quantumroute.com (http://tinyurl.com/2uz28a)
> Yet several of the ADT messages (like ADT_A28) remain absent in v2.4,
v2.5,
> and v2.5.1 of HAPI.  Are these ADT messages left out of the HAPI v2.4 &
v2.5
> models on purpose?
>
> Thanks for any assistance,
>
> -Burke
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Burke
> Mamlin
> Sent: Thursday, August 02, 2007 1:22 AM
> To: [email protected]
> Subject: [HAPI-devel] Missing messages
>
> This may be a silly or old question, but why are some messages missing
from
> HAPI's packages (e.g., ADT_A28 is missing from 2.4 and 2.5)?  Is this
> because the message(s) have not changed since v2.3?  Are we simply
supposed
> to import the ADT_A28 from v2.3 when working with v2.5 messages?
>
> Thanks.
>
> -Burke
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Hl7api-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/hl7api-devel
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Hl7api-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/hl7api-devel
>


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Hl7api-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to