0% found this document useful (0 votes)
340 views12 pages

Autobio ASTM Communication Protocol

This document introduces the Autobio ASTM communication protocol for laboratory information systems (LIS) to interface with Autobio automatic immunoluminescence analyzers. It describes the ASTM standard, the message types and segments used in the Autobio interface, including header, patient, test order, result and request records. It also provides examples of message structure and field definitions to guide LIS developers in establishing communication between their system and Autobio analyzers.

Uploaded by

Ân Đình
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
340 views12 pages

Autobio ASTM Communication Protocol

This document introduces the Autobio ASTM communication protocol for laboratory information systems (LIS) to interface with Autobio automatic immunoluminescence analyzers. It describes the ASTM standard, the message types and segments used in the Autobio interface, including header, patient, test order, result and request records. It also provides examples of message structure and field definitions to guide LIS developers in establishing communication between their system and Autobio analyzers.

Uploaded by

Ân Đình
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 12

Autobio ASTM Communication Protocol

The readers of this interface document are those who are in charge of the
development of laboratory information system (LIS) and those who need to know
the ASTM interface of Autobio, so as to guide LIS system developers to develop the
interface and make the LIS system communicate with Autobio automatic
immunoluminescence analyzer to complete the data transmission. Developers need
to have a certain knowledge of LIS and ASTM standards and the ability of network or
serial programming. It is recommended to use Visual C++ and other development
tools (not limited to) for interface development in Windows platform. This interface
document is ASTM protocol document of Autobio automatic immunoluminescence
analyzer, mainly introduces related content of Autobio interface protocol. It consists
of the following two parts:

(1) Instructions for communication protocol of Autobio ASTM.

(2) Autobio ASTM communication process and message example.

Instructions for communication protocol of Autobio ASTM


ASTM is an electronic data interchange standard for inpatient care. Originally defined
by the United States, it has been adopted by many countries. Autobio interface is
defined based on ASTM E 1394-97 for details. The software configuration item of
Autobio automatic immunoluminescence analyzer system supports communication
with laboratory information system (LIS) by TCP/IP or RS232 serial port. The
analyzer requests LIS system to obtain sample application information by means of
real-time scanning of sample barcode. After the sample test is completed, the test
results will be reported to LIS server by means of real-time and batch transmission.

Because Autobio ASTM interface uses a little of data, only a few ASTM defined
message types, segment types, and other data are used in this interface.

1. ASTM bottom layer protocol: ASTM E1381-95

ASTM belongs to simplex communication, which adopts the mode of one post and
one receive. Either of two communicating parties in neutral mode, sending mode, or
receiving mode. Communication process is divided into establishment
communication, data transmission and end communication.

Neutral mode Neutral mode

Start

Receiving mode
Sending mode
mode
Sender
Recipient

End

Neutral mode Neutral mode

The data Frame is divided into middle Frame and end Frame, and the format is as
follows:

Intermediate frames: < STX > FN text < ETB > C1 C2 < CR > < LF >

End frame: < STX > FN text < ETX > C1 C2 < CR > < LF >

1) FN is 0-7, starting at 1

2) C1 and C2 together represent checksum, which is the sum of [<STX>...< ETX>]


or [<STX>...<ETB>].

3) C1 and C2 jointly represent checksum. When checksum is 0x5E, C1 takes 0x35


and C2 takes 0x5.

4) (4) <STX>=0x02, <ETB>=0x17, <ETX>=0x03, <CR>=0x0D, <LF>=0x0A.

5) text consists of message records, which are divided by <CR>. The maximum
length of text is 240 bytes.

6) users can choose the encoding mode of text, such as utf-8; The text segment is
the encoded byte stream.

2. Protocol instructions

In ASTM communication protocol, Message is the basic unit of data exchange


between systems, and each Message has its own Message type. A message is
composed of several segments, each of which is given a name to define its content
or function. A segment is composed of multiple Data fields. cars only The first
segment in a message is always the Head Record, which specifies the program name
to send and receive, the message type, and a unique message ID number, etc. The
composition of the next segment is determined by the type of message.

The messages used by Autobio are recorded as follows:

 Header Record (Message Header Record)

 Patient records (Patient Information Record)

 Test Sheet Record (the Test Order Record)

 Test results record (Result Record)

 Request Information Record (Request Information Record)

 Message end Record (Message Terminator Record)

