Replies: 1 comment 2 replies
-
You’re on the right track converting OBX segments to NTEs. To delete the OBX segments after processing, you need to remove them from the parent message structure. In Mirth’s JavaScript, you can do something like this inside your loop:
Key points:
This approach should cleanly convert your OBX segments to NTEs and delete the originals. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have this code below that is turning specific OBX segments into NTEs, then appending the NTEs to the corresponding OBR. I am trying to delete the OBXs after I convert them, but am having issues trying to figure out the syntax to do that. Anyone have any ideas?
Beta Was this translation helpful? Give feedback.
All reactions