<com.webreach.mirth.model.Channel>
  <id>cd1a3672-e2d9-443f-849b-ff0ec09d98c1</id>
  <name>DICOM TAG Databasing - DOSING</name>
  <description>Example on how to Database DICOM values.  In particularly, this channel does calculations for dosing(at a high level). BTW, stripping the alpha out of the age buys you nothing!!!!  this was a demonostration for SIIM 2008.

Ron Sweeney, ClubPACS Western Michigan</description>
  <enabled>false</enabled>
  <version>1.7.0.3285</version>
  <lastModified>
    <time>1211985876991</time>
    <timezone>America/New_York</timezone>
  </lastModified>
  <revision>37</revision>
  <sourceConnector>
    <name>sourceConnector</name>
    <properties>
      <property name="charsetEncoding">DEFAULT_ENCODING</property>
      <property name="binary">1</property>
      <property name="host">C:/DICOM/</property>
      <property name="moveToPattern">${ORIGINALNAME}.DONE</property>
      <property name="DataType">File Reader</property>
      <property name="sortAttribute">date</property>
      <property name="moveToDirectory">C:/DICOM/DONE</property>
      <property name="pollingFrequency">5000</property>
      <property name="processBatchFiles">0</property>
      <property name="fileFilter">*.dcm</property>
      <property name="pollingType">interval</property>
      <property name="fileAge">1000</property>
      <property name="checkFileAge">1</property>
      <property name="moveToErrorDirectory">C:/DICOM/ERROR</property>
      <property name="autoDelete">0</property>
    </properties>
    <transformer>
      <steps>
        <com.webreach.mirth.model.Step>
          <sequenceNumber>0</sequenceNumber>
          <name>modality</name>
          <script>channelMap.put(&apos;modality&apos;, validate(msg[&apos;tag00080060&apos;].toString(), &apos;&apos;, new Array()));</script>
          <type>Mapper</type>
          <data class="map">
            <entry>
              <string>Mapping</string>
              <string>msg[&apos;tag00080060&apos;].toString()</string>
            </entry>
            <entry>
              <string>Variable</string>
              <string>modality</string>
            </entry>
            <entry>
              <string>RegularExpressions</string>
              <list/>
            </entry>
            <entry>
              <string>isGlobal</string>
              <string>channel</string>
            </entry>
            <entry>
              <string>DefaultValue</string>
              <string></string>
            </entry>
          </data>
        </com.webreach.mirth.model.Step>
        <com.webreach.mirth.model.Step>
          <sequenceNumber>1</sequenceNumber>
          <name>age</name>
          <script>channelMap.put(&apos;age&apos;, validate(msg[&apos;tag00101010&apos;].toString(), &apos;&apos;, new Array()));</script>
          <type>Mapper</type>
          <data class="map">
            <entry>
              <string>Mapping</string>
              <string>msg[&apos;tag00101010&apos;].toString()</string>
            </entry>
            <entry>
              <string>Variable</string>
              <string>age</string>
            </entry>
            <entry>
              <string>RegularExpressions</string>
              <list/>
            </entry>
            <entry>
              <string>isGlobal</string>
              <string>channel</string>
            </entry>
            <entry>
              <string>DefaultValue</string>
              <string></string>
            </entry>
          </data>
        </com.webreach.mirth.model.Step>
        <com.webreach.mirth.model.Step>
          <sequenceNumber>2</sequenceNumber>
          <name>exposure</name>
          <script>channelMap.put(&apos;exposure&apos;, validate(msg[&apos;tag00181150&apos;].toString(), &apos;&apos;, new Array()));</script>
          <type>Mapper</type>
          <data class="map">
            <entry>
              <string>Mapping</string>
              <string>msg[&apos;tag00181150&apos;].toString()</string>
            </entry>
            <entry>
              <string>Variable</string>
              <string>exposure</string>
            </entry>
            <entry>
              <string>RegularExpressions</string>
              <list/>
            </entry>
            <entry>
              <string>isGlobal</string>
              <string>channel</string>
            </entry>
            <entry>
              <string>DefaultValue</string>
              <string></string>
            </entry>
          </data>
        </com.webreach.mirth.model.Step>
        <com.webreach.mirth.model.Step>
          <sequenceNumber>3</sequenceNumber>
          <name>tubecurrent</name>
          <script>channelMap.put(&apos;tubecurrent&apos;, validate(msg[&apos;tag00181151&apos;].toString(), &apos;&apos;, new Array()));</script>
          <type>Mapper</type>
          <data class="map">
            <entry>
              <string>Mapping</string>
              <string>msg[&apos;tag00181151&apos;].toString()</string>
            </entry>
            <entry>
              <string>Variable</string>
              <string>tubecurrent</string>
            </entry>
            <entry>
              <string>RegularExpressions</string>
              <list/>
            </entry>
            <entry>
              <string>isGlobal</string>
              <string>channel</string>
            </entry>
            <entry>
              <string>DefaultValue</string>
              <string></string>
            </entry>
          </data>
        </com.webreach.mirth.model.Step>
        <com.webreach.mirth.model.Step>
          <sequenceNumber>4</sequenceNumber>
          <name>kvp</name>
          <script>channelMap.put(&apos;kvp&apos;, validate(msg[&apos;tag00180060&apos;].toString(), &apos;&apos;, new Array()));</script>
          <type>Mapper</type>
          <data class="map">
            <entry>
              <string>Mapping</string>
              <string>msg[&apos;tag00180060&apos;].toString()</string>
            </entry>
            <entry>
              <string>Variable</string>
              <string>kvp</string>
            </entry>
            <entry>
              <string>RegularExpressions</string>
              <list/>
            </entry>
            <entry>
              <string>isGlobal</string>
              <string>channel</string>
            </entry>
            <entry>
              <string>DefaultValue</string>
              <string></string>
            </entry>
          </data>
        </com.webreach.mirth.model.Step>
        <com.webreach.mirth.model.Step>
          <sequenceNumber>5</sequenceNumber>
          <name>mas</name>
          <script>var newage = $(&apos;age&apos;).replaceAll(&apos;[A-Za-z]+&apos;, &quot;&quot;);
