From: Thumu, K. S (GE Healthcare) <Kis...@ge...> - 2013-09-12 13:24:15
|
Sorry it was HAP 1.2 Thanks, Kishore From: Christian Ohr [mailto:chr...@gm...] Sent: Thursday, September 12, 2013 6:48 PM To: Thumu, Kishore S (GE Healthcare) Cc: hl7...@li... Subject: Re: [HAPI-devel] ER7 to XML format 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 Camel body and put back the XML result. regards Christian 2013/9/12 Thumu, Kishore S (GE Healthcare) <Kis...@ge...<mailto:Kis...@ge...>> Hi, I'm using HAPI v2.5. Thanks, Kishore From: Christian Ohr [mailto:chr...@gm...<mailto:chr...@gm...>] Sent: Thursday, September 12, 2013 1:32 PM To: Thumu, Kishore S (GE Healthcare) Cc: hl7...@li...<mailto:hl7...@li...> Subject: Re: [HAPI-devel] ER7 to XML format 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) <Kis...@ge...<mailto:Kis...@ge...>> 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. Thanks, Kishore ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk _______________________________________________ Hl7api-devel mailing list Hl7...@li...<mailto:Hl7...@li...> https://lists.sourceforge.net/lists/listinfo/hl7api-devel |