ASTM E1381-95
(Specification)Standard Specification for Low-Level Protocol to Transfer Messages Between Clinical Laboratory Instruments and Computer Systems
Standard Specification for Low-Level Protocol to Transfer Messages Between Clinical Laboratory Instruments and Computer Systems
SCOPE
1.1 This specification describes the electronic transmission of digital information between clinical laboratory instruments and computer systems. The clinical laboratory instruments under consideration are those that measure one or more parameters from one or more patient samples. Often they will be automated instruments that measure many parameters from many patient samples. The computer systems considered here are those that are configured to accept instrument results for further processing, storage, reporting, or manipulation. This instrument output may include patient results, quality control results, and other related information. Typically, the computer system will be a Laboratory Information Management System (LIMS).
1.2 The terminology of the Organization for International Standards (ISO) Reference Model for Open Systems Interconnection (OSI) is generally followed in describing the communications protocol and services. The electrical and mechanical connection between instrument and computer is described in the Physical Layer section. The methods for establishing communication, error detection, error recovery, and sending and receiving of messages are described in the Data Link Layer section. The data link layer interacts with higher layers in terms of sends and receives "messages," handles data link connection and release requests, and reports the data link status.
1.3 Specification E 1394 is concerned with message content in the interface between clinical instruments and computer systems. The major topics are found in the following sections: SectionPhysical Layer5Overview 5.1Electrical Characteristics5.2 Signal Levels 5.2.1Character Structure 5.2.2Speed5.2.3Interface Connections5.2.4Mechanical Characteristics 5.3Connector5.3.1 Cable 5.3.2Data Link Layer6 Overview 6.1Establishment Phase (Link Connection)6.2Contention6. 2.1 Transfer Phase6.3 Frames 6.3.1Frame Number6.3.2 Checksum 6.3.3Acknowledgments 6.3.4Receiver Interrupts6.3.5 Termination Phase (Link Release)6.4Error Recovery6.5 Defective Frames6.5.1 Timeouts 6.5.2Restricted Message Characters6.6
General Information
Standards Content (Sample)
NOTICE: This standard has either been superseded and replaced by a new version or discontinued.
Contact ASTM International (www.astm.org) for the latest information.
An American National Standard
Designation: E 1381 – 95
Standard Specification for
Low-Level Protocol to Transfer Messages Between Clinical
Laboratory Instruments and Computer Systems
This standard is issued under the fixed designation E 1381; the number immediately following the designation indicates the year of
original adoption or, in the case of revision, the year of last revision. A number in parentheses indicates the year of last reapproval. A
superscript epsilon (e) indicates an editorial change since the last revision or reapproval.
1. Scope
Data Link Layer 6
Overview 6.1
1.1 This specification describes the electronic transmission
Establishment Phase (Link Connection) 6.2
of digital information between clinical laboratory instruments Contention 6.2.1
Transfer Phase 6.3
and computer systems. The clinical laboratory instruments
Frames 6.3.1
under consideration are those that measure one or more
Frame Number 6.3.2
parameters from one or more patient samples. Often they will
Checksum 6.3.3
Acknowledgments 6.3.4
be automated instruments that measure many parameters from
Receiver Interrupts 6.3.5
many patient samples. The computer systems considered here
Termination Phase (Link Release) 6.4
are those that are configured to accept instrument results for
Error Recovery 6.5
Defective Frames 6.5.1
further processing, storage, reporting, or manipulation. This
Timeouts 6.5.2
instrument output may include patient results, quality control
Restricted Message Characters 6.6
results, and other related information. Typically, the computer
2. Referenced Documents
system will be a Laboratory Information Management System
(LIMS).
2.1 ASTM Standards:
1.2 The terminology of the Organization for International
E 1394 Specification for Transferring Information Between
Standards (ISO) Reference Model for Open Systems Intercon-
Clinical Instruments and Computer Systems
nection (OSI) is generally followed in describing the commu-
2.2 ANSI Standards:
nications protocol and services. The electrical and mechanical
X3.4-1986 American National Standard Code for Informa-
connection between instrument and computer is described in
tion Systems—Coded Character Sets—7-Bit American
the Physical Layer section. The methods for establishing
National Standard Code for Information Interchange (7-
communication, error detection, error recovery, and sending
Bit ASCII)
and receiving of messages are described in the Data Link Layer X3.15-1976 American National Standard for Bit Sequenc-
section. The data link layer interacts with higher layers in terms
ing of the American National Standard Code for Informa-
of sends and receives “messages,” handles data link connection tion Interchange in Serial-by-Bit Data Transmission
and release requests, and reports the data link status.
X3.16-1976 American National Standard Character Struc-
1.3 Specification E 1394 is concerned with message content ture and Character Parity Sense for Serial-by-Bit Data
in the interface between clinical instruments and computer
Communication in the American National Standard Code
systems. The major topics are found in the following sections:
for Information Interchange
Section 2.3 ISO Standard:
Physical Layer 5
International Standard ISO 7498-1984(E), Information Pro-
Overview 5.1
cessing Systems—Open Systems Interconnection—Basic
Electrical Characteristics 5.2
Signal Levels 5.2.1 Reference Model, International Organization for Stan-
Character Structure 5.2.2
dardization
Speed 5.2.3
2.4 Other Document:
Interface Connections 5.2.4
Mechanical Characteristics 5.3
EIA-232-D-1986 Interface Between Data Terminal Equip-
Connector 5.3.1
ment and Data Circuit-Terminating Equipment Employing
Cable 5.3.2
Serial Binary Data Interchange
1 2
This specification is under the jurisdiction of ASTM Committee E31 on Annual Book of ASTM Standards, Vol 14.01.
Healthcare Informatics and is the direct responsibility of Subcommittee E31.13 on Available from American National Standards Institute, 11 W. 42nd St., 13th
Clinical Laboratory Systems. Floor, New York, NY 10036.
Current edition approved Oct. 10, 1995. Published January 1996. Originally Available from Electronics Industries Association, 2001 I Street, N.W., Wash-
published as E 1381 – 91. Last previous edition E 1381 – 91. ington, DC 20006.
Copyright © ASTM International, 100 Barr Harbor Drive, PO Box C700, West Conshohocken, PA 19428-2959, United States.
NOTICE: This standard has either been superseded and replaced by a new version or discontinued.
Contact ASTM International (www.astm.org) for the latest information.
E 1381
3. Terminology tion corresponds to a voltage more negative than minus three
volts with respect to signal ground at the interface point. A
3.1 receiver—the device that responds to the sender and
spacing condition corresponds to a voltage more positive than
accepts the message.
plus three volts with respect to signal ground at the interface
3.2 sender—the device that has a message to send and
point.
initiates the transmission process.
5.2.1.2 Binary state ONE (1) corresponds to the marking
3.3 The parts of a communication between instrument and
condition; binary state ZERO (0) corresponds to the spacing
computer are identified by the following terms. The parts are
condition.
hierarchical and are listed in order of most encompassing first.
5.2.1.3 The signal levels conform to the EIA-232-D-1986
3.4 session—a total unit of communication activity, used in
standard.
this standard to indicate the events starting with the establish-
ment phase and ending with the termination phase, as de- 5.2.2 Character Structure:
scribed in subsequent sections.
5.2.2.1 The method of data transmission is serial-by-bit
3.5 message—a collection of related information on a single
start/stop. The order of the bits in a character is:
topic, used here to mean all the identity, tests, and comments
(1) One start bit, corresponding to a binary 0,
sent at one time. When used with Specification E 1394, this
(2) The data bits of the character, least significant bit
term means a record as defined by Specification E 1394.
transmitted first,
3.6 frame—a subdivision of a message, used to allow
(3) Parity bit,
periodic communication housekeeping such as error checks
(4) Stop bit(s), corresponding to a binary 1.
and acknowledgements.
5.2.2.2 The time between the stop bit of one character and
4. Significance and Use
the start bit of the next character may be of any duration. The
data interchange circuit is in the marking condition between
4.1 Nearly all recent major clinical instruments have provi-
characters.
sion for connection to a computer system, and in nearly all
5.2.2.3 Even parity corresponds to a parity bit chosen in
laboratories that have implemented a LIMS, there is a need to
such a way that there are an even number of ONE bits in the
connect the laboratory’s high volume automated instruments to
sequence of data bits and parity bit. Odd parity corresponds to
the LIMS so that results can be transferred automatically. To
an odd number of ONE bits when formed in the same way.
accomplish this connection, both the instrument and the
computer must have compatible circuits and appropriate soft- 5.2.2.4 All devices must be capable of sending and receiv-
ware, and there must be a proper cable to connect the two ing characters consisting of one start bit, eight data bits, no
systems. parity bit, and one stop bit.
4.1.1 Without this standard specification, the interface be-
5.2.2.5 The default character structure consists of one start
tween each different instrument and each different computer
bit, eight data bits, no parity bit, and one stop bit. Eight data bit
system is likely to be a different product. This increases the
character sets are allowed but not specified by this standard.
cost, the chances for compatibility problems, and the difficulty
Other character structures can be used for specialized applica-
of specifying and designing a proper system. In addition,
tions, for example, seven data bits, odd, even, mark or space
interfaces for every instrument-computer combination may not
parity, or two stop bits.
be available, forcing expensive and time-consuming custom
5.2.2.6 The character bit sequencing, structure, and parity
development projects.
sense definitions conform to ANSI standards X3.15-1976 and
4.2 This standard specification defines the electrical param-
X3.16-1976.
eters, cabling, data codes, transmission protocol, and error
5.2.3 Speed:
recovery for the information that passes between the instru-
5.2.3.1 The data transmission rate for instruments shall be at
ment and the laboratory computer. It is expected that future
least one of these baud rates: 1200, 2400, 4800, or 9600 baud.
products from instrument manufacturers and computer system
The preferred rate is 9600 baud and should be the default
developers, released after the publication of this specification,
setting of the instrument when more than one baud rate is
will conform to this specification, and that will lead to
available. The computer system must have the capability for all
plug-together compatibility of clinical instruments and com-
four baud rates.
puter systems.
5.2.3.2 Devices may optionally have the capability for other
baud rates such as 300, 19 200, and 38 400 baud for use in
5. Physical Layer
specialized applications.
5.1 Overview—The mechanical and electrical connection
5.2.4 Interface Connections:
for serial binary data bit transmission between instrument and
5.2.4.1 The conforming connection specified here defines
computer system is described in the physical layer. The
the point of interconnection between the domain of the
topology is point-to-point, a direct connection between two
instrument and domain of the computer system. (See Fig. 1 and
devices.
Fig. 2.) Within the domain of either device, any appropriate
5.2 Electrical Characteristics—The voltage and impedance
connection system may be used, preferably with suitable cable
levels for the generator and receiver circuits are as specified in
locking hardware.
the EIA-232-D-1986 standard.
5.2.1 Signal Levels: 5.2.4.2 The conforming connection utilizes a 25-position
5.2.1.1 For the data interchange circuits, a marking condi- connector. The connector contact assignments are listed in
NOTICE: This standard has either been superseded and replaced by a new version or discontinued.
Contact ASTM International (www.astm.org) for the latest information.
E 1381
FIG. 1 Connector Strategy for Instrument Computer
Connection—Cable Mounted
FIG. 2 Connector Strategy for Instrument Computer
Connections—Chassis Mounted
Table 1. Connector contacts not listed are unused. The connec- 5.3.1.4 When the conforming connector of the instrument is
tor contact assignments conform to the EIA-232-D-1986 stan- cable mounted and the conforming connector of the computer
dard for the circuits that are used. is chassis mounted, then a change in the cable mounted locking
5.2.4.3 Contact 1 is the shield connection, it connects to the hardware is necessary.
instrument’s (the DTE) frame. The shield connection is left 5.3.2 Cable—Any extension cables to connect the instru-
open at the computer (the DCE) to avoid ground loops. There ment to the computer require a female connector on one end to
will be no connections on any other pins. All other pins will be mate with the instrument and a male connector on the other end
open circuits. to mate with the computer. Detailed requirements of an
5.3 Mechanical Characteristics: interconnecting cable are undefined but good engineering
5.3.1 Connector: practice should be followed in selecting the cable and connec-
5.3.1.1 The conforming connector associated with the in- tors. Shielded cable and connectors may be necessary to
strument is a commercial type DB-25P (subminiature D male) suppress electromagnetic interface (EMI). Low capacitance
style connector. The conforming connector associated with the cable may be necessary for long cable lengths or the higher
computer is a commercial type DB-25S (subminiature D data rates. Appropriate connector locking hardware should be
female) style connector. The connector dimensions must cor- used at the conforming connectors.
respond to those given in the EIA-232-D-1986 standard.
6. Data Link Layer
5.3.1.2 When the conforming connector of the instrument is
6.1 Overview—The data link layer has procedures for link
cable mounted, it shall be configured with a locking device
connection and release, delimiting and synchronism, sequential
such as No. 4-40 or M-3 thread female screw locking hard-
ware. When the conforming connector of the computer is cable control, error detection, and error recovery.
6.1.1 Link connection and release establish which system
mounted, it shall be configured with a locking device such as
No. 4-40 or M-3 thread male screw locking hardware. (See Fig. sends and which system receives information. Delimiting and
synchronism provide for framing of the data and recognition of
1.)
5.3.1.3 When the conforming connector of either device is frames. Sequence control maintains the sequential order of
information across the connection. Error detection senses
chassis mounted, it shall be configured with devices such as
No. 4-40 or M-3 thread female screw locking hardware. The transmission or format errors. Error recovery attempts to
recover from detected errors by retransmitting defective frames
mating cable connector shall use devices such as No. 4-40 or
M-3 thread male screw locking hardware. (See Fig. 2.) or returning the link to a neutral state from otherwise unrecov-
erable errors.
6.1.2 The data link layer uses a character-oriented protocol
TABLE 1 Connector Contact Assignments
to send messages between directly connected systems. (See
Direction
ANSI X3.4-1986. Also, see Appendix X1 for the coding of the
Contact No. EIA Circuit Description
Instrument Computer
ASCI characters.) Some restrictions are placed on the charac-
1 . Shield . No Connection ters which can appear in the message content.
2 BA Transmitted Data Output Input
6.1.3 The data link mode of operation is one-way transfer of
3 BB Received Data Input Output
information with alternate supervision. Information flows in
7 AB Signal Ground . .
one direction at a time. Replies occur after information is sent,
NOTICE: This standard has either been superseded and replaced by a new version or discontinued.
Contact ASTM International (www.astm.org) for the latest information.
E 1381
never at the same time. It is a simplex stop-and-wait protocol. frame. Every message must begin in a new frame.
6.1.4 At times, the two systems are actively operating to 6.3.1.2 A frame is one of two types, an
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.