Skip to content

ERROR MESSAGE: Error converting XML to ER7 after migrating from mirth 3.5.1 to mirth 4.0.1 #5182

Answered by marpagno
marpagno asked this question in Q&A
Discussion options

You must be logged in to vote

seems the issue can be resolved by

  1. adding at the end of the source transformer

default xml namespace = 'urn:hl7-org:v2xml';
tmp=new XML(tmp.toString());

  1. adding an outbound template in the same transformer (I don't really know why it wasn't there)
    MSH||||||||||||||

Now this works - still facing another issue on a channel handling MDM messages, which after applying the same tricks now states
"ERROR MESSAGE: Error converting XML to ER7
ca.uhn.hl7v2.parser.EncodingNotSupportedException: Determine encoding for message. The following is the first 50 chars of the message for reference, although this may not be where the issue is: <MSH.1/
at ca.uhn.hl7v2.parser.Parser.parse(Parser.java:201)
a…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@marpagno
Comment options

@pacmano1
Comment options

@marpagno
Comment options

@pacmano1
Comment options

@marpagno
Comment options

Answer selected by marpagno
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants