Skip to main content

Expression Basics

Expressions are powerful but simple. Every expression returns a single value, which is used by its parent expression. The value of the expression at the root of the expression panel is the final value used according to the purpose of the panel. For example, the value of the root expression in the value expression panel becomes the value of the output map element.

Simple Expression Example:

Transaction-856/Segment-ISA/Element-I01

An input map element reference, provides the value of the input map element.

In this example for a value expression panel, the root expression is a map element reference expression that refers to Element-I01 in the input panel. This is the expression tree you get if you drag an input map element to an output map element.

More Complex Expression Example:

Concat 
  Person/LastName 
  Constant ", " 
  Person/FirstName

The concatenation function, concatenates all of the arguments. In this case there are three arguments, the last name, a constant comma, and the first name.

An input map element reference, provides the value of the input map element.

A constant expression, providing a constant value, in this case a comma followed by a space.

In this example for a value expression panel, the root expression is the concatenation function which has three arguments. The first and third are map element references to input elements. The second is a constant expression containing a comma. The result of this expression would be something like Smith, John.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!