From 630cb84b0bb68bc151026eda29008e603c552837 Mon Sep 17 00:00:00 2001 From: pacmano1 <44065187+pacmano1@users.noreply.github.com> Date: Sun, 10 Mar 2024 08:17:05 -0600 Subject: [PATCH] Update DBReadertoCSV.js --- DBReadertoCSV.js | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/DBReadertoCSV.js b/DBReadertoCSV.js index 3b3837b..e6eaa3e 100644 --- a/DBReadertoCSV.js +++ b/DBReadertoCSV.js @@ -1,8 +1,34 @@ // Notes: Assumes you have aggregate results set to yes on the DB reader // Do not use an outbound template with this solution. // Code courtesy of Tony Germano and Jon Bartels, original forum thread: https://forums.mirthproject.io/forum/mirth-connect/support/16869- +/* + _____ _ _ +|_ _| |__ __ _ _ __ | | _____ + | | | '_ \ / _` | '_ \| |/ / __| + | | | | | | (_| | | | | <\__ \ + |_| |_| |_|\__,_|_| |_|_|\_\___/ + _____ +|_ _|__ _ __ _ _ + | |/ _ \| '_ \| | | | + | | (_) | | | | |_| | + |_|\___/|_| |_|\__, | + |___/ + _ + __ _ _ __ __| | + / _` | '_ \ / _` | +| (_| | | | | (_| | + \__,_|_| |_|\__,_| + + _ + | | ___ _ __ + _ | |/ _ \| '_ \ +| |_| | (_) | | | | + \___/ \___/|_| |_| + +*/ + // Set the root element name to 'delimited' (optional but mentioned) msg.setName('delimited');