Professional Documents
Culture Documents
Rev.1.3 – 2020.06.15
Interfacing Manual
(Include also ASTM configuration from
Sw 02.11 onward)
Copyright 2020
This document is exclusive property of ALIFAX s.r.l. confidential and not freely disclosable.
All rights reserved
General Index
1 INTRODUCTION ...................................................................................................................... 3
2 INSTRUMENT PHSYCAL REAR COM PORTS IDENTIFICATION ................................................ 3
3 PARTS TO INSTALL .................................................................................................................. 3
3.1 SERIAL COMMUNICATION ........................................................................................................... 3
3.2 LAN COMMUNICATION ................................................................................................................ 4
4 COMMUNICATION SET-UP ...................................................................................................... 4
5 SERIAL COMMUNICATION PROTOCOL (ALFRED60 AND HB&L) ............................................. 5
5.1 COMMUNICATION PROTOCOL ..................................................................................................... 7
5.2 INTEGRATED PROTOCOL ............................................................................................................. 7
5.3 FIELD #4 SPECIFICATIONS ......................................................................................................... 8
5.3.1 Completion mode ................................................................................................................... 8
5.3.2 No vial matching..................................................................................................................... 8
5.3.3 Vial matching ......................................................................................................................... 8
5.4 FIELD #6 SPECIFICATIONS ......................................................................................................... 9
5.5 SPECIFICATION OF QUERY PROTOCOL (ONLY FOR ALFRED60) ................................................... 13
5.5.1 Definition of Special Characters ............................................................................................. 13
5.5.2 QUERY PROTOCOL specifications .......................................................................................... 13
5.5.3 QQ Record ........................................................................................................................... 13
5.5.4 QA Record ........................................................................................................................... 14
5.5.5 Query communication protocol .............................................................................................. 14
5.5.6 Start of communication ......................................................................................................... 14
5.5.7 Data exchange ..................................................................................................................... 15
5.5.8 End of communication .......................................................................................................... 15
5.5.9 Communication example ....................................................................................................... 15
6 LAN COMMUNICATION ASTM - PROTOCOL (ALFRED60 AND HB&L) .................................... 16
6.1 RECORDS SUMMARY ................................................................................................................. 16
6.2 RECORDS MANAGEMENT ........................................................................................................... 16
6.3 RECORDS IMPLEMENTATION ..................................................................................................... 17
6.3.1 Message Header Record ........................................................................................................ 17
6.3.2 Patient Information Record ................................................................................................... 17
6.3.3 Test Order Record ................................................................................................................ 18
6.3.4 Result Record ....................................................................................................................... 19
6.3.5 Request Information Record .................................................................................................. 20
6.3.6 Message Terminator Record .................................................................................................. 20
7 CONNECTION OF 2 OR MORE INSTRUMENTS TO THE SAME HOST ...................................... 21
7.1 SERIAL COMMUNICATION ......................................................................................................... 21
7.2 LAN COMMUNICATION .............................................................................................................. 21
8 REFERENCES ......................................................................................................................... 22
Note:
The paragraphs coloured in blue, have been added or modified respect to the previous version
We reserve the right to make changes in the course of technical development without previous
notice.
Neither this manual nor any parts of it may be duplicated or transmitted in any way without the written
approval of Alifax S.r.l.
1 INTRODUCTION
This manual is focused to give detailed information about Ports and Connections available on HB&L, Alfred60
and Sidecar and communication protocol features.
It should help Software House Companies during the modification or the installation of their program in
the Host Computer.
Both HB&L and Alfred 60 (till serial numbers: UQ4377W / UQ4203WL and A60304W) have in the rear side 2
DB9 COM Ports identified as:
COM-1: This is the port used to connect instrument to Host (Serial communication)
COM-2: This is the port used to interconnect Alfred to HB&L or Sidecar to HB&L [Not more used]
ATTENTION: From SW version 2.11 the interconnection between Alifax‟s instruments is performed
by the LAN Port
LAN: This is the port used to connect instrument to Host (LAN communication)
Both HB&L and Alfred 60 (from serial numbers: UQ4378W / UQ4204WL and A60305W) have in the rear side
2 DB9 COM Ports identified as:
COM-3: This is the port used to connect instrument to Host (Serial communication)
COM-2/4: [Not used]
ATTENTION: From SW version 2.11 the interconnection between Alifax‟s instruments is performed
by the LAN Port
LAN: This is the port used to connect instrument to Host (LAN communication)
Please notice Sidecar itself does not have any communication port, Sidecar goes through Alfred.
3 PARTS TO INSTALL
3.1 SERIAL COMMUNICATION
Standard LAN Cable to connect instrument to Host (LAN port), eventually the Host side could be different,
so depending the configuration on Host side, one edge could be different.
Software House has the responsibility for the cable.
4 COMMUNICATION SET-UP
Communication set-up is similar for both Alfred60 and HB&L; parameters are located in Tools Setup
Advanced Setting (password) Host Connection.
This section is divided in 3 pages: “Host Connection”, “Transmission Content” and “Advanced”
Inside “Connection Type”, select one type of protocol, in order to communicate with the Host:
Integrated protocol: In order to use a Serial communication protocol
ASTM protocol: In order to use a LAN communication protocol
For further information, please see the appropriate chapter inside the Technical Manual.
The system is provided with 4 serial ports, these ports are the ones visible in Windows Control Panel
configuration setup, please don‟t confuse COM1 (on back side of the instruments) with COM1 of “Windows”
setup.
Both HB&L and Alfred 60 (till serial numbers: UQ4377W / UQ4203WL and A60304W) have in the rear side
DB9 COM Ports identified as: COM1 to be connected to HOST
COM 1
From serial numbers: UQ4378W / UQ4204WL and A60305W, both HB&L and Alfred 60 have in the rear side
DB9 COM Ports identified as:
COM-3:This is the port used to connect instrument to Host (Serial communication)
*: Remember that from Software version 2.11, the interconnection between Alifax‟s instruments is
performed by the LAN Port and not more by the COM Port 2.
DATA STRUCTURE
Data may be exchanged in record with two different structures:
Type
# Description Length
1 Sample ID 20
2 Surname 20
3 Name 20
4 Bacterial count 20
5 RAA/MDRO test 20
6 FIELD #6 20
ID code of Integrated Protocol type structure supports up to 15 factual characters
The last character of fields 1,2,3,4,5 must be '@' (ASCII 64 = 0x40)
The last character of field 6 must be LF (ASCII 10 = 0x0A)
DEFINITIONS ABBREVIATION ASCII CODE Hexadecimal
SOH 0x01
ACK 0x06
NAK 0x15
EOT 0x04
LF 0x0A
Communication description
HOST sends SOH to INSTRUMENT:
If INSTRUMENT is ready it answers ACK
If INSTRUMENT is NOT ready it answers NAK
If INSTRUMENT is NOT ACTIVE it doesn‟t send any character
Note: Character SOH resets data received by INSTRUMENT, if character SOH is not sent,
the data received by INSTRUMENT are appended to previous ones.
If INSTRUMENT answers NAK, the HOST can repeat the transmission after 5 seconds or more.
If INSTRUMENT answers ACK, the HOST can send the string of 120 bytes, which must terminate
by LF.
INSTRUMENT after reception of string answers ACK, if transmitted data are accepted or NAK if
NOT accepted; if INSTRUMENT answers NAK, the HOST can repeat the transmission of string.
When HOST decides to stop the communication it sends EOT and INSTRUMENT answers ACK.
When the INSTRUMENT sends the results to the HOST computer, it uses the same
control technique. Thus host computer must be provided with a suitable data exchange
program.
Each field is terminated by ‟@‟, while the last field which represents also the end of record is
terminated by LF (hexadecimal &0A).
The FIELD #4 of data record, which wasn't used in previous versions, from Sw version 2.7
onwards is used to send and get additional information about the sample and the analysis that were not
foreseen in the past.
This feature is required in case the Matching ID feature is used by the end user.
This field will be used ONLY in working list delivery from Host to INSTRUMENT (See paragraph “Vial
Matching” here below). The same field is used by the INSTRUMEN to send back the resukt and contains the
Bacterial Count
From the software version 2.7 has been introduced the ID MATCHING function, that allows to
associate (link) a culture vial with an already assigned reference ID (QR bi-dimensional code) to
each primary sample.
HB&L must work in “completion mode” if the laboratory needs to keep track of the vials by means of the 2D
barcode printed on the vials themselves (“Vial Matching” feature). For HB&L, the “completion mode” must
be explicitly specified in the Setup.
The sequence is introduced in the working list by the reading the QR univocal code linked to each colture
vial.
Example: 8…16004.12345
CODE OF THE CULTURE KIT VIAL ID NUMBER
Host must send in the working list the field 4 filled up with the numerical sequence above explained; the
sequence MUST be fully respected including the dots between the numbers.
The FIELD #6 of data record, which wasn't used in previous versions, is used in this version to send and get
additional information about the sample and the analysis that were not foreseen in the past.
RECEPTION
During patient data reception, it is possible to fill in the FIELD #6 in order to send information about
the type of test to perform on the sample and the biological material the sample is made of; if this
field is filled in, the software will verify the matching among the type of material communicated and
the one actually inserted; in case of mismatch, the software will issue an error and the introduction
will be refused.
TRANSMISSION
For results transmission, the software provides these options:
MDRO TEST:
- Results transmission disables
- Results transmission enabled (filling in of FIELD #6 is required)
RECORDS SEQUENCE
For BACTERIAL GROWTH, RAA TEST and MDRO TEST, each test will be described by one record.
For SUSCEPTIBILITY TEST, each test will be described by N+1 records, where N is the number of antibiotics
tested onto the sample.
Record 1 : relevant to reference vial
Records from 2 to N+1 : relevant to each tested antibiotic
817 Ciprofloxacin / CL
818 Clindamycin Staphylococci / CL
820 Cotrimoxazole / CL
821 Fosfomycin / CL
822 Gentamicin / CL
823 Levofloxacin / CL
824 Linezolid / CL
825 Meropenem Enterobacteriaceae / CL
826 Meropenem Pseudomonas / CL
828 Norfloxacin / CL
829 Oxacillin Staph. aureus / CL
830 Piperacillin-Tazobactam Enterobacteriaceae / CL
831 Piperacillin-Tazobactam Pseudomonas / CL
832 Teicoplanin Staphylococci / CL
833 Teicoplanin Enterococci / CL
834 Vancomycin Staph. aureus / CL
835 Vancomycin CNS and Enterococci / CL
910 Fosfomycin
911 Cotrimoxazole
912 Amikacin
913 Gentamicin
915 Oxacillin (Staph .aureus)
916 Ciprofloxacin
919 Ceftazidime
922 Ampicillin G+ Enteroc.
925 Piperacillin-Tazobactam
926 Aztreonam
927 Levofloxacin
930 Vancomycin
931 Cefuroxime
932 Norfloxacin
933 Ceftriaxone
934 Linezolid
937 Cefotaxime
938 Amoxicillin-Clavulanate for Staphylococcus
939 Ampicillin
940 Cefoxitin (Staph. aureus)
941 Cefoxitin (SCN)
942 Meropenem
943 Clindamycin for Staphylococcus
945 Teicoplanin
947 Ceftazidime for Enterobacteriaceae
949 Ceftazidime Enterobacteriaceae / EU
950 Ceftazidime Pseudomonas / EU
951 Ceftriaxone / EU
952 Piperacillin-Tazobactam Pseudomonas / EU
953 Piperacillin-Tazobactam Enterobacteriaceae / EU
954 Ampicillin Enterobacteriaceae / EU
955 Ampicillin Enterococci / EU
956 Amikacin Enterobacteriaceae / EU
957 Aztreonam Enterobacteriaceae / EU
959 Cefotaxime / EU
960 Cefuroxime / EU
961 Cefoxitin Staph. aureus / EU
962 Cefoxitin CNS / EU
963 Ciprofloxacin / EU
964 Clindamycin Staphylococci / EU
965 Cotrimoxazole Enterobacteriaceae / EU
967 Gentamicin / EU
968 Gentamicin Staphylococci / EU
969 Levofloxacin / EU
970 Linezolid / EU
971 Meropenem Enterobacteriaceae / EU
973 Vancomycin S. aureus / EU
974 Vancomycin CNS and Enterococci / EU
SUSCEPTIBILITY TEST
' ' : reference sample
'L' : reference inoculation less that 700.000 CFU/ml
'S' : sensitive
'I' : intermediate
'R' : resistant
'E' : error in calculation of resistance / sensitivity to the antibiotic
'?' : unknown
MDRO TEST
'P' : MDRO test positive
'N' : MDRO test negative
'E' : invalid, error is sample/supplement inoculation
'?' : unknown
OTHERS TESTS
''
Resistance 3 % of resistance of SUSCEPTIBILITY TEST
bacterium against 'xxz' : % expressed as xx.z%
antibiotic Ex: '051' --> 5.1 %
'569' --> 56.9 %
'CCC' : resistance = 100%
'NV ' : error in the calculation of resistance to the antibiotic
OTHER TESTS
''
Spare 1 Not used ''
5.5.3 QQ Record
The body of QQ record is composed by the following fields:
Name Meaning Value May be empty Note
Type Indicates QQ record QQ No Fixed
ID Sample ID Alphanumeric No
5.5.4 QA Record
The body of QA record is composed by the following fields:
Name Meaning Value May be empty Note
Type Indicates QA record QA No Fixed
ID Sample ID Alphanumeric No
YesNo Indicates whether the Y : process sample No
sample must be N : don‟t process
processed or not sample
Profile The profile to be used Alphanumeric Only if „YesNo‟ is N The profile name must
for analysis be a valid profile name
of the Alfred instrument.
Surname Patient surname Alphanumeric Yes
Name Patient name Alphanumeric Yes
Note
All the record‟s fields must be transmitted, even if they are empty.
E.g.: the body of a QA record related to sample 12345 (sample which must not be processed) has the form
QA*12345*N****
ALFRED LIS
SOH
START of
COMMUNICATION
ACK
Repeated for
each sample Record QQ
ACK
DATA EXCHANGE
Record QA
ACK
EOT END of
COMMUNICATION
ACK
If the process doesn‟t go well, the phase is repeated 4 more time, with a pause of about 10 seconds
between attempts.
ASTMCOM module only uses the control of frames transmitted and received, to verify accuracy of data
exchanged (cf. LIS01A2E chapter 8 “Data Link Layer for TCP/IP Data Exchange”); the logic of transmission
of incorrect records provided in LIS02A2 par. 4.2.2 “Logical Transmission Error Recovery Requirements” is
not implemented. This connection is performed by the LAN port.
LAN
The USE column explains the way in which the corresponding field has been implemented. It can also
indicate the exact amount that will be sent or expected to be received. Often is used the Backus-Naur Form
syntax, to describe data received or transmitted; briefly this syntax can be explained by the following
examples:
<surname>^<name> means that surname and name are presents and separated by symbol “^” (eg
taylor^frank)
<surname>^[<name>] means that surname and symbol “^” are presents but name is optional and can
be missing (eg. taylor^ is correct, and also taylor^frank)
NOTE ABOUT ENGLISH TRANSLATION: please note that some Italian words are not translated because
keywords on ASTM implementation (eg. „percentuale-resistenza‟ is a keyword sent on Result Record).
In addition to the inherent logic of the ASTM protocol, the following algorithm has been implemented:
If module receives a Patient record where Patient Identifier (field # 3: Practice Assigned Patient ID) is
missing, all related Order Records will be bypassed and discarded.
On reception, any Order Record can contains any numbers of Profile-Name on field #5 (Universal Test ID
field), separated by the Repetition Delimiter (usually character “\”; see LIS02A2E par. 5.4.3); on
transmission a different Order Record will always be sent for each Profile-Name.
it is possible to receive any number of Order Records for each Patient Record; in this case please note
that:
a) If two records have the same Specimen ID, from the second record will be acquired only data
relating to Universal Test ID; all other data will be discarded
b) If two records have different Specimen ID, both will be acquired completely.
# NAME TX RX USE
1 Record type ID O O Record Type Identifier
2 Sequence number * * Sequence Number
3 Specimen ID * * <Sample ID>^[<Test Tube ID>]^[<Plate ID>]
On TX
^^^<Profile
Name>^[screening|par|mdro|antibiogramma]^
<other data>
screening, par:
<other data> = (empty)
mdro:
<other data> = tipo_mdro
antibiogramma:
<other data> = [<code>^<name>|rif]
6 Priority Not supported
7 Requested/Ordered Date Not supported
and Time
8 Specimen coll. Date/time Not supported
9 Collection end time Not supported
10 Collection Volume Not supported
11 Collector ID Not supported
12 Action Code Not supported
13 Danger code Not supported
14 Relevant Clinical Info * <Sample Note>
15 Date/Time Specimen rec. Not supported
# NAME TX RX USE
1 Record type ID R R Record Type Identifier
2 Sequence number * Sequence Number
3 Universal Test ID * ^^^<Profile
Name>^[screening|par|mdro|antibiogramma]^
<other data>^<parameter>
screening, par:
<other data> = (empty)
mdro:
<other data> = tipo_mdro
antibiogramma:
<other data> = [<code>^<name>|rif]
NOTE
If result is a Boolean, will be one of these:
T = true
F = false
5 Units Not supported
6 Reference range Not supported
7 Result Abnormal Flag Not supported
8 Nature of Abnormality T Not supported
9 Result status F Status:
F = Final Result
10 Date of Charge in Not supported
Instrument Normative Val
11 Operator ID Not supported
12 Date/Time test started Not supported
13 Date/Time test completed Not supported
14 Instrument ID Not supported
# NAME TX RX USE
1 Record type ID Q Record Type Identifier
2 Sequence number * Sequence Number
3 Starting range ID number * <Sample ID>[\<Sample ID>]...[\<Sample ID>]
# NAME TX RX USE
1 Record type ID L L Record Type Identifier
2 Sequence number 1 1 Mandatory
3 Termination Code N N Mandatory
In the event it is necessary to connect two or more instruments to Host and there is only 1 Host Com port
available (Host side) it is possible to use one or more serial switched interconnected in chain between then
and the instruments.
2 TXD 1 DCD
3 RXD 2 RXD
4 RTS 3 TXD
5 CTS 4 DTR
6 DSR 5 GND
7 GND 6 DSR
8 DCD 7 RTS
20 DTR 8 CTS
22 RI 9 RI
Serial Cable DB25M - DB9F with 9 wires Serial Cable DB25M - DB9F with 7 wires
In the event it is necessary to connect two or more instruments to Host and there is only 1 Host Com port
available (Host side), in this case is necessary to use a standard LAN HUB (with LAN cables) and create a
network line between the Host and the instruments.
8 REFERENCES
Production Site:
Via Merano 30 33045
Nimis (UD) Italy
Tel +39 0432 197900
Fax +39 0432 547378