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 <ryan.tern...@cgi.com> wrote:

>  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?  I can easily do it with the request.****
>
> ** **
>
> Cheers,****
>
> ** **
>
> Ryan****
>
>
> ------------------------------------------------------------------------------
> Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
> Get 100% visibility into your production application - at no cost.
> Code-level diagnostics for performance bottlenecks with <2% overhead
> Download for free and get started troubleshooting in minutes.
> http://p.sf.net/sfu/appdyn_d2d_ap1
> _______________________________________________
> Hl7api-devel mailing list
> Hl7api-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hl7api-devel
>
>
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
Hl7api-devel mailing list
Hl7api-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to