You are on page 1of 46

ASTM PROTOCOL

Diagnostica Stago S.A.S - 9, rue des Frres Chausson - 92600 Asnires sur Seine (France)
www.stago.fr- e-mail: stago@stago.fr - RCS Nanterre - N B 305 151 409

80666 0931756

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 - 11/2008. Consequently, all representation and/or reproduction, whether in part or in full, is forbidden and would be considered a violation of Diagnostica Stagos copyrights and other intellectual property rights.

ASTM Protocol

Table of Contents

ToC

1 2 3
3.1 3.2

Physical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Standards used Definitions

1-1

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1 Global definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1

Definitions of characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2

4
4.1 4.2

Global Options menu

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1 Access to the Global Options menu . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1

Description of parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1

5
5.1 5.2 5.3 5.4
5.4.1 5.4.2 5.4.3 5.4.4

Exchange Protocol

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1 Definition of line modules on STA Satellite . . . . . . . . . . . . . . . . . . 5-1

Definition of phases of communication . . . . . . . . . . . . . . . . . . . . . . . 5-1 Host computer to STA Satellite exchanges . . . . . . . . . . . . . . . . . . 5-1 STA Satellite to host computer exchanges . . . . . . . . . . . . . . . . . . . 5-2
Setting up phase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2 Transfer phase (STA Satellite to host computer) . . . . . . . . . . . . . . . . . . . . 5-2 Termination phase (STA Satellite to the host computer) . . . . . . . . . . . . . 5-3 Examples of exchanges from STA Satellite to host computer . . . . . . . . . 5-3

6
6.1 6.2 6.3 6.4 6.5 6.6 6.7

Record Definitions

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1 Message Header Record . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1

Patient Information Record . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-2 Test Order Record . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-4 Result Record . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-6 Request Information Record . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-8 Message Terminator Record . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-9 Manufacturer Information Record . . . . . . . . . . . . . . . . . . . . . . . . . . 6-10

Typical Content of Some Messages

. . . . . . . . . . . . . . . . . . . . . 7-1

1 0931756 - November 2008

ToC

Table of Contents

ASTM Protocol

7.1 7.2 7.3

Result Transmission (STA Satellite to host computer) . . . . . . . . 7-1 Request for a Working List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-1 Working List Return . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-1

8
8.1 8.2 8.3 8.4 8.5

Flow Charts (ASTM)

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-1 Sequencing of Reception/Transmission . . . . . . . . . . . . . . . . . . . . . . . 8-1

Acquisition of a Record from the Host Computer . . . . . . . . . . . . . 8-2 Establishment Phase (STA Satellite to host computer) . . . . . . . . 8-3 Transfer Phase (STA Satellite to Host computer) . . . . . . . . . . . . 8-4 Termination Phase (STA Satellite to Host computer) . . . . . . . . . 8-5

9
9.1 9.2 9.3 9.4 9.5

Example of Traces (ASTM)

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-1

Transmission of Patient File (STA Satellite to host computer) . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-1 Request for a Working List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-3 Working List Return . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-4 Transmission of a Quality Control Result (STA Satellite to host computer) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-5 On-Line Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-7

2 0931756 - November 2008

ASTM Protocol

Physical characteristics

1 Physical characteristics
Interface Connections Exchange protocol Baud rate1 Parity1 Data bit1 Stop bit1 series type, standard RS232C DB-9 plug on the STA Satellite pin 2=reception input pin 3=transmission output pin 5=ground no hardware control line is connected 300, 600, 1200, 2400, 4800 or 9600 baud even, odd or none 7 or 8 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 0931756 - November 2008

Physical characteristics

ASTM Protocol

1-2 0931756 - November 2008

ASTM Protocol

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 0931756 - November 2008

Standards used

ASTM Protocol

2-2 0931756 - November 2008

ASTM Protocol

Definitions

3 Definitions
3.1 Global definitions
Sender Upload Receiver Download Frame Device that has a message to send and that initiates the transmission process. Data transmitted from STA Satellite to the host computer. Device that responds to the sender. Data transmitted from the host computer to the STA Satellite . All framing required for transmission of data. This framing will include: <STX [frame number] [DATA] <ETB> or <ETX> [C1] [C2] <CR> <LF>. Frame number allows the receiver to distinguish between new and 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 Record A group of records that begins with a Header record, and ends with a Terminator 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 an 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. - H (Header), - P (Patient), - O (Order), - R (Result), - Q (Qery), - L (Terminator), - M (Manufacturer).

Frame number (Fn)

List of selected records (See description, chapter 6 of this document):

