Mirth Connect 3.12.0 Released!

Mirth Connect 3.12.0 is now available as an appliance update and on our GitHub page. This release includes database performance improvements, improves visual HL7 representation, message pruning, keystore handling, PDF generation, community contributions, and fixes several security vulnerabilities. This release also contains many improvements to commercial extensions. See the release notes for the list of fixes and updates.

Download | See What's New | Upgrade Guide | Release Notes

For discussion on this release, see this thread.
See more
See less


  • Filter
  • Time
  • Show
Clear All
new posts

  • JSON to EDI X12

    Hello everyone,

    I was recently tasked with converting a JSON file to EDI X12 using Mirth Connect (if this is even possible). I was looking for a template channel online but haven't found one. My biggest concern is configuring the channel to begin the process. If any of you have any resources or ideas, it would be much appreciated it.

  • #2

    I am also looking for the same, EDI x12 to JSON using Mirth connect. Could you please post the channel if you got?


    • #3
      monica Please read the forum etiquette at Note bullet 8 and 10.

      Also, in general x12 processing in Mirth is quite difficult to the point many folks use a different integration engine.
      Last edited by pacmano; 10-12-2021, 08:24 AM.
      Diridium Technologies, Inc.


      • #4
        monica What have you been able to do already? are you seeing some errors?


        Mirth Certified|Epic Bridges Certified|Cloverleaf Level 2 Certified

        Appliance Version 3.11.4
        Mirth Connect Version 3.8.0
        Java Version 1.6.0_45-b06
        Java (64 bit) Version 1.6.0_45-b06
        Java 7 (64 bit) Version 1.7.0_151-b15
        Java 8 (64 bit) Version 1.8.0_181-b13
        PostgreSQL Version 9.6.8


        • #5

          I am trying to transform the EDI x12 message to FHIR format but couldn't achieve it.

          I have followed the below steps:

          1. Created a channel with datatypes as inbound - EDI X12 and outboud - FHIR
          2. In source tab - I have selected Channel Reader
          3. In destination table - I have selected Channedl Writter.
          4. I have saved and deployed.
          5. sent a EDI message and I got a error.(attached the error screenshot)

          Can you please help me if I am giving wrong EDI message or doing any wrong

          Attached is the EDI sample message which I am trying to send. Highly appreciated it if anyone could post the sample EDI message too. I can take it as a reference and try it.
          Attached Files


          • #6
            You have to write all the transformations. In other words you need to parse the x12 message and its iterations, grab the fields you need and put them in the correct place in the oubound FHIR message.

            I think you have a fundamental misunderstanding of Mirth. There is no "Easy Button" that translates from one format to another. I would suggest you take the Mirth classes but also see
            Last edited by pacmano; 10-12-2021, 10:33 AM.
            Diridium Technologies, Inc.


            • #7
              pacmano Can you give us pointers for good learning sessions on Mirth (EDI to FHIR and viceversa).


              • #8
                If you have little to no experience I urge you to hire a senior consultant. As for “training sessions” I don’t know of any.
                Diridium Technologies, Inc.