Monarch Module 1000 Lis

Download as pdf or txt
Download as pdf or txt
You are on page 1of 15

Appendix

LIS Communication Setting Instruction


(Version 1.0)

Auto-Chemistry Analyzer and LIS Communication Interface Introduction


Auto-Chemistry Analyzer and LIS communication interface adopts serial port communication mode,
which has been adopted by most analyzers. This communication interface follows ASTM standard
protocol (refer to section 6-13 of ASTM 1394). ASTM standard protocol provides a bi-directional
communication channel for Auto-Chemistry Analyzer and LIS workstation.

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.

LIS Communication Setting Description


The setting interface is as follow:

Open Communication: In order to ensure the normal communication between Auto-Chemistry


Analyzer and LIS workstation, “Open Communication” must be selected,
1
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. 4800Bps, 9600Bps or 19200Bps can be

selected. Default as 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
2
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
3
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]

Symbol Character Value (decimal) Sum


[STX] [STX] 002 0
FN ‘1’ 049 49
Text ‘T’ +084 133
‘e’ +101 234
‘s’ +115 349
‘t’ +116 465
[ETX] [ETX] +003 468
468 = 468
MOD 256
212 = 212
CH ‘D’ 068
CL ‘4’ 052
[CR] [CR] 013
[LF] [LF] 010

Therefore, frame will be transmitted in this form:

[STX]1Test[ETX]D4[CR][LF]
3. Delimiters

The Presentation Layer uses some characters as special delimiter codes. These characters may not

be used as normal message text:


Delimiter Character Char. ASCII decimal ASCII hex.
Record delimiter = carriage return <CR> 13 0Dh
Field delimiter = vertical bar | 124 7Ch
Repeat delimiter = backslash \ 92 5Ch
Component delimiter = caret ^ 94 5Eh
Escape delimiter = ampersand & 37 26h

4. Table of Record Message Type


Record Name Identifier

4
Message Header Record H
Patient Information Record P
Test Order Record O
Result Record R
Message Terminator Record L
Request Information Record Q

5. Data Record Usage


(Refer to ASTM 1394, particularly sections 6 through 13)
1) Auto-Chemistry Analyzer transmit message to LIS work station

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.

Message Header Record (H)


Description:

The Message Header Record to LIS is the first record of each message.
Example:

<STX><FN>H|\^&|||Analyzer|||||Host|||1|20081124151206<CR><ETX>[ Checksum] <CR><LF>


Field No. E1394 ASTM Field Name Field Contents Max Length Mandatory
1 7.1.1 Record Type ID ‘H’ 1 Y
2 7.1.2 Delimiter Definition ‘| \ ^ &’ 4 Y
5 7.1.5 Sender Name or ID ‘Analyzer’ 20 Y
10 7.1.10 Receiver ID 20 Y
13 7.1.13 Version No. ‘1’ 1 Y
14 7.1.14 Date and Time of Message ‘YYYYMMDDHHMMSS’ 14 Y

Patient Information Record (P)

Description:

This record is used to transmit patient sex and age to LIS.

Example:

When transmitting sample result information:

<STX><FN>P|1||||ZhangDongdong|||M||||||40^Y<CR><ETX>[ Checksum] <CR><LF>

When transmitting Control result information:

<STX><FN>P|1||||QC|||||||||^<CR><ETX>[ Checksum] <CR><LF>

5
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
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

Test Order Record (O)

Description:

This record holds information regarding analysis request and sample information to LIS.

Example::

When transmitting sample result:

(1)Sample No. , Barcode Rack NO.Mode:

<STX><FN>O|1|^1^N001^10^N^1|||R|20081124151012|||||||||1||||||||||O

<CR><ETX><CheckSum><CR><LF>

(2) Barcode ID Mode:

<STX><FN>O|1|CA2201320078^^N001^10^N^1|||R|20081124151012|||||||||1||||||||||O<CR><ETX

><CheckSum><CR><LF>
When transmitting Control result:

<STX><FN>O|1|^0^C001^1^N^1|LANDOX-1^2333^|||20110104172413|||||||||1||||||||||O<CR><ET

X><CheckSum><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
9.4.4 N
4^2 Specimen ID ( Qc Lot No. 15

6
<Qc Name>^
4^3 <Qc Lot No.>^ Module 1
<Module>)
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

Result Record (R)


Description:

The Result Record to LIS contains the result of a single analytical determination.

Example:

