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

SIU^12 message not supported

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

  • SIU^12 message not supported

    Hey,
    I was trying to add an SIU^S12 sample message in the Source transform -> Incoming message tab in one of my channels. This is the first time I'm trying to use an SIU-S12 message type. But, in the bottom window I get the message, "The message pasted above does not appear to be valid HL7 v2.x.". I don't see any incompatibility of this S12 message with HL7 v.2.3. It works if Non-Strict parsing is enabled. But I need to work in "Strict Parse mode". Can somebody correct this S12 message and make this compatible with HL7 V.2.3 or can someone post a sample SIU-S12 message so that I can study and get the correct format of message. I'm posting the errored message below. Thanks in advance.

    Regards,
    Kurian.

  • #2
    Re:SIU^12 message not supported

    MSH|^~\&|SAP^SAP^GUID||EB^EB^GUID||20010520173800| |SIU^S12|93710600|P|2.3|AL|NE
    SCH|Placer001|Filler001|||||^Unklare Beschwerden||||^^^20010701100000^20010701103000
    PID|1||001000||TEST^TEST^TEST^^^TEST|Schulz|196708 08|M|||||(089) 14002243|(089) 1234|||||198708080150||||München|||||D|20020131063 000
    PV1|1||||||||||||||||||10100
    DG1|1|||Akuter Bauch
    DG1|2|||Durchfall
    DG1|3|||Blut im Stuhl
    RGS|1
    AIS|1||^COLO
    AIG|1|||^Medikament 3||1.5|^Amp
    AIG|2|||^Medikament 4||3|^cm3
    AIL|1||^^^^^^^^Room 2||^Endo
    AIP|1||D100^Müller^Heiner^^^Dr.

    This was the "incompatible" message that I was trying to include in the transform tab. Do suggest some ideas.

    Regards,
    Kurian.

    Comment


    • #3
      Re:SIU^12 message not supported

      Hrm.

      The message looks OK to me, but if it works when strict parsing is off that means something is wrong with it.

      Question to all: Is there some way to make the strict parser tell where the errors are??
      Jon Bartels

      Zen is hiring!!!!
      http://consultzen.com/careers/
      Talented healthcare IT professionals wanted. Engineers to sales to management.
      Good benefits, great working environment, genuinely interesting work.

      Comment


      • #4
        Re:SIU^12 message not supported

        Looks like the message is missing a back slash in MSH|^~&|

        Try this:

        Code:
        MSH|^~&|SAP^SAP^GUID||EB^EB^GUID||20010520173800||SIU^S12|93710600|P|2.3|AL|NE
        SCH|Placer001|Filler001|||||^Unklare Beschwerden||||^^^20010701100000^20010701103000
        PID|1||001000||TEST^TEST^TEST^^^TEST|Schulz|19670808|M|||||(089) 14002243|(089) 1234|||||198708080150||||München|||||D|20020131063000
        PV1|1||||||||||||||||||10100
        DG1|1|||Akuter Bauch
        DG1|2|||Durchfall
        DG1|3|||Blut im Stuhl
        RGS|1
        AIS|1||^COLO
        AIG|1|||^Medikament 3||1.5|^Amp
        AIG|2|||^Medikament 4||3|^cm3
        AIL|1||^^^^^^^^Room 2||^Endo
        AIP|1||D100^Müller^Heiner^^^Dr.
        The forum is stripping off back slash. The MSH should be:
        MSH|^~BACK_SLASH_HERE&|

        Post edited by: nshaik, at: 12/25/2007 09:49

        Comment


        • #5
          Re:SIU^12 message not supported

          There is no mandatory value for the MSH.1. The default values are recommended but you can choose the separators.
          I test the message and here is the error:

          Code:
          ERROR-300: Transformer error
          ERROR MESSAGE:	Error evaluating transformer
          com.webreach.mirth.server.MirthJavascriptTransformerException: 
          CHANNEL:	LLP2File
          CONNECTOR:	Destination 1
          SCRIPT SOURCE:	
          LINE NUMBER:	33
          DETAILS:	TypeError: Cannot read property "DG1.1" from undefined
          	at com.webreach.mirth.server.mule.transformers.JavaScriptTransformer.evaluateScript(JavaScriptTransformer.java:379)
          	at com.webreach.mirth.server.mule.transformers.JavaScriptTransformer.transform(JavaScriptTransformer.java:289)
          	at org.mule.transformers.AbstractEventAwareTransformer.doTransform(AbstractEventAwareTransformer.java:48)
          	at org.mule.transformers.AbstractTransformer.transform(AbstractTransformer.java:197)
          	at org.mule.impl.MuleEvent.getTransformedMessage(MuleEvent.java:251)
          	at com.webreach.mirth.server.controllers.MessageObjectController.getMessageObjectFromEvent(MessageObjectController.java:507)
          	at com.webreach.mirth.connectors.file.FileMessageDispatcher.doDispatch(FileMessageDispatcher.java:74)
          	at com.webreach.mirth.connectors.file.FileMessageDispatcher.doSend(FileMessageDispatcher.java:208)
          	at org.mule.providers.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:166)
          	at org.mule.impl.MuleSession.sendEvent(MuleSession.java:191)
          	at org.mule.impl.MuleSession.sendEvent(MuleSession.java:130)
          	at org.mule.routing.outbound.AbstractOutboundRouter.send(AbstractOutboundRouter.java:85)
          	at org.mule.routing.outbound.FilteringMulticastingRouter.route(FilteringMulticastingRouter.java:89)
          	at org.mule.routing.outbound.OutboundMessageRouter$1.doInTransaction(OutboundMessageRouter.java:78)
          	at org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:48)
          	at org.mule.routing.outbound.OutboundMessageRouter.route(OutboundMessageRouter.java:82)
          	at org.mule.impl.model.DefaultMuleProxy.onCall(DefaultMuleProxy.java:247)
          	at org.mule.impl.model.seda.SedaComponent.doSend(SedaComponent.java:209)
          	at org.mule.impl.model.AbstractComponent.sendEvent(AbstractComponent.java:277)
          	at org.mule.impl.MuleSession.sendEvent(MuleSession.java:201)
          	at org.mule.routing.inbound.InboundMessageRouter.send(InboundMessageRouter.java:161)
          	at org.mule.routing.inbound.InboundMessageRouter.route(InboundMessageRouter.java:128)
          	at org.mule.providers.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:493)
          	at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:272)
          	at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:244)
          	at com.webreach.mirth.connectors.mllp.MllpMessageReceiver$TcpWorker.processHL7Data(MllpMessageReceiver.java:440)
          	at com.webreach.mirth.connectors.mllp.MllpMessageReceiver$TcpWorker.processData(MllpMessageReceiver.java:419)
          	at com.webreach.mirth.connectors.mllp.MllpMessageReceiver$TcpWorker.run(MllpMessageReceiver.java:340)
          	at org.mule.impl.work.WorkerContext.run(WorkerContext.java:290)
          	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
          	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
          	at java.lang.Thread.run(Unknown Source)
          Post edited by: wello007, at: 12/26/2007 00:27
          WD

          Comment


          • #6
            Re:SIU^12 message not supported

            I post the same message without DG1 segments and it works, seems that the DG1 in a SIU message is not supported
            Code:
             MSH|^~&|SAP^SAP^GUID||EB^EB^GUID||20010520173800||SIU^S12|93710600|P|2.3|AL|NE
            SCH|Placer001|Filler001|||||^Unklare Beschwerden||||^^^20010701100000^20010701103000
            PID|1||001000||TEST^TEST^TEST^^^TEST|Schulz|19670808|M|||||(089) 14002243|(089) 1234|||||198708080150||||München|||||D|20020131063000
            PV1|1||||||||||||||||||10100
            RGS|1
            AIS|1||^COLO
            AIG|1|||^Medikament 3||1.5|^Amp
            AIG|2|||^Medikament 4||3|^cm3
            AIL|1||^^^^^^^^Room 2||^Endo
            AIP|1||D100^Müller^Heiner^^^Dr.
            Post edited by: wello007, at: 12/26/2007 00:30
            WD

            Comment


            • #7
              Re:SIU^12 message not supported

              Hey guys,
              Thanks for the tips and your suggestions. As nshaik has suggested, I introduced a 'Back_Slash' before '&', and it worked. And as wello007 suggested, I removed DG1 segement and that worked too. But for other SIU messages I have, when I paste them on the transformer tab, I get the same message "The message pasted above does not appear to be valid HL7 v2.x.". I removed DG1 segment and also tried introducing 'BACK_SLASH' in MSH segment. But it didn't help. I will post the "Incompatible message". Have a look and give your valuable suggestions. Thank you.

              Regards,
              Kurian.

              Comment


              • #8
                Re:SIU^12 message not supported

                MSH|^~\&|TEST|235^TESTPRACTIVE|TEST||200403220359| |SIU^S12|431|T|2.2||||||||
                SCH|231782|231782||||well exam|well exam|cpe^well exam|20|minutes|^^^200403221000|||||aspatel||||||| ||
                PID||78604|78604||TEST^TEST^||20030117|M|||8762 STONERIDGE CT^^LYNN^MA^01910||(555)555-5555|(555)555-5555||S|||999999999|||||||||||
                PV1|||^^^Brockton||||5^kmurphy||||||||||5^kmurphy| ||||||||||||||||||||||||||||||||||
                RGS|||
                AIG|||kmurphy|||||200403221000|||20|minutes||
                AIL|||2^Brockton|||200403221000|||20|minutes||


                The above message is the "Incompatible message". Do post your suggestion. Thanks in advance.

                Regards,
                Kurian.

                Post edited by: kmthayil, at: 12/26/2007 01:50

                Comment


                • #9
                  Re:SIU^12 message not supported

                  It worked after changing the HL version to 2.3

                  MSH|^~&|TEST|235^TESTPRACTIVE|TEST||200403220359|| SIU^S12|431|T|2.3||||||||
                  SCH|231782|231782||||well exam|well exam|cpe^well exam|20|minutes|^^^200403221000|||||aspatel||||||| ||
                  PID||78604|78604||TEST^TEST^||20030117|M|||8762 STONERIDGE CT^^LYNN^MA^01910||(555)555-5555|(555)555-5555||S|||999999999|||||||||||
                  PV1|||^^^Brockton||||5^kmurphy||||||||||5^kmurphy| ||||||||||||||||||||||||||||||||||
                  RGS|||
                  AIG|||kmurphy|||||200403221000|||20|minutes||
                  AIL|||2^Brockton|||200403221000|||20|minutes||

                  Post edited by: nshaik, at: 12/26/2007 08:03

                  Comment


                  • #10
                    Re:SIU^12 message not supported

                    Hey nshaik,
                    It worked. Thanks for the tip. As jbartels suggested, is there a way to know the syntax of the HL7 message in the Strict Parsing mode?

                    Regards,
                    Kurian.

                    Comment


                    • #11
                      Re:SIU^12 message not supported

                      Glad to know it is working! It would be nice if Mirth could show where the parser error occurred. The manual troubleshooting process is to keep removing the segments until the parser error goes away. Then, put the problem segment back and look for possible errors. To narrow down the problem, remove/replace data elements within the problem segment.

                      Hope this helps!

                      Comment


                      • #12
                        Re:SIU^12 message not supported

                        Hey,
                        well that would be very tough job to do. Anyways thank you all for the valuable tips and suggestions. I really appreciate.

                        Regards,
                        Kurian.

                        Comment

                        Working...
                        X