Professional Documents
Culture Documents
H30 LIS Protocol
H30 LIS Protocol
1 OBJECT
This document describes the data format protocol.
The functionalities have to match the software specifications of the Free18 analyser.
5 REFERENCES
6 SYSTEM OVERVIEW
The Free 18 analyser may communicate with a LIS system. The essential part of these communications is
the results sending.
1 OBJECT .............................................................................................................................................................................. 1
2 APPROVAL AND HISTORY ........................................................................................................................................... 1
3 DIFFUSION / MISE A DISPOSITION .................................................................................................................... 1
4 TERMINOLOGY AND ABBREVIATIONS .................................................................................................................. 1
5 REFERENCES .................................................................................................................................................................... 1
6 SYSTEM OVERVIEW ...................................................................................................................................................... 1
7 GENERAL SPECIFICATIONS ...................................................................................................................................... 3
7.1 GENERIC PRINCIPLES ....................................................................................................................................... 3
7.1.1 Unit...................................................................................................................................................................... 3
7.2 FRAMES .................................................................................................................................................................. 4
7.2.1 RESULT SENDING.......................................................................................................................................... 4
7.2.1.1 Analysis result sending .......................................................................................................................... 4
7.2.1.2 Alarms list ................................................................................................................................................ 6
7.2.1.3 WBC interpretive message ................................................................................................................... 6
7.2.1.4 RBC interpretive message .................................................................................................................... 6
7.2.1.5 PLT interpretive report ........................................................................................................................ 7
7.2.2 CALIBRATION ................................................................................................................................................. 7
7.2.2.1 Sending calibration report ................................................................................................................... 7
7.2.2.2 Result ........................................................................................................................................................ 8
7.2.3 QC ........................................................................................................................................................................ 9
7.2.3.1 Result ........................................................................................................................................................ 9
7.2.4 Repeatability ....................................................................................................................................................10
7.3 CONTROL SUM ....................................................................................................................................................10
7.3.1 Algorithmic .......................................................................................................................................................10
7.3.2 C language source example implementation ...............................................................................................10
7 GENERAL SPECIFICATIONS
It is a specific format designed by C2 to transfer data to an external system.
To ease the use of these data, the chosen format is text oriented and is compatible with CSV format.
The identifiers have to be in English.
Where :
W is the Free instrument number (2 chars maximum).
X is the Free serial number (13 chars).
Y is the user login, UTF8 coded.
7.1.1 Unit
UNIT;u[CR]
7.2 FRAMES
7.2.1 RESULT SENDING
The Free18 sends the results to the host.
Free18 Host
F18 COUNT;1;200207-000451;;BILL[CR]
RESULT[CR] result frame
Analysis result sending
F18 COUNT;1;000000-000000;;ADMIN;
RESULT
DATE;14/01/2016
TIME;15:38:38
MODE;NORMAL
UNIT;1
SEQ;8;1
SID;1
PID;
ID;
TEST;LMG
TYPE;WB
BIRTH;01/01/1900
Gender;0
Doctor;
PATIENT COMMENT;
SN;000000-000000
OPERATOR; ML
PREL;OT
CYCLE;N
WBC;13.1 ;*; ;2.0 ;4.0 ;12.0 ;15.0 ;
LYMP;-----; ; ;15.0 ;25.0 ;50.0 ;55.0 ;
MIDP;-----; ; ;1.0 ;2.0 ;10.0 ;12.0 ;
GRAP;-----; ; ;45.0 ;50.0 ;80.0 ;85.0 ;
LYM;-----; ; ;0.8 ;1.0 ;5.0 ;5.5 ;
Id ; value ; flag A ; flag B ; low panic ;low ; high ;high panic [CR]
WBC; 11.0 ;A ;B ; 2.0 ; 4.0 ; 11.0 ; 15.0 [CR]
NO_INTERPRETATION
7.2.2 CALIBRATION
Free18 Host
F18;1;200207-000451;;BILL[CR]
Sending calibration report
CALIBRATION
F18 COUNT;1;321214-000016;;BIOLO;
CALIBRATION
DATE;26/01/2016
TIME;12:16:27
OPERATOR;BIOLO
ITEM_CALI;3 ;;number of results for the calib.
COEFF
WBC;1.144 ;;factor values..
RBC;0.866
HGB;0.993
MCV;0.981
PLT;0.982
MPV;1.139
TARGET
UNIT;1
LOT;PLUS016
LOT DATE;19/01/2016
LOT TIME;18:31:48
EXPIRY DATE;05/02/2016
OPERATOR;SEB ;;operator who added the lot
SOURCE;O
WBC;9.9 ;0.0 ;;target and ranges
RBC;4.78 ;0.0
HGB;13.8;0.0
MCV;83.8 ;0.0
PLT;232 ;0.0
MPV;9.5 ;0.0
END_CALI;62691 ;;CRC
F18 COUNT;W;X;;Y;[CR]
Where :
W is the Free instrument number (2 chars maximum).
X is the Free serial number (13 chars).
Y is the user login, UTF8 coded.
7.2.2.2 Result
F18 COUNT;1;321214-000016;;BIOLO;
RESULT
DATE;26/01/2016
TIME;10:04:42
MODE;CALIBRATION ;;type of result
UNIT;1
SEQ;1;0
TEST;LMG
OPERATOR;BA
PREL;OT
CYCLE;N
WBC;10.0 ; ; ;
RBC;4.88 ; ; ;
HGB;13.6; ; ;
MCV;84.9 ; ; ;
PLT;237 ; ; ;
MPV;9.8 ; ; ;
END_RESULT;20253
7.2.3 QC
Free18 Host
F18 COUNT;1;200207-000451;BILL[CR]
Sending QC result
QC
7.2.3.1 Result
F18 COUNT;1;321214-000016;;BIOLO;
RESULT
DATE;26/01/2016
TIME;14:42:00
MODE;QC ;; type of result
UNIT;1
SEQ;1223
LOT;B115H ;;QC Lot
LOT DATE;23/11/2015
LOT TIME;08:35:22
LEVEL;H
EXPIRY DATE;05/02/2016
USER;AJ
OPERATOR;BIOLO
PREL;OT
CYCLE;N
WBC;0.0 ; ; ;18.0 ;23.0 ;
LYMP;-----; ; ;7.5 ;19.5 ;
MIDP;-----; ; ;0.7 ;6.7 ;
GRAP;-----; ; ;74.8 ;90.8 ;
LYM;-----; ; ;1.6 ;4.0 ;
MID;-----; ; ;0.1 ;1.5 ;
GRA;-----; ; ;15.3 ;18.7 ;
RBC;0.01 ; ; ;5.63 ;6.23 ;
HGB;0.0 ; ; ;18.2;19.8;
HCT;-----; ; ;48.2;53.0;
MCV;-----; ; ;80.3 ;90.3 ;
MCH;-----; ; ;29.6;34.6;
MCHC;-----; ; ;34.6;40.6;
RDW;-----; ; ;8.2 ;14.2;
RDW-SD;-----; ; ;29.1 ;41.1 ;
PLT;0 ; ; ;468 ;588 ;
MPV;-----; ; ;7.3 ;13.3 ;
END_RESULT;13554
7.2.4 Repeatability
No emissions.
7.3.1 Algorithmic
The used souce code is available here below( C code ).
It allows to generate standard CRC-16.
This algorithm is mainly used in embedded systems ( like hard disk controller).
For best performance, compute is done from a seek table with 16 values.
Here is the CRC computation:
CRC = 0xFFFF
For each nibble :
Work on high weight nibble :
Index = byte EXCLUSIVE OR CRC
Index = Index AND 000F
CRC = Table(Index) EXCLUSIVE OR (CRC divided by 16)
Work on low weight nibble :
Index = byte divided by 16
Index = Index EXCLUSIVE OR CRC
Index = Index AND 000F
CRC = Table(Index) EXCLUSIVE OR (CRC divided by 16)
CRC computation :
{
/* gestion par quartet du calcul */
usAcc1 = ausCrcTab1[(*pucData ^ usAcc1) & 15] ^ (usAcc1 >> 4);
usAcc1 = ausCrcTab1[((*pucData >> 4) ^ usAcc1) & 15] ^ (usAcc1 >> 4);
pucData++;
lSize--;
}
return(usAcc1);
}
^ : EXCLUSIVE OR
>> : logical right shift.
& : logical and.
This CRC is computed form the beginning sent data until the end of line ([CR] included ) preceding the
checksum line ( identifier + value ).