var mascalc = $(&apos;exposure&apos;) * $(&apos;tubecurrent&apos;) / 1000;

channelMap.put(&apos;mas&apos;,mascalc);
channelMap.put(&apos;newage&apos;,newage);</script>
          <type>JavaScript</type>
          <data class="map">
            <entry>
              <string>Script</string>
              <string>var newage = $(&apos;age&apos;).replaceAll(&apos;[A-Za-z]+&apos;, &quot;&quot;);
var mascalc = $(&apos;exposure&apos;) * $(&apos;tubecurrent&apos;) / 1000;

channelMap.put(&apos;mas&apos;,mascalc);
channelMap.put(&apos;newage&apos;,newage);</string>
            </entry>
          </data>
        </com.webreach.mirth.model.Step>
      </steps>
      <inboundTemplate>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#x0D;&#x0D;&lt;dicom&gt;&lt;tag00020000 len=&quot;4&quot; tag=&quot;00020000&quot;&#x0D;&#x0D;        vr=&quot;UL&quot;&gt;184&lt;/tag00020000&gt;&lt;tag00020001 len=&quot;2&quot; tag=&quot;00020001&quot;&#x0D;&#x0D;        vr=&quot;OB&quot;&gt;00\01&lt;/tag00020001&gt;&lt;tag00020002 len=&quot;26&quot; tag=&quot;00020002&quot;&#x0D;&#x0D;        vr=&quot;UI&quot;&gt;1.2.840.10008.5.1.4.1.1.2&lt;/tag00020002&gt;&lt;tag00020003&#x0D;&#x0D;        len=&quot;54&quot; tag=&quot;00020003&quot;&#x0D;&#x0D;        vr=&quot;UI&quot;&gt;1.2.840.113619.2.55.3.51013174.5775.1155986183.843.30&lt;/tag00020003&gt;&lt;tag00020010&#x0D;&#x0D;        len=&quot;20&quot; tag=&quot;00020010&quot;&#x0D;&#x0D;        vr=&quot;UI&quot;&gt;1.2.840.10008.1.2.1&lt;/tag00020010&gt;&lt;tag00020012 len=&quot;16&quot;&#x0D;&#x0D;        tag=&quot;00020012&quot; vr=&quot;UI&quot;&gt;1.2.40.0.13.1.1&lt;/tag00020012&gt;&lt;tag00020013&#x0D;&#x0D;        len=&quot;14&quot; tag=&quot;00020013&quot;&#x0D;&#x0D;        vr=&quot;SH&quot;&gt;dcm4che-1.3.21&lt;/tag00020013&gt;&lt;tag00080005 len=&quot;10&quot;&#x0D;&#x0D;        tag=&quot;00080005&quot; vr=&quot;CS&quot;&gt;ISO_IR 100&lt;/tag00080005&gt;&lt;tag00080016&#x0D;&#x0D;        len=&quot;26&quot; tag=&quot;00080016&quot;&#x0D;&#x0D;        vr=&quot;UI&quot;&gt;1.2.840.10008.5.1.4.1.1.2&lt;/tag00080016&gt;&lt;tag00080018&#x0D;&#x0D;        len=&quot;54&quot; tag=&quot;00080018&quot;&#x0D;&#x0D;        vr=&quot;UI&quot;&gt;1.2.840.113619.2.55.3.51013174.5775.1155986183.843.30&lt;/tag00080018&gt;&lt;tag00080020&#x0D;&#x0D;        len=&quot;8&quot; tag=&quot;00080020&quot;&#x0D;&#x0D;        vr=&quot;DA&quot;&gt;20060820&lt;/tag00080020&gt;&lt;tag00080030 len=&quot;14&quot;&#x0D;&#x0D;        tag=&quot;00080030&quot; vr=&quot;TM&quot;&gt;203310.000000&lt;/tag00080030&gt;&lt;tag00080050&#x0D;&#x0D;        len=&quot;0&quot; tag=&quot;00080050&quot; vr=&quot;SH&quot;/&gt;&lt;tag00080060 len=&quot;2&quot;&#x0D;&#x0D;        tag=&quot;00080060&quot; vr=&quot;CS&quot;&gt;CT&lt;/tag00080060&gt;&lt;tag00080090 len=&quot;2&quot;&#x0D;&#x0D;        tag=&quot;00080090&quot; vr=&quot;PN&quot;/&gt;&lt;tag0008103E len=&quot;4&quot; tag=&quot;0008103E&quot;&#x0D;&#x0D;        vr=&quot;LO&quot;&gt;HEAD&lt;/tag0008103E&gt;&lt;tag00100010 len=&quot;10&quot; tag=&quot;00100010&quot;&#x0D;&#x0D;        vr=&quot;PN&quot;&gt;Anonymous&lt;/tag00100010&gt;&lt;tag00100020 len=&quot;12&quot;&#x0D;&#x0D;        tag=&quot;00100020&quot; vr=&quot;LO&quot;&gt;Anonymous-ID&lt;/tag00100020&gt;&lt;tag00100030&#x0D;&#x0D;        len=&quot;8&quot; tag=&quot;00100030&quot;&#x0D;&#x0D;        vr=&quot;DA&quot;&gt;19340131&lt;/tag00100030&gt;&lt;tag00100040 len=&quot;2&quot;&#x0D;&#x0D;        tag=&quot;00100040&quot; vr=&quot;CS&quot;&gt;F&lt;/tag00100040&gt;&lt;tag00101010 len=&quot;4&quot;&#x0D;&#x0D;        tag=&quot;00101010&quot; vr=&quot;AS&quot;&gt;072Y&lt;/tag00101010&gt;&lt;tag00180022 len=&quot;10&quot;&#x0D;&#x0D;        tag=&quot;00180022&quot; vr=&quot;CS&quot;&gt;AXIAL MODE&lt;/tag00180022&gt;&lt;tag00180050&#x0D;&#x0D;        len=&quot;8&quot; tag=&quot;00180050&quot;&#x0D;&#x0D;        vr=&quot;DS&quot;&gt;5.000000&lt;/tag00180050&gt;&lt;tag00180060 len=&quot;4&quot;&#x0D;&#x0D;        tag=&quot;00180060&quot; vr=&quot;DS&quot;&gt;140&lt;/tag00180060&gt;&lt;tag00180090 len=&quot;10&quot;&#x0D;&#x0D;        tag=&quot;00180090&quot; vr=&quot;DS&quot;&gt;250.000000&lt;/tag00180090&gt;&lt;tag00181020&#x0D;&#x0D;        len=&quot;8&quot; tag=&quot;00181020&quot;&#x0D;&#x0D;        vr=&quot;LO&quot;&gt;06MW03.5&lt;/tag00181020&gt;&lt;tag00181030 len=&quot;18&quot;&#x0D;&#x0D;        tag=&quot;00181030&quot;&#x0D;&#x0D;        vr=&quot;LO&quot;&gt;1.1 HEAD (ROUTINE)&lt;/tag00181030&gt;&lt;tag00181100 len=&quot;10&quot;&#x0D;&#x0D;        tag=&quot;00181100&quot; vr=&quot;DS&quot;&gt;250.000000&lt;/tag00181100&gt;&lt;tag00181110&#x0D;&#x0D;        len=&quot;10&quot; tag=&quot;00181110&quot;&#x0D;&#x0D;        vr=&quot;DS&quot;&gt;949.075012&lt;/tag00181110&gt;&lt;tag00181111 len=&quot;10&quot;&#x0D;&#x0D;        tag=&quot;00181111&quot; vr=&quot;DS&quot;&gt;541.000000&lt;/tag00181111&gt;&lt;tag00181120&#x0D;&#x0D;        len=&quot;10&quot; tag=&quot;00181120&quot;&#x0D;&#x0D;        vr=&quot;DS&quot;&gt;24.500000&lt;/tag00181120&gt;&lt;tag00181130 len=&quot;10&quot;&#x0D;&#x0D;        tag=&quot;00181130&quot; vr=&quot;DS&quot;&gt;141.500000&lt;/tag00181130&gt;&lt;tag00181140&#x0D;&#x0D;        len=&quot;2&quot; tag=&quot;00181140&quot; vr=&quot;CS&quot;&gt;CW&lt;/tag00181140&gt;&lt;tag00181150&#x0D;&#x0D;        len=&quot;4&quot; tag=&quot;00181150&quot; vr=&quot;IS&quot;&gt;1000&lt;/tag00181150&gt;&lt;tag00181151&#x0D;&#x0D;        len=&quot;4&quot; tag=&quot;00181151&quot; vr=&quot;IS&quot;&gt;250&lt;/tag00181151&gt;&lt;tag00181152&#x0D;&#x0D;        len=&quot;4&quot; tag=&quot;00181152&quot; vr=&quot;IS&quot;&gt;125&lt;/tag00181152&gt;&lt;tag00181170&#x0D;&#x0D;        len=&quot;6&quot; tag=&quot;00181170&quot; vr=&quot;IS&quot;&gt;35000&lt;/tag00181170&gt;&lt;tag00181190&#x0D;&#x0D;        len=&quot;8&quot; tag=&quot;00181190&quot;&#x0D;&#x0D;        vr=&quot;DS&quot;&gt;0.700000&lt;/tag00181190&gt;&lt;tag00181210 len=&quot;8&quot;&#x0D;&#x0D;        tag=&quot;00181210&quot; vr=&quot;SH&quot;&gt;STANDARD&lt;/tag00181210&gt;&lt;tag00185100&#x0D;&#x0D;        len=&quot;4&quot; tag=&quot;00185100&quot; vr=&quot;CS&quot;&gt;HFS&lt;/tag00185100&gt;&lt;tag0020000D&#x0D;&#x0D;        len=&quot;50&quot; tag=&quot;0020000D&quot;&#x0D;&#x0D;        vr=&quot;UI&quot;&gt;1.2.840.113619.2.55.3.51013174.5775.1155986183.810&lt;/tag0020000D&gt;&lt;tag0020000E&#x0D;&#x0D;        len=&quot;50&quot; tag=&quot;0020000E&quot;&#x0D;&#x0D;        vr=&quot;UI&quot;&gt;1.2.840.113619.2.55.3.51013174.5775.1155986183.814&lt;/tag0020000E&gt;&lt;tag00200010&#x0D;&#x0D;        len=&quot;6&quot; tag=&quot;00200010&quot; vr=&quot;SH&quot;&gt;16410&lt;/tag00200010&gt;&lt;tag00200011&#x0D;&#x0D;        len=&quot;2&quot; tag=&quot;00200011&quot; vr=&quot;IS&quot;&gt;2&lt;/tag00200011&gt;&lt;tag00200012&#x0D;&#x0D;        len=&quot;2&quot; tag=&quot;00200012&quot; vr=&quot;IS&quot;&gt;15&lt;/tag00200012&gt;&lt;tag00200013&#x0D;&#x0D;        len=&quot;2&quot; tag=&quot;00200013&quot; vr=&quot;IS&quot;&gt;30&lt;/tag00200013&gt;&lt;tag00200032&#x0D;&#x0D;        len=&quot;34&quot; tag=&quot;00200032&quot;&#x0D;&#x0D;        vr=&quot;DS&quot;&gt;-125.000000\-113.745163\189.691376&lt;/tag00200032&gt;&lt;tag00200037&#x0D;&#x0D;        len=&quot;54&quot; tag=&quot;00200037&quot;&#x0D;&#x0D;        vr=&quot;DS&quot;&gt;1.000000\0.000000\0.000000\0.000000\0.909961\-0.414693&lt;/tag00200037&gt;&lt;tag00200052&#x0D;&#x0D;        len=&quot;60&quot; tag=&quot;00200052&quot;&#x0D;&#x0D;        vr=&quot;UI&quot;&gt;1.2.840.113619.2.55.3.51013174.5775.1155986183.811.7243.0.11&lt;/tag00200052&gt;&lt;tag00201040&#x0D;&#x0D;        len=&quot;2&quot; tag=&quot;00201040&quot; vr=&quot;LO&quot;&gt;OM&lt;/tag00201040&gt;&lt;tag00201041&#x0D;&#x0D;        len=&quot;10&quot; tag=&quot;00201041&quot;&#x0D;&#x0D;        vr=&quot;DS&quot;&gt;137.854721&lt;/tag00201041&gt;&lt;tag00280002 len=&quot;2&quot;&#x0D;&#x0D;        tag=&quot;00280002&quot; vr=&quot;US&quot;&gt;1&lt;/tag00280002&gt;&lt;tag00280004 len=&quot;12&quot;&#x0D;&#x0D;        tag=&quot;00280004&quot; vr=&quot;CS&quot;&gt;MONOCHROME2&lt;/tag00280004&gt;&lt;tag00280010&#x0D;&#x0D;        len=&quot;2&quot; tag=&quot;00280010&quot; vr=&quot;US&quot;&gt;512&lt;/tag00280010&gt;&lt;tag00280011&#x0D;&#x0D;        len=&quot;2&quot; tag=&quot;00280011&quot; vr=&quot;US&quot;&gt;512&lt;/tag00280011&gt;&lt;tag00280030&#x0D;&#x0D;        len=&quot;18&quot; tag=&quot;00280030&quot;&#x0D;&#x0D;        vr=&quot;DS&quot;&gt;0.488281\0.488281&lt;/tag00280030&gt;&lt;tag00280100 len=&quot;2&quot;&#x0D;&#x0D;        tag=&quot;00280100&quot; vr=&quot;US&quot;&gt;16&lt;/tag00280100&gt;&lt;tag00280101 len=&quot;2&quot;&#x0D;&#x0D;        tag=&quot;00280101&quot; vr=&quot;US&quot;&gt;16&lt;/tag00280101&gt;&lt;tag00280102 len=&quot;2&quot;&#x0D;&#x0D;        tag=&quot;00280102&quot; vr=&quot;US&quot;&gt;15&lt;/tag00280102&gt;&lt;tag00280103 len=&quot;2&quot;&#x0D;&#x0D;        tag=&quot;00280103&quot; vr=&quot;US&quot;&gt;1&lt;/tag00280103&gt;&lt;tag00280120 len=&quot;2&quot;&#x0D;&#x0D;        tag=&quot;00280120&quot; vr=&quot;SS&quot;&gt;-2000&lt;/tag00280120&gt;&lt;tag00281050 len=&quot;2&quot;&#x0D;&#x0D;        tag=&quot;00281050&quot; vr=&quot;DS&quot;&gt;40&lt;/tag00281050&gt;&lt;tag00281051 len=&quot;4&quot;&#x0D;&#x0D;        tag=&quot;00281051&quot; vr=&quot;DS&quot;&gt;250&lt;/tag00281051&gt;&lt;tag00281052 len=&quot;6&quot;&#x0D;&#x0D;        tag=&quot;00281052&quot; vr=&quot;DS&quot;&gt;-1024&lt;/tag00281052&gt;&lt;tag00281053 len=&quot;2&quot;&#x0D;&#x0D;        tag=&quot;00281053&quot; vr=&quot;DS&quot;&gt;1&lt;/tag00281053&gt;&lt;tag00281054 len=&quot;2&quot;&#x0D;&#x0D;        tag=&quot;00281054&quot; vr=&quot;LO&quot;&gt;HU&lt;/tag00281054&gt;&lt;tag00282110 len=&quot;2&quot;&#x0D;&#x0D;        tag=&quot;00282110&quot; vr=&quot;CS&quot;&gt;00&lt;/tag00282110&gt;&lt;/dicom&gt;&#x0D;&#x0D;</inboundTemplate>
      <outboundTemplate>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#x0D;&#x0D;&lt;dicom&gt;&lt;tag00020000 len=&quot;4&quot; tag=&quot;00020000&quot;&#x0D;&#x0D;        vr=&quot;UL&quot;&gt;184&lt;/tag00020000&gt;&lt;tag00020001 len=&quot;2&quot; tag=&quot;00020001&quot;&#x0D;&#x0D;        vr=&quot;OB&quot;&gt;00\01&lt;/tag00020001&gt;&lt;tag00020002 len=&quot;26&quot; tag=&quot;00020002&quot;&#x0D;&#x0D;        vr=&quot;UI&quot;&gt;1.2.840.10008.5.1.4.1.1.2&lt;/tag00020002&gt;&lt;tag00020003&#x0D;&#x0D;        len=&quot;54&quot; tag=&quot;00020003&quot;&#x0D;&#x0D;        vr=&quot;UI&quot;&gt;1.2.840.113619.2.55.3.51013174.5775.1155986183.843.30&lt;/tag00020003&gt;&lt;tag00020010&#x0D;&#x0D;        len=&quot;20&quot; tag=&quot;00020010&quot;&#x0D;&#x0D;        vr=&quot;UI&quot;&gt;1.2.840.10008.1.2.1&lt;/tag00020010&gt;&lt;tag00020012 len=&quot;16&quot;&#x0D;&#x0D;        tag=&quot;00020012&quot; vr=&quot;UI&quot;&gt;1.2.40.0.13.1.1&lt;/tag00020012&gt;&lt;tag00020013&#x0D;&#x0D;        len=&quot;14&quot; tag=&quot;00020013&quot;&#x0D;&#x0D;        vr=&quot;SH&quot;&gt;dcm4che-1.3.21&lt;/tag00020013&gt;&lt;tag00080005 len=&quot;10&quot;&#x0D;&#x0D;        tag=&quot;00080005&quot; vr=&quot;CS&quot;&gt;ISO_IR 100&lt;/tag00080005&gt;&lt;tag00080016&#x0D;&#x0D;        len=&quot;26&quot; tag=&quot;00080016&quot;&#x0D;&#x0D;        vr=&quot;UI&quot;&gt;1.2.840.10008.5.1.4.1.1.2&lt;/tag00080016&gt;&lt;tag00080018&#x0D;&#x0D;        len=&quot;54&quot; tag=&quot;00080018&quot;&#x0D;&#x0D;        vr=&quot;UI&quot;&gt;1.2.840.113619.2.55.3.51013174.5775.1155986183.843.30&lt;/tag00080018&gt;&lt;tag00080020&#x0D;&#x0D;        len=&quot;8&quot; tag=&quot;00080020&quot;&#x0D;&#x0D;        vr=&quot;DA&quot;&gt;20060820&lt;/tag00080020&gt;&lt;tag00080030 len=&quot;14&quot;&#x0D;&#x0D;        tag=&quot;00080030&quot; vr=&quot;TM&quot;&gt;203310.000000&lt;/tag00080030&gt;&lt;tag00080050&#x0D;&#x0D;        len=&quot;0&quot; tag=&quot;00080050&quot; vr=&quot;SH&quot;/&gt;&lt;tag00080060 len=&quot;2&quot;&#x0D;&#x0D;        tag=&quot;00080060&quot; vr=&quot;CS&quot;&gt;CT&lt;/tag00080060&gt;&lt;tag00080090 len=&quot;2&quot;&#x0D;&#x0D;        tag=&quot;00080090&quot; vr=&quot;PN&quot;/&gt;&lt;tag0008103E len=&quot;4&quot; tag=&quot;0008103E&quot;&#x0D;&#x0D;        vr=&quot;LO&quot;&gt;HEAD&lt;/tag0008103E&gt;&lt;tag00100010 len=&quot;10&quot; tag=&quot;00100010&quot;&#x0D;&#x0D;        vr=&quot;PN&quot;&gt;Anonymous&lt;/tag00100010&gt;&lt;tag00100020 len=&quot;12&quot;&#x0D;&#x0D;        tag=&quot;00100020&quot; vr=&quot;LO&quot;&gt;Anonymous-ID&lt;/tag00100020&gt;&lt;tag00100030&#x0D;&#x0D;        len=&quot;8&quot; tag=&quot;00100030&quot;&#x0D;&#x0D;        vr=&quot;DA&quot;&gt;19340131&lt;/tag00100030&gt;&lt;tag00100040 len=&quot;2&quot;&#x0D;&#x0D;        tag=&quot;00100040&quot; vr=&quot;CS&quot;&gt;F&lt;/tag00100040&gt;&lt;tag00101010 len=&quot;4&quot;&#x0D;&#x0D;        tag=&quot;00101010&quot; vr=&quot;AS&quot;&gt;072Y&lt;/tag00101010&gt;&lt;tag00180022 len=&quot;10&quot;&#x0D;&#x0D;        tag=&quot;00180022&quot; vr=&quot;CS&quot;&gt;AXIAL MODE&lt;/tag00180022&gt;&lt;tag00180050&#x0D;&#x0D;        len=&quot;8&quot; tag=&quot;00180050&quot;&#x0D;&#x0D;        vr=&quot;DS&quot;&gt;5.000000&lt;/tag00180050&gt;&lt;tag00180060 len=&quot;4&quot;&#x0D;&#x0D;        tag=&quot;00180060&quot; vr=&quot;DS&quot;&gt;140&lt;/tag00180060&gt;&lt;tag00180090 len=&quot;10&quot;&#x0D;&#x0D;        tag=&quot;00180090&quot; vr=&quot;DS&quot;&gt;250.000000&lt;/tag00180090&gt;&lt;tag00181020&#x0D;&#x0D;        len=&quot;8&quot; tag=&quot;00181020&quot;&#x0D;&#x0D;        vr=&quot;LO&quot;&gt;06MW03.5&lt;/tag00181020&gt;&lt;tag00181030 len=&quot;18&quot;&#x0D;&#x0D;        tag=&quot;00181030&quot;&#x0D;&#x0D;        vr=&quot;LO&quot;&gt;1.1 HEAD (ROUTINE)&lt;/tag00181030&gt;&lt;tag00181100 len=&quot;10&quot;&#x0D;&#x0D;        tag=&quot;00181100&quot; vr=&quot;DS&quot;&gt;250.000000&lt;/tag00181100&gt;&lt;tag00181110&#x0D;&#x0D;        len=&quot;10&quot; tag=&quot;00181110&quot;&#x0D;&#x0D;        vr=&quot;DS&quot;&gt;949.075012&lt;/tag00181110&gt;&lt;tag00181111 len=&quot;10&quot;&#x0D;&#x0D;        tag=&quot;00181111&quot; vr=&quot;DS&quot;&gt;541.000000&lt;/tag00181111&gt;&lt;tag00181120&#x0D;&#x0D;        len=&quot;10&quot; tag=&quot;00181120&quot;&#x0D;&#x0D;        vr=&quot;DS&quot;&gt;24.500000&lt;/tag00181120&gt;&lt;tag00181130 len=&quot;10&quot;&#x0D;&#x0D;        tag=&quot;00181130&quot; vr=&quot;DS&quot;&gt;141.500000&lt;/tag00181130&gt;&lt;tag00181140&#x0D;&#x0D;        len=&quot;2&quot; tag=&quot;00181140&quot; vr=&quot;CS&quot;&gt;CW&lt;/tag00181140&gt;&lt;tag00181150&#x0D;&#x0D;        len=&quot;4&quot; tag=&quot;00181150&quot; vr=&quot;IS&quot;&gt;1000&lt;/tag00181150&gt;&lt;tag00181151&#x0D;&#x0D;        len=&quot;4&quot; tag=&quot;00181151&quot; vr=&quot;IS&quot;&gt;250&lt;/tag00181151&gt;&lt;tag00181152&#x0D;&#x0D;        len=&quot;4&quot; tag=&quot;00181152&quot; vr=&quot;IS&quot;&gt;125&lt;/tag00181152&gt;&lt;tag00181170&#x0D;&#x0D;        len=&quot;6&quot; tag=&quot;00181170&quot; vr=&quot;IS&quot;&gt;35000&lt;/tag00181170&gt;&lt;tag00181190&#x0D;&#x0D;        len=&quot;8&quot; tag=&quot;00181190&quot;&#x0D;&#x0D;        vr=&quot;DS&quot;&gt;0.700000&lt;/tag00181190&gt;&lt;tag00181210 len=&quot;8&quot;&#x0D;&#x0D;        tag=&quot;00181210&quot; vr=&quot;SH&quot;&gt;STANDARD&lt;/tag00181210&gt;&lt;tag00185100&#x0D;&#x0D;        len=&quot;4&quot; tag=&quot;00185100&quot; vr=&quot;CS&quot;&gt;HFS&lt;/tag00185100&gt;&lt;tag0020000D&#x0D;&#x0D;        len=&quot;50&quot; tag=&quot;0020000D&quot;&#x0D;&#x0D;        vr=&quot;UI&quot;&gt;1.2.840.113619.2.55.3.51013174.5775.1155986183.810&lt;/tag0020000D&gt;&lt;tag0020000E&#x0D;&#x0D;        len=&quot;50&quot; tag=&quot;0020000E&quot;&#x0D;&#x0D;        vr=&quot;UI&quot;&gt;1.2.840.113619.2.55.3.51013174.5775.1155986183.814&lt;/tag0020000E&gt;&lt;tag00200010&#x0D;&#x0D;        len=&quot;6&quot; tag=&quot;00200010&quot; vr=&quot;SH&quot;&gt;16410&lt;/tag00200010&gt;&lt;tag00200011&#x0D;&#x0D;        len=&quot;2&quot; tag=&quot;00200011&quot; vr=&quot;IS&quot;&gt;2&lt;/tag00200011&gt;&lt;tag00200012&#x0D;&#x0D;        len=&quot;2&quot; tag=&quot;00200012&quot; vr=&quot;IS&quot;&gt;15&lt;/tag00200012&gt;&lt;tag00200013&#x0D;&#x0D;        len=&quot;2&quot; tag=&quot;00200013&quot; vr=&quot;IS&quot;&gt;30&lt;/tag00200013&gt;&lt;tag00200032&#x0D;&#x0D;        len=&quot;34&quot; tag=&quot;00200032&quot;&#x0D;&#x0D;        vr=&quot;DS&quot;&gt;-125.000000\-113.745163\189.691376&lt;/tag00200032&gt;&lt;tag00200037&#x0D;&#x0D;        len=&quot;54&quot; tag=&quot;00200037&quot;&#x0D;&#x0D;        vr=&quot;DS&quot;&gt;1.000000\0.000000\0.000000\0.000000\0.909961\-0.414693&lt;/tag00200037&gt;&lt;tag00200052&#x0D;&#x0D;        len=&quot;60&quot; tag=&quot;00200052&quot;&#x0D;&#x0D;        vr=&quot;UI&quot;&gt;1.2.840.113619.2.55.3.51013174.5775.1155986183.811.7243.0.11&lt;/tag00200052&gt;&lt;tag00201040&#x0D;&#x0D;        len=&quot;2&quot; tag=&quot;00201040&quot; vr=&quot;LO&quot;&gt;OM&lt;/tag00201040&gt;&lt;tag00201041&#x0D;&#x0D;        len=&quot;10&quot; tag=&quot;00201041&quot;&#x0D;&#x0D;        vr=&quot;DS&quot;&gt;137.854721&lt;/tag00201041&gt;&lt;tag00280002 len=&quot;2&quot;&#x0D;&#x0D;        tag=&quot;00280002&quot; vr=&quot;US&quot;&gt;1&lt;/tag00280002&gt;&lt;tag00280004 len=&quot;12&quot;&#x0D;&#x0D;        tag=&quot;00280004&quot; vr=&quot;CS&quot;&gt;MONOCHROME2&lt;/tag00280004&gt;&lt;tag00280010&#x0D;&#x0D;        len=&quot;2&quot; tag=&quot;00280010&quot; vr=&quot;US&quot;&gt;512&lt;/tag00280010&gt;&lt;tag00280011&#x0D;&#x0D;        len=&quot;2&quot; tag=&quot;00280011&quot; vr=&quot;US&quot;&gt;512&lt;/tag00280011&gt;&lt;tag00280030&#x0D;&#x0D;        len=&quot;18&quot; tag=&quot;00280030&quot;&#x0D;&#x0D;        vr=&quot;DS&quot;&gt;0.488281\0.488281&lt;/tag00280030&gt;&lt;tag00280100 len=&quot;2&quot;&#x0D;&#x0D;        tag=&quot;00280100&quot; vr=&quot;US&quot;&gt;16&lt;/tag00280100&gt;&lt;tag00280101 len=&quot;2&quot;&#x0D;&#x0D;        tag=&quot;00280101&quot; vr=&quot;US&quot;&gt;16&lt;/tag00280101&gt;&lt;tag00280102 len=&quot;2&quot;&#x0D;&#x0D;        tag=&quot;00280102&quot; vr=&quot;US&quot;&gt;15&lt;/tag00280102&gt;&lt;tag00280103 len=&quot;2&quot;&#x0D;&#x0D;        tag=&quot;00280103&quot; vr=&quot;US&quot;&gt;1&lt;/tag00280103&gt;&lt;tag00280120 len=&quot;2&quot;&#x0D;&#x0D;        tag=&quot;00280120&quot; vr=&quot;SS&quot;&gt;-2000&lt;/tag00280120&gt;&lt;tag00281050 len=&quot;2&quot;&#x0D;&#x0D;        tag=&quot;00281050&quot; vr=&quot;DS&quot;&gt;40&lt;/tag00281050&gt;&lt;tag00281051 len=&quot;4&quot;&#x0D;&#x0D;        tag=&quot;00281051&quot; vr=&quot;DS&quot;&gt;250&lt;/tag00281051&gt;&lt;tag00281052 len=&quot;6&quot;&#x0D;&#x0D;        tag=&quot;00281052&quot; vr=&quot;DS&quot;&gt;-1024&lt;/tag00281052&gt;&lt;tag00281053 len=&quot;2&quot;&#x0D;&#x0D;        tag=&quot;00281053&quot; vr=&quot;DS&quot;&gt;1&lt;/tag00281053&gt;&lt;tag00281054 len=&quot;2&quot;&#x0D;&#x0D;        tag=&quot;00281054&quot; vr=&quot;LO&quot;&gt;HU&lt;/tag00281054&gt;&lt;tag00282110 len=&quot;2&quot;&#x0D;&#x0D;        tag=&quot;00282110&quot; vr=&quot;CS&quot;&gt;00&lt;/tag00282110&gt;&lt;/dicom&gt;&#x0D;&#x0D;</outboundTemplate>
      <inboundProtocol>DICOM</inboundProtocol>
      <outboundProtocol>DICOM</outboundProtocol>
      <inboundProperties/>
      <outboundProperties/>
    </transformer>
    <filter>
      <rules/>
    </filter>
    <transportName>File Reader</transportName>
    <mode>SOURCE</mode>
    <enabled>true</enabled>
  </sourceConnector>
  <destinationConnectors>
    <com.webreach.mirth.model.Connector>
      <name>Destination 2</name>
      <properties>
        <property name="binary">0</property>
        <property name="charsetEncoding">DEFAULT_ENCODING</property>
        <property name="host">c:/dicom</property>
        <property name="outputPattern">dicom.txt</property>
        <property name="DataType">File Writer</property>
        <property name="template">${modality}
