Hi Ian,
This is an issue that we have faced many times over the years, especially
over the last 2 as we moved a bunch of legacy interfaces off of an eGate
Interface Engine. Ugh.
What you are describing looks suspiciously like a bug we fixed in HAPI 2.1.
What version of the library are you using?
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?
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
This is an interface that was running in JCAPS, but an upgrade to the
destination forced us off JCAPS because it couldn't cope with the updated web
service interface we had to post to.
People don't seem to realise how much better HAPI is at parsing HL7 than
eGate/JCAPS and anything I have trie
Hey James,
Thanks for the reply - sorry it's taken me a bit to get back to you.
What part of the HAPI code are you talking about with that snippet there?
I've written a quick custom parser for this because I wasn't able to figure out
how to get HAPI "Happy" with it.
The way Cerner has document
This response about XML from James tweeked my interest in relation to
the problem I have with the un-escaped delimiters, so I used the code to
parse the message and look at the XML. The XML looked promising, so I
created a new terser, and did my tersing tests again. This time they
worked. Intere
Hi Ryan,
IHE defines for PDQ queries the field QPD-3 to be a repeatable and of type
QIP.
The HL7 standard does not define any explicit type for QPD-3 ("Varies"),
and that's why the parser (using the default model class factory) assigns
an "unknown" or generic data type.
You can use the Terser clas
7 matches
Mail list logo