Using this proc (lal_msg.tcl) will get or replace you the HL7 field/subfield value you need. This way we don’t need to split a message every time and write code to look up or replace a HL7 field/subfield value in a message.
Lal Senanayake
System Integration
John Muir Health, Walnut Creek