Re: [HAPI-devel] Sending hl7 message over http

2014-07-15 Thread James Agnew
That's probably a factory method that was added to HAPI in a version later than 2.2. Get your parser using whatever means you've been using elsewhere in your code. Cheers, James On Tue, Jul 15, 2014 at 1:06 PM, Sara Fatima wrote: > Hi James, > > Thank you for the guidelines. I will surely let

Re: [HAPI-devel] Sending hl7 message over http

2014-07-15 Thread Sara Fatima
Hi James, Thank you for the guidelines. I will surely let you know how I progress with sending to OpenHIE. While using this example, I am facing an error. I am unable to resolve the below line: > Parser parser = PipeParser.getInstance

Re: [HAPI-devel] Sending hl7 message over http

2014-07-15 Thread James Agnew
Hi Sara, HTTP support is currently in a separate JAR which you can include in your pom.xml and use. Here is a fairly complete set of instructions: http://hl7api.sourceforge.net/hapi-hl7overhttp/doc_hapi.html Note though that HTTP support is a relatively new thing- It's not even yet approved form

Re: [HAPI-devel] Implementing Zxx segments on A05

2014-07-15 Thread James Agnew
Hi Paul, Not to worry, dealing with Z-segments is fairly common but not entirely intuitive at first. You'll find a complete example here: http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/examples/CustomModelClasses.html Basically, there are two ways to do it, one uses custom message types and giv

[HAPI-devel] Sending hl7 message over http

2014-07-15 Thread Sara Fatima
Hi all, I am working on sending PIX message to OpenHIE . I have created the hl7 message as per the PIX standards and verified the message by sending it to Gazelle Simulator. But the simulator receives it over MLLP. But now to send it to OpenHIE I need

[HAPI-devel] Implementing Zxx segments on A05

2014-07-15 Thread Sheridan Paul (RBV) NHS Christie Tr
(Sorry if this is a common request - new to the list) Our ADT Feed gives us A05 messages with custom 'ZU3' segments - This doesn't seem to be supported in the A05 class in nHapi. - Does anyone know of an example of where Zxx segments have been successfully applied to other message types? Thank