I have a slightly unusual value in obx-5 in an mdm message coming in from a pacs system. Obx-5 contains the actual text of the rad report. Each line of the text is separated by a tilde (~) character.
As an example obx-5 looks like this: line1~line2~line3
I’m trying to iterate on these lines and stuff each line in a separate obx seg in the outbound structure.
The iterate type is set to “field”, the iterate basis is set to 3(0).0(0).OBX(0).#5 and the loop variable is set to %m1.
Upon execution it grabs the line 1 but will not iterate on the successive lines. I’m wondering if this is due to the fact that the normal subfield indicator ^ is not being used in this case but a tilde is used instead.
Any ideas or help will be appreciated.
Thanks,
John