Simple interface for searching for a component inside a V2Message.
This macro takes a borrow of a V2Message instance and a string search pattern.
The only search pattern supported at the moment takes the form
<3-letter segment>(optional, segment_group)[optional, field_group]..
For example, you can search with PID5.1 or PID(1)5.1 or PID(1)5[1].1.
Macro for generating V2 string message out of an instance of [hl7_v2_parser::v2_parser::V2Message].
Basically, this is the opposite operation to crate::rumtk_v2_parse_message.
Create vector iterable using the shared [MLLP] instance to obtain a single
[SafeAsyncMLLPChannel] to the endpoint listening interface. In other words, this macro creates
a thread safe instance of [SafeAsyncMLLPChannel] from the client to the server. The channel
provides bidirectional communication.
Create vector iterable using the shared [SafeAsyncMLLP] instance to obtain channels to clients.
This macro creates thread safe instances of [SafeAsyncMLLPChannels]. These are channels from
the server to the clients. These channels provide bidirectional communication with the
clients.
Convenience macro for receiving a message via an [AsyncMLLP] instance.
This macro, like the underlying function it calls, retrieves an optional which may be None
if no message was available in the internal queue buffer.
Macro for processing V2 message via a Python module loaded from disk.
This interface attempts to cache the module to avoid repeated loads of the module.