3-1 0931756 - November 2008

Definitions

ASTM Protocol

3.2 Definitions of characters


<ACK> (06h) <NACK> (15h) <STX> (02h) <ETX> (03h) [C1] [C2] <ENQ> (05h) <ETB> (17h) <EOT> (04h) <CR> (0Dh) <LF> (0Ah) Acknowledge without error Acknowledge with error Start of text transmission End of text transmission Most significant character of checksum Least significant character of checksum Request for line (enquiry) End of transmission block End of transmission Carriage return Line feed

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 0931756 - November 2008

ASTM Protocol

Global Options menu

4 Global Options menu


4.1 Access to the Global Options menu
From the main screen : press the ECS key to bring up to the Main Menu. select the Setup menu, and select the Global Option sub-menu from this menu.

This menu in the STA Satellite program is used, amongst other things, to program the communication parameters between an STA Satellite and a host computer. The access is restricted by a code system.

4.2 Description of parameters


Parameters for which there is a multiple choice are shown in white (to make the different selcetions, use the DELETE key), and those with free entry in blue. Staion number: number by which the host computer identifies the STA Satellite . Maximum=99. Baud rate : chosen transmission speed : 300, 600, 1200, 2400, 4800, 9600 Baud. Parity : type of parity chosen : none, even or odd. Number of Data Bits : 7 or 8 Number of Stop Bits : 1 or 2 Number of On Error Retries : number of times the STA Satellite returns the frame when it receives a character different from <ACK> or <EOT>. In accordance with the Standard E 1381-91, this number has to be set to 6. Check patient Data : Possible choices : YES, when the working list is remotely loaded, the STA Satellite records 4 patient information fields (a maximum of 38 characters for processing and control) and the operator may check them. These 38 characters are defined on the STA Satellite as follows : Information 1 Information 2 Information 3 Information 4 Total 16 characters maximum 12 characters maximum 6 characters maximum 4 characters maximum 38 characters maximum

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 0931756 - November 2008

Global Options menu

ASTM Protocol

4-2 0931756 - November 2008

ASTM Protocol

Exchange Protocol

5 Exchange Protocol
5.1 Definition of line modules on STA Satellite
Idle = no communication in progress Tx = transmission by STA Satellite Rx = reception by STA Satellite

5.2 Definition of phases of communication


ASTM communication is composed of three phases : Establishment phase : line picked up by the host computer or the STA Satellite . Transfer phase : transmission of the different records which compose the message (see Records Definitions, chapter 6). Termination phase : the line is released.

5.3 Host computer to STA Satellite exchanges


Responses of STA Satellite to characters transmitted by the host computer:

Reception of the <ENQ> character transmitted by the host computer 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.

Reception of the <EOT> character transmitted by the host computer 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).

Reception of other characters transmitted by the host computer The STA Satellite proceeds to enter the characters received. After entering a complete frame the STA Satellite verifies the checksum. If this is satisfactory, the STA Satellite acknowledges by returning an <ACK> character (06h). If not, a <NACK> character (15h) is returned. Following the upload of the characters <ACK> or <NACK>, if after 30 seconds, no character is received, then the STA Satellite returns to the Idle line mode.

5-1 0931756 - November 2008

Exchange Protocol

ASTM Protocol

5.4 STA Satellite to host computer exchanges


5.4.1 Setting up phase
If the line mode is Idle, the STA Satellite sends an <ENQ> character (enquiry). Possible responses from the host computer :

Transmission of an <ACK> character by the host computer 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.

Transmission of an <ENQ> character by the host computer The STA Satellite waits 5 seconds and then returns an <ENQ> character.

Transmission of other characters by the host computer 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.

No response from the host computer The STA Satellite waits 15 seconds, and then changes to termination phase (transmission of an <EOT> character) and displays an error message.

5.4.2 Transfer phase (STA Satellite to host computer)


Transmission of the first record by the STA Satellite . Possible responses from the host computer :

Transmission of the <ACK> or <EOT> characters by the host computer The STA Satellite sends the next frame.

The STA Satellite considers the <EOT> character as an acknowledgement character and continues to transmit frames.

5-2 0931756 - November 2008

ASTM Protocol

Exchange Protocol

Transmission of other characters by the host computer

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.

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.

5.4.3 Termination phase (STA Satellite to the host computer)


The STA Satellite transmits an <EOT> and does not wait for any returned character. The STA Satellite changes to Idle line mode.

5.4.4 Examples of exchanges from STA Satellite to host computer

STA Satellite <ENQ>

Hos t computer

