Is there a way to add an element with JS? I have a source application sending ORU^R01 messages with OBX segments that, depending on content, sometimes need to be changed to NTE segments. I think the way to solve this is to add NTE segments to the outgoing data template on the fly when needed. Is this possible?
Announcement
Collapse
NextGen Connect 3.10.1 Released!
NextGen (Mirth) Connect 3.10.1 is now available as an appliance update and on our GitHub page. This release contains bug fixes. See the release notes for the list of fixes.
Download | See What's New | Upgrade Guide | Release Notes
For discussion on this release, see this thread.
Download | See What's New | Upgrade Guide | Release Notes
For discussion on this release, see this thread.
See more
See less
Add element to outgoing data template?
Collapse
X
-
Re:Add element to outgoing data template?
Yes - there are a few ways, however the easiest is to:
Code:msg['NTE'] = "<NTE><NTE.01>Test</NTE.01><NTE>";
Chris Lang
Comment