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] HL7 Listener

2007-08-02 Thread Torben Greiser
Hi Nick! PipeParser pp = new PipeParser(); // create a new SimpleServer that listens on port 1234 SimpleServer ss = new SimpleServer(1234, LowerLayerProtocol.makeLLP(), pp); // create and register some class that implements // ca.uhn.hl7v2.app.Application to handle incoming messages (ORU in // th

[HAPI-devel] HL7 Listener

2007-08-02 Thread GHH
Hi there, I'm very new to this HL7 stuff so please bear with me! We're trying to write a piece of code which simply sits on our server in a loop, waiting to receive HL7 (ORU_01) messages, and when it receives them it sends an ACK back to the sender. But from the example code on the HAPI site