I can provide you with a generic proc that allows you to filter based on a specific value or values within a specific HL7 segment/field/component. It is attached. The arguments are the segment, field, component, value(s) you’re looking for, and the disposition of the messages that contain the value(s). So, in your instance, I don’t know what A-3-1 is, nor the “A01 neq XX” in your earlier message, but something equal to ‘P’ in an HL7 message often refers to MSH-11(Processing ID). In this case, your argument list would look like:
{SEGMENT MSH}
{FIELD 11}
{COMPONENT 0}
{VALUES {P}}
{DISPOSITION CONTINUE}
This will CONTINUE any message that has a ‘P’ for the Processing ID, rather than, say ‘T’ or ‘D’.
Alternately, if you wanted to only specifically KILL the other two, your argument list would look like:
{SEGMENT MSH}
{FIELD 11}
{COMPONENT 0}
{VALUES {T D}}
{DISPOSITION KILL}
HTH,
TIM
Attachments:
You must be
logged in to view attached files.
Tim Pancost
Trinity Health