[HAPI-devel] ER7 to XML format

2013-09-12 Thread Thumu, Kishore S (GE Healthcare)
Hi, Can someone help me with conversion ER7 data to XML data As of now I'm using DataFormat hl7 = new HL7DataFormat(); Can someone suggest me with an equivalent class for HL7DataFormat which would convert my data to XML rather than to ER7(Pipe seperated). Help would be highly appreciated. Tha

Re: [HAPI-devel] ER7 to XML format

2013-09-12 Thread Christian Ohr
Looks like you are using the DataFormat of the camel-hl7 component that wraps HAPI parsers? Which version of Camel and HAPI are you using? Christian 2013/9/12 Thumu, Kishore S (GE Healthcare) > Hi, > > Can someone help me with conversion ER7 data to XML data > > ** ** > > As of now I’

Re: [HAPI-devel] ER7 to XML format

2013-09-12 Thread Thumu, Kishore S (GE Healthcare)
Hi, I'm using HAPI v2.5. Thanks, Kishore From: Christian Ohr [mailto:christian@gmail.com] Sent: Thursday, September 12, 2013 1:32 PM To: Thumu, Kishore S (GE Healthcare) Cc: hl7api-devel@lists.sourceforge.net Subject: Re: [HAPI-devel] ER7 to XML format Looks like you are using the DataFormat

Re: [HAPI-devel] ER7 to XML format

2013-09-12 Thread Christian Ohr
HAPI 2.5? - well, the most recent HAPI version is 2.1. Regarding Camel 2.5 (which is VERY old) - in Camel 2.11 you can inject a XMLParser into the DataFormat, but in Camel 2.5 you can't. So instead you need to write your own Camel processor or a POJO, which calls DefaultXMLParser#render on the Cam

Re: [HAPI-devel] ER7 to XML format

2013-09-12 Thread Thumu, Kishore S (GE Healthcare)
Sorry it was HAP 1.2 Thanks, Kishore From: Christian Ohr [mailto:christian@gmail.com] Sent: Thursday, September 12, 2013 6:48 PM To: Thumu, Kishore S (GE Healthcare) Cc: hl7api-devel@lists.sourceforge.net Subject: Re: [HAPI-devel] ER7 to XML format HAPI 2.5? - well, the most recent HAPI vers