<com.webreach.mirth.model.Channel>
  <id>62994320-e781-4f1d-b5c0-6eb7576d0350</id>
  <name>Lab Results To PDF Example</name>
  <description>Results Inbound From the Lab System mapped to PDF.</description>
  <enabled>true</enabled>
  <version>1.8.2.4472</version>
  <lastModified>
    <time>1282177896000</time>
    <timezone>America/New_York</timezone>
  </lastModified>
  <revision>71</revision>
  <sourceConnector>
    <name>sourceConnector</name>
    <properties>
      <property name="DataType">Channel Reader</property>
    </properties>
    <transformer>
      <steps>
        <com.webreach.mirth.model.Step>
          <sequenceNumber>0</sequenceNumber>
          <name>LastName</name>
          <script>var mapping;try { mapping = msg[&apos;PID&apos;][&apos;PID.5&apos;][&apos;PID.5.1&apos;].toString(); }catch (e) { logger.error(e);  mapping = &apos;&apos;;}channelMap.put(&apos;LastName&apos;, validate( mapping , &apos;&apos;, new Array()));</script>
          <type>Mapper</type>
          <data class="map">
            <entry>
              <string>Variable</string>
              <string>LastName</string>
            </entry>
            <entry>
              <string>DefaultValue</string>
              <string></string>
            </entry>
            <entry>
              <string>Mapping</string>
              <string>msg[&apos;PID&apos;][&apos;PID.5&apos;][&apos;PID.5.1&apos;].toString()</string>
            </entry>
            <entry>
              <string>RegularExpressions</string>
              <list/>
            </entry>
            <entry>
              <string>isGlobal</string>
              <string>channel</string>
            </entry>
          </data>
        </com.webreach.mirth.model.Step>
        <com.webreach.mirth.model.Step>
          <sequenceNumber>1</sequenceNumber>
          <name>FirstName</name>
          <script>var mapping;try { mapping = msg[&apos;PID&apos;][&apos;PID.5&apos;][&apos;PID.5.2&apos;].toString(); }catch (e) { logger.error(e);  mapping = &apos;&apos;;}channelMap.put(&apos;FirstName&apos;, validate( mapping , &apos;&apos;, new Array()));</script>
          <type>Mapper</type>
          <data class="map">
            <entry>
              <string>Variable</string>
              <string>FirstName</string>
            </entry>
            <entry>
              <string>DefaultValue</string>
              <string></string>
            </entry>
            <entry>
              <string>Mapping</string>
              <string>msg[&apos;PID&apos;][&apos;PID.5&apos;][&apos;PID.5.2&apos;].toString()</string>
            </entry>
            <entry>
              <string>RegularExpressions</string>
              <list/>
            </entry>
            <entry>
              <string>isGlobal</string>
              <string>channel</string>
            </entry>
          </data>
        </com.webreach.mirth.model.Step>
        <com.webreach.mirth.model.Step>
          <sequenceNumber>2</sequenceNumber>
          <name>MRN</name>
          <script>var mapping;try { mapping = msg[&apos;PID&apos;][&apos;PID.3&apos;][&apos;PID.3.1&apos;].toString(); }catch (e) { logger.error(e);  mapping = &apos;&apos;;}channelMap.put(&apos;MRN&apos;, validate( mapping , &apos;&apos;, new Array()));</script>
          <type>Mapper</type>
          <data class="map">
            <entry>
              <string>Variable</string>
              <string>MRN</string>
            </entry>
            <entry>
              <string>DefaultValue</string>
              <string></string>
            </entry>
            <entry>
              <string>Mapping</string>
              <string>msg[&apos;PID&apos;][&apos;PID.3&apos;][&apos;PID.3.1&apos;].toString()</string>
            </entry>
            <entry>
              <string>RegularExpressions</string>
              <list/>
            </entry>
            <entry>
              <string>isGlobal</string>
              <string>channel</string>
            </entry>
          </data>
        </com.webreach.mirth.model.Step>
        <com.webreach.mirth.model.Step>
          <sequenceNumber>3</sequenceNumber>
          <name>DOB</name>
          <script>var mapping;try { mapping = DateUtil.formatDate(&quot;MM/dd/yyyy&quot;,DateUtil.getDate(&quot;yyyyMMdd&quot;, msg[&apos;PID&apos;][&apos;PID.7&apos;][&apos;PID.7.1&apos;].toString())); }catch (e) { logger.error(e);  mapping = &apos;&apos;;}channelMap.put(&apos;DOB&apos;, validate( mapping , &apos;&apos;, new Array()));</script>
          <type>Mapper</type>
          <data class="map">
            <entry>
              <string>Variable</string>
              <string>DOB</string>
            </entry>
            <entry>
              <string>DefaultValue</string>
              <string></string>
            </entry>
            <entry>
              <string>Mapping</string>
              <string>DateUtil.formatDate(&quot;MM/dd/yyyy&quot;,DateUtil.getDate(&quot;yyyyMMdd&quot;, msg[&apos;PID&apos;][&apos;PID.7&apos;][&apos;PID.7.1&apos;].toString()))</string>
            </entry>
            <entry>
              <string>RegularExpressions</string>
              <list/>
            </entry>
            <entry>
              <string>isGlobal</string>
              <string>channel</string>
            </entry>
          </data>
        </com.webreach.mirth.model.Step>
        <com.webreach.mirth.model.Step>
          <sequenceNumber>4</sequenceNumber>
          <name>Address</name>
          <script>var mapping;try { mapping = msg[&apos;PID&apos;][&apos;PID.11&apos;][&apos;PID.11.1&apos;].toString() + &quot; &quot; + msg[&apos;PID&apos;][&apos;PID.11&apos;][&apos;PID.11.3&apos;].toString() + &quot;, &quot; + msg[&apos;PID&apos;][&apos;PID.11&apos;][&apos;PID.11.4&apos;].toString() + &quot; &quot; + msg[&apos;PID&apos;][&apos;PID.11&apos;][&apos;PID.11.5&apos;].toString(); }catch (e) { logger.error(e);  mapping = &apos;&apos;;}channelMap.put(&apos;Address&apos;, validate( mapping , &apos;&apos;, new Array()));</script>
          <type>Mapper</type>
          <data class="map">
            <entry>
              <string>Variable</string>
              <string>Address</string>
            </entry>
            <entry>
              <string>DefaultValue</string>
              <string></string>
            </entry>
            <entry>
              <string>Mapping</string>
              <string>msg[&apos;PID&apos;][&apos;PID.11&apos;][&apos;PID.11.1&apos;].toString() + &quot; &quot; + msg[&apos;PID&apos;][&apos;PID.11&apos;][&apos;PID.11.3&apos;].toString() + &quot;, &quot; + msg[&apos;PID&apos;][&apos;PID.11&apos;][&apos;PID.11.4&apos;].toString() + &quot; &quot; + msg[&apos;PID&apos;][&apos;PID.11&apos;][&apos;PID.11.5&apos;].toString()</string>
            </entry>
            <entry>
              <string>RegularExpressions</string>
              <list/>
            </entry>
            <entry>
              <string>isGlobal</string>
              <string>channel</string>
            </entry>
          </data>
        </com.webreach.mirth.model.Step>
        <com.webreach.mirth.model.Step>
          <sequenceNumber>5</sequenceNumber>
          <name>TestName</name>
          <script>var mapping;try { mapping = msg[&apos;OBR&apos;][&apos;OBR.4&apos;][&apos;OBR.4.2&apos;].toString(); }catch (e) { logger.error(e);  mapping = &apos;&apos;;}channelMap.put(&apos;TestName&apos;, validate( mapping , &apos;&apos;, new Array()));</script>
          <type>Mapper</type>
          <data class="map">
            <entry>
              <string>Variable</string>
              <string>TestName</string>
            </entry>
            <entry>
              <string>DefaultValue</string>
              <string></string>
            </entry>
            <entry>
              <string>Mapping</string>
              <string>msg[&apos;OBR&apos;][&apos;OBR.4&apos;][&apos;OBR.4.2&apos;].toString()</string>
            </entry>
            <entry>
              <string>RegularExpressions</string>
              <list/>
            </entry>
            <entry>
              <string>isGlobal</string>
              <string>channel</string>
            </entry>
          </data>
        </com.webreach.mirth.model.Step>
        <com.webreach.mirth.model.Step>
          <sequenceNumber>6</sequenceNumber>
          <name>ResultStatus</name>
          <script>var mapping;try { mapping = msg[&apos;OBR&apos;][&apos;OBR.25&apos;][&apos;OBR.25.1&apos;].toString(); }catch (e) { logger.error(e);  mapping = &apos;&apos;;}channelMap.put(&apos;ResultStatus&apos;, validate( mapping , &apos;&apos;, new Array(new Array(&quot;F&quot;, &quot;Final&quot;))));</script>
          <type>Mapper</type>
          <data class="map">
            <entry>
              <string>Variable</string>
              <string>ResultStatus</string>
            </entry>
            <entry>
              <string>DefaultValue</string>
              <string></string>
            </entry>
            <entry>
              <string>Mapping</string>
              <string>msg[&apos;OBR&apos;][&apos;OBR.25&apos;][&apos;OBR.25.1&apos;].toString()</string>
            </entry>
            <entry>
              <string>RegularExpressions</string>
              <list>
                <string-array>
                  <string>&quot;F&quot;</string>
                  <string>&quot;Final&quot;</string>
                </string-array>
              </list>
            </entry>
            <entry>
              <string>isGlobal</string>
              <string>channel</string>
            </entry>
          </data>
        </com.webreach.mirth.model.Step>
        <com.webreach.mirth.model.Step>
          <sequenceNumber>7</sequenceNumber>
          <name>ResultDateTime</name>
          <script>var mapping;try { mapping = DateUtil.formatDate(&quot;MM/dd/yyyy&quot;, DateUtil.getDate(&quot;yyyyMMddHHmm&quot;, msg[&apos;OBR&apos;][&apos;OBR.7&apos;][&apos;OBR.7.1&apos;].toString())); }catch (e) { logger.error(e);  mapping = &apos;&apos;;}channelMap.put(&apos;ResultDateTime&apos;, validate( mapping , &apos;&apos;, new Array()));</script>
          <type>Mapper</type>
          <data class="map">
            <entry>
              <string>Variable</string>
              <string>ResultDateTime</string>
            </entry>
            <entry>
              <string>DefaultValue</string>
              <string></string>
            </entry>
            <entry>
              <string>RegularExpressions</string>
              <list/>
            </entry>
            <entry>
              <string>Mapping</string>
              <string>DateUtil.formatDate(&quot;MM/dd/yyyy&quot;, DateUtil.getDate(&quot;yyyyMMddHHmm&quot;, msg[&apos;OBR&apos;][&apos;OBR.7&apos;][&apos;OBR.7.1&apos;].toString()))</string>
            </entry>
            <entry>
              <string>isGlobal</string>
              <string>channel</string>
            </entry>
          </data>
        </com.webreach.mirth.model.Step>
        <com.webreach.mirth.model.Step>
          <sequenceNumber>8</sequenceNumber>
          <name>OrderingProvider</name>
          <script>var mapping;try { mapping = msg[&apos;OBR&apos;][&apos;OBR.16&apos;][&apos;OBR.16.3&apos;].toString() +&quot; &quot; + msg[&apos;OBR&apos;][&apos;OBR.16&apos;][&apos;OBR.16.2&apos;].toString() + &quot; &quot; + msg[&apos;OBR&apos;][&apos;OBR.16&apos;][&apos;OBR.16.7&apos;].toString(); }catch (e) { logger.error(e);  mapping = &apos;&apos;;}channelMap.put(&apos;OrderingProvider&apos;, validate( mapping , &apos;&apos;, new Array()));</script>
          <type>Mapper</type>
          <data class="map">
            <entry>
              <string>Variable</string>
              <string>OrderingProvider</string>
            </entry>
            <entry>
              <string>DefaultValue</string>
              <string></string>
            </entry>
            <entry>
              <string>Mapping</string>
              <string>msg[&apos;OBR&apos;][&apos;OBR.16&apos;][&apos;OBR.16.3&apos;].toString() +&quot; &quot; + msg[&apos;OBR&apos;][&apos;OBR.16&apos;][&apos;OBR.16.2&apos;].toString() + &quot; &quot; + msg[&apos;OBR&apos;][&apos;OBR.16&apos;][&apos;OBR.16.7&apos;].toString()</string>
            </entry>
            <entry>
              <string>RegularExpressions</string>
              <list/>
            </entry>
            <entry>
              <string>isGlobal</string>
              <string>channel</string>
            </entry>
          </data>
        </com.webreach.mirth.model.Step>
        <com.webreach.mirth.model.Step>
          <sequenceNumber>9</sequenceNumber>
          <name>Create Results Table</name>
          <script>var results = new XML(&apos;&lt;tbody&gt;&lt;/tbody&gt;&apos;);
