BC ROBO-888
1
INTRODUCTION .................................................................................................................. 3
1. TCP/IP connection .......................................................................................................... 3
2.DATA FLOW ...................................................................................................................... 4
2.1 Normal case ............................................................................................................... 4
2.2 Error case................................................................................................................... 5
2.2.1 Wrong data received........................................................................................... 5
2.2.1 Time out or open wire......................................................................................... 5
3. DETAILS OF TEXT FORMAT ........................................................................................... 6
3.1 LITX and EPTX ........................................................................................................... 6
3.2 DATA STRING FORMAT............................................................................................. 7
3.3 MANDATORY CODE DETAILS .................................................................................. 8
4. SAMPLE OF DATA STRING ............................................................................................ 9
2
INTRODUCTION
This manual describes the interface protocol between BC ROBO-888 and LIS/HIS.
It includes connection details, data flow and data string.
Read this manual carefully beforehand of BC ROBO interfacing and feel free to contact Techno
Medica(hereinafter TMC) if you have any further questions.
1. TCP/IP connection
1) TMC’s coverage
TMC
2) Connection : TCP/IP
3) Transmission Control Code : ASCII
4) TEXT Format : One label = One data string
All the data string must have the same format and should have
CR(Carriage return) at the end.
5) Data string length : All of the string should be the Fix length. Variable length is NG.
6) EPTX : Refer to chapter 3.
Note:
Ensure that “EPTX” is not ETX. “EPTX” is a unique data string dedicated for BC ROBO.
3
2.DATA FLOW
2.1 Normal case
BC ROBO(as server) LIS/HIS(as client)
Listen Connection
Establish connection
Bind session
Session bind request
Accept
Session bind permission
Receive data Send data
LITX of 1st patient 1st label incl CR(Carriage return)
Data confirmed
00:ACK + CR
Receive data Send data
LITX of 1st patient 2nd label incl CR(Carriage return)
Data confirmed
00:ACK + CR
Receive data Send data
EPTX of 1st patient incl CR(Carriage return)
Data confirmed
00:ACK +CR
Terminate session
Session terminate request
Close Close
4
2.2 Error case
2.2.1 Wrong data received
Note:
Ensure to send CR(Carriage return) at the end for both ACK and NACK.
5
3. DETAILS OF TEXT FORMAT
3.1 LITX and EPTX
Data strings for one patient must include 2kinds of data strings. These are called “LITX” and
“EPTX”. ROBO identifies them by message header. If message header is “0”, it is identified as
LITX. If message header is 9, it is identified as “EPTX”.
Note:
• If client forget to send “EPTX”, tubes and extra labels for the different patient will be
contained into the same tray.
• All of the data strings must have the same format and length.
• Worklist label will be automatically generated from the group of LITX.
Sample of “LITX”
0 PatientID00000000000 Patientname0000000000000000000 1 Order#
Sample of “EPTX”
In below sample, you can just copy the LITX and change the message header to “9”.
9 PatientID00000000000 Patientname0000000000000000000 1 Order#
or
In below sample, message header is “9” and other field should be “space”.
9
6
3.2 DATA STRING FORMAT
Below is TMC recommended standard. If HIS/LIS has a difficulty in sending some element name,
contact to TMC for further information.
Character
SEQ Element name Length Mandatory? Comment
type
1 Message header 1 YES Numeric 0: LITX 9: EPTX
2 Patient ID 20 YES Alphanumeric
3 Patient Name 30 YES Any kind
4 I/O code 1 YES Numeric 1: Outpatient 2: Inpatient
5 Order location code 6 STATISTIC* Alphanumeric “000000” if not in use
6 Order placed location 20 STATISTIC* Any kind Space available if not in use
7 Ward code 6 YES Alphanumeric “000000” if not in use
8 Ward name 20 STATISTIC* Any kind Space available if not in use
9 Barcode 20 YES Alphanumeric Including start stop code
10 Container code 3 YES Numeric
11 Container name 20 Any kind
12 Sex 1 Alphabet M=Male F=Female
13 Free comment 1 20
14 Free comment 2 20
15 Free comment 3 20
16 Free comment 4 20
17 Free comment 5 20 Any kind
18 Free comment 6 20 NO
19 Free comment 7 20
20 Free comment 8 20
21 Free comment 9 20
22 Free comment 10 20
Note:
• STATISTIC*: This is for statistic report purpose. BC ROBO has a function to display and archive
statistic report.
• All character should be left aligned.
7
3.3 MANDATORY CODE DETAILS
Mandatory code is a MUST element name to be sent to BC ROBO no matter whether they should
print on the label or not. However, some of them could be supported by using “0” or “Space” if
HIS/LIS has a difficulty in creating such element name.
8
4. SAMPLE OF DATA STRING
Below is the sample of LITX if you want to use full function of BC ROBO including statistic report.
Below is the sample of LITX if you use BC ROBO without using statistic report.
0PATIENTID PATIENTNAME 1000000
000000 a12345678a 013M CR
Note:
• Underline stands for “Space”.