Announcement

Collapse
No announcement yet.

target matching "[xX][mM][lL]" is not allowed

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

  • target matching "[xX][mM][lL]" is not allowed

    Need help with version 1.7.1.3422, java 1.5.10

    Create a simple channel LLP -> File Writer using sample ORU.hl7 message.

    If I don't add any filter/transformer, process runs OK.

    When add any filter/transformer on either source or destination, the process is errored with "TypeError: The processing instruction target matching "[xX][mM][lL]" is not allowed."

    Thanks.


    Below is exported channel:
    <com.webreach.mirth.model.Channel>
    <id>bc011985-78c6-4766-bb63-845b5dc223c1</id>
    <name>oru</name>
    <description></description>
    <enabled>true</enabled>
    <version>1.7.1.3422</version>
    <lastModified>
    <time>1219065917218</time>
    <timezone>America/New_York</timezone>
    </lastModified>
    <revision>1</revision>
    <sourceConnector>
    <name>sourceConnector</name>
    <properties>
    <property name="messageEnd">0x1C</property>
    <property name="ackCodeError">AE</property>
    <property name="messageStart">0x0B</property>
    <property name="ackMsgRejected">Message Rejected.</property>
    <property name="ackCodeRejected">AR</property>
    <property name="receiveTimeout">0</property>
    <property name="charEncoding">hex</property>
    <property name="bufferSize">65536</property>
    <property name="useStrictLLP">1</property>
    <property name="reconnectInterval">5000</property>
    <property name="waitForEndOfMessageCharacter">0</property>
    <property name="sendACK">1</property>
    <property name="port">6661</property>
    <property name="ackOnNewConnection">0</property>
    <property name="checkMSH15">0</property>
    <property name="ackMsgSuccessful"></property>
    <property name="tcpProtocolClassName">org.mule.providers.tcp .protocols.TcpProtocol</property>
    <property name="responseFromTransformer">0</property>
    <property name="segmentEnd">0x0D</property>
    <property name="ackPort"></property>
    <property name="charsetEncoding">DEFAULT_ENCODING</property>
    <property name="host">127.0.0.1</property>
    <property name="responseValue">None</property>
    <property name="DataType">LLP Listener</property>
    <property name="processBatchFiles">0</property>
    <property name="ackMsgError">An Error Occured Processing Message.</property>
    <property name="serverMode">1</property>
    <property name="ackCodeSuccessful">AA</property>
    <property name="ackIP"></property>
    <property name="recordSeparator">0x0D</property>
    </properties>
    <transformer>
    <steps/>
    <inboundTemplate>MSH|^~&|LAB|POCT|LAB|MT|200406251 01405||ORU^R30|23502|P|2.3|2004062500001||AL|NE
    PID|||M000000045||TEST^KAREN||19650202|F|||||||||| V00000000119
    ORC|NW|||||||||||TESTDR||||||UJ32008122
    OBR||||GLUCOSE^^^GLUCOSE|R|20040625092655|||||O||| ||||||||||||||||||||LAB.ZELEP
    OBX||NM|GLUCOSE^^^GLUCOSE||322||||||F|||||LAB.ZEBR A||UJ32008122|20040625092655
    </inboundTemplate>
    <inboundProtocol>HL7V2</inboundProtocol>
    <outboundProtocol>HL7V2</outboundProtocol>
    <inboundProperties/>
    </transformer>
    <filter>
    <rules>
    <com.webreach.mirth.model.Rule>
    <sequenceNumber>0</sequenceNumber>
    <name>Accept message if "msg['PID']['PID.3'].toString()" exists</name>
    <data class="map">
    <entry>
    <string>OriginalField</string>
    <string></string>
    </entry>
    <entry>
    <string>Values</string>
    <list/>
    </entry>
    <entry>
    <string>Equals</string>
    <string>2</string>
    </entry>
    <entry>
    <string>Field</string>
    <string>msg['PID']['PID.3'].toString()</string>
    </entry>
    <entry>
    <string>Name</string>
    <string></string>
    </entry>
    <entry>
    <string>Accept</string>
    <string>1</string>
    </entry>
    </data>
    <type>Rule Builder</type>
    <script>if(msg['PID']['PID.3'].toString().length > 0)
    {
    return true;
    }
    return false;</script>
    <operator>NONE</operator>
    </com.webreach.mirth.model.Rule>
    </rules>
    </filter>
    <transportName>LLP Listener</transportName>
    <mode>SOURCE</mode>
    <enabled>true</enabled>
    </sourceConnector>
    <destinationConnectors>
    <com.webreach.mirth.model.Connector>
    <name>Destination 1</name>
    <properties>
    <property name="charsetEncoding">DEFAULT_ENCODING</property>
    <property name="outputAppend">0</property>
    <property name="DataType">File Writer</property>
    <property name="outputPattern">oru.${SYSTIME}.${UUID}.hl7</property>
    <property name="template">${message.transformedData}</property>
    <property name="host">C:/HL7.DATA/TEST</property>
    <property name="binary">0</property>
    </properties>
    <transformer>
    <steps/>
    <inboundProtocol>HL7V2</inboundProtocol>
    <outboundProtocol>HL7V2</outboundProtocol>
    </transformer>
    <filter>
    <rules/>
    </filter>
    <transportName>File Writer</transportName>
    <mode>DESTINATION</mode>
    <enabled>true</enabled>
    </com.webreach.mirth.model.Connector>
    </destinationConnectors>
    <properties>
    <property name="synchronous">true</property>
    <property name="removeNamespace">true</property>
    <property name="transactional">false</property>
    <property name="initialState">started</property>
    <property name="dont_store_filtered">false</property>
    <property name="error_messages_only">false</property>
    <property name="max_message_age">-1</property>
    <property name="store_messages">true</property>
    <property name="encryptData">false</property>
    </properties>
    <preprocessingScript>// Modify the message variable below to pre process data
    return message;</preprocessingScript>
    <postprocessingScript>// This script executes once after a message has been processed
    return;</postprocessingScript>
    <deployScript>// This script executes once when the mule engine is started
    // You only have access to the globalMap here to persist data
    return;</deployScript>
    <shutdownScript>// This script executes once when the mule engine is stopped
    // You only have access to the globalMap here to persist data
    return;</shutdownScript>
    </com.webreach.mirth.model.Channel>
    oru_test.xml (0 bytes)

    Post edited by: JackNyu, at: 08/18/2008 06:41
Working...
X