IPWorks EDI 2020 Python Edition

Questions / Feedback?

send Method

Sends HL7 data to the MLLP server.

Syntax

def send() -> None: ...

Remarks

The on_send method sends the string or byte array in input_data to the specified server. Alternatively, you can set input_filename to the name of a file with HL7 contents.

Before calling this method, set the remote_host and remote_port properties to the server credentials and connect or set connected to True.

Sending Data Example

mllpClient.InputData = "HL7Data";
mllpClient.Send();

If the data was received by the server, the class will receive a response and the on_ack_in event will fire.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDI 2020 Python Edition - Version 20.0 [Build 8203]