Professional Documents
Culture Documents
(Version 1.02)
Through this interface, Auto-Chemistry Analyzer can apply sample information registered in LIS workstation
manually or automatically, and transmit test result and QC result to LIS workstation manually or automatically.
The data transmitted through this interface all follow ASTM standard protocol format.
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
1
when transmitting test result or QC result to LIS. When “Open Communication” is selected,
“Bidirectional” is selectable.
Data Transmission Mode:Including real time mode and batch mode. Those two modes are available when
Baud Rate:Variation times of carrier parameter per unit time. 9600Bps or 19200Bps can be selected. Default
as 19200Bps.
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
2
LIS Communication Data Format
1. Control Code
[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
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].
3
Example for Checksum Calculation:
[STX]1Test[ETX]
[STX]1Test[ETX]D4[CR][LF]
3. Delimiters
The Presentation Layer uses some characters as special delimiter codes. These characters may not be used
Mandatory:
Y: Field is mandatory and have to be considered.
N: Field is not mandatory. The field have to be considered by the LIS, but it is transmitted only if
information is available at Liaison. When the information is not available an empty field is transmitted.
The Message Header Record to LIS is the first record of each message.
Example:
Description:
Example:
5
9 8.1.9 Patient Sex „M‟, „F‟ or „U‟ 1 N
15^1 Age(1-200) 3
8.1.15 Special Field 1 N
15^2 Age Unit („Y‟,‟M‟,‟D‟) 1
Description:
This record holds information regarding analysis request and sample information to LIS.
Example::
<STX><FN>O|1|^1^N001^10^N^1|||R|20081124151012|||||||||1||||||||||O
<CR><ETX><CheckSum><CR><LF>
<STX><FN>O|1|CA2201320078^^N001^10^N^1|||R|20081124151012|||||||||1||||||||||O<CR><ETX><Check
Sum><CR><LF>
When transmitting Control result:
<STX><FN>O|1|^0^C001^1^N^1|LANDOX-1^2333^|||20110104172413|||||||||1||||||||||O<CR><ETX><Chec
kSum><CR><LF>
Field No. E1394 ASTM Field Name Valid Contents Max Length Mandatory
1 9.4.1 Record Type ID „O‟ 1 Y
2 9.4.2 Sequence Number 6 Y
3^1 Specimen ID ( Sample ID(ID Mode) 22
3^2 <Sample ID>^ Sample No.(S. No. Mode) 6
3^3 <Sample No>^ Rack No. 4
3^4 9.4.3 <Rack ID>^ Position No. 2 Y
3^5 <Position No>^ „Y‟ or „N‟ 1
<Diluent>^ Sample replicate number
3^6 3
<Replicate Number>) (1-100)
4^1 Instrument Qc Name 20
4^2 Specimen ID ( Qc Lot No. 15
9.4.4 <Qc Name>^ N
4^3 <Qc Lot No.>^ Module 1
<Module>)
6 9.4.6 Priority „S‟ or ‟R‟ 1 Y
7 9.4.7 Requested/Ordered „YYYYMMDDHHMMSS‟ 14 Y
6
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
The Result Record to LIS contains the result of a single analytical determination.
Example:
<CR><ETX><CheckSum><CR><LF>
<CR><ETX><CheckSum><CR><LF>
Field No. E 1394 ASTM Field Name Field Contents Max Length Mandatory
1 10.1.1 Record Type ID R 1 Y
2 10.1.2 Sequence Number 5 Y
3 10.1.3 Universal Test ID 10 Y
4^1 Data result 10 N
Sample replicate number
4^2 3
(1-100)
10.1.4 Data or Measurement Value
1-Out Cell N
4^3 2-In Cell 1
(Control)
5 10.1.5 Units 10 N
(1) If send sample
result, first range =
normal range
second range =
critical range
6 10.1.6 Reference Ranges 30 N
separated by
repeat delimiter ('\')
(2) If send QC result,
first value=target
mean second
7
value=target SD.
separated by
repeat delimiter
('^').
(1) If send sample
result, „L‟,‟H‟,‟N‟
or ‟A‟
Result Abnormal
7 10.1.7 (2) If send QC result, 1 N
Flags
QC
regulation(„‟,‟1-2s‟,
‟1-3s‟)
(1) If send sample
result, „‟
(2) If send QC
8 10.1.8 Nature of Abnormality Testing result, ‟+ 1SD‟, ‟- N
1SD‟, ‟+ 2SD‟, ‟-
2SD‟, ‟+3SD‟, ‟-
3SD‟
9 10.1.9 Result Status „F‟ or „C‟ 1 Y
13 10.1.13 Date/Time Test Completed „YYYYMMDDHHMMSS‟ 14 N
The Request Information Record to LIS is used to request sample program information from LIS. A query is
typically performed when a sample bar code has been read on the instrument and no sample program
information is found locally. All queries are made by sample ID.
Example::
<STX><FN>Q|1|^1^N001^1^N| |ALL||||||||O<CR><CTX><CheckNum><CR><LF>
<STX><FN>Q|1|AC2201023321^^N001^1^N| |ALL||||||||O<CR><CTX><CheckNum><CR><LF>
Field No. E1394 ASTM Field Name Field Contents Max Length Mandatory
1 10.1.1 Record Type ID „Q‟ 1 Y
2 10.1.2 Sequence Number 6 Y
3^1 Starting Range ID Number Sample ID(ID Mode) 22
3^2 (<Sample ID>^ Sample No.(S. No. Mode) 6
3^3 <Sample No>^ Rack No. 4
10.1.3 Y
3^4 <Rack ID>^ Position No. 2
<Position No>^
3^5 „Y‟ or „N‟ 1
<Diluent>)
8
5 10.1.5 Universal Test ID „ALL‟ Y
Request Information Status
13 10.1.13 „A‟ or „O‟ 1 Y
Codes
Description:
The Message Terminator Record to LIS is used with the Message Header Record to encapsulate related
patient information.
Example:
<STX><FN>L|1|N<CR><ETX><CheckNum><CR><LF>
Field No. E1394 ASTM Field Name Field Contents Max Length Mandatory
1 13.1.1 Record Type ID „L‟ 1 Y
2 13.1.2 Sequence Number 6 Y
3 13.1.3 Termination Code „N‟ 1 Y
3)Message Transmitted to Auto-Chemistry Analyzer from LIS Work Station
N: Field is not mandatory. The field have to be considered by the LIS, but it is transmitted
only if information is available at Liaison. When the information is not available an empty
field is transmitted.
Description:
The Message Header Record to the analyzer is the first record of each message.
Example:
This record is used to transfer patient sex and age to the analyzer.
Example:
<STX><FN>P|1||123456||ZhangDongdong|||M||||||40^Y<CR><ETX>[Checksum] <CR><LF>
Field No. E1394 ASTM Field Name Field Contents Max Length Mandatory
1 8.1.1 Record Type ID „P‟ 1 Y
2 8.1.2 Sequence Number 6 Y
9
Laboratory Assigned Sample ID or Sample
4 8.1.4 22 N
Patient ID No.
6 8.1.6 Patient Name 30 N
9 8.1.9 Patient Sex „M‟, „F‟ or „U‟ 1 N
15^1 Age(1-200) 3
8.1.15 Special Field 1 N
15^2 Age Unit („Y‟,‟M‟,‟D‟) 1
Description:
This record holds information regarding analysis request and sample information to the analyzer.
Example:
<STX><FN>O|1|^1^N001^10^N^1||^^^ALT|R|20081124151012|||||||||1||||||||||O<CR><ETX><CheckNum><
CR><LF>
Sample ID Mode:
<STX><FN>O|1|AB2201022318^^N001^10^N^1||^^^ALT|R|20081124151012|||||||||1||||||||||O<CR><ETX
><CheckNum><CR><LF>
Field No. E1394 ASTM Field Name Valid Contents Max Length Mandatory
1 9.4.1 Record Type ID „O‟ 1 Y
2 9.4.2 Sequence Number 6 Y
3^1 Specimen ID ( Sample ID (ID Mode) 22
3^2 <Sample ID>^ Sample No. (S. No. Mode) 6
3^3 <Sample No>^ Rack ID 4
3^4 9.4.3 <Rack ID>^ Position No. 2 Y
3^5 <Position No>^ „Y‟ or „N‟ 1
<Diluent>^ Sample replicate number
3^6 3
<Replicate Number>) (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
Description
The Message Terminator Record to the analyzer is used with the Message Header Record to encapsulate
10
related patient information.
Example:
<STX><FN>L|1|N<CR><ETX><CheckNum><CR><LF>
Field No. E1394 ASTM Field Name Field Contents Max Length Mandatory
1 13.1.1 Record Type ID „L‟ 1 Y
2 13.1.2 Sequence Number 6 Y
3 13.1.3 Termination Code „N‟ or ‟I‟ 1 Y
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
Analyzer [ENQ]
HOST [ACK]
[ETX]24[CR][LF]
HOST [ACK]
HOST [ACK]
[CR][ETX]55[CR][LF]
HOST [ACK]
[ETX]32[CR][LF]
HOST [ACK]
[ETX]0D[CR][LF]
HOST [ACK]
11
[ETX]F6[CR][LF]
HOST [ACK]
HOST [ACK]
Analyzer [EOT]
2. Apply from analyzer to LIS
Single:
Analyzer [ENQ]
HOST [ACK]
[ETX]25[CR][LF]
HOST [ACK]
HOST [ACK]
HOST [ACK]
Analyzer [EOT]
Batch:
Analyzer [ENQ]
HOST [ACK]
[ETX]25[CR][LF]
HOST [ACK]
HOST [ACK]
HOST [ACK]
HOST [ACK]
12
HOST [ACK]
HOST [ACK]
Analyzer [EOT]
3.Test order from LIS to analyzer
Sample ID mode:
Single:
HOST [ENQ]
Analyzer [ACK]
Analyzer [ACK]
Analyzer [ACK]
|1||||||||||O[CR][ETX]51[CR][LF]
Analyzer [ACK]
|1||||||||||O[CR][ETX]0F[CR][LF]
Analyzer [ACK]
|1||||||||||O[CR][ETX]3C[CR][LF]
Analyzer [ACK]
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>
13
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>
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>
14
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>
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>
15
Analyzer <ACK>
HOST <EOT>
16