<ACK> (or <EOT>) <STX> 1 [DATA1]<ETX>[C1][C2]<CR><LF> ACK> (or <EOT>) <STX> 2 [DATA2]<ETX>[C1][C2]<CR><LF> ACK> (or <EOT>) <STX> 3 [DATA3]<ETX>[C1][C2]<CR><LF> ACK> (or <EOT>) <EOT> No response expected

5-3 0931756 - November 2008

Exchange Protocol

ASTM Protocol

5-4 0931756 - November 2008

ASTM Protocol

Record Definitions

6 Record Definitions
6.1 Message Header Record
Purpose : to identify the sender. Implementation example on the STA Satellite : H|\^&

| | | 99 ^ 2.00 | | | | | | | P | 1.00 | 19941213100400 <CR>

Description of a Message Header Record on the STA Satellite :

PARAGRAPH
NUMBER OF

CHARACTER

FIELD DESCRIPTION

SUPPORTED

E 1394-91
STANDARD

UPLOAD (STA Satellite


TO HOST COMPUTER)

DOWNLOAD (HOST
COMPUTER TO

STA Satellite ) YES YES

7.1.1 H 7.1.2

|
\ ^ & 7.1.3 7.1.4 7.1.5

Record type ID = Header record (48h) Delimiter definition = Field delimiter (7Ch) = Repeat delimiter (5Ch) = Component delimiter (5Eh) = Escape delimiter (26h) Message control ID Access password Sender name or ID =STA Satellite ID numbera (numeric from 1 to 99) = Version number of the ASTM protocol on the analyzer (STA Satellite ) Sender mailing address Reserved field Sender telephone number Sender characteristics Receiver ID

YES YES

| | |
99 ^ 2.00

NO NO YES

NO NO YES

YES

YES

7.1.6 7.1.7 7.1.8 7.1.9 7.1.10

| | | | |

NO NO NO NO NO

NO NO NO NO NO

6-1 0931756 - November 2008

Record Definitions

ASTM Protocol

PARAGRAPH NUMBER OF

CHARACTER

FIELD DESCRIPTION

SUPPORTED

E 1394-91
STANDARD

UPLOAD (STA Satellite


TO HOST COMPUTER)

DOWNLOAD (HOST
COMPUTER TO

7.1.11 7.1.12

| |
P

Comments or special instructions Processing ID P = production Q = Quality Control T = training D = debugging Version No

NO

STA Satellite ) NO

7.1.13

|
1.00

YES YES NO NO YES

NO NO NO NO NO

= Version level of ASTM specifications (E 1394-91) 7.1.14 YES Date and time of message, | 19941213 format : yyyymmddhhmmss yyyy = year 100400 mm = month dd = day hh = hour mm = minutes ss = seconds <CR> Carriage return a. For the STA Satellite , this parameter is defined in the Global Options menu.

NO

6.2 Patient Information Record


Purpose : to give information about the patient.

Implementation examples on the STA Satellite :

P|1|

| | Info1^ Info2^Info3^Info4<CR>

6-2 0931756 - November 2008

ASTM Protocol

Record Definitions

Description of a Patient Information Record on the STA Satellite :

PARAGRAPH NUMBER OF

CHARACTER

FIELD DESCRIPTION

SUPPORTED

E 1394-91
STANDARD

UPLOAD (STA Satellite


TO HOST COMPUTER)

DOWNLOAD (HOST
COMPUTER TO

STA Satellite )

8.1.1 P 8.1.2 8.1.3 8.1.4 8.1.5

Record type ID = Patient Information Record (50h)

|
1

Sequence number Practice Assigned Patient ID Laboratory Assigned Patient ID Patient ID No 3 = 16 Alphanumeric Characters Max. = 12 Alphanumeric Characters Max. = 6 Alphanumeric Characters Max. = 4 Alphanumeric Characters Max. carriage return

YES NO NO NO YES

YES NO NO NO YES

| | |
Item1 ^ Item2 ^ Item3 ^ Item4 <CR>

Fields corresponding to the 8.1.6 8.1.35 paragraphs of the ASTM specification 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-3 0931756 - November 2008

Record Definitions

ASTM Protocol

6.3 Test Order Record


Purpose : in downloading mode (host computer to STA Satellite ), this record is used by the host computer to give orders to the analyzer (STA Satellite ) : list of tests to be run. in uploading mode (STA Satellite to the host computer), this record is used by the STA Satellite to give the sample identification.

Implementation example in downloading mode (host computer to STA Satellite ) : O | 1 | 00120025 |

| ^^^10 \ ^^^11 \ ^^^12 | R <CR>