Autobio uses the following separator

 field delimiter: |

 repeating delimiter: \

 component separator: ^

 escape character: &

3. Introduction to Autobio ASTM records

(1) Message header record

Number Field name Length Instructions


1 Record Type ID 1 Record type identifier, value: H
2 Delimiter Definition 4 Delimiter (domain, repeat,
component, escape), value: |\^&
5 Sender Name or ID 128 Sender device identification, value:
A2000 Plus Autolumo
7 ReservedField 8 As an error code, REQN messages
are always 0
12 Processing ID 8 Message control ID, used as
command word
13 Version Number 7 Protocol version, fixed value :1394-
97
14 Message DateTime 14 Message time, format:
YYYYMMDDHHMMSS

For instance:

 H|\^&|||A2000 Plus Autolumo||0|||||REQ1|1394-97|20190412132052

 H|\^&|||A2000 Plus Autolumo||ErrCode|||||RSP1|1394-97|20190412132213

Note:

(1) Processing ID values range: REQ1, REQ5, REQ7, REQ9, REQ15, RSP1. RSP5,
RSP7, RSP9, RSP15.
(2) The command words used in the Autobio ASTM protocol are listed as follows:

Command Sender Recipient Instructions


Gets sample detailed test request data
REQ1 A2000 Plus LIS for the specified sample number and
the specified medical record number
Response to the sample detailed test
request data for the specified sample
RSP1 LIS A2000 Plus
number and the specified medical
record number
Send test results to LIS according to
REQ5 A2000 Plus LIS
test.
Send test results to LIS reply by test.
RSP5 LIS A2000 Plus
Send test results to LIS according to
REQ7 A2000 Plus LIS samples.

Send test results to LIS reply


RSP7 LIS A2000 Plus
according to samples.
Quickly get the sample detailed test
request data for the specified sample
REQ9 A2000 Plus LIS number and the specified medical
record number.

Respond quickly to obtain sample


detailed test request data for the
RSP9 LIS A2000 Plus specified sample number and the
specified medical record number.

Quickly get the specified sample rack


REQ15 A2000 Plus LIS
number test request data.
Answer to quickly obtain the specified
RSP15 LIS A2000 Plus sample rack number detailed test
request data.

(2) Patient information records

Number Field name Length Instructions


1 Record Type ID 1 Record type identifier, value: P
2 Sequence Number 2 The location of a message record in a
message
4 Laboratory Assigned 32 As medical record number
Patient ID
6 Patient Name Patient name information
Family Name 32 Surname
Given Name 32 Name
8 Birth date 4 For patient age
9 Patient Sex 1 Patient gender, value range: M/F/U
26 Location The patient position
Department 32 Department
His Area 32 ward
Bed 8 Bed no.

For instance:

P|1||PatientNum||FamilyName^GivenName||80|M|||||||||||||||||
Department^HisArea^Bed|||||||||

NOTE: (1) Value range of Patient Sex: M/F/U, where M:male, F:female, U:unknown

(3) Request information record

Number Field name Length Instructions


1 Record Type ID 1 Record type identifier, value: Q
The location of a message record in a
2 Sequence Number 2
message
Starting Range Id
Used as sample information
Number
Sample Id 32 The sample Id
3
Sample Num 32 Sample number
Rack Num 32 Sample rack number
Sample Pos 4 Sample in sample rack position
Request information status code,
Request Information
13 1 take a fixed value: O
Status Codes
(the letter O, not the number 0)

For instance:

Q|1|SampleId^SampleNum^SamplePos^RackNum||||||||||O

(4) Tests record

Number Field name Length Instructions


