org.dcm4chex.archive.hl7.HL7ServerService
The default constructor
HL7ServerService
IANA Charset Registry (e.g. ISO-8859-1
).]]>
CharsetName
java.lang.String
TCP listening port. This is the most important value in
the service, and by default is set to 2575.
Port
int
Local interface IP address to listen for TCP communication. 0.0.0.0 indicates all active interfaces.
LocalAddress
java.lang.String
mllp - plain Minimal Lower Level Protocol; no TLS
mllp-tls - accept TLS connections; offer AES or DES encryption
mllp-tls.aes - accept TLS connections; force AES or DES encryption
mllp-tls.3des - accept TLS connections; force DES encryption
mllp-tls.nodes - accept TLS connections without encryption
]]>
ProtocolName
java.lang.String
Socket timeout in ms. 0 = no timeout.
This value determines how long the server is waiting for receiving
the next message on an open connection before it closes the idle connection.
HL7 senders (typical part of the RIS) typically keeps the connection
open between emitted messages, and some interprets a close of the idle
connection by the server as serious system failure. So the timeout value
may be configured quite large. Default: 600000 (=10min).
SoTimeout
int
Comma separated list of Message Types which are accepted
even if no HL7 Service is registered to actual process the message.
By setting this value, you avoid to reject messages, which are not
processed by the application.
NoopMessageTypes
java.lang.String
SuppressErrorResponse
boolean
Activates notification of registered listeners about received
HL7 messages. Required for message forwarding by HL7 Send service and
for prefetch of studies on receive of ORM^O01 messages by the Prefetch
Service.
SendNotification
boolean
FileReceivedHL7
boolean
ErrorLogDirectory]]>
FileReceivedHL7OnError
boolean
FileReceivedHL7OnError = true
.
A relative path name is resolved relative to
archive-install-directory/server/default/.]]>
ErrorLogDirectory
java.lang.String
FileReceivedHL7AsXML
boolean
Send packets as quickly as possible (Disable Nagle's algorithmn).
TcpNoDelay
boolean
Buffer size used for socket output. 0 = use platform default.
SendBufferSize
int
Buffer size used for socket input. 0 = use platform default.
ReceiveBufferSize
int
Maximal number of simultaneously connected HL7 senders.
MaxClients
int
Current number of connected HL7 senders.
NumClients
int
Maximal number of idle threads.
MaxIdleThreads
int
Current number of idle threads.
NumIdleThread
int
FileReceivedHL7 or
FileReceivedHL7AsXML.]]>
NumberOfReceivedMessages
int
archive-install-directory/server/default/.]]>
AckStylesheet
java.lang.String
archive-install-directory/server/default/.]]>
LogStylesheet
java.lang.String
A style sheet can be message type specific ("preprocess_<MSG Type>^<Event Type>.xsl" or "preprocess_<MSG Type>.xsl")
or generic "preprocess.xsl"
and placed in this directory or in a sub-directory to select a style sheet according to the sender.
This sub-directory can be <IPAddr>, <hostname> or '<Sending Application>^<Sending Facility>' (In this order).
(See also UseHostSubdirs attribute in HL7Server service to enable IP/hostname selection)
A relative path name is resolved relative to
archive-install-directory/server/default/.]]>
PreprocessTemplateDir
java.lang.String
If disabled, only Sending Application and Sending Facility can be used to select style sheet
depending on message sender but eliminates need of DNS lookup to get hostname.
]]>
UseHostSubdirs
boolean
Used internally - do NOT modify.
TLSConfigName
javax.management.ObjectName
Used internally. Do NOT modify.
TemplatesServiceName
javax.management.ObjectName
&defaultAttributes;
&defaultOperations;
Register HL7 Service
registerService
Message Type accepted by this service
messageType
java.lang.String
HL7 Service
service
org.dcm4chex.archive.hl7.HL7Service
void
Log Message
logMessage
Message
message
org.dom4j.Document
void