XML to Hl7 v2.x

mardi 4 novembre 2014

Hi everyone,



I hope you can help me in this problem with mirth.



I have an xml (it comes by an a standard mirth webservice) and I can't convert to hl7. I faced from two ways but with identical result.



The one way is with the channel setup with data types as (inbound) xml with "strip namespaces" deactivate and (outbound) hl7 v2.x. The result is that the channel do nothing, the output message only take the data from the HL7 template and map the data in the.XML



The other way is the same but with the "strip namespaces" activated, in this case mirth send an error like this:



"TypeError: The prefix "ns0" for element "ns0:ADT_A01" is not bound."



I've tried to find similar threads at the forum but with any luck and right now I don't have any idea of how to fix it.



I've attached the channel and the incoming message if it helps.



Thanks in advance.




Attached Files









File Type: xml Message.xml (4.3 KB)
File Type: xml XML to HL7.xml (23.2 KB)







XML to Hl7 v2.x

0 commentaires:

Enregistrer un commentaire