SYS Serial Port LIS Protocol V1.02 Jef
SYS Serial Port LIS Protocol V1.02 Jef
Open Communication: In order to ensure the normal communication between Auto-Chemistry Analyzer and LIS
workstation, “Open Communication” must be selected, otherwise, Auto-Chemistry Analyzer and LIS
communication will be unavailable.
Bidirectional: “Bidirectional” must be selected when applying LIS data. This setting selection is not necessary
when transmitting test result or QC result to LIS. When “Open Communication” is selected, “Bidirectional” is
selectable.
Basic Setting: Only serial port mode is introduced here.
Data Transmission Mode: Including real time mode and batch mode. Those two modes are available when
Auto-Chemistry Analyzer transmitting test result or QC result of the day to LIS work station. On real time mode,
when all items of the sample have results during test or the result of a QC item is obtained, Auto-Chemistry
Analyzer will transmit all information of the sample to LIS work station automatically. On batch mode, user can
transmit the sample information or QC information from Auto-Chemistry Analyzer to LIS work station.
Analyzer ID: Marking Auto-Chemistry Analyzer
Host ID: Marking LIS work station
Serial Port: Selecting valid serial port No.
Baud Rate: Variation times of carrier parameter per unit time. 9600Bps or 19200Bps can be selected. Default as
F-1
UserManual of SYS Auto-Chemistry Analyzer
19200Bps.
Data Bits: 7 or 8. Default as 8.
Stop Bit: 1 or 2. Default as 1.
Parity: N, M, E, O, S. Default as N.
Timeout Retry Time: Time interval used for overtime retry in communication. The communication will stop when
there is no effective communication during overtime retry time. The input range of overtime retry time is 1-15.
Timeout Retry Count: Count used for overtime retry in communication. The communication will stop when there
is no effective communication during overtime retry count. The input range of overtime retry count is 1-6.
LIS Communication Data Format
1. Control Code
LF (Line Feed) (Hex 0A)
CR (Carriage Return) (Hex 0D)
STX (Start of Text) (Hex 02)
ETX (End of Text) (Hex 03)
EOT (End of Transmission) (Hex 04)
ENQ (Enquiry) (Hex 05)
ACK (Acknowledge) (Hex 06)
NAK (Not Acknowledged) (Hex 15)
2. Message Frame / Checksum Calculation
The end frame
[STX] FN Text first char. ...... Text last char. ETX CH CL [CR] [LF]
[STX]
The ASCII code 2, indicating the beginning of a frame transmission.
FN
The frame number modulo 8. Frames of a single Transmission Phase are consecutively numbered beginning with
1. So FN runs from 1 to 7, continues with 0, 1 and so on.
Text
Data content.
[ETX]
ASCII code 3, indicating the end of the text block of an end frame.
CH, CL
Represent the high nibble and the low nibble of the 8 bit checksum, respectively. CH and CL are represented as
two digits of hex numbers. The checksum is the modulo 256 of the sum of ASCII values of the frame characters
starting with and including "FN" and completing with [ETX].
Example for Checksum Calculation:
[STX]1Test[ETX]
FN ‘1’ 049 49
F-2
UserManual of SYS Auto-Chemistry Analyzer
468 = 468
MOD 256
212 = 212
CH ‘D’ 068
CL ‘4’ 052
Result Record R
F-3
UserManual of SYS Auto-Chemistry Analyzer
Field No. E1394 ASTM Field Name Field Contents Max Length Mandatory
10 7.1.10 Receiver ID 20 Y
Field No. E1394 ASTM Field Name Field Contents Max Length Mandatory
15^1 Age(1-200) 3
8.1.15 Special Field 1 N
15^2 Age Unit (‘Y’,’M’,’D’) 1
F-4
UserManual of SYS Auto-Chemistry Analyzer
Field No. E1394 ASTM Field Name Valid Contents Max Length Mandatory
3^1 Sample ID(ID Mode) 22
Specimen ID (
3^2 Sample No.(S. No. Mode) 6
<Sample ID>^
3^3 <Sample No>^ Rack No. 4
9.4.3 <Rack ID>^ Y
3^4 <Position No>^ Position No. 2
<Diluent>^
3^5 ‘Y’ or ‘N’ 1
<Replicate Number>)
3^6 Sample replicate number (1-100) 3
4^1 Instrument Qc Name 20
Specimen ID (
4^2 9.4.4 <Qc Name>^ Qc Lot No. 15 N
<Qc Lot No.>^
4^3 <Module>) Module 1
6 9.4.6 Priority ‘S’ or ’R’ 1 Y
Requested/Ordered
7 9.4.7 ‘YYYYMMDDHHMMSS’ 14 Y
Date and Time
0 - Serum
1 - Urine
2 - Plasma
16 9.4.16 Specimen Descriptor 3 - CSF 1 Y
4 - Gastric juice
5 - Ascites
6 - Other
26 9.4.26 Report Types ‘O’, ‘F’, ‘I’, ‘C’ or ‘X’ 1 Y
F-5
UserManual of SYS Auto-Chemistry Analyzer
Field No. E 1394 ASTM Field Name Field Contents Max Length Mandatory
(1) If send sample result, first
range = normal range second
range = critical range separated
by repeat delimiter ('\')
6 10.1.6 Reference Ranges 30 N
(2) If send QC result, first
value=target mean second
value=target SD. separated by
repeat delimiter ('^').
(1) If send sample result,
Result Abnormal ‘L’,’H’,’N’ or ’A’
7 10.1.7 1 N
Flags (2) If send QC result, QC
regulation(‘’,’1-2s’,’1-3s’)
(1) If send sample result, ‘’
Nature of Abnormality (2) If send QC result, ’+
8 10.1.8 N
Testing 1SD’, ’- 1SD’, ’+ 2SD’, ’-
2SD’, ’+3SD’, ’- 3SD’
9 10.1.9 Result Status ‘F’ or ‘C’ 1 Y
Date/Time Test
13 10.1.13 ‘YYYYMMDDHHMMSS’ 14 N
Completed
F-6
UserManual of SYS Auto-Chemistry Analyzer
Field No. E1394 ASTM Field Name Field Contents Max Length Mandatory
2 13.1.2 Sequence Number 6 Y
3 13.1.3 Termination Code ‘N’ 1 Y
Field No. E1394 ASTM Field Name Field Contents Max Length Mandatory
15^1 Age(1-200) 3
8.1.15 Special Field 1 N
15^2 Age Unit (‘Y’,’M’,’D’) 1
F-7
UserManual of SYS Auto-Chemistry Analyzer
Field No. E1394 ASTM Field Name Valid Contents Max Length Mandatory
2 9.4.2 Sequence Number 6 Y
3^1 Sample ID (ID Mode) 22
3^2 Specimen ID ( Sample No. (S. No. Mode) 6
<Sample ID>^
3^3 <Sample No>^ Rack ID 4
9.4.3 <Rack ID>^ Y
3^4 <Position No>^ Position No. 2
3^5 <Diluent>^ ‘Y’ or ‘N’ 1
<Replicate Number>)
Sample replicate number
3^6 3
(1-100)
5 9.4.5 Universal Test ID 10 Y
6 9.4.6 Priority ‘S’ or ’R’ 1 N
Requested/Ordered
7 9.4.7 ‘YYYYMMDDHHMMSS’ 14 N
Date and Time
0 - Serum
1 - Urine
2 - Plasma
16 9.4.16 Specimen Descriptor 3 - CSF 1 N
4 - Gastric juice
5 - Ascites
6 - Other
26 9.4.26 Report Types ‘O’, ‘F’, ‘I’, ‘C’ or ‘X’ 1 N
Notice:
When the double direction communication apply the testing from the Analyzer To LIS system, If when the LIS
system didn’t find the sample that should be applied, must send:
ENQ
EOT
Examples
1. Message Transmitted from Analyzer to LIS Work Station
Analyzer [ENQ]
HOST [ACK]
Analyzer [STX]1H|\^&||| Analyzer |||||Host||1|20090119131415[CR]
[ETX]24[CR][LF]
HOST [ACK]
Analyzer [STX] 2P|1|||||||||||||^[CR][ETX]E9 [CR][LF]
HOST [ACK]
Analyzer [STX] 3O|1|128123^1^1^2|||R|20090119123027|||||||||1||||||||||O
F-8
UserManual of SYS Auto-Chemistry Analyzer
[CR][ETX]55[CR][LF]
HOST [ACK]
Analyzer [STX] 4R|1|^^^ALT|-2|U/L|^\^|N||F||||20090119123027[CR]
[ETX]32[CR][LF]
HOST [ACK]
Analyzer [STX] 5R|2|^^^AST|1|U/L|^\^|N||F||||20090119123027[CR]
[ETX]0D[CR][LF]
HOST [ACK]
Analyzer [STX] 6R|3|^^^ALB|-8.57|g/l|^\^|N||F||||20090119123027[CR]
[ETX]F6[CR][LF]
HOST [ACK]
Analyzer [STX] 7L|1|N[CR][ETX]0A[CR][LF]
HOST [ACK]
Analyzer [EOT]
2.Apply from analyzer to LIS
Single:
Analyzer [ENQ]
HOST [ACK]
Analyzer [STX]1H|\^&||| Analyzer |||||Host||1|20090119131335[CR]
[ETX]25[CR][LF]
HOST [ACK]
Analyzer [STX] 2Q|1|^130^5^45^N||ALL||||||||O[CR][ETX]B4[CR][LF]
HOST [ACK]
Analyzer [STX] 3L|1|N[CR][ETX]06[CR][LF]
HOST [ACK]
Analyzer [EOT]
Batch:
Analyzer [ENQ]
HOST [ACK]
Analyzer [STX]1H|\^&||| Analyzer |||||Host||1|20090119131335[CR]
[ETX]25[CR][LF]
HOST [ACK]
Analyzer [STX] 2Q|1|^11^2^11^N||ALL||||||||O[CR][ETX]78[CR][LF]
HOST [ACK]
Analyzer [STX] 3Q|2|^12^2^12^N||ALL||||||||O[CR][ETX]7C[CR][LF]
HOST [ACK]
Analyzer [STX] 4Q|3|^13^2^13^N||ALL||||||||O[CR][ETX]80[CR][LF]
HOST [ACK]
Analyzer [STX] 5Q|4|^14^2^14^N||ALL||||||||O[CR][ETX]84[CR][LF]
HOST [ACK]
Analyzer [STX] 6L|1|N[CR][ETX]09[CR][LF]
HOST [ACK]
Analyzer [EOT]
3.Test order from LIS to analyzer
F-9
UserManual of SYS Auto-Chemistry Analyzer
Sample ID mode:
Single:
HOST [ENQ]
Analyzer [ACK]
HOST [STX] 1H|\^&[CR][ETX]E5[CR][LF]
Analyzer [ACK]
HOST [STX] 2P|1|||||||||||||^[CR][ETX]E9[CR][LF]
Analyzer [ACK]
HOST [STX] 3O|1|3977777^4^1^1^N||^^^AST|R|20090119100534||||||||
|1||||||||||O[CR][ETX]51[CR][LF]
Analyzer [ACK]
HOST [STX] 4O|2|3977777^4^1^1^N||^^^TP|R|20090119100534||||||||
|1||||||||||O[CR][ETX]0F[CR][LF]
Analyzer [ACK]
HOST [STX] 5O|3|3977777^4^1^1^N||^^^ALB|R|20090119100534||||||||
|1||||||||||O[CR][ETX]3C[CR][LF]
Analyzer [ACK]
HOST [STX] 6L|1|N[CR][ETX]09[CR][LF]
Analyzer [ACK]
HOST [EOT]
Batch: When transferring batches, no matter how many samples, only one [ENQ] at the beginning and one [EOT]
at the end are allowed, instead of one sample having a set of [ENQ] and [EOT] flags. There can only be one <H>
at the beginning, and there can be only one <L> at the end. Regardless of the number of samples in the middle,
<L> is a sign that the sample information is received and the test is started.
HOST <ENQ>
Analyzer <ACK>
HOST <STX>1H|\^&<CR><ETX>E5<CR><LF>
Analyzer <ACK>
HOST <STX>2P|1||0||wxy|||M||||||20^Y<CR><ETX>89<CR><LF>
Analyzer <ACK>
HOST
<STX>3O|1|160511680414^1^0^1^N^1||^^^ALB|R|20160515154341|N||||||||0||||||||||O<CR><ETX>F9<CR><LF>
Analyzer <ACK>
HOST
<STX>4O|2|160511680414^1^0^1^N^1||^^^ALT|R|20160515154341|N||||||||0||||||||||O<CR><ETX>0D<CR><LF>
Analyzer <ACK>
HOST
<STX>5O|3|160511680414^1^0^1^N^1||^^^P|R|20160515154341|N||||||||0||||||||||O<CR><ETX>7E<CR><LF>
Analyzer <ACK>
HOST
<STX>6O|4|160511680414^1^0^1^N^1||^^^TP|R|20160515154341|N||||||||0||||||||||O<CR><ETX>D4<CR><LF>
Analyzer <ACK>
HOST <STX>7P|2||0||lxy|||M||||||22^Y<CR><ETX>86<CR><LF>
Analyzer <ACK>
HOST
<STX>0O|1|160511120485^2^0^2^N^1||^^^ALB|R|20160515154434|N||||||||0||||||||||O<CR><ETX>F8<CR><LF>
F-10
UserManual of SYS Auto-Chemistry Analyzer
Analyzer <ACK>
HOST
<STX>1O|2|160511120485^2^0^2^N^1||^^^ALT|R|20160515154434|N||||||||0||||||||||O<CR><ETX>0C<CR><LF>
Analyzer <ACK>
HOST
<STX>2O|3|160511120485^2^0^2^N^1||^^^AST|R|20160515154434|N||||||||0||||||||||O<CR><ETX>15<CR><LF>
Analyzer <ACK>
HOST
<STX>3O|4|160511120485^2^0^2^N^1||^^^P|R|20160515154434|N||||||||0||||||||||O<CR><ETX>7F<CR><LF>
Analyzer <ACK>
HOST
<STX>4O|5|160511120485^2^0^2^N^1||^^^TBIL|R|20160515154434|N||||||||0||||||||||O<CR><ETX>5C<CR><LF>
Analyzer <ACK>
HOST <STX>5P|3||0||lxs|||M||||||24^Y<CR><ETX>81<CR><LF>
Analyzer <ACK>
HOST
<STX>6O|1|160510810321^3^0^3^N^1||^^^ALB|R|20160515154540|N||||||||0||||||||||O<CR><ETX>F8<CR><LF>
Analyzer <ACK>
HOST
<STX>7O|2|160510810321^3^0^3^N^1||^^^AST|R|20160515154540|N||||||||0||||||||||O<CR><ETX>13<CR><LF>
Analyzer <ACK>
HOST
<STX>0O|3|160510810321^3^0^3^N^1||^^^P|R|20160515154540|N||||||||0||||||||||O<CR><ETX>75<CR><LF>
Analyzer <ACK>
HOST
<STX>1O|4|160510810321^3^0^3^N^1||^^^TBIL|R|20160515154540|N||||||||0||||||||||O<CR><ETX>52<CR><LF>
Analyzer <ACK>
HOST
<STX>2O|5|160510810321^3^0^3^N^1||^^^TP|R|20160515154540|N||||||||0||||||||||O<CR><ETX>CD<CR><LF>
Analyzer <ACK>
HOST <STX>3P|4||0||pys|||F||||||23^Y<CR><ETX>7D<CR><LF>
Analyzer <ACK>
HOST
<STX>4O|1|160511480468^4^0^4^N^1||^^^DBIL|R|20160515154657|N||||||||0||||||||||O<CR><ETX>5D<CR><LF>
Analyzer <ACK>
HOST
<STX>5O|2|160511480468^4^0^4^N^1||^^^P|R|20160515154657|N||||||||0||||||||||O<CR><ETX>94<CR><LF>
Analyzer <ACK>
HOST
<STX>6O|3|160511480468^4^0^4^N^1||^^^TBIL|R|20160515154657|N||||||||0||||||||||O<CR><ETX>71<CR><LF>
Analyzer <ACK>
HOST
<STX>7O|4|160511480468^4^0^4^N^1||^^^TP|R|20160515154657|N||||||||0||||||||||O<CR><ETX>EC<CR><LF>
Analyzer <ACK>
HOST <STX>0P|5||0||sxt|||F||||||25^Y<CR><ETX>80<CR><LF>
Analyzer <ACK>
HOST
<STX>1O|1|160511010367^5^0^5^N^1||^^^ALT|R|20160515154745|N||||||||0||||||||||O<CR><ETX>13<CR><LF>
F-11
UserManual of SYS Auto-Chemistry Analyzer
Analyzer <ACK>
HOST
<STX>2O|2|160511010367^5^0^5^N^1||^^^AST|R|20160515154745|N||||||||0||||||||||O<CR><ETX>1C<CR><LF>
Analyzer <ACK>
HOST
<STX>3O|3|160511010367^5^0^5^N^1||^^^DBIL|R|20160515154745|N||||||||0||||||||||O<CR><ETX>51<CR><LF>
Analyzer <ACK>
HOST
<STX>4O|4|160511010367^5^0^5^N^1||^^^P|R|20160515154745|N||||||||0||||||||||O<CR><ETX>88<CR><LF>
Analyzer <ACK>
HOST
<STX>5O|5|160511010367^5^0^5^N^1||^^^TP|R|20160515154745|N||||||||0||||||||||O<CR><ETX>DE<CR><LF>
Analyzer <ACK>
HOST <STX>6L|1|N<CR><ETX>09<CR><LF>
Analyzer <ACK>
HOST <EOT>
F-12