In a HL7 Business Rule, I want to create a custom function that works on an HL7 message object (ENSLIB.HL7.Message). I extended the Ens.Rule.FunctionSet class, and have a class method that accept a ENSLIB.HL7.Message obj -
ClassMethod myfunction(msg As EnsLib.HL7.Message) As %Boolean, so I can call myfunction(HL7) in the rule's condition
The problem is, it seems that I can only use absolute property paths such as msg.GetValueAt("1:9.2") but not a path containing HL7 segment name, for example as in msg.GetValueAt("MSH:9.2"). This is a huge limitation.
Is there anyway to use the HL7 vdoc property path with segment names in it in my custom function?
Precisa de uma introdução à Generative AI? O Learning Services tem o prazer de anunciar o primeiro vídeo de uma nova série sobre os fundamentos da GenAI: