web stats
Field contains segment name - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 01-09-2018, 12:41 AM
mbrazi mbrazi is offline
Mirth Newb
 
Join Date: Dec 2016
Posts: 15
mbrazi is on a distinguished road
Default Field contains segment name

I searched in the forum and I didn't find a previous post about my question.
I tried to process HL7 message (see below) with mirth connect (3.5.0) and a name of a patient like "VICENTE" contains the string "NTE", but I noticed that mirth consider NTE as new segment.

original HL7:
PID|1||test||test^VICENTE||19000101|

Mirth format
PID|1||test||test^VICE
NTE||19000101|

How do I resolve this issue? Thanks.
Reply With Quote
  #2  
Old 01-09-2018, 12:58 AM
siddharth siddharth is offline
Mirth Guru
 
Join Date: Feb 2013
Posts: 832
siddharth is on a distinguished road
Default

That can't be true...
Otherwise, there is a high chance of names ending in NTE, and many Mirth interfaces across the world would fail to parse it.

You sure you are not missing something? Any transformer script etc. Check carefully.
__________________
HL7v2.7 Certified Control Specialist!
Reply With Quote
  #3  
Old 01-09-2018, 01:14 AM
mbrazi mbrazi is offline
Mirth Newb
 
Join Date: Dec 2016
Posts: 15
mbrazi is on a distinguished road
Default

I checked carefully, here is attached my config in "Datat type". Note please that I am using HTTP listener to receive HL7 encoded base64 messages then I decode the message then HL7v2. format of the outbound in the first destination format the HL7 with this issue.
Attached Images
File Type: png Screen Shot 2018-01-09 at 10.08.25.png (21.1 KB, 13 views)
Reply With Quote
  #4  
Old 01-09-2018, 06:32 AM
mbrazi mbrazi is offline
Mirth Newb
 
Join Date: Dec 2016
Posts: 15
mbrazi is on a distinguished road
Default

Sorry, It was an error from my end, there was a function in the code for some reason that i don't see it now, add some \r before each sgment. my bad
Reply With Quote
  #5  
Old 01-09-2018, 11:53 PM
siddharth siddharth is offline
Mirth Guru
 
Join Date: Feb 2013
Posts: 832
siddharth is on a distinguished road
Default

The culprit is still out in the open. You might want to fix that function, because from the looks of it, it is not working as expected, creating unnecessary problems for you.
__________________
HL7v2.7 Certified Control Specialist!
Reply With Quote
Reply

Tags
hl7, mirth 3.5, segment

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


All times are GMT -8. The time now is 08:54 AM.


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