1 Record Type ID 1 Record type identifier, value: P
2 Sequence Number 2 The location of a message record in a
message
4 Instrument Specimen
Used as sample information
ID
Sample Id 32 The sample Id
Sample Num 32 Sample number
Rack Num 32 Sample rack number
Sample Pos 4 Sample in sample rack position
5 Universal Test Id Used as test information, repeatable
Universal Test Id 32 The test ID
Project Num 32 Item no.
Dilution 8 The test dilution factor
6 Priority 1 STAT, Value range: A/E
15 Specimen Received 14 Time for inspection, format:
DateTime In Lab YYYYMMDDHHMMSS
16 Specimen Descriptor 1 Used as sample type
17 Ordering Physician Sender
Family Name 32 The surname
Given Name 32 The name
19 User Field 1 8 For sample dilution
20 User Field 2 64 Used as a comment
21 Laboratory Field 1 Inspection personnel
Family Name 32 The surname
Given Name 32 The name
22 Laboratory Field 2 1 the sample is empty or not, the value
range is: E/F

For instance:

O|1||SampleId^SampleNum^SamplePos^RackNum|TestId1^PorjectNum1^\
TestId2^PorjectNum2^\TestId3^PorjectNum3^|R|||||||||20180315121032|
SampleType|LabOrderingPhysicianFamilyName^LabOrderingPhysicianGivenName||
Dilution|Comment|LabCheckerFamilyName^LabCheckerGivenName|F|||||||||

NOTE:

(1) value range of Priority: A/R, where A: emergency and R: non-emergency

(2) Laboratory Field 2, E/F, E: empty, F: non-empty

(5) Record of test results

Number Field name Length Instructions


1 Record Type ID 1 Record type identifier, value: R
2 Sequence Number 2 The location of a message record in a
message
3 Universal Test Id Used as test information, repeatable
Test Id 32 The test ID
Project Num 32 Item no
Dilution 8 The test dilution factor
4 Measurement Value The test results
RLU 16 The relative luminescence value of
detection results
Density 16 Concentration value or S/CO value
TBI 8 R interferon negative positive results
(non-interferon item transmission
Empty string)
6 Reference Range Used as reagent information
Reagent Name 32 Name of kit
Reagent Project 32 The item number of the reagent used
in the test
Product Lot 32 Batch number of reagent used
Reagent Expiration 32 Validity of kit
7 Result Abnormal Flag 64 Abnormal flag
9 Result Status Result state, take a fixed value: F
13 Test Completed Date 14 Test completion time, format:
Time YYYYMMDDHHMMSS

For instance:

R|1|TestId^PorjectNum^|RLU^Density^TBI||ReagentName^ReagentProject^Produ
ctLot^ReagentExpiration|Flag||F||||20180315121032|

(6) End of message recording

Number Field name Length Instructions


1 Record Type ID 1 Record type identifier, value: L
2 Sequence Number 2 The location of a message record in a
message
3 Termination Code 1 End code, fixed value: N

For instance:

L|1|N

Examples of Autobio ASTM communication processes and


messages
NOTE: The sample message does not take into account the length limit and may be
sent in frames.

Communication The message Message sample


