1.2k questions

1.4k answers

361 comments

339 users

Categories

Sidebar
0 votes
373 views
by adam-d-5091 (370 points)
For example I have two OBX segements and would like to make the ValueType TX, currrently I am using:

message.setNode("OBX-2", 'TX');

 

That seems to only change the first one.

1 Answer

+1 vote
 
Best answer
You can find different HL7 operations from the Code Wizard drop down. In this case the one you want is the setAllNodes.

 

message.setAllNodes('OBX-2', 'TX');
by michael-h-5027 (14.8k points)
selected by adam-d-5091
...