web stats
Mirth Community - View Single Post - SQL -> XML -> Delimited (CSV)
View Single Post
  #14  
Old 06-06-2019, 07:29 PM
sbwaxesson sbwaxesson is offline
What's HL7?
 
Join Date: Apr 2014
Posts: 1
sbwaxesson is on a distinguished road
Default

Quote:
Originally Posted by agermano View Post
All you need to do is convert the xml format returned by the database reader to the format expected by the delimited data type ...

Code:
msg.setName('delimited'); // technically, this line is optional.
for each (var result in msg.result) result.setName('row');
Whoa! This was incredibly useful to me. Thanks for posting it.

Tell me, how did you learn the details of the internal representations Mirth Connect uses for its various data types? I've been working with Connect for years, and the whole time I've been frustrated that I can't find clear and complete documentation of stuff like this. If you know of a resource I should be using, I'll be grateful to hear it!
Reply With Quote