swift 5 CLI streamable command sending one message HL7 using protocol TCP MLLP (not encrypted)
swift 5 CLI streamable command sending one message HL7 using protocol TCP MLLP (not encrypted)
stdin >
mllpSend ip:port [charset]
> stdout
looks like this:
{
"Message" : "O01",
"Version" : "2.3.1",
"Params" :
{
"sendingRisName" : "sendingRisName"
"sendingRisIP" : "sendingRisIP"
...
}
}
The elements for the json data are defined in the documentation of each of the HL7 v2 message implemented in the swift 5 library “mllp”. The implementation is a proprietary specialization of the HL7 standard by opendicom.com. Being open source, the library can be adapted for other purposes.
Messages preconfigured in the library: