HC30 80TS LISInterfaceManual V4
HC30 80TS LISInterfaceManual V4
HumaCount 80TS
| LIS Interface Manual
Version 4
Revision list
Revision Date Description Editor
1 2015/04/02 First revision Mathias Kamprath
2 2016/08/12 Changes in serial protocol 3.1 Mathias Kamprath
3 2016/12/12 Review of peer communication settings Mathias Kamprath
3 2017/04/12 Review of HL7 example Mathias Kamprath
HumaCount 30 TS / 80 TS – LIS Interface Manual Version 4 Page 2 of 12
Contents
1. Setting up the communication link ........................................................................................................... 3
2. USB link ...................................................................................................................................................... 3
3. Setting up the Windows driver .................................................................................................................. 3
4. Serial protocol 3.1...................................................................................................................................... 3
4.1. Introduction ........................................................................................................................................... 3
4.2. Characters and basic structure .............................................................................................................. 4
4.3. Details of the 3.1 protocol ..................................................................................................................... 4
5. HL7 protocol (HL7V2.5) ............................................................................................................................. 7
5.1. Peer communication with the server .................................................................................................... 7
5.2. Example of an HL7 message .................................................................................................................. 8
5.2.1. Message ............................................................................................................................................. 8
5.2.2. Description......................................................................................................................................... 9
6. Notes ....................................................................................................................................................... 12
HumaCount 30 TS / 80 TS – LIS Interface Manual Version 4 Page 3 of 12
Protocols that require handshake will start "introducing" themselves to the host PC by sending INIT packages. The host
must reply to the INIT package. Each INIT package is sent once, and analyzer software is allowing 3 seconds for the
host PC to reply. Upon the third unsuccessful attempt analyzer software will disable sending messages.
The host PC can wake up the analyzer by sending ENQ package. Analyzer will reply with an INIT package and will
expect a reply as described in the protocol.
Protocols (3.1) that do not require handshake will also send the INIT package but do not expect a reply.
2. USB link
Before connecting the analyzer to a PC with a USB cable, a specific driver must be installed. The driver is available
from http://www.ftdichip.com/Drivers/VCP.htm. Select the driver matching your operating system. Download and
install. Now the analyzer can be connected.
The USB connection utilizes a standard USB A-B cable (not included with the analyzer). The cable must be connected
to a free USB A socket on the PC and the USB B socket on the analyzer.
Upon connection, the pre-installed driver will recognize the analyzer's built-in USB device as a Virtual Serial Port.
A record transmission consists of three parts: a small header, a big text body, and a small footer
A transmission always starts with the control character "Start of Header" (<SOH>, 1, 01H).
The second character is a counter. It will contain a single uppercase English letter in the range "A" to "Z", incrementing
with every record. The first record will contain "A", the second will contain "B", etc. If the instrument sends many
records without being turned off, the counter will overflow from "Z" to "A".
The fourth character is the control character "Start of Text" (<STX>, 2, 02H).
The fifth and consecutive characters form the body of the transmission. The body may contain characters from the
printable range ("Space", 32, 20H to "Tilda" 126, 7EH), and the control characters "Horizontal tab" (<HT>, 9, 09H),
"Carriage return" (<CR>, 13, 0DH), and "Line feed" (<LF>, 10, 0AH). The body contains several lines separated by a
two-byte sequence <CR><LF>. See below for the detailed description of the contents.
The body of the transmission is closed by the control character "End of Text" (<ETX>, 3, 03H).
The footer consists of a two-character checksum in a two-digit hexadecimal form. The checksum is calculated by
summing up the values of all characters in the message header and body, including the beginning <STX> character and
the last <ETX> character, adding 255 (FFH) to it, and keeping only the last two hexadecimal (!) digits.
The last character of a record is always the single control character "End of Transmission" (<EOT>, 4, 04H). There is no
terminating "NULL" (<NUL>, 0, 00H) character at the end. The next record can start right after the <EOT> character.
As mentioned above, after the last channel value in the PLT histogram the body of the record is closed with the
control character "End of Text" (<ETX>, 3, 03H).
HumaCount 30 TS / 80 TS – LIS Interface Manual Version 4 Page 7 of 12
To activate and use this feature, the instrument needs to be connected to a HL7 capable server directly or through a
computer network.
If you want to send results from the analyzer to your PC via TCP/IP
you should set the PC remote port and the EMR remote port
settings. These ports are the receiver side ports.
If you want to send results from the analyzer to your PC via serial
communication you should set the USB-Serial Link to Enabled and
the dedicated USB-Serial Baud Rate. No additional configuration is
required.
5.2.2. Description
Message header (MSH)
MSH|$~\&|A3CPC||||20130816154927||ORU_R01|SAMPLE001|P|2.5.1||||||UNICODE UTF-8|||
PID|||PATIENT_ID001||Thomas A.||19621119000000|F
NTE|1||Dr. Smith
NTE|2||32
Specimen (SPM)
SPM|1|||WB|||||||P
Segment (SAC)
SAC|||SAMPLE001
OBR||AWOS_ID001
OBX|1|TX|WBC||14.80|10^9/l|5.00-10.00|H
The last OBX lines are the histograms, scales and markers of the observation. The histogram contains 256 x 1 byte
th
values. The scale parameter shows the corresponding volume of the 256 column. The scale of the X-axis (volume of
the cells) can be calculated by dividing the scale parameter (i.e. WBC/PLT/RBC SCALE) by 256. The marker’s value
specifies the index of the histogram column (not directly the volume in femtoliter). The related observation identifiers
can be found in the sample message.
After the LIS received the result, a general acknowledge must sent back.
MSH|$~\&|||||20150831143101||ACK| SAMPLE001|P|2.5.1
MSA|AA| SAMPLE001
HumaCount 30 TS / 80 TS – LIS Interface Manual Version 4 Page 12 of 12
6. Notes