web stats
HL7 Component Seperator issue - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 06-10-2008, 12:46 AM
mac_3785 mac_3785 is offline
OBX.1 Kenobi
 
Join Date: Sep 2007
Location: India
Posts: 33
mac_3785
Default HL7 Component Seperator issue

Mirth Version: 1.6.2750

Hi All,

When I run the below message in Mirth, it does not pick up the Component Seperator '_' (in encoding characters) from the message. Instead Mirth uses default Component Seperator '^' to parse the message. As a result Patient Name like:
First Name = Test
Last Name = Patient

is parsed as First Name = Blank
Last Name = Test_Patient

Is there a way I can over come this. This is very crucial for us as most of the messages we receive are heavily customized and use varying 'Encoding Characters'.

Thank you,
Ali

Message:
MSH!_~\?!XXX!TTT!!!200805220317!!ADT_A01!CHPFADIT! P!2.3
EVN!A01!200805211438!!!TXTADT
PID!!!003237138!!TEST_PATIENT!HARVELYN!19521028!F! GARDNER!7!!!!!!M!!000035147321!
PV1!!IA!EDIP_EDIP_AA__D!X!!!999999_DOC_TEST_!!!NUR !!N!!EO!!!!S!!R!!!!!!!!!!!!!!!!!!!!!!!200805211438
Reply With Quote
  #2  
Old 06-11-2008, 05:01 AM
mac_3785 mac_3785 is offline
OBX.1 Kenobi
 
Join Date: Sep 2007
Location: India
Posts: 33
mac_3785
Default Re:HL7 Component Seperator issue

Hi All,

Has anybody come across this problem ? Can somebody help me out here!

Thanks,
ali
Reply With Quote
  #3  
Old 06-11-2008, 07:01 AM
jbartels jbartels is offline
Mirth Guru
 
Join Date: Oct 2006
Posts: 729
jbartels is on a distinguished road
Default Re:HL7 Component Seperator issue

Hrmmm.

Mirth *should be* able to cope with this as its part of the HL7 2.3 spec.

Are the messages consistent enough that you could do a string substitution and convert it back to the normal characters???

If so put something like this in your preprocessor:

Code:
message = message.replace("!", "|");
You should also be able to do some poking around and find the encoding chars first then sub in the standard ones.
__________________
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.
Reply With Quote
  #4  
Old 06-11-2008, 10:00 AM
jacobb jacobb is offline
Mirth Employee
 
Join Date: Aug 2006
Location: Irvine, CA
Posts: 1,218
jacobb is an unknown quantity at this point
Default Re:HL7 Component Seperator issue

Please try the latest version of Mirth (1.7.1). This issue was fixed around 1.7.
__________________
Jacob Brauer
Director, Software Development
NextGen Healthcare

Reply With Quote
  #5  
Old 06-11-2008, 10:25 PM
mac_3785 mac_3785 is offline
OBX.1 Kenobi
 
Join Date: Sep 2007
Location: India
Posts: 33
mac_3785
Default Re:HL7 Component Seperator issue

Jbartels & Jacobb,

Thank you for your response!

I will try the new Mirth (1.7.1)

Post edited by: mac_3785, at: 06/11/2008 23:25

Post edited by: mac_3785, at: 06/11/2008 23:27
Reply With Quote
  #6  
Old 06-17-2008, 05:46 AM
mac_3785 mac_3785 is offline
OBX.1 Kenobi
 
Join Date: Sep 2007
Location: India
Posts: 33
mac_3785
Default Re:HL7 Component Seperator issue

Gentlemen Thank you very much, this works as expected in Mirth 1.7!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Error starting component" when deploying Channel rma Support 1 09-18-2008 09:29 AM
"URI has an authority component" installer error nradov Support 3 02-07-2008 03:10 PM
A17 issue is980491 Support 0 02-02-2007 08:52 AM
LLP Issue Jack Support 3 09-19-2006 04:19 AM
MSH-9 Component missing aguayoisrael Support 2 09-15-2006 12:40 PM


All times are GMT -8. The time now is 11:14 AM.


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