Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Previous sectionNext section

Parenthesis () Syntax

Describes how to use parenthesis () syntax to access virtual properties.

Where Applicable

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:

Copy code to clipboard


  • message is a variable that refers to the current message. The name of this variable depends upon the context.

  • multi-valued-property-path is a virtual property path that uses the repeating field shortcut () to iterate through every instance of a repeating field, as described earlier in this reference.

The preceding syntax is equivalent to the following method call:

Copy code to clipboard

If the syntax returns multiple values a, b, 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.