Mirth Community

Mirth Community (http://www.mirthcorp.com/community/forums/index.php)
-   Support (http://www.mirthcorp.com/community/forums/forumdisplay.php?f=6)
-   -   Message Encoding Issue faced only during Resulting ORU^R01 (http://www.mirthcorp.com/community/forums/showthread.php?t=5339)

Manjari Bhadra 04-24-2011 11:32 PM

Message Encoding Issue faced only during Resulting ORU^R01
 
Hi,

I am using Mirth 1.8.2 on Windows XP. I have the below 2 channels:
1) Channel 1: reads messages from a database and sends to Channel 2 (XML data)
2) Channel 2: reads messages from Channel 1 and does HL7 transformations and sends to the receiving application (HL7 data)

A funny thing is happening when picking up ORU^R01 messages. Any '-' are getting replaced to '?' when getting picked by Channel 1.
The source database has the original message as it is.

Code:

MSH|^~\&|LAB RES SEND R01|LAB ORDER RESULT|LAB RES RECV R01|LAB|201104211612||ORU^R01|40470|P|2.3.1
PID|||||KAP^RAJ^^^Mr.|32323|19770101|M|Corporate||70-9/A JAWAHAR COLONY^Agarwal Colony^FARIDABAD^995^121003||2234339|||2|||111111111
PV1|||68||||||||||||||||1215|||||||||||||||||||||||||20110419104238||||||||114
ORC|RE|2341711|||COMPLETED||||20110421161706|322|322||68||20110419104333
OBR|1|||||||||||||||||||||||R||||||||322
OBX|1|SN|66||Positive
OBX|2|SN|66||Amphotericin B D.I.C < 0.500    Fluconazole M.I.C < 1.000            Itraconazole K.I.C < 0.1
OBX|3|SN|66||Amphotericin B S.I.C < 0.500    Fluconazole M.I.C < 1.000            Itraconazole A.I.C < 0.1

But, when Mirth picks this message up, it has the '-' replaced by '?' whereas my channel 1 has no transformation at all except my query to read 2 columns - HL7 message and message ID and pass on the value in HL7 message tag to Channel 2.

Code:

<result><hl7outboundmessage_messageid>40470</hl7outboundmessage_messageid><hl7outboundmessage_hl7message>MSH|^~\&amp;|LAB RES SEND R01|LAB ORDER RESULT|LAB RES RECV R01|LAB|201104211612||ORU^R01|40470|P|2.3.1 PID|||||KAP^RAJ^^^Mr.|32323|19770101|M|Corporate||70-9/A JAWAHAR COLONY^Agarwal Colony^FARIDABAD^995^121003||2234339|||2|||111111111 PV1|||68||||||||||||||||1215|||||||||||||||||||||||||20110419104238||||||||114 ORC|RE|2341711|||COMPLETED||||20110421161706|322|322||68||20110419104333 OBR|1|||||||||||||||||||||||M||||||||322 OBX|1|SN|66||Positive OBX|2|SN|66||Amphotericin B ? D.I.C &lt; 0.500    Fluconazole ? M.I.C &lt; 1.000            Itraconazole ? K.I.C &lt; 0.1 OBX|3|SN|66||Amphotericin B ? S.I.C &lt; 0.500    Fluconazole ? M.I.C &lt; 1.000            Itraconazole ? A.I.C &lt; 0.1</hl7outboundmessage_hl7message></result>
Is there any particular way Mirth handles few special characters? Am i missing anything out?
Any inputs will be highly appreciated. I could not find a thread for this.

Reagrds,
Manjari


All times are GMT -8. The time now is 04:59 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation