I’ve got a Java TPS in which I’m trying to modify a field within a message (convert OBX-5 from RTF to TEXT). I do this by creating an Hl7M from the incomming Message. Then I get the text from the field, convert it and set the field with the converted data. I then create a new Message from the Hl7M. However, when I try and KILL the original message and then CONTINUE the new message it creates an error in the Error DB and a message within the Recovery DB. If I KILL the new message and CONTINUE the original message everything works OK — except my logging of the outbound data is the original Message and not the modified Message.
Any ideas of what I’m not doing right?
Cheers,
Kyley