Created a record map to read a flat-file of lab results.
Have multiple lines that represent result components for a given order per pt MRN.
Grouping these records together based upon the order number in a custom service to create a single XML message.
Within the XML message, there are some fields that occur once and some that occur one or more times.
Within the record map, the fields/properties that occur once are configured as "As %String. The fields/properties that occur more than once are configured as "As List of %String.
To evaluate the data that occurs once within the routing rule, can use Document.<property> e,g, Document.MRN with no problem.
When try to do the same with the repeating fields (e.g ResultText) the value retrieved is a number followed by @%Collection.ListOfDT e.g. "9@%Collection.ListOfDT"
I've read through the doc on how to use collections and lists, and I've tried several versions, but can't come up with the right logic.
Can anyone point me in the right direction?