I have been struggling the last couple of days to try to process HL7 files in an orchestration. I receive 25 HL7 (ORU-R01) in a batch from a web service. The output message from the webservice is like below:
Batch (Root) - Batch ID - Msg QTY - HL7Messages -HL7Message (Element - string) (qty=25)
These messages are pure string, no xml at all. I can successfully unbatch the messages. At the end, I loop through the messages and I was planning to call a Receive Pipeline to transform each message via the BTA2.X dissasembler in the orchestration. However, the receive pipeline take a XLANG message as an argument, and I was not able to find an elegant way to transform a string into XLANG. I want to to keep this process in the orchestration since I have post-processing operations to perform on these messages, and I will use direct bound orchestration.
1) Is this approach the right one? If so, what part am I missing?
2) If not, what approach should I use?
Thanks for your time.
You can go through following post, hopefully you should get insight:
Thanks & Regards,
Maheshkumar S. Tiwari