web stats
Filter on field in repeating segments - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 01-30-2015, 07:51 PM
jerchap jerchap is offline
OBX.3 Kenobi
 
Join Date: Nov 2007
Location: British Columbia, Canada
Posts: 128
jerchap is an unknown quantity at this point
Default Filter on field in repeating segments

Using a rule builder it's nice and easy to filter on a field - say OBR 25.1 for example.

If OBR repeats however, the filter seems to evaluate only the first segment. Is that right?
Is there any way to get it to evaluate OBR 25.1 in all segments, so that if either fails validation, it filters?
Reply With Quote
  #2  
Old 01-31-2015, 07:09 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
 
Join Date: Oct 2010
Posts: 7,119
narupley is on a distinguished road
Default

Right now you'll have to use a JavaScript step to do that. We have an open issue for it (MIRTH-3025), so make sure to comment on it.
__________________
Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

Nicholas Rupley
Work: 949-237-6069
Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


- How do I foo?
- You just bar.
Reply With Quote
Reply

Tags
filter

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:20 AM.


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