Hello,

is it possible to remove a segment? I was able to figure something out but
it is not working for all cases. Basically what I do is 

- parse the message
- find the segment to be removed using the terser
- set everything within to empty values

then finally after some other values in other segments have been set
- encode the message

At least this works for segments without fields with repetitions. With
repetitions I can still see something like "PV1|||||||~" in the output. I
was wondering if there is an easier and more robust way?

Jan

-- 
View this message in context: 
http://www.nabble.com/remove-segment-tf3888994.html#a11024128
Sent from the hl7api-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Hl7api-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to