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
No announcement yet.
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