Posted: Thu May 15, 2014 7:09 am Post subject: Need help on XML to TDS conversion
Apprentice
Joined: 16 Feb 2013 Posts: 48
We have a requirement to convert to XML to TDS in our project. I have converted the input to TDS format by setting the Properties.MessageFormat = 'TDS' in my esql and setting the Messaging Standard as HL7 and delimiter as '|'.
In addition to that we need to do the below steps to include ^ instead of '|'(delimiter) to one of the complex types residing inbetween the other complex types.
As of now I have set to ALL ELEMENTS DELIMITED in the message set as there as about 10 complex types. But the last complex type should not have '|' symbol.
I suspect that your message tree is the wrong shape, or else your message model is wrong. I cannot be sure, because this type of problem requires a huge amount of detail.
You can diagnose it yourself in the normal way
- add a Trace node before the output node
- take a debug-level user trace to see what the MRM TDS parser is doing
If you are on v8 or v9 then it will be simpler to use DFDL, not MRM.
IBM does provide a Healthcare Connectivity Pack which contains a full HL7 message set. Current versions based on IIB also include a DFDL model for HL7. _________________ Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum