Ensemble - How do I change the order in which addenda segments appear in the OBX?
While I am not new to HL7, I am very new to Ensemble.
We have a request to change the order in which the Addenda segments are sent to the client. Right now, the global setting of the Lab system is to send the newest addenda at the top of the report, then the next oldest, and so on until we get to the final report:
One particular doctor's group wishes to have its reports with the oldest addenda sent first, then the second addenda next, and so on until the final text:
The addenda are clearly marked in the ORU, and the asterisks make it easy to see where a new Addenda begins and ends, and it also very happily creates a numbered index for me. Clearly being new to DTL, is it possible to feed the content from OBX|1| and OBX|2| into a variable like "BlobAddenda1", and then OBX|3| and OBX|4| into "BlobAddenda2", and then write them in the opposite order in the outgoing message?
Any help or direction would be greatly appreciated.