var tr;

for each (mOBX in msg..OBX) {

  tr = new XML(&apos;&lt;tr&gt;&lt;/tr&gt;&apos;);

  tr[&apos;td&apos;][0] = &apos;&apos;;
  if (mOBX[&apos;OBX.8&apos;][&apos;OBX.8.1&apos;].toString() != &quot;N&quot;) {
    tr[&apos;td&apos;][0][&apos;img&apos;][&apos;@src&apos;] = &apos;/mirth/graphics/flag_red.png&apos;;
  } 
  // Test Name   &#x0D;  tr[&apos;td&apos;][1] = mOBX[&apos;OBX.3&apos;][&apos;OBX.3.2&apos;].toString();
  // Result
  tr[&apos;td&apos;][2] = mOBX[&apos;OBX.5&apos;][&apos;OBX.5.1&apos;].toString() + &quot; &quot;+ mOBX[&apos;OBX.6&apos;][&apos;OBX.6.1&apos;].toString();
  // Flag - Red if not N = normal
  tr[&apos;td&apos;][3] = mOBX[&apos;OBX.8&apos;][&apos;OBX.8.1&apos;].toString();
  // Reference range
  tr[&apos;td&apos;][4] = mOBX[&apos;OBX.7&apos;][&apos;OBX.7.1&apos;].toString() + &quot; &quot; + mOBX[&apos;OBX.6&apos;][&apos;OBX.6.1&apos;].toString();

  results[&apos;&apos;] += tr;
}

