Re: [HAPI-devel] Missing messages

2007-08-03 Thread Burke Mamlin
al 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

Re: [HAPI-devel] Missing messages

2007-08-02 Thread Bryan Tripp
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 corre

Re: [HAPI-devel] Missing messages

2007-08-02 Thread Burke Mamlin
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 retrie

Re: [HAPI-devel] Missing messages

2007-08-01 Thread Torben Greiser
Hi Burke, take a look at ca/uhn/hl7v2/parser/eventmap/2.4.properties ADT_A28 ADT_A05 The ADT_A28 message is identical to the ADT_A05 message (except the MSH-9 of course). If I remember correctly the parser detects an incoming ADT_A28 as an ADT_A05 message, so you have to inspect MSH-9 to