PRINT Function

Printing multiple source string values to the node's log, for debugging or for creating alerts.

Purpose

Used for printing multiple debug values in the log, one value in a separate line. Also can be used for creating alter messages that match a node’s defined alert patterns.

Format

PRINT(source-value-1, source-value-2, … , source-value-N)

Example

An HL7DataTransformer handler with the following config entry will print two logging lines in the node’s log.

<Parameter>
  <!-- PRINT Example -->
  <Name>transformation-rule</Name>
  <Value>PRINT("WARNING", $MSH-4)</Value>
</Parameter>
InputOutcome
MSH-4 = “APP1”Prints “WARNING” and “APP1” in two lines in the node’s log.

Related

Nil.