web stats
Repeating data is not parsed as repeating - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 09-16-2009, 01:27 PM
Philoushka Philoushka is offline
OBX.2 Kenobi
 
Join Date: Jan 2009
Posts: 68
Philoushka is an unknown quantity at this point
Default Repeating data is not parsed as repeating

Consider an HL7 v2.3 PID segment. PID-19 has this value:

Code:
1234567^FOO~98787654^BAR

Problem: this element isn't parsed as a repeating segment. Here's the transformed message:

Code:
   
<PID.19>
    <PID.19.1>1234567</PID.19.1>
    <PID.19.2>FOO~98787654</PID.19.2>
    <PID.19.3>BAR</PID.19.3>
</PID.19>

Any ideas on how to get Mirth to treat this field as repeating?

Here's the whole message, just in case:

Code:
MSH|^~\&|NMI.FOO||||||ADT^A31|||2.1
EVN|A31||||
PID|1|ABC123|ABC00198||MULTIIDTESTER^FRTH^^^^||20040404|M|^^^^^||1234 SOME STREET SW^^FORT^AB^T9J 8M8^||444-000-3333||||||1234567^FOO~98787654^BAR|

Last edited by Philoushka; 09-16-2009 at 01:30 PM.
Reply With Quote
  #2  
Old 09-16-2009, 02:02 PM
ColinSJ ColinSJ is offline
OBX.1 Kenobi
 
Join Date: Apr 2009
Posts: 32
ColinSJ is on a distinguished road
Default How to enable repetitions

Go to the source tab for your channel, and under channel tasks, "Edit Filter"

On the far right, click on the Message Templates tab

Click the properties button

check the option "Handle Repetitions"

Your world is now happy
Reply With Quote
  #3  
Old 09-16-2009, 02:06 PM
Philoushka Philoushka is offline
OBX.2 Kenobi
 
Join Date: Jan 2009
Posts: 68
Philoushka is an unknown quantity at this point
Default

Thanks Colin. That totally worked!

Where's the upvote button on this website/forum?
Reply With Quote
  #4  
Old 09-17-2009, 09:20 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

Quote:
Originally Posted by Philoushka View Post
Thanks Colin. That totally worked!

Where's the upvote button on this website/forum?
You can use the scale icon on the top right of a post.
__________________
Jacob Brauer
Director, Software Development
NextGen Healthcare

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


All times are GMT -8. The time now is 06:28 PM.


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