How to access the Settings of HL7 Router from within the HL7 Rule
Hello,
I want to access the HL7 Router settings from within the HL7 rule. Goal is to create a New class by extending
Then create a PARAMETER ProcessMessage which can be set to an integer value for the HL7 Router.
Create a Rule class and based on the value of this setting ProcessMessage
process/not process the messages.
{ Parameter RuleAssistClass = "EnsLib.HL7.MsgRouter.RuleAssist"; XData RuleDefinition [ XMLNamespace = "http://www.intersystems.com/rule" ]
{
<ruleDefinition alias="" context="EnsLib.HL7.MsgRouter.RoutingEngine" production="HL7Production">
<ruleSet name="" effectiveBegin="" effectiveEnd="">
<rule name="Discard" disabled="false">
<when condition="ProcessMessage=0">
<return></return>
</when>
</rule>.
.
.
.
Thanks,
Jimmy Christian.