Login
Register
Home
Q&A
Questions
Tags
Send feedback
Sidebar
get all elements in a segment
+1
vote
456
views
asked
Mar 6, 2019
by
(
190
points)
is there any way to get all the element wthit out giving for example MSH-1, MSH-2 etc..
can we have a loop or some thing like that. for getting all elements..
elements
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
+1
vote
You can get the entire segment using just the segment name as the node path. So MSH would be just MSH:
message.getNode('MSH');
answered
Mar 6, 2019
by
brandon-w-8204
(
34.1k
points)
Please
log in
or
register
to add a comment.
...