1.2k questions

1.4k answers

361 comments

339 users

Categories

Sidebar
+1 vote
454 views
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..

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');
by brandon-w-8204 (34.1k points)
...