Mirth XML CCD troubles #5888
Unanswered
jeffkirkley
asked this question in
Q&A
Replies: 2 comments 21 replies
-
Relevant forum link: https://forums.mirthproject.io/forum/mirth-connect/support/183749-how-to-copy-line-entry-in-xml-ccd-package |
Beta Was this translation helpful? Give feedback.
3 replies
-
In the mirth data type properties for most xml based connector types, there is an option to "strip namespaces." |
Beta Was this translation helpful? Give feedback.
18 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone. I posted this on the Mirth forums site, but not sure if it is getting a lot of visibility.
***Disclaimer: I am VERY new to Mirth and HL7 and CCD. I have a general understanding, but this is my very first exposure to all of this.
Below is what I am trying to do:
I have the partial XML CCD snippet below:
I am trying to write in javascript in a Mirth destination transformer a code section to produce something similar to:
I have looked all over the boards here and on Google and have tried the various insertchildbefore, insertchildafter, and append routines, but nothing seems to want to play nice with the XML formatting/structure. For above, need both lines present in transformed output.
This is the javascript code I am running in a destination transformer:
After a bunch of trial and error, I came up with the following:
My question now is how can I remove:
xmlns=""
Beta Was this translation helpful? Give feedback.
All reactions