Re: [HAPI-devel] Transform a K22 response into HL7v2 XML

2013-05-02 Thread James Agnew
Hi Ryan, Converting a message from ER7 (pipes) to XML is quite easy: Message msg = ctx.getPipeParser().parse(stringEr7Message); String stringXmlMessage = ctx.getXmlParser().encode(msg); Cheers, James On Thu, May 2, 2013 at 1:20 PM, Ternier, Ryan wrote: > I’m translating a health request from

[HAPI-devel] Transform a K22 response into HL7v2 XML

2013-05-02 Thread Ternier, Ryan
I'm translating a health request from a system into a K22 HL7v2 response. I have sample responses from their system, and I'm trying to see if there's a way either through the HAPI tool or through Java code to take the K22 string I have, and turn that into the XML counterpart. Is this possible?