i need help, i am trying to use pathcopy to get rid of the OBX segment but I do not seem to be able to get rid of the word “OBX” in the segment
say for example
My input is below
ORC|1|….|
OBR|1| ……|
OBX|1|123|this is testing
OBX|2|124| This is second one
My output will be omitting the OBX after plucking in some value from the OBX segment….
ORC |1|
OBR|1|…|this is testing
How can i achieve this using pathcopy? I am using iterate for segment OBX…and within the iterate, i have IF condition to check..
a pathcopy to copy @null to 2(%g1).1(%g2).1(0).0(%g3).OBX(%s1)
My output is as shown below, this is not what i want,
ORC|1|…
OBR|1|…|this is testing
OBX
OBX
My desirable output is
ORC|1|..
OBR|1|…|this is testing
HELP!!!!
Thanks millions