Our dictation system sends transcribed reports as an HL7 v2.2 ORU^R01 message. Each line of the report is sent as a separate OBX segment (OBX|1|, OBX|2|, OBX|3|. etc.). I need to send the results to a system that expects each line of the transcribed report as a repetition of the OBX-5 field (OBX|1|TX|||line1~ ~line2~ ~line2~ ). Does anyone have a tcl proc that does something like this or can point me in the right direction? I’m a tcl newbie so any assistance or suggestions would be greatly appreciated.