diff --git a/readme.md b/readme.md index 733b2cb..b22bdf4 100644 --- a/readme.md +++ b/readme.md @@ -90,14 +90,16 @@ Filter Examples: Send a HL7 v2.x message from a file (or list of files) via TCP to a remote endpoint. Messages are framed using MLLP (Minimal Lower Layer Protocol). ``` -Send-HL7Message [-HostName] [-Port] [-LiteralPath] [-NoACK] [-Delay] [] +Send-HL7Message [-HostName] [-Port] [-LiteralPath] [-NoACK] [-Delay] [[-Encoding] ] [] -Send-HL7Message [-HostName] [-Port] [-Path] [-NoACK] [-Delay] [] +Send-HL7Message [-HostName] [-Port] [-Path] [-NoACK] [-Delay] [[-Encoding] ] [] ``` example: `Send-Hl7Message -Hostname 192.168.0.10 -Port 1234 -Path c:\HL7Files\message1.hl7` +`Send-Hl7Message -Hostname 192.168.0.10 -Port 1234 -Path c:\HL7Files\*.hl7 -Encoding ISO-8859-1` + ### Parameters __-Hostname \__: The IP Address or host name of the remote host to send the HL7 message to @@ -111,6 +113,8 @@ __-NoACK__: This switch instructs the CmdLet not to wait for an ACK response fro __-Delay \__: The delay (in seconds) between sending each message. +__-Encoding \__: The text encoding to use when sending the message. Supports "UTF-8" or "ISO-8859-1" (Western European). Defaults to "UTF-8" if parameter not supplied. + ## Remove-HL7Identifiers Removes names, addresses and other personally identifiable details from a HL7 v2.x Message. @@ -247,7 +251,7 @@ __-OverwriteFile__: Don't warn when overwriting existing files Receives a HL7 v2.x message via a TCP connection (MLLP framing). ``` -Receive-HL7Message -Path -Port [-Timeout] [] +Receive-HL7Message [-Path] [-Port] [[-Timeout] ] [[-Encoding] ] [-NoACK ] [-InformationAction ] [-InformationVariable ] [] ``` ### Parameters @@ -257,6 +261,10 @@ __-Port \__: The the TCP port to listen for messages on. __-Timeout \__: The timeout in seconds before idle connections are dropped (defaults to 60 seconds if not specified). +__-Encoding \__: The text encoding to use when receiving the message. Supports "UTF-8" or "ISO-8859-1" (Western European). Defaults to "UTF-8" if parameter not supplied. + +__-NoACK \__: Set this switch parameter to suppress acknowledgment (ACK) messages from being sent in reposne to messages received. + ## Show-HL7MessageTimeline Lists messages chronologically based on the message header receive date/time field (MSH-7)