Remove a segment from the HL7 Message
I have a ORU message, which has a EVN segment that I want to remove and send the message across.
I tried to clone the request as below:
s newreq = request.constructClone
s changreq = newreq.RemoveSegmentAt("EVN")
Set request = changereq
but it fails. Is there a way that I can safely remove a segment and pass it on?
Would appreciate your help in this