web stats
HL7 Source filter - need help please - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 03-14-2019, 04:48 AM
pmcnally pmcnally is offline
Mirth Newb
Join Date: Dec 2015
Location: Massachusetts
Posts: 9
pmcnally is on a distinguished road
Exclamation HL7 Source filter - need help please

I have a source filter that I cannot get working properly and I am looking for some help.

We are currently on 3.5.1 (I will update once I finish this suite of feeds).
This is an ORU feed coming & we need to suppress certain reports from sending in D (draft) status. The report code is in OBR.21 and the status in OBR.25.

This is my code. It is currently suppressing everything in Draft, not just these report types.


for each(obr in msg.OBR)
if(reportType.indexOf(obr['OBR.21']['OBR.21.1']) == -1 && obr['OBR.25']['OBR.25.1'] == 'D') return false;
else return true;


Reply With Quote

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 01:25 AM.

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