Implementation example in uploading mode (STA Satellite to host computer) : O | 1 | 00120025 |

| | R <CR>

Description of a Test Order Record :

PARAGRAPH NUMBER OF

CHARACTER

FIELD DESCRIPTION

SUPPORTED

E 1394-91
STANDARD

UPLOAD (STA Satellite


TO HOST COMPUTER)

DOWNLOAD (HOST
COMPUTER TO

STA Satellite )

9.4.1 O 9.4.2 9.4.3

Record type ID = Order record

|
1

Sequence number Specimen ID = 16 Alphanumeric characters Max. Analyzer Specimen ID See Transmission sequence N (in the GLOBAL OPTIONS menu) : => activity => no activity

YES NO YES

YES NO YES

|
00120025

9.4.4

YES NO

NO NO

6-4 0931756 - November 2008

ASTM Protocol

Record Definitions

PARAGRAPH NUMBER OF THE

CHARACTER

FIELD DESCRIPTION

SUPPORTED

E 1394-91
STANDARD

UPLOAD (STA Satellite


TO HOST COMPUTER)

DOWNLOAD

(HOST
COMPUTER TO

9.4.5

|
^

Universal test ID Universal test ID part 1

NO

STA Satellite ) YES

Universal test ID Name ^ Universal test ID Type ^ 10 \ ^ ^ ^ 11 \ ^ ^ ^ 12 9.4.6 Manufacturers or Local Code = ID of the first requested test a = Repeat field delimiter

= ID of the 2nd requested test1 = Repeat field delimiter

= ID of the 3rd requested test 1

|
R

Priority code

YES YES R = Routine YES YES S = Stat NO NO A = as soon possible NO NO C =Callback NO NO P = Preoperative carriage return a. On the STA Satellite , these identifications are the transmission test numbers defined for each test main units (see Reference Manual, chapter 5.1.3.1.). The STA Satellite can accept a maximum of 12 tests for each sample.

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 0931756 - November 2008

Record Definitions

ASTM Protocol

6.4 Result Record


Purpose : to send results to the host computer. Result Record example on the STA Satellite : R | 1 | ^^^10

| 100 | % | | | | F | | | | 19941213100400 <CR>

Description of a Result Record on the STA Satellite :

6-6 0931756 - November 2008

ASTM Protocol

Record Definitions

PARAGRAPH
NUMBER OF

CHARACTER

FIELD DESCRIPTION

SUPPORTED

E 1394-91
STANDARD

UPLOAD

DOWNLOAD

(STA Satellite
TO HOST COMPUTER)

(HOST
COMPUTER TO

10.1.1 R 10.1.2 10.1.3

Record Type ID = Result Record (52h)

YES

STA Satellite ) NO

|
1

Sequence number Universal Test ID Universal Test ID Part 1

NO YES

NO NO

|
^ ^ ^ 10 | 100

Universal Test ID Name Universal Test ID Type Manufacturers or local code = ID of the testa

10.1.4 10.1.5 10.1.6 10.1.7 10.1.8


PARAGRAPH NUMBER OF

|
%

Data or Measurement value = Test result Units = Unit of the test resultb Reference ranges Result Abnormal Flags Nature of abnormality testing
FIELD DESCRIPTION

YES YES NO NO NO
SUPPORTED

NO NO NO NO NO

| | |
CHARACTER

E 1394-91
STANDARD

UPLOAD

DOWNLOAD

(STA Satellite
TO HOST COMPUTER)

(HOST
COMPUTER TO

STA Satellite ) NO NO NO NO NO NO NO

10.1.9

|
F

Result status F = Final result C = Correction of previously transmitted results P = Preliminary results X = Results cannot be done, request will not be honored I = In instrument, results pending S = Partial results M = This result is a MIC level YES NO NO NO NO NO NO

6-7 0931756 - November 2008

Record Definitions
R = This result was previously transmitted N = This result record contains necessary information to run a new order Q = This result is a response to an outstanding query V = Operator verified/approved result

ASTM Protocol

NO NO

NO NO

NO NO

NO NO NO NO NO NO

10.1.10 10.1.11 10.1.12 10.1.13

| | | |
19941213 100400

Date of Change in Instrument Normative Values or Units Operator Identification Date/Time test started Date/Time Test Completed Format : yyyymmddhhmmss yyyy = year

NO NO NO YES c

