Question Yuhong Snyder · Jan 7, 2025

is it possible to kill the hl7 message in data transformation

Hello,

is it possible to kill/suppress hl7 message in the DTL (data transformation).

in cloverleaf, it is common practice to check the value in message, for example pv1:7.9. if the value is certain word(assigning authority) then send the message over to destination, if it is not, kill the message

how would this be done in InterSystems ? does that need to be done in the rule instead? or can it be done in the data transformation? if it can be done in data transformation, how can it be done? 

Thanks

Comments

Julian Matthews · Jan 8, 2025

Hey Yuhong.

This would need to be achieved via the a rule as something like this:

If PV1:7.9 is then not equal to the value, then it will not hit the transform and will not then get sent to the target.

0
Yuhong Snyder · Jan 8, 2025

Thank you Julian.

so bottom line is that in intersystem, this can only be achieved in rule, not the data transformation, is that correct? 

0
Julian Matthews  Jan 9, 2025 to Yuhong Snyder

Yes, I believe so.

The general principle is that the message is evaluated to see if it is eligible for being sent before the transform begins.

0