Professional Documents
Culture Documents
A
A.1 LIS INTERFACE OVERVIEW ........................................................................ A-1
A.1.1 REAL TIME MODE................................................................................... A-1
A.1.1.1 Automatic Query Disabled ..................................................... A-1
A.1.1.2 Automatic Query Enabled ...................................................... A-1
A.2 BI-DIRECTIONAL INTERFACE DESCRIPTION ........................................... A-2
A.2.1 DATA RECORDS ..................................................................................... A-2
A.2.2 HEADER (“H”) RECORD.......................................................................... A-2
A.2.3 IDENTIFICATION (“I”) RECORD.............................................................. A-3
A.2.4 RESULT/ TEST ORDER REQUEST (“D”) RECORD ............................... A-3
A.2.5 ID-QUERY (“Q”) RECORD....................................................................... A-4
A.2.6 RESULT (“R”) RECORD .......................................................................... A-4
A.3 DATA TRANSFER COMMUNICATIONS PROTOCOL ................................. A-5
A.3.1 ACK/NAK PROTOCOL............................................................................. A-5
A.3.2 TRANSMISSION CONTROLS ................................................................. A-5
A.3.3 DESTINY PLUS SPECIFIC CONTROLS ................................................. A-5
A.3.4 DATA TRANSMISSION............................................................................ A-5
A.3.5 END OF TRANSMISSION........................................................................ A-6
A.3.6 QUERY..................................................................................................... A-6
A.3.7 DATA LINK ESCAPE ............................................................................... A-6
A.3.8 CHECKSUM ............................................................................................. A-6
A.3.9 TERMINATION CHARACTER SEQUENCE ............................................ A-6
A.4 LIS SETUP/PROTOCOL OPTIONS............................................................... A-6
A.4.1 TIMEOUT ................................................................................................. A-6
A.4.2 RESEND................................................................................................... A-6
A.4.3 AUTOMATIC QUERY............................................................................... A-7
A.5 REPEAT AFTER <NAK> ............................................................................... A-7
A.6 EXAMPLES.................................................................................................... A-7
A.6.1 AUTOMATIC QUERY AND DOWNLOAD OF TEST REQUESTS FROM
LIS ............................................................................................................ A-7
A.6.2 UPLOAD OF RESULTS FROM AMAX TO LIS (REAL-TIME MODE)...... A-7
A.6.3 ID QUERY (REAL TIME).......................................................................... A-8
A.7 TIPS ............................................................................................................... A-8
A.8 ASCII CODE CHART ..................................................................................... A-9
O.M.V.3.1.1 A-0
11/05/09
LIS Interface Description
A
A.1 LIS Interface Overview
The Destiny Plus software provides for communications with a Laboratory Information System
(LIS) using the serial port COM6 on the instrument. The protocol used to transfer data between
the instrument and the LIS is compatible with the protocols used by the other AMAX
instruments, AMAX 190/200 and AMAX 400. The Destiny Plus provides for emulating an AMAX
200 or an AMAX 400. Selecting “CS 100” for the protocol is equivalent to selecting the AMAX
400 protocol at this time.
While the protocols emulate the other AMAX instruments, the Destiny Plus does not match all of
the communications modes of these other instruments. The Destiny Plus operates continuously
in a real-time mode whenever the LIS communications is enabled. At this time, it does not have
the “batch” mode of operation found on the other instruments.
The following descriptions are based on the instrument identifying a new sample. A sample is
identified once the instrument knows its Identification Code. This may occur by the automatic
reading of a bar code on the sample by the bar code reader incorporated into the instrument or
by manual entry of the ID by the instrument operator. An “Unknown” sample ID will not initiate
the process to determine the test requisition data through the LIS. Unless the “Default Test
Orders” function has been enabled, the operator must manually assign the tests to be run if the
ID remains “Unknown”.
O.M.V.3.1.1 A-1
11/05/09
A LIS Interface Description
A.2 Bi-Directional Interface Description
All communications between the Destiny Plus and the LIS are composed of a series of records.
Six records are described. They are:
Header (“H”) Record – Sent once as the first record of each transmission session except when
a “Q” (Query) or “R” (Real-Time Result) is sent. It is used to identify the subsequent set of data.
If the LIS fails to send the Header, a “Missing Header” error is raised.
Identification (“I”) Record – Sent once for a particular sample preceding each series of “D”
records necessary to send all of the test orders or test results for that specific sample. A group
of Identification records may be associated with one Header record.
Result/Test Request (“D”) Record – Used to send test orders to the Destiny Plus. As the
Destiny Plus only uses the real-time transmission protocol, it is not used by the Destiny Plus to
send results to the LIS. As many “D” records as necessary may be used to transfer test requests
to the Destiny Plus. A typical transmission may look like:
H I D D I D D D I D I D D D D D I D - (Record types only shown)
The instrument, if it used a batch protocol, would use the “D” record to return results. Not using
the batch protocol, the Destiny Plus does not transmit the “D” record type.
ID-Query (“Q”) Record – The “Q” record is used for real-time, single sample query to the LIS
for test request information on that sample. The LIS would reply in the standard H I D D D
format.
Result (“R”) Record – The Destiny Plus uses the “R” record, in real-time, to transmit all results
to the LIS.
Start (“S”) Record – Specifically defined for the AMAX 400. Not defined for the Destiny Plus.
Not used within Destiny Plus communications.
A-2 O.M.V.3.1.1
11/05/09
LIS Interface Description
A
A.2.3 Identification (“I”) Record
Transmissions: LIS Destiny
O.M.V.3.1.1 A-3
11/05/09
A LIS Interface Description
There may be multiple “D” records for each “I” record. One for each test requested on a
sample.
Transmissions from the LIS may truncate the “D” record to 29 characters (RECTYPE,
ID, REQ). Grayed positions above need not be sent.
Not used by Destiny Plus for transmission of results as Destiny Plus uses real-time
results reporting.
“REQ” (Test Code) is an 8-character field that is set in the Test Definition – Title screen
under “Host”. There are two user definable fields; Order Code and Result Code. The
LIS must use the Order Code to schedule the test on the instrument. The Destiny Plus
returns the results under the Result Code. The two names may be the same.
Sent by Destiny Plus to LIS to query for test requests for specific sample when the
requests are not present in the instrument.
The record has a fixed length of 26 characters.
The Destiny Plus expects a standard H I D D D format reply.
A-4 O.M.V.3.1.1
11/05/09
LIS Interface Description
A
A.3 Data Transfer Communications Protocol
The following communications protocol is used for transmission in both directions. The Destiny
Plus operates in the real-time mode and is therefore in charge of the communications between it
and the LIS.
O.M.V.3.1.1 A-5
11/05/09
A LIS Interface Description
A.3.5 End of Transmission
The end of transmission <EOT> is issued at the end of a series of transfers to signify that all of
the data has been transferred. It takes the form:
<EOT><TC>
The <EOT> should not be acknowledged, <ACK>.
A.3.6 Query
The enquiry <ENQ> is issued to start the transfer of data from the LIS to the Destiny Plus. It is
always used to request data from the LIS. Its use can be triggered by the “Automatic Query” at
periodic intervals or by a real-time ID Query when an unknown sample is presented to the
instrument.
The <ENQ> should not be acknowledged, <ACK>. A data record or <EOT> is expected as a
reply.
A.3.8 Checksum
The checksum <CHKS> is two ASCII characters representing the hex value from H00 to HFF.
The checksum is calculated summing the ASCII codes of all characters between<STX> and
<ETX>. The modulo256 of the sum is converted to its hexadecimal form and the ASCII
representation of the hex number is sent. If the checksum is longer than one byte, only the lower
byte is used for the checksum.
A.4.1 Timeout
Each data transfer must be acknowledged within “Timeout” seconds (1 to 20 seconds). Failing to
do so will cause the transmission to be aborted. If the “Resend” parameter is set, the Destiny
Plus will retry the transmission at the end of the Resend period. If the Resend = 0, the
instrument will not retry the transmission.
A.4.2 Resend
The “Resend” parameter establishes the delay in seconds before the instrument will retry
sending results to the LIS. A retry occurs if the Destiny Plus receives a <NAK> or if a “Timeout”
occurs. When either of these occurs, the “Resend Delay” will start. At the end of the delay, the
transmission will be resent. If the “Resend” is set to zero, there will be no retry and the
transmission will be discarded.
CAUTION!
If the “Resend” value is other than zero, the instrument will never stop
attempting to communicate with the LIS. The “Resend” value should be set
such that the LIS has sufficient time to reply.
A-6 O.M.V.3.1.1
11/05/09
LIS Interface Description
A
A.4.3 Automatic Query
The “Automatic Query” is the parameter establishing the period in seconds between the periodic
automatic sample queries from the instrument to the LIS. This query is of the form <ENQ> and
not of the form of the ID-Query Record of Section A2.5. The “Automatic Query” allows a method
for the LIS to send test requisitions to the instrument prior to the sample being presented to the
instrument. If the parameter is set to zero, the “Automatic Query” is inhibited.
A.6 Examples
A.6.1 Automatic Query and Download of Test Requests from LIS
Sender Transmission Description
AMAX: <ENQ> <TC> Automatic query
LIS: <STX> [H………] <ETX> <CHKS> <TC> Header record
AMAX: <ACK> <TC>
AMAX: <ENQ> <TC> Query
LIS: <STX> [I………] <ETX> <CHKS> <TC> Identification record
AMAX: <ACK> <TC>
AMAX: <ENQ> <TC> Query
LIS: <STX> [D………] <ETX> <CHKS> <TC> Test request
AMAX: <ACK> <TC>
AMAX: <ENQ> <TC> Query
LIS: <STX> [D………] <ETX> <CHKS> <TC> Test request
AMAX: <ACK> <TC>
AMAX: <ENQ> <TC> Query
LIS: <STX> [I………] <ETX> <CHKS> <TC> Identification record
AMAX: <ACK> <TC>
AMAX: <ENQ> <TC> Query.
LIS: <STX> [D………] <ETX> <CHKS> <TC> Test request
AMAX: <ACK> <TC>
AMAX: <ENQ> <TC> Query
LIS: <STX> [D………] <ETX> <CHKS> <TC> Test request
AMAX: <ACK> <TC>
AMAX: <ENQ> <TC> Query
LIS: <EOT> <TC> End of Transmission
The Destiny will perform an “Automatic Query” at a period determined by the value set in
the “Automatic Query” option (0 to 300 seconds). A value of 0, will disable the “Automatic
Query” mode.
O.M.V.3.1.1 A-7
11/05/09
A LIS Interface Description
If the Destiny Plus does not receive an acknowledgement from the LIS within “Resend”
seconds (0 to 60 seconds), it will resend the data. If “Resend” is set to 0, it will discard the
data.
A.7 TIPS
The following are suggested tips that may be helpful in understanding the LIS interface of the
Destiny Plus:
The LIS is polled by the Destiny Plus; the LIS may therefore only transmit within its own
time frame after it has received an <ENQ><TC>.
The “H” record is meant to identify the subsequent set of data. It, therefore, includes the
WSID and the current date.
If the LIS fails to send an “H” record as the first record, the “Missing Header” error will be
raised.
The “I” record is the only valid record that may be sent after an “H” record.
“D” records must always refer to preceding “I” records.
When using “D” records to send test orders, they may be truncated after the “REQ” field.
A-8 O.M.V.3.1.1
11/05/09
LIS Interface Description
A
As Destiny Plus uses the real-time mode only, it currently does not use “H”, “I”, or “D”
records when sending.
When the LIS or Destiny Plus has no additional data to send, it should send an
<EOT><TC>.
The LIS may transmit test orders in advance whenever it receives an <ENQ><TC>.
Records are sent to the LIS in a <DLE> . . . <EOT> frame.
O.M.V.3.1.1 A-9
11/05/09