${age}
${exposure}
${tubecurrent}
${mas}
${newage}</property>
        <property name="outputAppend">1</property>
      </properties>
      <transformer>
        <steps/>
        <inboundProtocol>DICOM</inboundProtocol>
        <outboundProtocol>DICOM</outboundProtocol>
        <inboundProperties/>
      </transformer>
      <filter>
        <rules/>
      </filter>
      <transportName>File Writer</transportName>
      <mode>DESTINATION</mode>
      <enabled>true</enabled>
    </com.webreach.mirth.model.Connector>
    <com.webreach.mirth.model.Connector>
      <name>Destination 1</name>
      <properties>
        <property name="host">query</property>
        <property name="query">INSERT INTO dosings (modality, age, exposure, tubecurrent, mas, kvp ) VALUES (${modality},${newage},${exposure},${tubecurrent},${mas},${kvp});</property>
        <property name="username">root</property>
        <property name="password">siim</property>
        <property name="driver">com.mysql.jdbc.Driver</property>
        <property name="script"></property>
        <property name="DataType">Database Writer</property>
        <property name="URL">jdbc:mysql://localhost:3306/peds_alara</property>
        <property name="useScript">0</property>
      </properties>
      <transformer>
        <steps/>
        <inboundProtocol>DICOM</inboundProtocol>
        <outboundProtocol>DICOM</outboundProtocol>
        <inboundProperties/>
      </transformer>
      <filter>
        <rules/>
      </filter>
      <transportName>Database Writer</transportName>
      <mode>DESTINATION</mode>
      <enabled>true</enabled>
    </com.webreach.mirth.model.Connector>
  </destinationConnectors>
  <properties>
    <property name="synchronous">true</property>
    <property name="removeNamespace">true</property>
    <property name="encryptData">false</property>
    <property name="store_messages">true</property>
    <property name="dont_store_filtered">false</property>
    <property name="initialState">started</property>
    <property name="max_message_age">7</property>
    <property name="transactional">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>