Sidebar

How can I update all OBX-16 fields?

0 votes
458 views
asked Aug 8, 2013 by michael-h-5027 (14,350 points)
Want to update every instance of OBX-16 in my HL7 message. Currently I am only updating the first occurence of OBX-16 but I really want a way to update all.

1 Answer

0 votes
 
Best answer
You can add a custom mapping with this line:
message.setAllNodes('OBR-16', 'yourtext');
answered Aug 8, 2013 by michael-h-5027 (14,350 points)
selected Dec 17, 2013 by ron-s-6919
...