channelMap.put(&quot;Results&quot;,results);</script>
          <type>JavaScript</type>
          <data class="map">
            <entry>
              <string>Script</string>
              <string>var results = new XML(&apos;&lt;tbody&gt;&lt;/tbody&gt;&apos;);
var tr;

for each (mOBX in msg..OBX) {

  tr = new XML(&apos;&lt;tr&gt;&lt;/tr&gt;&apos;);

  tr[&apos;td&apos;][0] = &apos;&apos;;
  if (mOBX[&apos;OBX.8&apos;][&apos;OBX.8.1&apos;].toString() != &quot;N&quot;) {
    tr[&apos;td&apos;][0][&apos;img&apos;][&apos;@src&apos;] = &apos;/mirth/graphics/flag_red.png&apos;;
  } 
  // Test Name   &#x0D;  tr[&apos;td&apos;][1] = mOBX[&apos;OBX.3&apos;][&apos;OBX.3.2&apos;].toString();
  // Result
  tr[&apos;td&apos;][2] = mOBX[&apos;OBX.5&apos;][&apos;OBX.5.1&apos;].toString() + &quot; &quot;+ mOBX[&apos;OBX.6&apos;][&apos;OBX.6.1&apos;].toString();
  // Flag - Red if not N = normal
  tr[&apos;td&apos;][3] = mOBX[&apos;OBX.8&apos;][&apos;OBX.8.1&apos;].toString();
  // Reference range
  tr[&apos;td&apos;][4] = mOBX[&apos;OBX.7&apos;][&apos;OBX.7.1&apos;].toString() + &quot; &quot; + mOBX[&apos;OBX.6&apos;][&apos;OBX.6.1&apos;].toString();

  results[&apos;&apos;] += tr;
}

