Replies: 1 comment 9 replies
-
post sample messages with a before and after. |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a channel that receives HL7 ORM messages that sometimes have multiple ORC, OBR, and OBX segments. I want to only keep the 1st of each segment. They are also not stacked; usually goes ORC, OBR, OBX and then the next set.
I tried something like this:
while (msg['ORC'].length() > 1)
{
delete msg['ORC'][1];
but it is not removing the extra segments
Beta Was this translation helpful? Give feedback.
All reactions