Professional Documents
Culture Documents
PROTOCOL
Diagnostica Stago S.A.S - 9, rue des Frères Chausson - 92600 Asnières sur Seine (France) 80666
www.stago.fr- e-mail: stago@stago.fr - RCS Nanterre - N° B 305 151 409 0931756B
Information contained in this document, in particular data, pictures, information, trademarks and logos are
protected by copyrights and other intellectual property rights.
© 2008, Diagnostica Stago, all rights reserved - 09/2014.
Consequently, all representation and/or reproduction, whether in part or in full, is forbidden and would be
considered a violation of Diagnostica Stago’s copyrights and other intellectual property rights.
ASTM Protocol RT
Revision Table
Revision Table
0931372A Addition of code ’0’ in table "Definition of error codes", Chapter 6.7
Manufacturer Information Record
0931756B
RT ASTM Protocol
Revision Table
0931756B
ASTM Protocol ToC
Table of Contents
3 Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-1
3.1 Global definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-1
3.2 Definitions of characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-2
0931756B
ToC ASTM Protocol
Table of Contents
0931756B
ASTM Protocol 1
Physical characteristics
1 Physical characteristics
Data bit1 - 7 or 8
Stop bit1 - 1 or 2
1. : these parameters have to be specified in the Global Options menu of the STA Satellite<
software
(see chapter "Menu Global Options")
1-1
0931756B
1 ASTM Protocol
Physical characteristics
1-2
0931756B
ASTM Protocol 2
Standards used
2 Standards used
The ASTM communication protocol on STA Satellite< is based on the 2 following standards:
- E 1381-91 : Specification for Low-Level Protocol to transfer messages between Clinical
Laboratory Instruments and Computer Systems,
- E 1394-91 : Standard Specification for transferring information between Clinical Instruments and
Computer Systems.
2-1
0931756B
2 ASTM Protocol
Standards used
2-2
0931756B
ASTM Protocol 3
Definitions
3 Definitions
Sender Device that has a message to send and that initiates the transmission
process.
Download Data transmitted from the host computer to the STA Satellite< .
Frame All framing required for transmission of data. This framing will include:
<STX [frame number] [DATA] <ETB> or <ETX> [C1] [C2]
<CR> <LF>.
Frame number Frame number allows the receiver to distinguish between new and
(Fn) retransmitted frames.
ASCII digit ranging from 0 to 7. The frame number begins at 1with the
first frame of transferi phase. It is incremented by one for every new
frame transmitted. After 7, the frame number rolls over to 0, and
continues in this fashion.
Message A group of records that begins with a Header record, and ends with a
Terminator record.
Record This is the DATA as described within the frame. If the DATA is longer
than 240 characters, then it must be split into two parts and sent in
two frames. The intermediate frame will use the [ ETB ] character and
the ending frame will use the [ETX] character.
For our application:
- in download mode, a frame may include several records, indeed a
message.
- in upload mode, one frame is used for sending each record.
List of selected records (See description, chapter 6 of this document):
- - H (Header),
- - P (Patient),
- - O (Order),
- - R (Result),
- - Q (Query),
- - L (Terminator),
- - M (Manufacturer).
3-1
0931756B
3 ASTM Protocol
Definitions
Checksum of a frame : binary sum of all characters except <STX>, [C1], [C2], <CR> and <LF>.
Only the 8 less significant bits are shown in two hexadecimal characters (For example, a checksum
equal to 122 will be shown as 7A in hexadecimal, the two ASCII characters 7[C1] and A[C2] will be
sent one after the other).
3-2
0931756B
ASTM Protocol 4
Global Options menu
- NO, when the working list is remotely loaded, the STA Satellite< records the 4 patient
information fields but the operator cannot check them. For more details, see chapter 4.2
4-1
0931756B
4 ASTM Protocol
Global Options menu
4-2
0931756B
ASTM Protocol 5
Exchange Protocol
5 Exchange Protocol
If the STA Satellite< is in the Idle mode,it transmits an <ACK> character (06h) and then
changes to reception line mode Rx.
If after 30 seconds, no character is received, the STA Satellite< returns to the Idle line mode.
If the STA Satellite< is in the Rx reception line mode and a header record has been received,
the STA Satellite< then changes to Idle line mode (releasing the line).
The STA Satellite< analyses the records received.
If the STA Satellite< is in Tx transmission line mode, the <EOT> character is considered as an
acknowledgement (see chapter 5.4.2).
5-1
0931756B
5 ASTM Protocol
Exchange Protocol
The STA Satellite< changes to Tx transmission line mode and initiates the frame transfer phase
if it is in normal mode, or initiates the termination phase (transmission of an [EOT] character) if
it is in the line test mode.
The STA Satellite< waits 5 seconds and then returns an <ENQ> character.
The STA Satellite< waits 10 seconds and then returns to an <ENQ> character. When the value
"Number of Retries On Error" defined in the Global Options menu (see chapter 4) is achieved,
the STA Satellite< changes to termination phase (transmission of an <EOT> character) and
displays an error message.
The STA Satellite< waits 15 seconds, and then changes to termination phase (transmission of an
<EOT> character) and displays an error message.
The STA Satellite< considers the <EOT> character as an acknowledgement character and
continues to transmit frames.
5-2
0931756B
ASTM Protocol 5
Exchange Protocol
The STA Satellite< waits 10 seconds before returning the frame. If the number of «On Error Retries»
is superior to the one defined in the Global Options menu (see chapter 4), the STA Satellite<
changes to termination phase (transmission of an <EOT> character) and displays an error message.
3 No response from the host computer
The STA Satellite< waits 15 seconds and then changes to termmination phase (trasnmission of an
<EOT> character) and displays an error message.
<ENQ>
<STX> 1 [DATA1]<ETX>[C1][C2]<CR><LF>
<STX> 2 [DATA2]<ETX>[C1][C2]<CR><LF>
<STX> 3 [DATA3]<ETX>[C1][C2]<CR><LF>
<EOT>
No response expected
5-3
0931756B
5 ASTM Protocol
Exchange Protocol
5-4
0931756B
ASTM Protocol 6
Record Definitions
6 Record Definitions
6-1
0931756B
6 ASTM Protocol
Record Definitions
6-2
0931756B
ASTM Protocol 6
Record Definitions
6-3
0931756B
6 ASTM Protocol
Record Definitions
6-4
0931756B
ASTM Protocol 6
Record Definitions
^
Universal test ID Name
^
Universal test ID Type
^
Manufacturer’s or Local Code
10 = ID of the first requested test a
= Repeat field delimiter
\
^
^
^
= ID of the 2nd requested testa
11
= Repeat field delimiter
\
^
^
^ = ID of the 3rd requested test a
12
Fields 9.4.7 to 9.4.31as defined in the ASTM Specifications E 1394-91 are not supported. In
downloading mode (host computer to STA Satellite< ), if these fields exist, they are ignored. In
uploading mode (STA Satellite< to host computer), the record format described above is used.
6-5
0931756B
6 ASTM Protocol
Record Definitions
6-6
0931756B
ASTM Protocol 6
Record Definitions
10
10.1.4 | Data or Measurement value YES NO
100 = Test result
10.1.5 | Units YES NO
% = Unit of the test resultb
10.1.6 | Reference ranges NO NO
10.1.7 | Result Abnormal Flags NO NO
10.1.8 | Nature of abnormality testing NO NO
6-7
0931756B
6 ASTM Protocol
Record Definitions
NO NO
6-8
0931756B
ASTM Protocol 6
Record Definitions
One record for each result.If for a requested test, the result can be expressed in 3 different units,
then there will be 3 different records.
In the STA Satellite< application, the Result Record is always followed by the Manufacturer
Information Record (see chapter 6.7 below).
Field 10.1.14 as defined in the ASTM Specifications E 1394-91is not supported. In downloading
mode (host computer to STA Satellite< ), if this field exists, it is ignored. In uploading mode (STA
Satellite< to host computer), the record format described above is used.
Q | 1 | ^ 00120025 <CR>
6-9
0931756B
6 ASTM Protocol
Record Definitions
Field 12.1.4 à 12.1.13 as defined in the ASTM Specifications E 1394-91 are not supported. In
downloading mode (host computer to STA Satellite< ), if these fields exist, they are ignored. In
uploading mode (STA Satellite< to host computer), the record format described above is used.
L | 1 | N <CR>
6 - 10
0931756B
ASTM Protocol 6
Record Definitions
M | 1 | A | @ <CR>
6 - 11
0931756B
6 ASTM Protocol
Record Definitions
On the STA Satellite<, a Manufacturer Information Record always follows a result record to
indicate the Error and the Alarm code of the result.
Examples :
R | 1 | ^^^10 | 100 | % | | | | F | | | | 19941213100400 <CR>
M | 1 | A | @ <CR>
R | 2 | ^^^11 | 13.2 | sec. | | | | F | | | | 19941213100400 <CR>
M | 2 | A | @ <CR>
R | 3 | ^^^12 | 1.23 | INR | | | | F | | | | 19941213100400 <CR>
M | 3 | A | @ <CR>
6 - 12
0931756B
ASTM Protocol 6
Record Definitions
For error codes "0", "2", "3", "4", "6" or "8", the value "0" is transmitted to the SIL in the Result record.
For error codes "1", "5" or "A", a result is transmitted.
Definition of Alarm Codes :
If there are several alarm codes for a result, then the most priority one is transmitted. Alarm codes
are classified from "@" to "U" with highest priority for code "@".
6 - 13
0931756B
6 ASTM Protocol
Record Definitions
6 - 14
0931756B
ASTM Protocol 7
Typical Content of Some Messages
7-1
0931756B
7 ASTM Protocol
Typical Content of Some Messages
7-2
0931756B
ASTM Protocol 8
Flow Charts (ASTM)
No Character
on line ?
Yes
No
<ENQ> ?
Yes
Send <ACK>
Analyzer in Rx Line
Mode
8-1
0931756B
8 ASTM Protocol
Flow Charts (ASTM)
Start timer
Read RS232
No No No
Yes Error :
Error : «Frame
<EOT> ? «Checksum
num. incorrect»
incorrect»
No
No Time Out ?
30 sec
Yes
Data Validation Send <NACK> Send <ACK>
8-2
0931756B
ASTM Protocol 8
Flow Charts (ASTM)
D
Send <ENQ>
Start timer
Read RS232
No No
Yes
No Time Out <ENQ> ? Wait 5 Sec C
(15 sec.) ?
No
Yes Wait 10 Sec
No
Error : «Impossible to get
E on line»
D
E
* n : number of retries if error, defined in the GLOBAL OPTIONS menu, see chapter 4.
8-3
0931756B
8 ASTM Protocol
Flow Charts (ASTM)
G
Send record
Start timer
Read RS232
No
No
Yes
Wait 10 Sec Last record ? E
No Time Out
No
(15 sec.) ?
Retry nim. + 1
Yes F
No
E E
G
* n : number of retries if error, defined in the GLOBAL OPTIONS menu, see chapter 4 .
8-4
0931756B
ASTM Protocol 8
Flow Charts (ASTM)
Send <EOT>
8-5
0931756B
8 ASTM Protocol
Flow Charts (ASTM)
8-6
0931756B
ASTM Protocol 9
Example of Traces (ASTM)
9-1
0931756B
9 ASTM Protocol
Example of Traces (ASTM)
9-2
0931756B
ASTM Protocol 9
Example of Traces (ASTM)
9-3
0931756B
9 ASTM Protocol
Example of Traces (ASTM)
The STA Satellite< is allowed to transmit several messages "Request for a working file" one after
the other without allowing the intermediate return of these (see chapter 3.1 of this protocol and
standard E 1381-91).
9-4
0931756B
ASTM Protocol 9
Example of Traces (ASTM)
9-5
0931756B
9 ASTM Protocol
Example of Traces (ASTM)
This message "Working List Return" can also be used to add tests, to return tests or to modify the
priority code.
To add tests, Test Order record has to include the local codes of tests to be added.
To rerun tests, it has to include the local codes of the tests to be rerun.And, to modify only the
priority code for a patient file already present in the STA Satellite< Working File, short Test Order
records can be used:
- example to modify priority code from "routine" to "stat": O|1|ESSAI|||S<CR>.
9-6
0931756B
ASTM Protocol 9
Example of Traces (ASTM)
9-7
0931756B
9 ASTM Protocol
Example of Traces (ASTM)
9-8
0931756B