mm = month dd = day hh = hour mm = minutes ss = seconds <CR> carriage return a. For the STA Satellite , this identification is the transmission test number defined for each related test unit (see Reference Manual of the STA Satellite , chapter 5.1.3.1) b. The list of units available on the STA Satellite is the following : Sec reference time %, mg/dl OD, OD/mn Ratio, INR, g/l, ng/ml, U/ml, Ul/ml, g/ml xxx.x xxxxx x.xxx xx.xx

UA1, UA2, UA3 0 3 decimal c. Only used for the transmission of the quality control results

6-8 0931756 - November 2008

ASTM Protocol

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.

6.5 Request Information Record


Purpose : For the analyzer (STA Satellite ), request of the working list (tests to be run). Implementation example of a Request Information Record: Q | 1 | ^ 00120025 <CR>

6-9 0931756 - November 2008

Record Definitions
Description of a Request Information Record :

ASTM Protocol

PARAGRAPH NUMBER OF

CHARACTER

FIELD DESCRIPTION

SUPPORTED UPLOAD DOWNLOAD

E 1394-91
STANDARD

(STA Satellite
TO HOST COMPUTER)

(HOST COMPUTER TO

STA Satellite )

12.1.1 Q 12.1.2 12.1.3

|
1

Record Type ID = Request Information Record Sequence number Starting Range ID Number Computer System Patient ID Specimen ID = 16 Alphanumeric characters Max. Carriage return

YES NO YES

NO NO NO

|
^ 00120025 <CR>

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.

6.6 Message Terminator Record


Purpose : last record of message. Implemetation example of Message Terminator Record : L | 1 | N <CR> Description of a terminator record :

PARAGRAPH NUMBER

CHARACTER

FIELD DESCRIPTION

SUPPORTED

E 1394-91

standard

UPLOAD

DOWNLOAD

(STA Satellite
TO HOST COMPUTER)

(HOST COMPUTER TO

13.1.1 L

Record Type ID = Terminator message

YES

STA Satellite ) YES

6 - 10 0931756 - November 2008

ASTM Protocol

Record Definitions
| 1 | N Sequence Number Terminator code N = Normal termination T = Sender aborted R = Receiver requested abort E = Unknown system error Q = Error in last request for information I = No information available from last query F = Last request for information processed carriage return NO NO

13.1.2 13.1.3

YES NO NO NO NO NO NO

NO NO NO NO NO NO NO

<CR>

6.7 Manufacturer Information Record


Purpose : to transmit result error code and result alarm code. Implementation example of Manufacturer Information Record : M | 1 | A | @ <CR>

6 - 11 0931756 - November 2008

Record Definitions
Description of a Manufacturer Information Record :

ASTM Protocol

PARAGRAPH NUMBER

CHARACTER

FIELD DESCRIPTION

SUPPORTED

E 1394-91
STANDARD

UPLOAD

DOWNLOAD

(STA Satellite
TO HOST COMPUTER)

(HOST COMPUTER TO

STA Satellite ) NO NO NO

15.1.1 M 15.1.2 15.1.3 | 1 | A | @ <CR>

Record Type ID = Manufacturer Information Record Sequence Number Error Code A = Validated (see error code list below) Alarm Code @ = no alarm (see alarm code list below) carriage return

YES NO YES

15.1.4

YES

NO

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 0931756 - November 2008

ASTM Protocol

Record Definitions

Dfinition of error codes :

Characters '1' '2' '3' '4' '5' '6' '8' 'A'

ASCII Code 31h 32h 33h 34h 35h 36h 38h 41h

Error Code Definition "to be validated" "tech error" ">Mmax." "<Mmin." "Dif>Tol" "QNS" (insufficient quantity of plasma) "linearity" "validated"

Definition of Alarm Codes :

Characters '@' 'A' 'B' 'C' 'D' 'E' 'F' 'G' 'H' 'I' 'J' 'K' 'L' 'M' 'N'

ASCII Code 40h 41h 42h 43h 44h 45h 46h 47h 48h 49h 4Ah 4Bh 4Ch 4Dh 4Eh No alarm Result Not used Quality Control Quality Control Needle n3 Needle n2 Needle n1 Result Result Result Reagent drawer Syringe Not used Not used

Alarm Code Definition

: confirmed with T > Tmax. : out of range or not done : overriden : no level detection : no level detection : no level detection : value in primary units skewed : dilution change : rerun test : temperature out of limit : Maintenance date overdue

If there are several alarm codes for a result, then the most priority one is transmitted. Alarm codes are classified from "@" to "N" with highest priority for code "@".

6 - 13 0931756 - November 2008

Record Definitions

ASTM Protocol

6 - 14 0931756 - November 2008

ASTM Protocol

Typical Content of Some Messages

7 Typical Content of Some Messages