channelMap.put(&quot;Results&quot;,results);</string>
            </entry>
          </data>
        </com.webreach.mirth.model.Step>
      </steps>
      <inboundTemplate>MSH|^~\&amp;|LAB|LUCENTGLOW|||200909301135||ORU^R01||D|2.3||||||||&#x0D;PID|1||Z000001078||DOE^JOHN||19500213|M||CA|123 STREET^^KINGSPORT^TN^37660|||||M|||999-99-9999||||||||||||&#x0D;OBR|1|1973^LAB||BMP^BASIC METABOLIC PANEL^L|||200909301134|||||||200909301134||SLOCA^SLOCUM^CARL^W^^^MD||||||||LAB|F||^^^^^R|||||||||||||||||&#x0D;OBX|1|ST|GLU^GLUCOSE,RANDOM^L||100|mg/dL|74-106|N||A^S|F|||200909301134|ML^MAIN LAB^L|||&#x0D;OBX|2|ST|BUN^BLOOD UREA NITROGEN^L||10|mg/dL|9-20|N||A^S|F|||200909301135|ML^MAIN LAB^L|||&#x0D;OBX|3|ST|CRE^CREATININE^L||3.0|mg/dL|0.8-1.5|H||A^S|F|||200909301135|ML^MAIN LAB^L|||&#x0D;OBX|4|ST|BCRAT^BUN/CREATININE RATIO^L||1.9|RATIO|7.0-25.0|L||A^S|F|||200909301135|ML^MAIN LAB^L|||&#x0D;OBX|5|ST|NA^SODIUM LEVEL^L||130|mEq/L|137-145|L||A^S|F|||200909301135|ML^MAIN LAB^L|||&#x0D;OBX|6|ST|K^POTASSIUM LEVEL^L||3.0|mEq/L|3.5-5.1|L||A^S|F|||200909301135|ML^MAIN LAB^L|||&#x0D;OBX|7|ST|CL^CHLORIDE LEVEL^L||97|mEq/L|98-107|L||A^S|F|||200909301135|ML^MAIN LAB^L|||&#x0D;OBX|8|ST|CO2^CARBON DIOXIDE LEVEL^L||31|mEq/L|22-30|H||A^S|F|||200909301135|ML^MAIN LAB^L|||&#x0D;OBX|9|ST|CA^CALCIUM LEVEL^L||9.7|mg/dL|8.4-10.2|N||A^S|F|||200909301135|ML^MAIN LAB^L|||&#x0D;OBX|10|ST|GFR^GLOMERULAR FILTRATION RATE^L||22|ml/min|80-120|L||A^S|F|||200909301135|ML^MAIN LAB^L|||</inboundTemplate>
      <outboundTemplate></outboundTemplate>
      <inboundProtocol>HL7V2</inboundProtocol>
      <outboundProtocol>HL7V2</outboundProtocol>
      <inboundProperties/>
      <outboundProperties/>
    </transformer>
    <filter>
      <rules/>
    </filter>
    <transportName>Channel Reader</transportName>
    <mode>SOURCE</mode>
    <enabled>true</enabled>
  </sourceConnector>
  <destinationConnectors>
    <com.webreach.mirth.model.Connector>
      <name>Create/Write PDF Result Report</name>
      <properties>
        <property name="documentType">pdf</property>
        <property name="DataType">Document Writer</property>
        <property name="outputPattern">LabResult-${SYSTIME}.pdf</property>
        <property name="password"></property>
        <property name="template">&lt;html&gt;
  &lt;div align=&quot;center&quot;&gt;&lt;h1&gt;Laboratory Result Report&lt;/h1&gt;&lt;hr /&gt;&lt;/div&gt;

  &lt;h2 style=&quot;color: #990000;&quot;&gt;${TestName}&lt;/h2&gt;

  &lt;h3&gt;Result Date: ${ResultDateTime}&lt;/h3&gt;
  &lt;h3&gt;Stage: ${ResultStatus}&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;u&gt;MRN:&lt;/u&gt; ${MRN}&lt;/li&gt;
  &lt;li&gt;&lt;u&gt;Name:&lt;/u&gt; ${LastName}, ${FirstName}&lt;/li&gt;
  &lt;li&gt;&lt;u&gt;DOB:&lt;/u&gt; ${DOB}&lt;/li&gt;
  &lt;li&gt;&lt;u&gt;Address:&lt;/u&gt; ${Address}&lt;/li&gt;
