Testing

To test, run the send.mllp map within the container and execute the following commands:
  1. docker exec -it itx-ls bash
  2. cd maps/hl7/examples/mllp
  3. dtxcmdsv send_mllp.lnx -ae
This map will trigger the receive_mllp map in the mllp system. Final output created will be as follows:
  • ack_received.dat

    This is created by the send_mllp map, this is the ACK message returned by the receive_mllp map.

  • hl7_out.dat

    This is created by the receive_mllp map, this is the HL7 message received from the send_mllp map.

To test with the send_mllp map running outside of the container, the container will need to be configured on startup to expose the port used by mllp listener (default is 11003 for this example) and update the host information in the maps and system before building and deploying.