Testing the Outbound Channel Application Using MLLP

How to:

This section describes how to test the outbound channel application using the Minimal Lower Layer Protocol (MLLP).


Top of page

x
Procedure: How to Test the Outbound Channel Application Using MLLP
  1. Copy and then paste your input XML file to the output directory that you have configured (for example, EDIHL7_Accelerator\HL7_out), as shown in the following image.

  2. Look for the acknowledgement message in the EDIHL7_Accelerator\HL7_out\OB_Output directory.

    The _hl7ack() iFL function is used in the outbound MLLP process flow. This function parses a HL7 acknowledgement message to return a specific element value. It uses the following format:

    _hl7ack(query[,defaultValue])

    For more information on using this function, see _hl7ack(): Parse HL7 Acknowledgement Message.

    The _hl7ack() iFL function will return "AA", "AE", "AR", "CA", "CE", "CR" acknowledgement codes. Based on this code the acknowledgement will be stored in different locations.

  3. Look for the validation report to be received in the output directory that you have configured (for example, EDIHL7_Accelerator\HL7_out\OB_report), as shown in the following image.

    Validation reports contain valid (good) or invalid (bad) HL7-formatted data, copies of the input files, and any error messages that may have occurred during the transformation. Typically the name of the validation report can inform you if the transformation has passed or failed. You can also configure the outbound processing to write the data to two different file locations, one for valid date and the other for invalid data.

  4. If the input data contained any errors, you can review this error data in the output directory that you have configured for error handling (for example, EDIHL7_Accelerator\HL7_out\OB_Error).
  5. After outbound processing has completed, a copy of the input data that was used during the transformation is stored under the archive directory that you specified (for example, EDIHL7_Accelerator\HL7_out\OB_Archive).

iWay Software