I am trying to figure out the best way of converting an iterating group (I only need OBX5, repeating in the group) into a document I can output. I want this document legible, with no HL7 formatting. So far what I’ve done is basically concatenated each OBX5 into a single variable using CONCAT and I’ve tried r and nr (for the separator) to try to get it to generate a new line after each OBX5 I come across. This is in an XLATE (HL7 message in) and I am just using a 1 field VRL on the other side to dump the concatenated string. I want it to behave this way where each OBX5 it comes across it should add a new line afterward.
I’m sure it’s something very simple, but how can I get it to do these new lines into a regular text document, or TIFF / PDF would be best. Does anyone know if a certain CONCAT separator command will do this, or does anyone know of a better way to do what I am trying to do?
In summary: I need to take an HL7 message in, take each OBX5 in the iteration, and save it without HL7 formatting to a “flat” file (preferably TIFF or PDF, but I might have to settle with TXT initially) with something that will cause a new line per OBX5 iteration.
Thank you in advance,
Jon