type direction
Gets sample A2000 Plus-->LIS H | \ ^ & | | | A2000 Plus Autolumo | | 0 |
detailed test | | | | REQ1 | - 1394
request data for 97 | 20190412132356
the specified Q|1|^ sample number ^^|||||||| |0 |1 O
sample number L||1N
and the LIS -->A2000 Plus H | \ ^ & | | | A2000 Plus Autolumo | |
specified Errcode | | | | | RSP1 | - 1394
medical record 97 | 20190412132356
number P|1|| case no. || ^ name ||80|M||| |1 |2 |
3 |4 |6 |7 |8 |9 |0 |1 |2 |3 |4 gynecology
^ ward 1
^ bed 1 |||||||||
O|1||^ sample number ^^|^ project
A^10 ^ project B^20 ^ project
C ^ 30 | A | | | | | | | | | 20150315201211
| | l ^ 5 | | 100 | Comment | l ^
name | | | | | | | | | |
L||1N
Gets sample A2000 Plus-->LIS H | \ ^ & | | | A2000 Plus Autolumo | | 0 |
detailed test | | | | REQ9 | - 1394
request data for 97 | 20190412132356
the specified Q|1|^ sample number ^ sample rack
sample number number ^ sample location |||||||| |0 |1 O
and the L||1N
specified LIS -->A2000 Plus H | \ ^ & | | | A2000 Plus Autolumo | |
medical record ErrCode | | | | | RSP9 | - 1394
number 97 | 20190412132356
P|1|| case no. |||||||| |1 |3 |4 |6 |7 |8 |9 |
1 |3 |4 |5 |7 |7 |9 |1 |2 |3
O|1||^ sample number ^^|^ project
A^10 ^ project B^20 ^ project
C ^ 30 | A | | | | | | | | | | serum | | | 100
||||||||||||
L||1N
Quickly get the A2000 Plus-->LIS H | \ ^ & | | | A2000 Plus Autolumo | | 0 |
specified | | | | REQ15 | - 1394
sample rack 97 | 20190412132356
number detailed Q|1|^^ sample stand ^ sample location
test request |||||||| |0 |1 O
data L||1N
LIS -->A2000 Plus H | \ ^ & | | | A2000 Plus Autolumo | |
ErrCode | | | | | RSP15 | - 1394
97 | 20190412132356
P|1|| case no. |||||||| |1 |3 |4 |6 |7 |8 |9 |
1 |3 |4 |5 |7 |7 |9 |1 |2 |3
O|1||^ sample number ^ sample rack
number ^ sample location |^ project A^10
^ project
B^20 ^ project C^30|R||||||||| |0 plasma
|1 |2 |3 100 |4 |5 |6 F |7 |8 |9 |0 |1 |2 |3
|4 |5
L||1N
Send test A2000 Plus-->LIS H | \ ^ & | | | A2000 Plus Autolumo | | 0 |
results to LIS | | | | REQ7 | - 1394
according to 97 | 20190412132356
samples P|1||||||||||||||||||||||||
|||||||||
O|1|| sample ID^ sample number ^
sample rack number ^ sample location |^
item A^\^ item
Item B^\^ item C^|||||||||| |1 |1 |3 |4 |6
|7 |8 |9 |0 |1 |2 |3 |4 |5
R | 1 | A ^ ^ project | 100 ^ ^ 0.01 | | | |
|F|||||
R | 2 | B ^ ^ project | 200 ^ ^ 0.02 | | | |
|F|||||
R | 3 | C ^ ^ project 300 ^ ^ 0.03 | | | | |
|F|||||
L||1N
LIS -->A2000 Plus H | \ ^ & | | | A2000 Plus Autolumo | |
ErrCode | | | | | RSP7 | - 1394
97 | 20190412132356 p | 1 | | case
number
||||||||| |1 |1 |3 |4 |6 |7 |8 |9 |1 |2 |3 |6 |
7 |8 |9 |0 O|1 1 |2 |3 sample ID^ sample
number
^^|||||||||||||||||||||||||
||L||1N
Send test A2000 Plus-->LIS H | \ ^ & | | | A2000 Plus Autolumo | | 0 |
results to LIS | | | | REQ5 | - 1394
according to 97 | 20190412132356
test P|1|| case no. |||||||| |1 |3 |4 |6 |7 |8 |9 |
1 |3 |4 |5 |7 |7 |9 |1 |2 |3
O|1||^ sample number ^ sample rack
number ^ sample location | test ID^
project number
^||||||||||||||||||||||||||
R|1| test ID^ item number ^|RLU^
concentration ^TBI|| reagent name ^
reagent item number
^ reagent batch ^2030-10-1| flag ||F||||
19981015231056|
L||1N
LIS -->A2000 Plus H | \ ^ & | | | A2000 Plus Autolumo | |
ErrCode | | | | | RSP5 | - 1394
97 | 20190412132356
P|1|| case no. |||||||| |1 |3 |4 |6 |7 |8 |9 |
1 |3 |4 |5 |7 |7 |9 |1 |2 |3
O|1||^ sample number ^^| test ID^
project number
^||||||||||||||||||||||||||
L||1N

Encoding example (encoding in utf-8)


(1) Get the sample detailed test request data of the specified
sample number and the specified medical record number
For instance:

H | \ ^ & | | | A2000 Plus Autolumo | | 0 | | | | | REQ1 | | 20190412132858. 1394-


97

Q|1|^ sample number ^^|||||||| |0 |1 O

L||1N

Encoded data stream :(107 bytes)

02 31 48 7C 5C 5E 26 7C 7C 7C
41 32 30 30 30 20 50 6C 75 73

20 41 75 74 6F 6C 75 6D 6F 7C

7C 30 7C 7C 7C 7C 7C 52 45 51

31 7C 31 33 39 34 2D 39 37 7C

