Question Krishnaveni Kapu · Jun 4, 2024

Business process terminating

Hi ,

I receive xml as incoming request , I convert that into HL7 in my business process class as below

Set tSC = $CLASSMETHOD("myDTL","Transform", .pRequest,.dtlRes)

then , I am sending the dtlRes which is a HL7 message to a router "TEST_ROUTER" 

in the router , I am checking for HL7.{MSH:9.2} , where I am getting below error :

Terminating BP TEST_ROUTER # due to error: ERROR <Ens>ErrException: <PROPERTY DOES NOT EXIST>zevaluateRuleDefinition+15^TEST.SampleRule.1 *HL7,EnsLib.MsgRouter.RoutingEngine -- logged as '-' number - @' set tTempVars("test")=(pContext.HL7.GetValueAt("MSH:9.2"))'

below is my rule settings 

Comments

Enrico Parisi · Jun 4, 2024

Evidently there is an issue where you reference MSH:9.2, without details of your rule definition is virtually impossible to guess where the problem is.

0
David Loveluck · Jun 5, 2024

the error message seems to say that HL7 is not a property of context.

0
Krishnaveni Kapu  Jun 6, 2024 to David Loveluck

I recreated the Router and then worked as expected.

0
Robert Barbiaux · Jun 5, 2024

What is the class of config item ‘TEST_ROUTER’ ?

Maybe not EnsLib.HL7.MsgRouter.RoutingEngine, which exposes the HL7 property.

0