Contact Us 1-800-596-4880

HL7 Exception Strategy

The HL7 exception strategy sets the flow’s exception strategy to HL7, instead of the default. Additionally, it generates and sends an ACK message with the appropriate error code to the originating application.

The HL7 endpoint is part of the Mule Healthcare Toolkit, which also includes transformers and components for receiving, processing and sending HL7 messages. For details and a full list of available tools, consult the Toolkit’s documentation main page.

Configuration

In Studio, click and drag the HL7 exception strategy building block anywhere in your flow. The exception strategy appears as a building block in the footer of the flow.

Minimum required configuration: None

XML Element

hl7:exception-strategy

Sample Complete XML

Studio

<hl7:exception-strategy doc:name="Sample Name" doc:description="Sample description."/>

Mule Runtime

<hl7:exception-strategy/>

Configuration For Studio and Mule Runtime

Studio Visual Editor

General Tab

hl7 es
Name

Description

XML

Display Name

Name of the building block as it appears in the flow

---- doc:name="HL7 Exception Strategy" ----

ACK / NACK Code

The ACK or NACK (Negative ACK) code for the MSA-1 field of the ACK message. Appropriate ACK error codes are:

* AE: Application error * AR: Application reject

---- ackCode="AE" ----

XML Editor

To access the Studio XML Editor, click the Configuration XML tab under the canvas.

The table below describes all configurable parameters for this building block.

Name

Description

XML

Display Name

Name of the building block as it appears in the flow

---- doc:name="HL7 Exception Strategy" ----

ACK / NACK Code

The ACK or NACK (Negative ACK) code for the MSA-1 field of the ACK message. Appropriate ACK error codes are:

* AE: Application error * AR: Application reject

---- ackCode="AE" ----

Standalone

HL7 Exception Strategy Attributes

Name

Type/Allowed values

Required

Default

Description

ackCode

string

No

If not set, either AR (Application Reject) or AE (Application Error) are set, depending on the type of error

The ACK for the generated message

Namespace and Syntax

http://www.mulesoft.org/schema/mule/hl7

XML Schema Location

http://www.mulesoft.org/schema/mule/hl7/mule-hl7.xsd