Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Enabled: When this box is checked, the transform is evaluated as part of the message transformation process.
  • Path: This is the HL7 field/path whose value is being transformed.
  • Transform: The expression, or annotated description, of the transform operation itself.
  • Condition: A boolean expression that evaluations to True or False. When True, the operation in the Transform field is evaluated.
  • Description: An optional, plain-English, user-defined description of the transform operations

Transforms are evaluated sequentially, in the order in which they appear in the table. The following transforms are available.

...

Expressions

The Expression Transformer lets you write a regular expression to make changes to message dataTransform uses simple expressions to transform a message path. Click the button to add a new row. In the Path column, enter the message field path you want to transform (e.g., MSH-3). Click on the expression symbol to see a list of possible expressions. You can also start typing to see a list of matching expression possibilities. 

Enter the parameters for transform expression in the Transform field. When run, the expression . Connexion will display an error message if the expression is invalid.You can set the conditions under which the expression is run in the Conditions column. By default, expressions are always run. However, you could choose to only execute the expression when the value of the selected field matches something specific (e.g., when MSH-9.2 = RO1)will return a new value for the specified path. Transform expressions are expected to return string values. This is the opposite of conditional expressions, which return Boolean values. For this reason, transform expressions should not contain compare operators such as =.

There are some sample expression transforms:

  • ORC-3: Returns the current value from HL7 path ORC-3.
  • OBR-32.1.1 + '^" + OBR-32.1.2: Concatentates the path values of OBR 32.1.1 and OBR 32.1.2 with a hat separator.
  • 'RADIS1': Returns the string RADIS1.

Enter an optional description for the expression transformer in the Description field.Expressions are automatically saved.

Using the Table Transformer

...

Troubleshooting the HL7 Transform device

 

mixJ/iSlB/XnIy9x5dOFjAzF4BLrVJ5Q4X7JVQyo6QinQyUxalPlBjaZkaoDYvG5XzBgKnaKowlowWPMxOQjyw=2837TH130204