1-Host Interface Manual Version 1.1
1-Host Interface Manual Version 1.1
1-Host Interface Manual Version 1.1
Version 1.1
BASIC LIS RELATED TERMS
1. Control Codes
[ENQ][STX] Text first char. ...... Text last char. [ETX] [EOT]
[ENQ]
is the ASCII code 5, indicating the request for transmission
[STX]
is the ASCII code 2, indicating the beginning of a frame transmission.
Text
is the data content of a frame.
[ETX]
is the ASCII code 3, indicating the end of the text block of an end frame.
[EOT]
is the ASCII code 4 indicating the end of transmission.
[ENQ][STX]1Test[ETX][EOT]
3. Delimiters
ASCII
Delimiter Character Char. ASCII hex.
decimal
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
5. Communication Options
Item Specifications
Com Port 1~4
Baud rate 4800,9600,19200
data bit 7,8
Parity bit Even, Odd, None
Stop bit 1,2
6. Retry Times Out
Each record sent by the MAGLUMI will contain up to the last field used by the
MAGLUMI, which may or may not be all fields possible for the record. The first <Max
Length> characters are significant only. Any more characters transmitted for a
specific field are ignored.
Mandatory:
Y: Field is mandatory and has to be considered.
N: Field is not mandatory. The field has to be considered by the LIS, but it is
transmitted only if information is available at Maglumi. When the
information is not available an empty field is transmitted.
Description:
The Message Header Record to the host is the first record of each
message.
Example:
<STX>H|\^&|||MAGLUMI|||||Host|||1|20081124151206<CR><ETX>
Field Field
E1394 ASTM Field Name Max Length Mandatory
No. Contents
Description:
This record is used to transfer patient sex and age to the host (within result
message).
Example:
<STX>P|1||||ZhangDongdong|||M||||||40^Y<CR><ETX>
Field Field
E1394 ASTM Field Name Max Length Mandatory
No. Contents
1 8.1.1 Record Type ID ‘P’ 1 Y
2 8.1.2 Sequence Number 6 Y
‘M’, ‘F’
9 8.1.9 Patient Sex 1 N
or ‘U’
Age
15^1 3
(1-200)
8.1.15 Special Field 1 N
Age Unit
15^2 1
(‘Y’,’M’,’D’)
Test Order Record (O)
Description:
This record holds information regarding analysis request and sample information
to the host (within result message).
Example:
<STX>O|1|CA2201320078^^1^10^N|||R|20081124151012|||||||||1|||||||||
|O<CR><ETX>
Field Max
E1394 ASTM Field Name Valid Contents Mandatory
No. Length
1 9.4.1 Record Type ID ‘O’ 1 Y
2 9.4.2 Sequence Number 6 Y
Sample ID
3^1 Specimen ID 22
(ID Mode)
(<Sample ID>^
Sample No.
3^2 <Sample No>^ 6
9.4.3 (S. No. Mode) Y
<Disk ID>^
3^3 Disk No. 1
<Position No>^
3^4 Position No. 2
<Diluent>)
3^5 ‘Y’ or ‘N’ 1
6 9.4.6 Priority ‘S’ or ’R’ 1 Y
Requested/Ordered ‘YYYYMMDD
7 9.4.7 14 Y
Date and Time HHMMSS’
1 - Serum
2 - Urine
16 9.4.16 Specimen Descriptor 3 - CSF 1 Y
4 - Suprnt
5 - Others
Example:
<STX>R|1|^^^GGT|4.96|mg/dL|3^12\0^20|N||F||||20081124151012<CR><
ETX>
Field Field
E 1394 ASTM Field Name Max Length Mandatory
No. Contents
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
Data or Measurement
4 10.1.4 12 N
Value
5 10.1.5 Units 10 N
first range =
normal range
second range
= critical
6 10.1.6 Reference Ranges 30 N
range
separated by
repeat
delimiter ('\')
Result Abnormal ‘L’,’H’,’N’
7 10.1.7 1 N
Flags or ’A’
Example:
<STX>Q|1|AC2201023321^^0^1^N| |ALL||||||||O<CR><CTX>
Field
E1394 ASTM Field Name Field Contents Max Length Mandatory
No.
Sample ID
3^1 22
(ID Mode)
Starting Range ID Sample No.
3^2 6
Number (S. No. Mode)
(<Sample ID>^
3^3 10.1.3 <Sample No>^ Disk No. 1 Y
<Disk ID>^
<Position No>^
3^4 Position No. 2
<Diluent>)
Request Information
13 10.1.13 ‘A’ or ‘O’ 1 Y
Status Codes
Description:
The Message Terminator Record to the host is used with the Message
Header Record to encapsulate related patient information.
Example:
<STX>L|1|N<CR><ETX>
Field Field
E1394 ASTM Field Name Max Length Mandatory
No. Contents
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 Maglumi. 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:
<STX>H|\^&<CR><ETX>
Field Field
E1394 ASTM Field Name Max Length Mandatory
No. Contents
Description:
This record is used to transfer patient sex and age to the analyzer (within
test selection message).
Example:
<STX>P|1||123456||ZhangDongdong|||M||||||40^Y<CR><ETX>
Field Field
E1394 ASTM Field Name Max Length Mandatory
No. Contents
1 8.1.1 Record Type ID ‘P’ 1 Y
2 8.1.2 Sequence Number 6 Y
Laboratory Assigned Sample ID or
4 8.1.4 22 N
Patient ID Sample No.
‘M’, ‘F’
9 8.1.9 Patient Sex 1 N
or ‘U’
Age
15^1 3
(1-200)
8.1.15 Special Field 1 N
Age Unit
15^2 1
(‘Y’,’M’,’D’)
Description:
This record holds information regarding analysis request and sample information
to the analyzer (within test selection message).
Example:
<STX>O|1|AB2201022318^^1^10^N||^^^ALT|R|20081124151012|||||||||
1||||||||||O<CR><ETX>
Field Max
E1394 ASTM Field Name Valid Contents Mandatory
No. Length
1 9.4.1 Record Type ID ‘O’ 1 Y
2 9.4.2 Sequence Number 6 Y
Sample ID
3^1 Specimen ID 22
(ID Mode)
(<Sample ID>^
Sample No.
3^2 <Sample No>^ 6
9.4.3 (S. No. Mode) Y
<Disk ID>^
3^3 Disk ID 1
<Position No>^
3^4 Position No. 2
<Diluent>)
3^5 ‘Y’ or ‘N’ 1
5 9.4.5 Universal Test ID 10 Y
6 9.4.6 Priority ‘S’ or ’R’ 1 N
Requested/Ordered ‘YYYYMMDD
7 9.4.7 14 N
Date and Time HHMMSS’
1 - Serum
2 - Urine
16 9.4.16 Specimen Descriptor 3 - CSF 1 N
4 - Suprnt
5 - Others
Description
The Message Terminator Record to the analyzer is used with the Message
Header Record to encapsulate related patient information.
Example:
<STX>L|1|N<CR><ETX>
Field Field
E1394 ASTM Field Name Max Length Mandatory
No. Contents
notice:
When the double direction communication apply the testing from the MAGLUMI To Lis
system,If when the lis system didn’f find the sample that should be applied,must be send:
ENQ
EOT