7.1 Result Transmission (STA Satellite to host computer)
Each message refers only to one sample. Header record, Patient record, Test order record, Result record, Manufacturer Information record, Message Terminator record.

7.2 Request for a Working List


Each message refers only to one sample. Header record, Test Order record, Message Terminatior record.

7.3 Working List Return


Each message refers only to one sample. Header record, Patient record, Test Order record, Message Terminator record.

7-1 0931756 - November 2008

Typical Content of Some Messages

ASTM Protocol

7-2 0931756 - November 2008

ASTM Protocol

Flow Charts (ASTM)

8 Flow Charts (ASTM)


8.1 Sequencing of Reception/Transmission
Fig. 1 - Sequencing of reception/transmission

Message to be transmitted ?

Yes

Building of recors to send

No

Analyzer in Tx Line Mode

No

Character on line ?

Yes

No <ENQ> ?

Yes

Send <ACK> Analyzer in Nul Line Mode

B
Analyzer in Rx Line Mode

8-1 0931756 - November 2008

Flow Charts (ASTM)

ASTM Protocol

8.2 Acquisition of a Record from the Host Computer


Fig. 2 - Acquisition of a frame sent by the host computer

Start timer

Read RS232

Record received ?

Yes

Checksum OK ?

Yes

Frame Num. OK ?

Yes

No

No

No

Yes <EOT> ?

Error : Checksum incorrect

Error : Frame num. incorrect

No

No

Time Out ? 30 sec

Yes Data Validation Send <NACK> Send <ACK>

8-2 0931756 - November 2008

ASTM Protocol

Flow Charts (ASTM)

8.3 Establishment Phase (STA Satellite to host computer)


Fig. 3 - Establishment phase (STA Satellite Host computer)

C
Reset Retry counter

D
Send <ENQ>

Start timer

Read RS232

Character received ? No

Yes

<ACK> ?

Yes

No Yes

No

Time Out (15 sec.) ? Yes

<ENQ> ? No

Wait 5 Sec

Wait 10 Sec

Error : No answer from Host Computer Retry Num. + 1 Error : Impossible to get on line Retry counter > n* ? No

Yes

Error : Answer different from <ACK> Error : Impossible to get on line

E D

* n : number of retries if error, defined in the GLOBAL OPTIONS menu, see chapter 4.

8-3 0931756 - November 2008

Flow Charts (ASTM)

ASTM Protocol

8.4 Transfer Phase (STA Satellite to Host computer)


Fig. 4 - Transfer Phase (STA Satellite host computer)

Reset Retry counter

G
Send record

Start timer

Read RS232

Character received ? No

Yes

<ACK> or <EOT> ? No Wait 10 Sec

Yes

Send next record

Last record ? No

Yes

No

Time Out (15 sec.) ? Retry nim. + 1 Yes Error : No answer rom Host computer

F
Yes Error : Answer different from <ACK>

Retry counter > n* ? No

E G

* n : number of retries if error, defined in the GLOBAL OPTIONS menu, see chapter 4 .

8-4 0931756 - November 2008

ASTM Protocol

Flow Charts (ASTM)

8.5 Termination Phase (STA Satellite to Host computer)


Fig. 5 - Termination Phase (STA Satellite host computer)

E
Send <EOT>

8-5 0931756 - November 2008

Flow Charts (ASTM)

ASTM Protocol

8-6 0931756 - November 2008

ASTM Protocol

Example of Traces (ASTM)

9 Example of Traces (ASTM)


9.1 Transmission of Patient File
(STA Satellite to host computer)

STA Satellite <ENQ> Host computer <ACK> STA Satellite

16:09:50

The STA Satellite requests connection to host computer. Host computer answers OK (Acknowledge). The STA Satellite sends the patient record.

16:09:50

16:09:50

<STX>1H|\^&|||99^2.00|||||||P|1.00| 19950227160750<CR><ETX>2A<CR><LF> Host computer <ACK> STA Satellite 16:09:50 16:09:50

Host computer answers OK (Acknowledge). The STA Satellite sends the test order record.

<STX>2P|1|||GISCARD^Gaston^Serv.1^Gr.A <CR><ETX>5D<CR><LF> Host computer <ACK> STA Satellite 16:09:50 16:09:50

Host computer answers OK (Acknowledge). The STA Satellite sends the Test Order record. Host computer answers OK (Acknowledge). The STA Satellite sends the first Result record : TP at 100%.

<STX>3O|1|6|||R<CR><ETX>B7<CR><LF> Host computer <ACK> STA Satellite 16:09:50 16:09:50

