Here is a typical sequence which shows how the LabComm software manages the communication with the analyser and a LIMS. In this example LabComm is communicating simultaneously with three different analysers and a LIMS system using sockets and HL7. The analysers are assumed to be communicating via the protocol ASTM and serial (RS-232). In reality they may be remote and / or communicating in different protocols.

LabComm 1A web

 

1. LabComm receives a result message from the analyser
2. LabComm checks if the Specimen ID and/or the Patient ID match any recent queries.
It prepares a response message: an ORF message if a matching query was found, else an ORU message.
3. LabComm writes this message to the database (or a file or both)
4. LabComm tries to send the message to the host
5. If the message is accepted, LabComm marks the message as sent.
6. LabComm keeps on scanning through the unsent messages continuing from step 4.

In order to keep the diagram simple acking/nacking is not shown.
In reality an ACK or NACK is sent after every data string received.