Defines the interface for formatting raw data before sending or after receiving messages.

Namespace: Mergecom.HL7
Assembly: Mergecom.HL7 (in Mergecom.HL7.dll) Version: 4.3.0.0

Syntax

C#
public interface HL7Formatter
Visual Basic
Public Interface HL7Formatter
Visual C++
public interface class HL7Formatter

Remarks

A separate formatter can be set for each sender or receiver using the HL7SocketConfiguration class. If the application does not set a formatter the toolkit will use its own internal formatter that converts to/from binary data according to the configured characters set.

When sending, the toolkit calls the FormatSendPacket(String, HL7SocketConfiguration) method to convert the string representation of the message to a binary byte representation that can be sent over the network.

When receiving, the toolkit calls the FormatReceivePacket(List<(Of <<'(array<Byte>[]()[][]>)>>), HL7SocketConfiguration) method to convert the received binary data into a string that represents the message.

See Also