Announcement

Collapse

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

Channel Message Error oh HL7 Header

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Channel Message Error oh HL7 Header

    I am using Mirth version 1.6.1.2750 which I just downloaded. I get a Serializer Exception error from the HL7 header when I attempt to load the data file. The error I am getting is:

    FAILURE: Error evaluating transformer
    SerializerException
    java.lang.ArrayIndexOutOfBoundsException: 2

    The actual HL7 file header is this:
    FHS|^~\&|di_PROTON|1|||200801231516||||||
    BHS|^~\&|di_PROTON|1|||200801231516||1||1||
    MSH|^~\&|di_PROTON|1|||200801231516||DFT^P03||P|2. 2|||NE|NE||
    EVN|PO3|200801231516||APP||

    I highlighted the second line of the header that starts "BHS" as I beleive this line is causing the problem. If I remove this single line, the file processes normally. Is this a non-standard HL7 format or something?

  • #2
    Re:Channel Message Error oh HL7 Header

    The structure of an HL7 batch file is given by the following (using the HL7 abstract message syntax)

    [FHS] (file header segment)
    { [BHS] (batch header segment)
    { [MSH (zero or more HL7 messages)
    ....
    ....
    ....
    ] }
    [BTS] (batch trailer segment)
    }
    [FTS] (file trailer segment)

    Further info on HL7 batch protocol:
    http://www.uhc.com.pl/teksty/HL7/ch200121.htm

    and here:
    http://www.uhc.com.pl/teksty/HL7/ch200136.htm#E12E121
    ....for some info on the BHS header segment

    The BHS header segment looks okay to me.

    It seems the exception was thrown to indicate that an array has been accessed with an illegal index. The index is either negative or greater than or equal to the size of the array....out of bounds...

    I am adding some information here, but not an answer.

    Comment

    Working...
    X