Question
· Feb 27, 2024

How to run business rules on a single cloned-object(EnsLib.HL7.Message), and send it in Rule Editor?

How can we have the multiple business rules run on a single cloned-object(EnsLib.HL7.Message), and send the cloned-object in Rule Editor?

Any sample code? The purpose is to edit the HL7 ORU R01 message

Thx!

Product version: IRIS 2023.3
Discussion (5)3
Log in or sign up to continue

A list of business rules (defined in a process) to run before sending to target(an operation)

The following case does not work due to mensagem immutable (As EnsLib.HL7.Message):

https://community.intersystems.com/post/how-assign-value-variable-business-rules-using-function

"The purpose is to edit the HL7 ORU R01 message"

I'm not sure I understand your question, probably not.

If you need to transform a message and then apply/evaluate rules, then create two HL7 Routing Business Processes, each with a Routing Rule associated.

The first BP and associated rule transform the message and send it to the second BP where you can apply rules to the transformed message.

But....probably I did not understand the question! 😊