&lt;/ul&gt;

&lt;table border=&quot;1&quot;&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th colspan=&quot;2&quot;&gt;Test&lt;/th&gt;
      &lt;th&gt;Result&lt;/th&gt;
      &lt;th&gt;Flag&lt;/th&gt;
      &lt;th&gt;Reference Range&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
${Results}

&lt;/table&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;u&gt;Ordered By:&lt;/u&gt; ${OrderingProvider}&lt;/li&gt;
  &lt;li&gt;&lt;u&gt;Stage:&lt;/u&gt; ${ResultStatus}&lt;/li&gt;
&lt;/ul&gt;
&lt;/html&gt;</property>
        <property name="host">/mirth/results_pdf/${date.get(&apos;yyyyMMdd&apos;)}/${OrderingProvider}/</property>
        <property name="encrypt">0</property>
      </properties>
      <transformer>
        <steps/>
        <inboundTemplate>MSH|^~\&amp;|LAB|LUCENTGLOW|||200909301135||ORU^R01||D|2.3||||||||&#x0D;PID|1||Z000001078||DOE^JOHN||19500213|M||CA|123 STREET^^KINGSPORT^TN^37660|||||M|||999-99-9999||||||||||||&#x0D;OBR|1|1973^LAB||BMP^BASIC METABOLIC PANEL^L|||200909301134|||||||200909301134||SLOCA^SLOCUM^CARL^W^^^MD||||||||LAB|F||^^^^^R|||||||||||||||||&#x0D;OBX|1|ST|GLU^GLUCOSE,RANDOM^L||100|mg/dL|74-106|N||A^S|F|||200909301134|ML^MAIN LAB^L|||&#x0D;OBX|2|ST|BUN^BLOOD UREA NITROGEN^L||10|mg/dL|9-20|N||A^S|F|||200909301135|ML^MAIN LAB^L|||&#x0D;OBX|3|ST|CRE^CREATININE^L||3.0|mg/dL|0.8-1.5|H||A^S|F|||200909301135|ML^MAIN LAB^L|||&#x0D;OBX|4|ST|BCRAT^BUN/CREATININE RATIO^L||1.9|RATIO|7.0-25.0|L||A^S|F|||200909301135|ML^MAIN LAB^L|||&#x0D;OBX|5|ST|NA^SODIUM LEVEL^L||130|mEq/L|137-145|L||A^S|F|||200909301135|ML^MAIN LAB^L|||&#x0D;OBX|6|ST|K^POTASSIUM LEVEL^L||3.0|mEq/L|3.5-5.1|L||A^S|F|||200909301135|ML^MAIN LAB^L|||&#x0D;OBX|7|ST|CL^CHLORIDE LEVEL^L||97|mEq/L|98-107|L||A^S|F|||200909301135|ML^MAIN LAB^L|||&#x0D;OBX|8|ST|CO2^CARBON DIOXIDE LEVEL^L||31|mEq/L|22-30|H||A^S|F|||200909301135|ML^MAIN LAB^L|||&#x0D;OBX|9|ST|CA^CALCIUM LEVEL^L||9.7|mg/dL|8.4-10.2|N||A^S|F|||200909301135|ML^MAIN LAB^L|||&#x0D;OBX|10|ST|GFR^GLOMERULAR FILTRATION RATE^L||22|ml/min|80-120|L||A^S|F|||200909301135|ML^MAIN LAB^L|||</inboundTemplate>
        <outboundTemplate></outboundTemplate>
        <inboundProtocol>HL7V2</inboundProtocol>
        <outboundProtocol>HL7V2</outboundProtocol>
        <inboundProperties/>
        <outboundProperties/>
      </transformer>
      <filter>
        <rules/>
      </filter>
      <transportName>Document Writer</transportName>
      <mode>DESTINATION</mode>
      <enabled>true</enabled>
    </com.webreach.mirth.model.Connector>
  </destinationConnectors>
  <properties>
    <property name="initialState">started</property>
    <property name="synchronous">true</property>
    <property name="store_messages">true</property>
    <property name="encryptData">false</property>
    <property name="transactional">false</property>
    <property name="max_message_age">1</property>
    <property name="dont_store_filtered">false</property>
    <property name="error_messages_only">false</property>
  </properties>
  <preprocessingScript>// Modify the message variable below to pre process data
return message;</preprocessingScript>
  <postprocessingScript>// This script executes once after a message has been processed
return;</postprocessingScript>
  <deployScript>// This script executes once when the mule engine is started
// You only have access to the globalMap here to persist data
return;</deployScript>
  <shutdownScript>// This script executes once when the mule engine is stopped
// You only have access to the globalMap here to persist data
return;</shutdownScript>
</com.webreach.mirth.model.Channel>