ASTM PROTOCOL
Diagnostica Stag Stago S.A.S S.A.S - 9, rue rue desFr Frères ères Cha Chaus usson son - 926 92600 00 Asnières sur Seine (Fra (France)
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 Stago’s copyrights and other intellectual property rights.
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 Stago’s copyrights and other intellectual property rights.
ASTM Protocol
ToC To C
Tab Ta ble of Co Con ntents
1
Physical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-1
2
Standarrds used . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Standa
2-1
3
Definitions
3.1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1 Global definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
3.2
Definit efinitio ions ns of cha charracter cters s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
4
Globa Gl oball Opti ptions ons men enu u ....................................
4.1
4-1 Access to the Gl Globa oball Opti ptions ons menu . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
4.2
Description of parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
5
Exchange Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.1
Definiti efinition on of liline ne modules on STA Satelli tellite te<
5.2
Definit efinitio ion n of phase ses s of commun unicatio ication n . . . . . . . . . . . . . . . . . . . . . . . 5-1
5.3
Host com compu puter ter to STA Satell tellit ite e< exchanges . . . . . . . . . . . . . . . . . . 5-1
5.4
STA Satellite< to host computer exchanges . . . . . . . . . . . . . . . . . . . 5-2
5.4.1 5.4 .1
Settingup ph pha ase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2
5.4.2
Transfer phase (STA Satellite< to hos hostt compu puter) ter) . . . . . . . . . . . . . . . . . . . . 5-2
5.4.3
Term Te rmin ina atio ion n phase (STA Satellit ite e< to the hos hostt compu puter) ter) . . . . . . . . . . . . . 5-3
5.4.4
Exam Exa mples of exchanges fr from om STA Satel tellilite te< to host host com compu puter ter . . . . . . . . . 5-3
6
Recor Re cord d Defin Definiti itions ons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-1 . . . . . . . . . . . . . . . . . . 5-1
6.1
6-1 Messag Messa ge Hea eader der Recor Record d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1
6.2
Pati Pa tien entt Informati tion on Recor Record d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-2
6.3
Tes estt Order Re Record cord . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-4
6.4
Result Record . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-6
6.5
Reque Re quest st Infor nform mati tion on Re Recor cord d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-8
6.6
Message Terminator Record . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-9
6.7
Manufa Man ufactur cturer er Infor nform mati tion on Re Recor cord d . . . . . . . . . . . . . . . . . . . . . . . . . . 6-10
7
Typica ypicall Cont ontent ent of Some Mess essa ages
. . . . . . . . . . . . . . . . . . . . . 7-1
1
ToC To C
2
Tab Ta ble of Co Con ntents
ASTM Protocol
7.1
Resu Re sult lt Trans nsm mission (ST (STA A Satell tellit ite e< to host computer) . . . . . . . . 7-1
7.2
Reque Re quest st for a Wo Worrki king ng Li List st . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-1
7.3
Working List Return . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-1
8
Flow Charts (AS (AST TM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8.1
8-1 Sequencing of Reception/Transmission . . . . . . . . . . . . . . . . . . . . . . . 8-1
8.2
Acquisiti Acquis ition on of a Re Recor cord d fr from om the Host Com ompu puter ter . . . . . . . . . . . . . 8-2
8.3
Establishm Establi shment Phas Phase e (ST (STA A Satel tellilite te< to host computer) . . . . . . . . 8-3
8.4
Trans nsfer fer Pha Phase se (ST (STA A Satell tellit ite e< to Host computer) . . . . . . . . . . . . 8-4
8.5
Termina erminati tion on Pha Phase se (ST (STA A Satell tellit ite e< to Host computer) . . . . . . . . . 8-5
9
Exam Exa mple of Traces (A (AS STM)
9.1
Trans nsm mission of Patient Fi File le (STA Satellite< to host computer) . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-1
9.2
Reque Re quest st for a Wo Worrki king ng Li List st . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-3
9.3
Working List Return . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-4
9.4
Tran ransm smiss ission ion of aQualility ty Contr ontrol ol Re Res sult (S (ST TA Satell tellite ite< to host compucomputer) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-5
9.5
On-Line Test Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-7
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-1
ASTM Protocol
Physical characteristics
1
1 Physical characteristics
Interface
-
series type, standard RS232C
Connections
-
DB-9 plug on the STA Satellite<
-
pin 2=reception input
-
pin 3=transmission output
-
pin 5=ground
Exchange protocol
-
no hardware control line is connected
Baud rate1
-
300, 600, 1200, 2400, 4800 or 9600 baud
Parity1
-
even, odd or none
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")
11
1
12
Physical characteristics
ASTM Protocol
ASTM Protocol
Standards used
2
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.
21
2
22
Standards used
ASTM Protocol
ASTM Protocol
Definitions
3
3 Definitions 3.1 Global definitions Sender
Device that has a message to send and that initiates the transmission process.
Upload
Data transmitted from STA Satellite< to the host computer.
Receiver
Device that responds to the sender.
Download
Data transmitted from the host computer to the STA Satellite< .
Frame
All framing required for transmission of data. This framing will include:
or [C1] [C2] .
Frame number (Fn)
Frame number allows the receiver to distinguish between new and retransmitted frames. ASCII digit ranging from 0 to 7. The frame number beginsat 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
Thisisthe DATA as described withinthe frame. If the DATA islonger than240characters, 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.
List of selected records (See description, chapter 6 of this document): -
- H (Header),
-
- P (Patient),
-
- O (Order),
-
- R (Result),
-
- Q (Qery),
-
- L (Terminator),
-
- M (Manufacturer).
31
3
Definitions
ASTM Protocol
3.2 Definitions of characters (06h)
Acknowledge without error
(15h)
Acknowledge with error
(02h)
Start of text transmission
(03h)
End of text transmission
[C1]
Most significant character of checksum
[C2]
Least significant character of checksum
(05h)
Request for line (enquiry)
(17h)
End of transmission block
(04h)
End of transmission
(0Dh)
Carriage return
(0Ah)
Line feed
Checksum of a frame : binary sumof all characters except , [C1], [C2], and .
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).
32
ASTM Protocol
Global Options menu
4
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.
Thismenu 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 or . 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
16 characters maximum
Information 2
12 characters maximum
Information 3
6 characters maximum
Information 4
4 characters maximum
Total -
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
41
4
42
Global Options menu
ASTM Protocol
ASTM Protocol
Exchange Protocol
5
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: 1
Reception of the character transmitted by the host computer If the STA Satellite< is in the Idle mode,it transmits an 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.
2
Reception of the 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 character is considered as an acknowledgement (seechapter 5.4.2).
3
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 character (06h). If not, a character (15h) is returned. Followingthe upload of the characters or , if after 30 seconds, no character is received, then the STA Satellite< returns to the Idle line mode.
51
5
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 character (enquiry). Possible responses from the host computer : 1
Transmission of an 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.
2
Transmission of an character by the host computer The STA Satellite< waits 5 seconds and then returns an character.
3
Transmission of other characters by the host computer The STA Satellite< waits 10 secondsand then returns to an character. When the value "Number of Retries On Error" defined in theGlobal Options menu (seechapter4) is achieved, the STA Satellite< changes to termination phase (transmission of an character) and displays an error message.
4
No response from the host computer The STA Satellite< waits 15 seconds, and then changes to termination phase (transmission of an 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 : 1
Transmission of the or characters by the host computer The STA Satellite< sends the next frame.
The STA Satellite< considers the character as an acknowledgement character and continues to transmit frames.
52
ASTM Protocol
2
Exchange Protocol
5
Transmission of other characters by the host computer
The STA Satellite< waits 10seconds before returningthe 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 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 character) and displays an error message.
5.4.3 Termination phase (STA Satellite< to the host computer) The STA Satellite< transmits an 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<
Hos t computer
1 [DATA1][C1][C2]
2 [DATA2][C1][C2]
ACK> (or )
ACK> (or )
3 [DATA3][C1][C2]
(or )
ACK> (or )
No response expected
53
5
54
Exchange Protocol
ASTM Protocol
ASTM Protocol
6
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
Description of a Message Header Record on the STA Satellite< :
P ARAGRAPH
CHARACTER
FIELD DESCRIPTION
SUPPORTED
NUMBER OF
E 1394-91
UPLOAD (STA Satellite<
DOWNLOAD (HOST
TO HOST COMPUTER)
COMPUTER TO
STA Satellite<)
YES YES
YES YES
NO
NO
NO
NO
=STA Satellite< ID numbera (numeric from 1 to 99)
YES
YES
= Version number of the ASTM protocol on the analyzer (STA Satellite< )
YES
YES
Sender mailing address
NO
NO
Reserved field
NO
NO
Sender telephone number
NO
NO
Sender characteristics
NO
NO
Receiver ID
NO
NO
STANDARD
7.1.1
Record type ID
H 7.1.2
7.1.3 7.1.4 7.1.5
Delimiter definition
|
= Field delimiter (7Ch)
\ ^ &
= Repeat delimiter (5Ch) = Component delimiter (5Eh) = Escape delimiter (26h)
| | |
Message control ID
99 ^ 2.00
7.1.6 7.1.7 7.1.8 7.1.9 7.1.10
= Header record (48h)
| | | | |
Access password Sender name or ID
61
6
ASTM Protocol
Record Definitions
PARAGRAPH
CHARACTER
FIELD DESCRIPTION
SUPPORTED
NUMBER OF
E 1394-91 STANDARD
7.1.11
|
Comments or special instructions
7.1.12
|
Processing ID
7.1.13
7.1.14
P
P = production Q = Quality Control T = training D = debugging
|
Version No
1.00
= Versionlevel ofASTM specifications(E 1394-91)
|
Date and time of message,
6.2 Patient Information Record Purpose : to give information about the patient.
Implementation examples on the STA Satellite< :
P | 1|
62
DOWNLOAD (HOST
TO HOST COMPUTER)
COMPUTER TO
NO
STA Satellite<) NO
YES YES NO NO YES
NO NO NO NO NO
YES
NO
format : yyyymmddhhmmss yyyy = year mm = month dd = day hh = hour mm= minutes ss = seconds Carriage return For the STA Satellite<, this parameter is defined in the Global Options menu. 19941213 100400
a.
UPLOAD (STA Satellite<
| | Info1^ Info2^ Info3^ Info4
ASTM Protocol
6
Record Definitions
Description of a Patient Information Record on the STA Satellite< :
PARAGRAPH
CHARACTER
FIELD DESCRIPTION
SUPPORTED
NUMBER OF
E 1394-91 STANDARD
8.1.1
UPLOAD (STA Satellite<
DOWNLOAD (HOST
TO HOST COMPUTER)
COMPUTER TO
STA Satellite<)
YES NO
YES NO
Record type ID
= Patient Information Record (50h) P 8.1.2
|
Sequence number
1 Practice Assigned Patient ID
NO
NO
8.1.4
| |
Laboratory Assigned Patient ID
NO
NO
8.1.5
|
Patient ID No 3
YES
YES
Item1
= 16 Alphanumeric Characters Max.
8.1.3
^ Item2 ^ Item3 ^ Item4
= 12 Alphanumeric Characters Max. = 6 Alphanumeric Characters Max. = 4 Alphanumeric Characters Max. carriage return
Fields correspondingto the 8.1.6 à 8.1.35 paragraphsof the ASTM specification E 1394-91 are not supported. In downloadingmode (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.
63
6
ASTM Protocol
Record Definitions
6.3 Test Order Record Purpose : -
in downloadingmode (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 bythe STA Satellite< to givethe sample identification.
Implementation example in downloading mode (host computer to STA Satellite< ) : O | 1 | 00120025 |
| ^ ^ ^ 10 \ ^ ^ ^ 11 \ ^ ^ ^ 12 | R
Implementation example in uploading mode (STA Satellite< to host computer) : O | 1 | 00120025 |
| | R
Description of a Test Order Record :
PARAGRAPH
CHARACTER
FIELD DESCRIPTION
SUPPORTED
UPLOAD (STA Satellite<
DOWNLOAD (HOST
TO HOST COMPUTER)
COMPUTER TO
STA Satellite<)
Sequence number
YES NO
YES NO
|
Specimen ID
YES
YES
00120025
= 16 Alphanumeric characters Max.
|
Analyzer Specimen ID
YES
NO
NO
NO
NUMBER OF
E 1394-91 STANDARD
9.4.1
Record type ID
= Order record O 9.4.2
| 1
9.4.3
9.4.4
See Transmission sequence N° (in the GLOBAL OPTIONS menu) : => activity => no activity
64
ASTM Protocol
6
Record Definitions
PARAGRAPH
CHARACTER
UPLOAD (STA Satellite<
THE
E 1394-91
TO HOST COMPUTER)
STANDARD
9.4.5
SUPPORTED
FIELD DESCRIPTION
NUMBER OF
|
Universal test ID
NO
DOWNLOAD (HOST COMPUTER TO
STA Satellite<) YES
Universal test ID part 1 ^ Universal test ID Name ^ Universal test ID Type ^ 10 \ ^ ^ ^ 11 \ ^ ^ ^ 12 9.4.6
|
Manufacturer’s 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
Priority code
R
R = Routine YES YES S = Stat YES YES A = as soon possible NO NO C =Callback NO NO P = Preoperative NO NO 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.
65
6
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 | % |
66
| | | F | | | | 19941213100400
Description of a Result Record on the STA Satellite< :
ASTM Protocol
P ARAGRAPH
6
Record Definitions
FIELD
CHARACTER
DESCRIPTION
SUPPORTED
NUMBER OF
UPLOAD
E 1394-91
(STA Satellite<
STANDARD
TO HOST COMPUTER)
10.1.1
Record Type ID
DOWNLOAD (HOST COMPUTER TO
YES
STA Satellite<) NO
NO
NO
YES
NO
YES
NO
YES
NO
= Result Record (52h) R 10.1.2
|
Sequence number
1 10.1.3
|
Universal Test ID
Universal Test ID Part 1 ^
Universal Test ID Name Universal Test ID Type
^ ^
10.1.4 10.1.5 10.1.6 10.1.7 10.1.8 PARAGRAPH
Manufacturer’s or local code = ID of the testa
10 | 100
= Test result
|
Units
%
= Unit of the test resultb
| | |
Reference ranges
NO
NO
Result Abnormal Flags
NO
NO
Nature of abnormality testing
NO
NO
CHARACTER
Data or Measurement value
FIELD
DESCRIPTION
NUMBER OF
UPLOAD
E 1394-91
(STA Satellite<
STANDARD
10.1.9
SUPPORTED
|
Result status
F
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
DOWNLOAD (HOST COMPUTER TO
TO HOST COMPUTER)
STA Satellite<)
YES NO
NO NO
NO NO
NO NO
NO
NO
NO NO
NO NO
67
6
Record Definitions
ASTM Protocol
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
NO
NO
NO
NO
NO
NO
NO
NO
10.1.10
|
Date of Change in Instrument Normative Values or Units
NO
NO
10.1.11
| | |
Operator Identification
NO
NO
Date/Time test started
NO
NO
YES c
NO
10.1.12 10.1.13
Date/Time Test Completed
19941213 100400
Format : yyyymmddhhmmss yyyy = year
mm = month dd = day hh = hour mm = minutes ss = seconds 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
xxxxx
OD, OD/mn
x.xxx
Ratio, INR, g/l, ng/ml, U/ml, Ul/ml, μg/ml
xx.xx
UA1, UA2, UA3
c.
68
xxx.x
0 à 3 decimal
Only used for the transmission of the quality control results
ASTM Protocol
Record Definitions
6
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.7below).
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
69
6
ASTM Protocol
Record Definitions
Description of a Request Information Record :
PARAGRAPH
FIELD
CHARACTER
DESCRIPTION
SUPPORTED
NUMBER
UPLOAD
OF
DOWNLOAD (HOST COMPU TER TO
E 1394-91
(STA Satellite<
STANDARD
TO HOST COMPUTER)
STA Satellite<)
YES NO
NO NO
YES
NO
12.1.1
12.1.2
Record Type ID
Q
= Request Information Record
|
Sequence number
1 12.1.3
| ^ 00120025
Starting Range ID Number
Computer System Patient ID Specimen ID = 16 Alphanumeric characters Max. Carriage return
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
Description of a terminator record :
PARAGRAPH
CHARACTER
FIELD DESCRIPTION
SUPPORTED
NUMBER
E 1394-91
UPLOAD
standard
(STA Satellite< TO HOST COMPUTER) YES
13.1.1
Record Type ID
L
6-10
= Terminator message
DOWNLOAD (HOST COMPU TER TO
STA Satellite<) YES
ASTM Protocol
13.1.2 13.1.3
6
Record Definitions | 1 | N
Sequence Number
NO
NO
YES NO
NO NO
NO
NO
NO NO
NO NO
NO NO
NO NO
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
6.7 Manufacturer Information Record Purpose : to transmit result error code and result alarm code.
Implementation example of Manufacturer Information Record : M | 1 | A | @
6-11
6
ASTM Protocol
Record Definitions
Description of a Manufacturer Information Record :
PARAGRAPH
CHARACTER
FIELD DESCRIPTION
SUPPORTED
NUMBER
UPLOAD
E 1394-91
(STA Satellite<
STANDARD
15.1.1
15.1.2 15.1.3
15.1.4
DOWNLOAD (HOST COMPU TER TO
TO HOST COMPUTER)
STA Satellite<)
YES
NO
NO
NO
YES
NO
YES
NO
Record Type ID
M
= Manufacturer Information Record
| 1 | A
Sequence Number
| @
Alarm Code
carriage return
Error Code
A = Validated (see error code list below) @ = no alarm (see alarm code list below)
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 | % | | M | 1 | A | @ R | 2 | ^^^11 | 13.2 | sec. | M | 2 | A | @ R | 3 | ^^^12 | 1.23 | INR | M | 3 | A | @
6-12
| | F | | | | 19941213100400 | | | F | | | | 19941213100400 | | | F | | | | 19941213100400
ASTM Protocol
Record Definitions
6
Définition of error codes :
Characters
ASCII Code
Error Code Definition
'1'
31h
"to be validated"
'2'
32h
"tech error"
'3'
33h
">Mmax."
'4'
34h
"
'5'
35h
"Dif>Tol"
'6'
36h
'8'
38h
"QNS" (insufficient quantity of plasma)
'A'
41h
"linearity" "validated"
Definition of Alarm Codes :
Characters
ASCII Code
Alarm Code Definition
'@'
40h
No alarm
'A'
41h
Result
'B'
42h
Not used
'C'
43h
Quality Control
: out of range or not done
'D'
44h
Quality Control
: overriden
'E'
45h
Needle n°3
: no level detection
'F'
46h
Needle n°2
: no level detection
'G'
47h
Needle n°1
: no level detection
'H'
48h
Result
: value in primary units skewed
'I'
49h
Result
: dilution change
'J'
4Ah
Result
: rerun test
'K'
4Bh
Reagent drawer
: temperature out of limit
'L'
4Ch
Syringe
: Maintenance date overdue
'M'
4Dh
Not used
'N'
4Eh
Not used
: confirmed with T > Tmax.
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
6
6-14
Record Definitions
ASTM Protocol
ASTM Protocol
Typical Content of Some Messages
7
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.
71
7
72
Typical Content of Some Messages
ASTM Protocol
ASTM Protocol
8
Flow Charts (ASTM)
8 Flow Charts (ASTM) 8.1 Sequencing of Reception/Transmission Fig. 1 - Sequencing of reception/transmission
A
Message to be transmitted ?
No
No
Yes
Building of recors to send
C
Analyzer in Tx Line Mode
Character on line ?
Yes
No
?
Yes
Send Analyzer in Nul Line Mode
B Analyzer in Rx Line Mode
81
8
ASTM Protocol
Flow Charts (ASTM)
8.2 Acquisition of a Record from the Host Computer Fig. 2 - Acquisition of a frame sent by the host computer
B
Start timer
Read RS232
Record received ?
Yes
Checksum OK ?
No
Yes
Frame Num. OK ?
No
No
Error : «Checksum incorrect»
Yes ?
Yes
Error : «Frame num. incorrect»
No
No
Time Out ? 30 sec
Yes Data Validation
A
82
Send
Send
ASTM Protocol
8
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
Start timer
Read RS232
Character received ?
Yes
No
No
?
Yes
F
No
Time Out (15 sec.) ?
?
Yes
C
Wait 5 Sec
No Yes
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 » Error : «Impossible to get on line»
E D
E
* n : number of retries if error, defined in the GLOBAL OPTIONS menu, see chapter 4.
83
8
ASTM Protocol
Flow Charts (ASTM)
8.4 Transfer Phase (STA Satellite < to Host computer) Fig. 4 - Transfer Phase (STA Satellite< → host computer)
A
Reset Retry counter
G Send record
Start timer
Read RS232
Character received ?
Yes
or ?
Yes
No
No
Last record ?
Wait 10 Sec No
Send next record
Time Out (15 sec.) ?
No Retry nim. + 1
F
Yes Error : «No answer rom Host computer»
Yes
Retry counter > n* ?
Yes
Error : «Answer different from »
No
E G
E
* n : number of retries if error, defined in the GLOBAL OPTIONS menu, see chapter 4 .
84
E
ASTM Protocol
Flow Charts (ASTM)
8
8.5 Termination Phase (STA Satellite < to Host computer) Fig. 5 - Termination Phase (STA Satellite< → host computer)
E Send
A
85
8
86
Flow Charts (ASTM)
ASTM Protocol
ASTM Protocol
Example of Traces (ASTM)
9
9 Example of Traces (ASTM) 9.1 Transmission of Patient File (STA Satellite< to host computer)
STA Satellite<
16:09:50 The STA Satellite< requests connection to host computer.
Host computer
16:09:50
Host computer answers OK (Acknowledge).
STA Satellite<
16:09:50 The STA Satellite< sends the patient record. 1H| \^&| | | 99^ 2.00| | | | | | | P| 1.00| 199502271607502A Host computer
16:09:50
Host computer answers OK (Acknowledge).
STA Satellite<
16:09:50 The STA Satellite< sends the test order record. 2P| 1| | | GISCARD^ Gaston^ Serv.1^ Gr.A 5D Host computer
16:09:50
Host computer answers OK (Acknowledge).
STA Satellite<
16:09:50 The STA Satellite< sends the Test Order record. 3O| 1| 6| | | RB7 Host computer
16:09:50
Host computer answers OK (Acknowledge).
STA Satellite<
16:09:50 The STA Satellite< sends the first Result record : TP at 100%. 4R| 1| ^ ^ ^ 1| 100| %| | | | F| | | | DE Host computer
16:09:51
Host commputer answers OK (Acknowledge).
STA Satellite<
16:09:51 The STA Satellite< sends the Manufacturer Information record for 5M| 1| A| CBB the first result. Error Code = validated, Alarm Code = Quality Control : out of range or not done.
91
9
ASTM Protocol
Example of Traces (ASTM) Host computer
16:09:51
Host computer answers OK (Acknowledge).
STA Satellite<
16:09:51 The STA Satellite< sends the second Result record : 6R| 2| ^^^10| 10.8| sec| | | | F| | | | TP at 10.8 s. 5D Host computer
16:09:51
Host computer answers OK (Acknowledge).
STA Satellite<
16:09:51 The STA Satellite< the Manufacturer Information record for the second 7M| 2| A| CBE result. Error Code=validated, Alarm Code = Quality control: out of range or not done. Host computer
16:09:51
STA Satellite<
Host computer answers OK (Acknowledge).
16:01:51 The STA Satellite< sends the third Result record : TP with INR=1.00.
0R| 3| ^^^11| 1.00| INR| | | | F| | | | FF Host computer
16:01:51
Host computer answers OK (Acknowledgement).
STA Satellite<
16:09:51 The STA Satellite< sends the Manufacturer Information record for 1M| 3| A| CB9 the third result. Error code =validated, Alarm Code = Quality control : out of range or not done. Host computer
16:09:51
Host computer answers OK (Acknowledge).
STA Satellite<
16:09:51 The STA Satellite< sends the fourth Result record : reference time for 2R| 4| ^^^12| 12.3| Tém.| | | | F| | | | TP=12.3 s. 90 Host computer
16:09:51
Host computer answers OK (Acknowledge).
STA Satellite<
16:09:52 The STA Satellite< sends the Manufacturer Information for the 3M| 4| A| CBC fourth result. Error Code = validated, Alarm Code=Quality control : out of range or not done. Host computer
92
16:09:52
Host computer answers OK (Acknowledge).
ASTM Protocol
STA Satellite<
Example of Traces (ASTM)
9
16:09:51 The STA Satellite< sends the fifth Result record : Fibrinogen at 4.56 g/l.
4R| 5| ^ ^ ^ 3| 4.56| g/l.| | | | F| | | | FD Host computer
16:09:52
Host computer answers OK (Acknowledge).
STA Satellite<
16:09:52 The STA Satellite< sends the Manufacturer Information record for 5M| 5| A| CBF the fifth result. Error Code = validated, Alarm Code = Quality control : out of range or not done. Host computer
16:09:52
STA Satellite<
Host computer answers OK (Acknowledge).
16:09:52 The STA Satellite< sends the sixth Result record : Fibrinogen at 11.9 s.
6R| 6| ^^^30| 11.9| sec| | | | F| | | | 65 Host computer
16:09:52
Host computer answers OK (Acknowledge).
STA Satellite<
16:09:52 The STA Satellite< sends the Manufacturer Information record for 7M| 6| A| CC2 the sixth result. Error Code = validate, Alarm Code = Quality control : out of range or not done. Host computer
16:09:52
Host computer answers OK (Acknowledge).
STA Satellite<
16:09:52 The STA Satellite< sendsthe Message Terminator record. 0L| 1| N03 Host computer STA Satellite<
16:09:52
Host computer answers OK (Acknowledge).
16:09:52 The STA Satellite< sends an END of transmission.
9.2 Request for a Working List STA Satellite<
16:11:52 The STA Satellite< requests connection.
93
9
ASTM Protocol
Example of Traces (ASTM) Host computer
16:11:52
Host computer answers OK (Acknowledge).
STA Satellite<
16:11:52 The STA Satellite< sends the Header record. 1H| \^&| | | 99^ 2.00| | | | | | | P| 1.00| 199502271609532F Host computer
16:11:52
Host computer answers OK (Acknowledge).
STA Satellite<
16:11:52 The STA Satellite< sends the Request Information record for patient 2Q| 1| ^ ESSAI8F Host computer
16:11:52
Host computer answers OK (Acknowledge).
STA Satellite<
16:11:53 The STA Satellite< sendsthe Message Terminatior record. 3L| 1| N06 Host computer
16:11:53
STA Satellite<
Host computer answers OK (Acknowledge).
16:11:53 The STA Satellite< sends an END of transmission.
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.1of this protocol and standard E 1381-91).
9.3 Working List Return .
Host computer
16:11:53 The host computer requests connection to the STA Satellite<.
STA Satellite<
16:11:53
94
The STA Satellite< answers OK (Acknowledge).
ASTM Protocol
Example of Traces (ASTM)
9
Host computer
16:11:53 The host computer sends the Header record. 1H| \^&| | | 99^ 2.00| | | | | | | P| 1.00| 1995022716115328 STA Satellite<
16:11:53 The STA Satellite< answers OK (Acknowledge).
Host computer
16:11:53 The host computer sends the Patient record for patient "ESSAI". 2P| 1| | | BRUN^ Didier^ Essai^ Site DF STA Satellite<
16:11:54 The STA Satellite< answers OK (Acknowledge).
Host computer
16:11:54 The host computer sends the Test Order record for patient "ESSAI". 3O| 1| ESSAI| | ^^^1\^^^2\^^^3
| R92 STA Satellite<
16:11:54 The STA Satellite< answers OK (Acknowledge).
Host computer
16:11:55 The host computer sends the Message Terminator record. 4L| 1| N07 STA Satellite< Host computer
16:11:55 The STA Satellite< answers OK (Acknowledge). 16:11:55 The host computer sends an END of transmission.
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 teststo be rerun.And, to modify onlythe 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.
9.4 Transmission of a Quality Control Result (STA Satellite < to host computer)
95
9
ASTM Protocol
Example of Traces (ASTM)
STA Satellite<
16:10:48 The STA Satellite< requests connection to the host computer.
Host computer
16:10:48
Host computer answers OK (Acknowledge).
STA Satellite<
16:10:48 The STA Satellite< sends the Header record with Processing ID =Q for 1H| \^&| | | 99^ 2.00| | | | | | | Q| 1.00| quality control. 1995022716084833 Host computer
16:10:48