Skip to main content
Version: 5.1.1.0

hl7/edi generic to type converter

Description

This scriptlet converts generic edi or hl7 messages to predefined message structure. When reading EDI messages, Orchestra supports to modes, dynamic and typed. In dynamic mode the message structure is inferred dynamically from the content. As a drawback, the name of the elements are build upon the following pattern <segment>.<pos>. Since this are technical names the could not be read easily by a user. Such a dynamically generated message could be converted in a more human readable form by converting the message according to a predefined EDI message type containing more readable names.

Create

See creation of Scriptlet.

Configuration

Properties and Parameter Assignment

The assignment sections define the variable connection between the script execution and the process model.

The following parameters are required:

**Ingoing parameters**:

- **MSG**: Structured message that should be converted.
- **FORMATTYPE**: The constant "EDI" is required.
- **TYPE**: Name of the target message type that should be created from the source message.
- **LAXMODE**: If set to `false`, the dynamic message must exactly match the given message type. If set to `true`, Orchestra is more tolerant when finding elements that are not defined by the target message.

**Outgoing parameters**:

- **MSG**: The result message.