<STX>4R|1|^^^1|100|%||||F||||<CR> <ETX>DE<CR><LF> Host computer <ACK> STA Satellite 16:09:51 16:09:51

Host commputer answers OK (Acknowledge). The STA Satellite sends the Manufacturer Information record for the first result. Error Code = validated, Alarm Code = Quality Control : out of range or not done.

<STX>5M|1|A|C<CR><ETX>BB<CR><LF>

9-1 0931756 - November 2008

Example of Traces (ASTM)


Host computer <ACK> STA Satellite 16:09:51 16:09:51

ASTM Protocol

Host computer answers OK (Acknowledge). The STA Satellite sends the second Result record : TP at 10.8 s. Host computer answers OK (Acknowledge). The STA Satellite the Manufacturer Information record for the second result. Error Code=validated, Alarm Code = Quality control: out of range or not done. Host computer answers OK (Acknowledge). The STA Satellite sends the third Result record : TP with INR=1.00.

<STX>6R|2|^^^10|10.8|sec||||F|||| <CR><ETX>5D<CR><LF> Host computer <ACK> STA Satellite 16:09:51 16:09:51

<STX>7M|2|A|C<CR><ETX>BE<CR><LF>

Host computer <ACK> STA Satellite

16:09:51

16:01:51

<STX>0R|3|^^^11|1.00|INR||||F|||| <CR><ETX>FF<CR><LF> Host computer <ACK> STA Satellite 16:09:51 16:01:51

Host computer answers OK (Acknowledgement). The STA Satellite sends the Manufacturer Information record for the third result. Error code =validated, Alarm Code = Quality control : out of range or not done. Host computer answers OK (Acknowledge). The STA Satellite sends the fourth Result record : reference time for TP=12.3 s. Host computer answers OK (Acknowledge). The STA Satellite sends the Manufacturer Information for the fourth result. Error Code = validated, Alarm Code=Quality control : out of range or not done. Host computer answers OK (Acknowledge).

<STX>1M|3|A|C<CR><ETX>B9<CR><LF>

Host computer <ACK> STA Satellite

16:09:51

16:09:51

<STX>2R|4|^^^12|12.3|Tm.||||F|||| <CR><ETX>90<CR><LF> Host computer <ACK> STA Satellite 16:09:52 16:09:51

<STX>3M|4|A|C<CR><ETX>BC<CR><LF>

Host computer <ACK>

16:09:52

9-2 0931756 - November 2008

ASTM Protocol

Example of Traces (ASTM)


16:09:51 The STA Satellite sends the fifth Result record : Fibrinogen at 4.56 g/l.

STA Satellite

<STX>4R|5|^^^3|4.56|g/l.||||F|||| <CR><ETX>FD<CR><LF> Host computer <ACK> STA Satellite 16:09:52 16:09:52

Host computer answers OK (Acknowledge). The STA Satellite sends the Manufacturer Information record for the fifth result. Error Code = validated, Alarm Code = Quality control : out of range or not done. Host computer answers OK (Acknowledge). The STA Satellite sends the sixth Result record : Fibrinogen at 11.9 s.

<STX>5M|5|A|C<CR><ETX>BF<CR><LF>

Host computer <ACK> STA Satellite

16:09:52

16:09:52

<STX>6R|6|^^^30|11.9|sec||||F|||| <CR><ETX>65<CR><LF> Host computer <ACK> STA Satellite 16:09:52 16:09:52

Host computer answers OK (Acknowledge). The STA Satellite sends the Manufacturer Information record for the sixth result. Error Code = validate, Alarm Code = Quality control : out of range or not done. Host computer answers OK (Acknowledge). The STA Satellite sends the Message Terminator record. Host computer answers OK (Acknowledge). The STA Satellite sends an END of transmission.

<STX>7M|6|A|C<CR><ETX>C2<CR><LF>

Host computer <ACK> STA Satellite

16:09:52

16:09:52

<STX>0L|1|N<CR><ETX>03<CR><LF> Host computer <ACK> STA Satellite <EOT> 16:09:52 16:09:52

9.2 Request for a Working List


STA Satellite <ENQ> 16:11:52 The STA Satellite requests connection.

9-3 0931756 - November 2008

Example of Traces (ASTM)


Host computer <ACK> STA Satellite 16:11:52 16:11:52

ASTM Protocol

Host computer answers OK (Acknowledge). The STA Satellite sends the Header record.

<STX>1H|\^&|||99^2.00|||||||P|1.00| 19950227160953<CR><ETX>2F<CR><LF> Host computer <ACK> STA Satellite 16:11:52 16:11:52

