What I am attempting is to group certain OBX segments in my message together based on the value in OBX3. I am going from a 2.3.1 HL7 message to a 2.5 HL7 message. The problem is that the field I am using to group has already changed.
In this translation I am adding additional OBXs (done in pre-proc), removing OBXs if the value is empty or there is no mapping to this standard (finished in post-proc), and changing the Observation Identifier in OBX3 to the new value from the standard. Because of this I can’t iterate over the old OBX segments.
The easiest way that I can see is to do this in post proc if I can’t iterate over the new message.