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

Mirth problem with a compound hl7-message.

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

  • Mirth problem with a compound hl7-message.

    Hello,

    my channel gets a hl7-message (I'll call it main message). The main message itself consists of two or more hl7-sub-messages and Mirth has problems with interpreting that main message(saying message is not well-formed). Do you have any idea how to tell Mirth to interpret the first sub-message from the main message, then the second sub-message, end so on. Here is my main message
    (consisting of two sub-messages)

    MSH|^~\&|NK HL7|NIHON KOHDEN HL7|MEDITECH ID|MEDITECH NAME|||ORU^R01|20080325135436|P|2.3.1||||||ASCII|| ASCII
    PID|||1|||||
    ORC|RE|
    OBR|1|||VITAL|||20080325135430||||||||||||||||||A
    OBX|1|NM|001000^VITAL HR||78|bpm|-||||O|||20080325135430|||
    OBX|2|NM|002000^VITAL VPC||0|/min|-||||O|||20080325135430|||
    OBX|3|NM|003001^VITAL ST2||-0.05|mV|-||||O|||20080325135430|||
    OBX|4|NM|007000^VITAL SpO2||99|%|-||||O|||20080325135430|||
    OBX|5|NM|007001^VITAL PR(spo2)||78|/min|-||||O|||20080325135430|||
    OBX|6|NM|027000^VITAL TEMP||36.4|C|-||||O|||20080325135430|||
    OBX|7|NM|028000^VITAL TEMP2||33.4|C|-||||O|||20080325135430|||
    OBX|8|NM|037000^VITAL dT1||3.0|C|-||||O|||20080325135430|||
    OBX|9|NM|044000^VITAL ART(S)||175|mmHg|-||||O|||20080325135430|||
    OBX|10|NM|044001^VITAL ART(D)||136|mmHg|-||||O|||20080325135430|||
    OBX|11|NM|044002^VITAL ART(M)||150|mmHg|-||||O|||20080325135430|||
    OBX|12|NM|052000^VITAL PAP(S)||39|mmHg|-||||O|||20080325135430|||
    OBX|13|NM|052001^VITAL PAP(D)||20|mmHg|-||||O|||20080325135430|||
    OBX|14|NM|052002^VITAL PAP(M)||27|mmHg|-||||O|||20080325135430|||
    OBX|15|NM|053000^VITAL CVP(S)||31|mmHg|-||||O|||20080325135430|||
    OBX|16|NM|053001^VITAL CVP(D)||12|mmHg|-||||O|||20080325135430|||
    OBX|17|NM|053002^VITAL CVP(M)||19|mmHg|-||||O|||20080325135430|||
    OBX|18|NM|058000^VITAL ICP(S)||14|mmHg|-||||O|||20080325135430|||
    OBX|19|NM|058001^VITAL ICP(D)||2|mmHg|-||||O|||20080325135430|||
    OBX|20|NM|058002^VITAL ICP(M)||6|mmHg|-||||O|||20080325135430|||
    OBX|21|NM|072007^VITAL rPR(spo2)||78|/min|-||||O|||20080325135430|||
    MSH|^~\&|NK HL7|NIHON KOHDEN HL7|MEDITECH ID|MEDITECH NAME|||ORU^R01|20080325135436|P|2.3.1||||||ASCII|| ASCII
    PID|||2|||||
    ORC|RE|
    OBR|1|||VITAL|||20080325135430||||||||||||||||||A
    OBX|1|NM|001000^VITAL HR||78|bpm|-||||O|||20080325135430|||
    OBX|2|NM|002000^VITAL VPC||0|/min|-||||O|||20080325135430|||
    OBX|3|NM|003001^VITAL ST2||-0.02|mV|-||||O|||20080325135430|||
    OBX|4|NM|004000^VITAL RESP||13|/min|-||||O|||20080325135430|||
    OBX|5|NM|004001^VITAL APSEC(RESP)||1|sec|-||||O|||20080325135430|||
    OBX|6|NM|004005^VITAL rRESP(inp)||13|/min|-||||O|||20080325135430|||
    OBX|7|NM|005000^VITAL RESP||13|/min|-||||O|||20080325135430|||
    OBX|8|NM|005001^VITAL APSEC(RESP)||1|sec|-||||O|||20080325135430|||
    OBX|9|NM|007000^VITAL SpO2||96|%|-||||O|||20080325135430|||
    OBX|10|NM|007001^VITAL PR(spo2)||80|/min|-||||O|||20080325135430|||
    OBX|11|NM|027000^VITAL TEMP||36.4|C|-||||O|||20080325135430|||
    OBX|12|NM|062000^VITAL PRESS(S)||143|mmHg|-||||O|||20080325135430|||
    OBX|13|NM|062001^VITAL PRESS(D)||26|mmHg|-||||O|||20080325135430|||
    OBX|14|NM|062002^VITAL PRESS(M)||68|mmHg|-||||O|||20080325135430|||
    OBX|15|NM|072007^VITAL rPR(spo2)||80|/min|-||||O|||20080325135430|||

    Thanks,

    Svetlomir
    

  • #2
    Re:Mirth problem with a compound hl7-message.

    This is a batch.

    You can use the pre-processor to split the message, and adding the "process batch" optiont int he incoming protocol.

    Comment


    • #3
      Re:Mirth problem with a compound hl7-message.

      Any example of code to do the split?

      I have the same need: I receive a HL7 file with N multiples PID segment and I have to split in N different messages.

      Thanks a lot.
      Fran├žois.

      Comment

      Working...
      X