32 30 31 39 30 34 31 32 31 33

32 38 35 38 0D 51 7C 31 7C 5E

E6 A0 B7 E6 9C AC E7 BC 96 E5

8F B7 5E 5E 7C 7C 7C 7C 7C 7C

7C 7C 7C 7C 4F 0D 4C 7C 31 7C

4E 0D 03 44 45 0D 0A

(2) Get the sample detailed test request data of the specified
sample number and the specified medical record number
For instance:

H | \ ^ & | | | A2000 Plus Autolumo | | 0 | | | | | REQ5 | | 20190412133033. 1394-


97

P|1|| case no. |||||||| |1 |3 |4 |6 |7 |8 |9 |1 |3 |4 |5 |7 |7 |9 |1 |2 |3

O | 1 | | number ^ sample rack number ^ ^ sample location test ID number ^ ^


project | | | | | | | | | | | | | | | | | | | | | | | | | | |

R|1| test ID^ |RLU^ concentration ^TBI|| reagent name ^ reagent project number
^ reagent batch ^2030-1| 0-1 flag | | F | | | | 19981015231056 |

L||1N

Framing:

Frame1:

H | \ ^ & | | | A2000 Plus Autolumo | | 0 | | | | | REQ5 | | 20190412133033. 1394-


97

P|1|| case no. |||||||| |1 |3 |4 |6 |7 |8 |9 |1 |3 |4 |5 |7 |7 |9 |1 |2 |3

O | 1 | | number ^ sample frame number ^ ^ sample location test ID number ^ ^


project | | | | | | | | | | | | | | | | | | | | | | | | | | |

Frame 1 data stream :(213 bytes)

02 31 48 7C 5C 5E 26 7C 7C 7C

41 32 30 30 30 20 50 6C 75 73

20 41 75 74 6F 6C 75 6D 6F 7C
7C 30 7C 7C 7C 7C 7C 52 45 51

35 7C 31 33 39 34 2D 39 37 7C

32 30 31 39 30 34 31 32 31 33

33 30 33 33 0D 50 7C 31 7C 7C

E7 97 85 E5 8E 86 E5 8F B7 7C

7C 7C 7C 7C 7C 7C 7C 7C 7C 7C

7C 7C 7C 7C 7C 7C 7C 7C 7C 7C

7C 7C 7C 7C 7C 7C 7C 7C 7C 7C

0D 4F 7C 31 7C 7C 5E E6 A0 B7

E6 9C AC E7 BC 96 E5 8F B7 5E

E6 A0 B7 E6 9C AC E6 9E B6 E7

BC 96 E5 8F B7 5E E6 A0 B7 E6

9C AC E4 BD 8D E7 BD AE 7C E6

B5 8B E8 AF 95 49 44 5E E9 A1

B9 E7 9B AE E7 BC 96 E5 8F B7

5E 7C 7C 7C 7C 7C 7C 7C 7C 7C

7C 7C 7C 7C 7C 7C 7C 7C 7C 7C

7C 7C 7C 7C 7C 7C 7C 0D 17 31

32 0D 0A

Frame 2:

R|1| test ID^ |RLU^ concentration ^TBI|| reagent name ^ reagent project number
^ reagent batch ^2030-1

| 0-1 flag | | F | | | | 19981015231056 |

L||1N

Frame 2 data stream :(137 bytes)

02 32 52 7C 31 7C E6 B5 8B E8

AF 95 49 44 5E E9 A1 B9 E7 9B

AE E7 BC 96 E5 8F B7 5E 7C 52

4C 55 5E E6 B5 93 E5 BA A6 5E
54 42 49 7C 7C E8 AF 95 E5 89

82 E5 90 8D 5E E8 AF 95 E5 89

82 E9 A1 B9 E7 9B AE E7 BC 96

E5 8F B7 5E E8 AF 95 E5 89 82

E6 89 B9 E6 AC A1 5E 32 30 33

30 2D 31 30 2D 31 7C E6 97 97

E6 A0 87 7C 7C 46 7C 7C 7C 7C

31 39 39 38 31 30 31 35 32 33

31 30 35 36 7C 0D 4C 7C 31 7C

4E 0D 03 45 31 0D 0A

You might also like