Host computer answers OK (Acknowledge). The STA Satellite sends the Request Information record for patient "ESSAI". Host computer answers OK (Acknowledge). The STA Satellite sends the Message Terminatior record. Host computer answers OK (Acknowledge). The STA Satellite sends an END of transmission.

<STX>2Q|1|^ESSAI<CR><ETX>8F<CR><LF > Host computer <ACK> STA Satellite 16:11:53 16:11:52

<STX>3L|1|N<CR><ETX>06<CR><LF> Host computer <ACK> STA Satellite <EOT> 16:11:53 16:11:53

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.3 Working List Return


.

Host computer <ENQ> STA Satellite <ACK>

16:11:53

The host computer requests connection to the STA Satellite . The STA Satellite answers OK (Acknowledge).

16:11:53

9-4 0931756 - November 2008

ASTM Protocol

Example of Traces (ASTM)


16:11:53 The host computer sends the Header record.

Host computer

<STX>1H|\^&|||99^2.00|||||||P|1.00| 19950227161153<CR><ETX>28<CR><LF> STA Satellite <ACK> Host computer <STX>2P|1|||BRUN^Didier^Essai^Site <CR><ETX>DF<CR><LF> STA Satellite <ACK> Host computer 16:11:54 16:11:54 16:11:53 16:11:53

The STA Satellite answers OK (Acknowledge). The host computer sends the Patient record for patient "ESSAI".

The STA Satellite answers OK (Acknowledge). The host computer sends the Test Order record for patient "ESSAI".

<STX>3O|1|ESSAI||^^^1\^^^2\^^^3

|R<CR><ETX>92<CR><LF>

STA Satellite <ACK> Host computer

16:11:54

The STA Satellite answers OK (Acknowledge). The host computer sends the Message Terminator record. The STA Satellite answers OK (Acknowledge). The host computer sends an END of transmission.

16:11:55

<STX>4L|1|N<CR><ETX>07<CR><LF> STA Satellite <ACK> Host computer <EOT> 16:11:55 16:11:55

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.4 Transmission of a Quality Control Result (STA Satellite


to host computer)

9-5 0931756 - November 2008

Example of Traces (ASTM)

ASTM Protocol

STA Satellite <ENQ> Host computer <ACK> STA Satellite

16:10:48

The STA Satellite requests connection to the host computer. Host computer answers OK (Acknowledge). The STA Satellite sends the Header record with Processing ID =Q for quality control. Host computer answers OK (Acknowledge). The STA Satellite sends the Patient record. Host computer answers OK (Acknowledge). The STA Satellite sends the Test Order record for the STA-COAG CONT P (12352). Host computer answers OK (Acknowledge). The STA Satellite sends the Result record : TP at 30% the 24th of February 95 at 08h51mn. Host computer answers OK (Acknowledge). The STA Satellite sends the Manufacturer Information record. Error Code = Validated, Alarm Code = none. Host computer answers OK (Acknowledge). The STA Satellite the Message Terminator record. Host computer answers OK (Acknowledge).

16:10:48

16:10:48

<STX>1H|\^&|||99^2.00|||||||Q|1.00| 19950227160848<CR><ETX>33<CR><LF> Host computer <ACK> STA Satellite 16:10:48 16:10:48

<STX>2P|1|||<CR><ETX>B3<CR><LF> Host computer <ACK> STA Satellite <STX>3O|1|12352|||R<CR><ETX>7E <CR><LF> Host computer <ACK> STA Satellite 16:10:48 16:10:48 16:10:48 16:10:48

<STX>4R|1|^^^1|30|%||||F|||| 19950224085100<CR><ETX>7E<CR><LF> Host computer <ACK> STA Satellite 16:10:48 16:10:48

<STX>5M|1|A|@<CR><ETX>B8<CR><LF>

Host computer <ACK> STA Satellite

16:10:48

16:10:48

<STX>6L|1|N<CR><ETX>09<CR><LF> Host computer <ACK> 16:10:48

9-6 0931756 - November 2008

ASTM Protocol

Example of Traces (ASTM)


16:10:48 The STA Satellite sends an END of transmission.

STA Satellite <EOT>

9.5 On-Line Test


STA Satellite <ENQ> Host computer <ACK> STA Satellite <EOT> 16:08:14 16:08:14 16:08:14 The STA Satellite requests connection to the host computer. Host computer answers OK (Acknowledge). The STA Satellite sends an END of transmission.

9-7 0931756 - November 2008

Example of Traces (ASTM)

ASTM Protocol

9-8 0931756 - November 2008

You might also like