Describes how to use parenthesis () syntax to access virtual properties.
You can use this syntax in business rules and in DTL transformations.
To use parenthesis syntax to access a virtual property, use the following syntax:
is a variable that refers to the current message. The name of this variable depends upon the context.
The preceding syntax is equivalent to the following method call:
If the syntax returns multiple values a
, and c
, they appear in a single string enclosed in <>
angle brackets, like this:
For example, in an HL7 routing rule, the syntax HL7.(NK1():1)
finds the values of the first field in all of the multiple NK1 segments in the HL7 message object represented by the special variable HL7
© 1997-2019 InterSystems Corporation, Cambridge, MA