When transmitting sample result:


<STX><FN>R|1|^^^GGT|4.96|mg/dL|3^12\0^20|N||F||||20081124151012

<CR><ETX><CheckSum><CR><LF>

When transmitting Control result:


<STX><FN>R|1|^^^ALT|333|U/L|2^22|1-3s|>+3SD|||||20110104172413

<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 =
6 10.1.6 Reference Ranges 30 N
normal range
second range =

7
critical range
separated by
repeat delimiter ('\')
(2) If send QC result,
first value=target
mean second
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

2) Request Information Record to LIS


Description:

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::

Sample NO. , Barcode Rack No. Mode:

<STX><FN>Q|1|^1^N001^1^N| |ALL||||||||O<CR><CTX><CheckNum><CR><LF>

Sample Barcode ID Mode:

<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
8
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>)
5 10.1.5 Universal Test ID ‘ALL’ Y
Request Information Status
13 10.1.13 ‘A’ or ‘O’ 1 Y
Codes

Message Terminator Record:

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

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.

Message Header Record (H)

Description:

The Message Header Record to the analyzer is the first record of each message.

Example:

<STX><FN>H|\^&<CR><ETX>[ Checksum] <CR><LF>


Field No. E1394 ASTM Field Name Field Contents Max Length Mandatory
1 7.1.1 Record Type ID ‘H’ 1 Y
2 7.1.2 Delimiter Definition ‘| \ ^ &’ 4 Y

Patient Information Record (P)


Description:

This record is used to transfer patient sex and age to the analyzer.

9
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
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

Test Order Record (O)

Description:
This record holds information regarding analysis request and sample information to the analyzer.

Example:

Sample No., Barcode Rack No. Mode:

<STX><FN>O|1|^1^N001^10^N^1||^^^ALT|R|20081124151012|||||||||1||||||||||O<CR><ETX><Chec

kNum><CR><LF>

Sample ID Mode:

<STX><FN>O|1|AB2201022318^^N001^10^N^1||^^^ALT|R|20081124151012|||||||||1||||||||||O<C

R><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
1 - Serum
2 - Urine
3 - Plasma
16 9.4.16 Specimen Descriptor 1 N
4 - CSF
5 - Gastric juice
6 - Ascites
10
7 - Other
26 9.4.26 Report Types ‘O’, ‘F’, ‘I’, ‘C’ or ‘X’ 1 N

Message Terminator Record

Description

The Message Terminator Record to the analyzer 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’ 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

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

[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]

11
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]

12
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

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:

13
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|128123^1^1^1^N||^^^ALT|R|20090119100417||||||||

|1||||||||||O[CR][ETX]F9[CR][LF]

Analyzer [ACK]

HOST [STX] 4O|2|128123^1^1^1^N||^^^AST|R|20090119100417||||||||

|1||||||||||O[CR][ETX]02[CR][LF]

Analyzer [ACK]

HOST [STX] 5L|1|N[CR][ETX]08[CR][LF]

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|1281234^2^1^2^N||^^^ALT|R|20090119100425||||||||

|1||||||||||O[CR][ETX]2E[CR][LF]

Analyzer [ACK]

HOST [STX] 4O|2|1281234^2^1^2^N||^^^ALB|R|20090119100425||||||||

|1||||||||||O[CR][ETX]1E[CR][LF]

Analyzer [ACK]

HOST [STX] 5L|1|N[CR][ETX]08[CR][LF]

Analyzer [ACK]

HOST [STX] 1H|\^&[CR][ETX]E5[CR][LF]

Analyzer [ACK]

HOST [STX] 2P|1|||||||||||||^[CR][ETX]E9[CR][LF]

Analyzer [ACK]

14
HOST [STX] 3O|1|3977777^4^1^3^N||^^^AST|R|20090119100534||||||||

|1||||||||||O[CR][ETX]53[CR][LF]

Analyzer [ACK]

HOST [STX] 4O|2|3977777^4^1^3^N||^^^TP|R|20090119100534||||||||

|1||||||||||O[CR][ETX]11[CR][LF]

Analyzer [ACK]

HOST [STX] 5O|3|3977777^4^1^3^N||^^^ALB|R|20090119100534||||||||

|1||||||||||O[CR][ETX]3E[CR][LF]

Analyzer [ACK]

HOST [STX] 6L|1|N[CR][ETX]09[CR][LF]

Analyzer [ACK]

HOST [EOT]

15

You might also like