Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Yes, There exist a way to combine those messages in a single file. You can do that using any integration engine, I will take <code>Mirth</code> in this case. Follow these steps in sequential order</p> <ul> <li>Download Mirth Connect from <a href="http://www.mirthcorp.com/community/downloads" rel="nofollow">here</a> using the <code>.exe</code> installer (in case you don't have it).</li> <li>Setup your account and do initial configuration on your local system.</li> <li>Create a Channel called <code>Appending Channel</code>, put Source inbound and outbound connector as <code>HL7v2.x</code>.</li> <li>Go to Source Tab, Put Connector type as File Reader. Give the location of the directory where your messages will reside(<code>D:\x\read</code> in my case). Make sure you have the directory <strong>shared</strong></li> <li>You can make Delete file after read as a Yes, which will prune the files after they are read from this location.If you do a NO, then specify where you want to move those files to.</li> <li>Put Process Batch files as a No.</li> <li>Go to Destinations tab, create a Destination called as Appender and make it a File Writer type.</li> <li>Give the directory(<code>D:\x\Output</code> in my case) where your final file will be placed.Give the file name as <code>final.txt</code>.</li> <li>Choose Append on the file exists tab.</li> <li>In Template, Drag Raw Data from the list on the right hand side, and put it here or else what you can do is type <code>${message.rawData}</code> in the template section.</li> <li>Save Channel and Deploy it.</li> <li>Place all your messages in the read folder (mentioned above), and wait for Mirth to poll the folder (default setting is <code>1000 ms</code>).</li> <li>Once that is done, go to <code>final.txt</code> to see all the messages appended in the same file.</li> </ul> <p>The downside is that even though this process is 100 percent working, the message thus appended will not be seperated by any means. So it will look like below </p> <p><code>|2688684|||||||||||||||||||||||||199912271408||||||002376853MSH|^~\&amp;|EPIC|EPICADT|</code></p> <pre><code> ^ End of first message </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload