Professional Documents
Culture Documents
PCE-525 - Lis Format PDF
PCE-525 - Lis Format PDF
1 OBJECT
This document describes the data format protocol.
The functionalities have to match the software specifications of the PCE-525 analyser.
5 REFERENCES
6 SYSTEM OVERVIEW
The PCE-525 analyser may communicate with a LIS system. The essential part of these communications is the
results sending.
Page 1/17
PCE-525 C2 format description
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.1.1 Haematological parameter format ........................................................................................... 7
7.2.1.2 Alarms list ...................................................................................................................................... 7
7.2.1.3 WBC interpretive message ........................................................................................................... 8
7.2.1.4 RBC interpretive message ............................................................................................................ 8
7.2.1.5 PLT interpretive report .................................................................................................................. 8
7.2.1.6 Dynamic clusters matrices ............................................................................................................ 9
7.2.1.6.1 Compression ............................................................................................................................ 9
7.2.1.6.2 Decompression ...................................................................................................................... 12
7.2.2 CALIBRATION ..................................................................................................................................... 13
7.2.2.1 Sending calibration report ........................................................................................................... 13
7.2.2.2 Result .......................................................................................................................................... 14
7.2.3 QC ........................................................................................................................................................ 15
7.2.3.1 Result .......................................................................................................................................... 15
7.2.4 Repeatability ........................................................................................................................................ 16
7.3 CONTROL SUM ....................................................................................................................................... 16
7.3.1 Algorithmic ........................................................................................................................................... 16
7.3.2 C language source example implementation ...................................................................................... 16
Page 2/17
PCE-525 C2 format description
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]
Page 3/17
PCE-525 C2 format description
7.2 FRAMES
7.2.1 RESULT SENDING
The PCE-525 sends the results to the host.
PCE-525 Host
PCE-525;1;610207-000451;;BILL[CR]
RESULT[CR] result frame
Analysis result sending
PCE-525;1;610000-000000;;A;
RESULT
DATE;14/06/2017
TIME;10:03:57
MODE;NORMAL
UNIT;1
SEQ;63;1
SID;4
PID;
ID;
TEST;CD
TYPE;DIF WB
BIRTH;
Gender;0
Group;0
Doctor;
PATIENT COMMENT;
SN;610000-000000
OPERATOR;ADMIN
PREL;OT
ALTITUDE;N
CYCLE;N
WBC;8.4 ; ; ; ;2.0 ;4.0 ;12.0 ;15.0 ;
LYMP;1.1 ; ;L; ;15.0;25.0;50.0;55.0;
MONP;0.8 ; ;L; ;1.0 ;2.0 ;10.0;12.0;
NEUP;97.3; ;H; ;45.0;50.0;80.0;85.0;
EOSP;0.8 ; ; ; ;0.0 ;0.0 ;5.0 ;8.0 ;
BASP;0.0 ; ; ; ;0.0 ;0.0 ;2.0 ;5.0 ;
IMMP;0.6 ; ; ; ;0.0 ;0.0 ;100.0;100.0;
ALYP;21.2; ; ; ;0.0 ;0.0 ;100.0;100.0;
Page 4/17
PCE-525 C2 format description
Page 5/17
PCE-525 C2 format description
;Z5;1e;1e;Zf;1e;Z3b;a;Z18;1e;Z3;1f;0;1f;1e;0;1f;1f;1e;1f;0;1e;1f;1f;1f;1f;1f;1f;1e;1e;1f;1e;0;1e;1e;0;1e;1e;0;1e;0;1e;
1e;Z6;1e;Z4;28;Z3c;1e;Zb;1e;0;1e;Z4;1e;Z5;1e;0;1e;0;1e;0;1e;1f;1f;1f;1e;1f;1f;1e;1e;1f;0;1f;1f;0;1f;1e;Z2;1e;1e;Zb;
1e;Z13;28;
;Z28;a;Z16;1e;Z4;1f;1f;0;1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a;1e;Ze;1e;0;
1e;Ze;1e;Z67;1e;Z25;1e;Z46;14;Zd;1e;Z3;1e;1e;Z63;a;Z2;14;Z5;14;Z1e;1e;Z8;1e;Z5b;14;Z85;14;Zf6;14;Z5;14;Z5;
1e;Z8d;3c;Zb5;28;Z5a;3c;Z16;3c;
;Z38;3c;Z2e;3c;Zd7;3c;Z24;3c;Z25;3c;Z26;3c;Z14;3c;Z27;3c;Z5f;3c;Z6f;3c;Zb0;3c;Z51;3c;Z105;3c;Zc6;3c;3c;Z82;
3c;Zb3;3c;Zf;3c;Zb;3c;Z4;3c;Z11;3c;Z11;3c;3c;3c;3d;0;3c;0;3c;0;3c;0;3c;3c;;T
END_RESULT;56134
7.2.1.1.1 Haematological parameter format
Id ; value ; flag A ; flag B ; low panic ;low ; high ;high panic [CR]
Page 7/17
PCE-525 C2 format description
O-DF
WBC-BAL
W-CL
R-CL
NO_INTERPRETATION
LEU>
LEU<
LYM>
LYM<
MON>
NEU>
NEU<
EOS>
BAS>
LIC
ALY
ERYB
PLTAGGR
7.2.1.4 RBC interpretive message
NO_INTERPRETATION
ANE
ERY>
ANIS>
MACRO
MICRO
COLDAGG
HYPOCR
MACR>
MICR>
NO_INTERPRETATION
THR>
THR<
MACROP
MICROP
CELLD
SCHIZ
Page 8/17
PCE-525 C2 format description
Code Category
10 LYM with only
one cell
11 LYM
20 MON with only
one cell
21 MON
30 NEU with only
one cell
31 NEU
40 EOS with only
one cell
41 EOS
50 BAS with only
one cell
51 BAS
60 IMM with only
one cell
61 IMM
70 D1 area with
only one cell
71 D1 area
80 Low LYM with
only one cell
81 Low LYM
7.2.1.6.1 Compression
Those matrices have a great footprint that needs to be reduced so that we don’t end up with a fat file..
To proceed, we use a RLE-based compression algorithm headed by a table of content.
Here it goes; we start with an array of 16KB of matrix data, 128x128 bytes to compress.
1°) we run through the 16384 bytes to fill a list with encountered byte values. List size shall not exceed number of
different values stated by the variable threshold algorithm. Once you get your list (look-up table) of different values
(no doubloons !) you can start compressing..
2°) we run through the 16384 bytes again, and this time, you count how many times you get a given byte value.
You then store this counter value with the index (that refers to the byte value in the first list) of that encountered
byte value. Counter and index are converted into base-20 so that it takes less room in the ending file. Each of that
couples (counter, index) are semicolon separated.
Page 9/17
PCE-525 C2 format description
uiCurrByte += uiCurrOffset;
uiCurrOffset = 0;
strLUT.chop(1);
strLUT.append("|");
As of a RLE-based compression, the less events in the matrix, the more compressed result, you get, ranging from
109 bytes (for a quite empty matrix) to 8KB (for the most complex ones). Average size would be around 4KB
(against 16KB).
Page 10/17
PCE-525 C2 format description
In red: LUT data separated by a pipe from effective data. Here, 16 different byte values were encountered in that
matrix.
In green: An example of RLE couple (61H,0) which means 61H=>1569 times the byte value we find at index (0 =>
0), which is actually 0. Please note that if a byte value is encountered just one time, we don’t prepend the counter
(example in blue, we just encountered the byte value at index 1 and which is 46 => 70.
0;46;47;51;50;A;B;1F;28;1E;32;14;33;15;3C;3D|61H0;1;30;21;0;21;0;1;F0;1;4I0;1;20;1;0
;2;0;1;2;0;21;20;1;5G0;1;20;1;0;1;2;21;0;1;5H0;1;20;1;20;2;0;1;20;1;40;1;5A0;21;0;1;
0;1;20;21;600;1;3;50;1;0;1;680;1;5H0;34;60;2;0;21;80;1;40;1;4J0;4;70;4;0;1;30;1;D0;1
;500;34;20;24;60;1;5E0;4;0;4;0;4;40;4;5J0;4;40;4;5;0;3;20;24;40;5;180;1;470;5;0;6;20
;5;5J0;5;20;5;6C0;5;40;5;90;1;530;25;30;5;660;6;50;5;0;25;5C0;5;0;5;20;5;20;5;30;25;
0;5;50;1;5E0;6;20;5;20;5;20;5;5H0;5;26;0;5;0;5;0;5;60;1;5D0;5;0;5;60;25;50;1;I0;1;4A
0;6;20;6;5;0;6;5;30;6;20;5;A0;1;520;5;30;6;5;6;35;5G0;25;30;6;5;26;0;25;0;5;E0;1;530
;5;6;25;6;0;5;0;5;5G0;25;6;5;6;5;46;0;6;50;5;0;1;560;5;30;6;5;0;56;0;6;1F0;1;3F0;5;3
0;5;0;D6;E0;1;4J0;6;0;A6;5;6;5D0;5;E6;35;0;25;0;5;560;25;D6;5;5A0;5;0;25;0;A6;5;6;20
;6;60;7;240;8;2H0;5;0;D6;0;5;0;5;5A0;5;C6;5;26;5D0;5;C6;0;6;5;0;5;580;25;6;0;D6;5;30
;25;1A0;8;3F0;35;0;A6;0;26;580;5;40;25;B6;20;5;5D0;B6;5;6;5;20;5;1C0;8;2C0;8;150;C6;
5;6;30;5;50;39;530;86;5;26;20;5;0;5;3J0;8;1C0;56;5;46;0;35;310;8;290;5;0;25;6;0;6;5;
46;35;40;5;5B0;25;36;5;6;5;6;20;25;J0;9;4G0;5;30;5;36;0;6;0;5;6;20;5;D0;9;3G0;8;G0;5
;40;6;5;36;0;46;0;5;40;5;570;5;20;25;26;5;46;5;0;6;100;9;60;9;270;8;1J0;5;0;26;20;6;
0;6;30;6;20;5;80;9;7;0;9;0;9;1I0;8;140;8;210;25;6;25;6;30;5;2F0;8;2G0;5;20;6;5;0;25;
0;5;0;5;0;6;25;20;5;70;9;50;7;520;5;6;0;5;C0;9;60;9;240;8;D0;8;110;8;100;5;60;5;E0;9
;60;9;230;8;A0;28;250;5;0;5;30;A;40;2A;0;9;20;9;0;9;0;9;0;29;60;29;40;9;C0;9;3E0;5;4
0;5;20;5;A;30;2A;70;9;0;7;40;9;80;9;0;9;240;8;D0;8;1A0;5;B;0;B;B0;9;7;9;40;9;0;9;50;
7;9;20;9;110;9;180;8;30;8;1H0;B;0;B;40;B;2A;0;C;A;80;39;0;29;0;9;30;29;0;29;20;29;2B
0;28;C0;8;110;B;0;B;40;B;0;2A;0;2A;90;39;7;0;29;40;29;40;9;200;8;260;B;30;B;0;B;80;D
;B;0;29;0;9;0;9;40;27;9;0;9;20;29;0;9;30;9;40;9;1A0;8;100;8;160;B;30;D;30;B;20;2D;B;
30;B;50;9;0;7;40;7;20;9;0;9;0;9;0;39;4A0;D;30;B;D;2B;D;50;B;30;9;0;7;9;30;7;29;7;9;7
;9;20;9;7;20;9;220;8;E0;8;0;8;20;8;170;2B;0;B;40;B;60;9;60;9;7;9;27;9;0;9;30;49;7;0;
9;60;29;1A0;8;260;B;0;B;0;B;0;B;0;D;20;B;0;2B;30;B;30;7;9;7;9;0;9;7;29;77;9;7;29;0;7
;9;7;9;20;9;420;B;30;B;0;D;50;B;60;7;0;29;27;9;27;0;27;29;0;9;0;9;0;7;20;29;50;9;3H0
;B;30;D;0;B;20;B;20;B;70;9;7;0;9;7;9;7;0;37;9;77;20;9;7;0;9;0;7;410;B;D;50;2B;A0;29;
0;29;7;9;57;9;7;9;7;9;0;9;7;9;7;29;7;0;9;B0;9;3F0;B;D;B;0;B;0;B;40;B;0;D;9;0;7;0;47;
9;37;9;77;9;37;9;37;40;9;3D0;B;60;B;0;B;0;2B;40;B;0;B;30;9;30;7;9;20;7;9;37;9;47;9;2
7;0;7;0;7;29;7;9;450;B;0;B;20;B;20;B;0;B;30;9;20;7;9;0;H7;0;37;39;60;9;380;B;40;B;20
;D;B;0;2B;0;2D;B;0;3B;30;7;9;27;0;97;9;27;9;97;20;9;400;2B;0;B;D;20;B;90;B;0;9;7;9;1
37;9;7;9;60;9;0;9;390;2B;40;B;0;B;20;B;B0;9;0;9;47;9;77;9;57;9;27;49;7;9;20;9;40;9;4
0;9;350;B;0;D;0;4B;40;B;60;39;27;9;7;0;9;37;9;B7;9;7;9;7;0;9;27;3B0;B;40;B;20;B;20;B
;20;B;60;B;20;D;B;0;29;20;47;0;27;9;97;9;27;0;27;29;3G0;3B;0;2B;60;B;30;B;20;B;20;D;
0;29;27;0;I7;9;7;9;7;9;37;0;9;0;39;3C0;B;30;B;30;B;A0;9;0;7;0;9;7;9;77;9;47;9;7;9;7;
9;0;7;39;0;7;50;7;20;9;320;B;60;B;0;2B;D;20;B;90;D;0;2B;137;9;47;0;9;20;9;30;9;390;B
;70;2B;90;B;20;39;7;0;27;9;F7;9;37;9;7;9;20;7;49;350;B;60;B;30;B;A0;B;30;B;D;47;9;27
;9;D7;0;47;0;7;0;29;20;9;20;9;0;9;310;B;30;B;30;B;0;B;E0;2B;0;D;0;9;47;9;F7;0;29;7;9
;40;9;60;9;350;B;30;B;40;B;60;B;D;0;B;20;B;D;9;7;9;7;9;77;9;A7;20;27;9;0;9;20;9;3G0;
B;E0;2B;20;D;20;7;9;0;7;9;27;29;27;9;57;9;7;0;7;9;7;9;27;0;7;4G0;B;0;D;47;0;7;29;77;
9;87;0;9;7;20;39;0;9;3F0;D;H0;2B;0;7;9;0;9;7;29;20;7;0;7;9;7;0;9;37;9;37;29;0;9;0;9;
40;9;4D0;B;0;7;9;7;0;7;9;7;9;27;20;9;57;9;27;0;7;0;29;7;0;9;40;9;3G0;B;G0;2B;0;37;9;
7;9;7;0;37;0;9;27;20;9;20;7;420;B;F0;2B;20;B;40;29;7;9;27;9;0;39;7;0;7;9;0;7;20;29;0
;7;29;0;9;4F0;B;0;B;20;D;20;27;9;27;0;9;0;7;30;9;7;9;20;9;0;29;40;9;440;B;F0;B;0;9;0
;9;20;39;0;9;7;9;20;29;20;9;70;29;440;B;F0;9;40;9;0;29;30;7;20;9;0;7;60;9;570;9;30;7
;0;9;20;9;5G0;9;7;20;9;0;29;H0;9;560;E;0;E;30;F;9;0;2E;20;E;0;29;4J0;E;40;E;60;E;B0;
E;20;E;4F0;E;80;E;190;E;540;E;640;E;70;E;20;E;850;E;4D0;E;CE0;E;1IB0;E;I40;E;50;E;20
;E;90;E;G0;E;30;E;20;E;0;E;70;E;B0;
Page 11/17
PCE-525 C2 format description
7.2.1.6.2 Decompression
Expanding data is exact reverse process. First, you would extract the LUT from the given data, this LUT is
separated from data by a pipe character ‘|’.
In the previous example, the LUT would be:
0;46;47;51;50;A;B;1F;28;1E;32;14;33;15;3C;3D
..which says: “ok, this is a compression with up to 16 different char values !”.
In 10-base, those values are 0;86; 87; 101;35;48;100;62;24;63;25;72;73 (remember, we’re using 20-base storing
conversion.)
Once you get your real values, you just put into an array of 16KB the result of value conversion. Data are actually
20-base indexes that refer to the LUT table.
For instance, 61H0 says “I put 2437 times the value indexed by ‘0’ which is 0”.. and so on..
uint uiCurrOffset = 0;
foreach(QString strItem, lstItem)
{
if(strItem.size() == 1)
{//if item is 1-byte long, then convert it and put it once in target array
*(pcData + uiCurrOffset) = lstLUT.at(strItem.toUInt(&bOk,
COMP_BASE_CONV));
uiCurrOffset++;
}
else
{//if item is longer, put the converted value as many times as needed
uint uiNbOcc = strItem.mid(0, strItem.size() - 1).toUInt(&bOk,
COMP_BASE_CONV);
uchar ucVal = lstLUT.at(strItem.mid(strItem.size() - 1, strItem.size()
).toUInt(&bOk, COMP_BASE_CONV));
memset(pcData + uiCurrOffset, ucVal, uiNbOcc);
uiCurrOffset += uiNbOcc;
}
}
return true;
Page 12/17
PCE-525 C2 format description
7.2.2 CALIBRATION
PCE-525 Host
PCE-525;1;610207-000451;;BILL[CR]
Sending calibration report CALIBRATION
PCE-525;1;610000-000000;;A;
CALIBRATION
DATE;14/05/2017
TIME;15:31:36
OPERATOR;B
ITEM_CALI;5
COEFF
WBC;1.042
RBC;1.090
HGB;1.046
MCV;1.111
PLT;1.290
MPV;1.133
TARGET
UNIT;1
LOT;PLUS0517
LOT DATE;27/04/2017
LOT TIME;14:13:22
EXPIRY DATE;05/06/2017
OPERATOR;BIOLO
SOURCE;O
WBC;9.0 ;0.0
RBC;4.62 ;0.0
HGB;13.1;0.0
MCV;84.9 ;0.0
PLT;283 ;0.0
MPV;;0.0
END_CALI;11528
PCE-525;W;X;;Y;[CR]
Where :
W is the Free instrument number (2 chars maximum).
Page 13/17
PCE-525 C2 format description
7.2.2.2 Result
PCE-525;1;610000-000000;;A;
RESULT
DATE;27/04/2017
TIME;14:40:37
MODE;CALIBRATION
UNIT;1
SEQ;1;0
TEST;LMG
OPERATOR;LL
PREL;OT
CYCLE;N
WBC;8.7 ; ;L; ;
RBC;4.31 ; ;L; ;
HGB;12.4; ;L; ;
MCV;76.5 ; ;L; ;
PLT;220 ; ;L; ;
MPV;;;;;
END_RESULT;1302
Page 14/17
PCE-525 C2 format description
7.2.3 QC
PCE-525 Host
7.2.3.1 Result
PCE-525;1;610000-000000;;A;
RESULT
DATE;27/04/2017
TIME;15:05:01
MODE;QC
UNIT;1
SEQ;26
LOT;MYT1704L
LOT DATE;27/04/2017
LOT TIME;14:58:45
LEVEL;L
EXPIRY DATE;05/06/2017
USER;BIOLO
OPERATOR;BIOLO
PREL;OT
CYCLE;N
WBC;2.6 ; ; ; ;2.2 ;3.2 ;
LYMP;49.9; ; ; ;43.8;59.8;
MONP;13.5; ; ; ;5.5 ;19.5;
NEUP;33.1; ; ; ;24.2;40.2;
LYM;1.3 ; ; ; ;1.1 ;1.7 ;
MON;0.4 ; ; ; ;0.1 ;0.5 ;
NEU;0.9 ; ; ; ;0.6 ;1.2 ;
RBC;2.25 ; ; ; ;2.02 ;2.32 ;
HGB;6.0 ; ; ; ;5.4 ;6.4 ;
HCT;17.7; ; ; ;14.7;18.7;
MCV;78.6 ; ; ; ;71.8 ;81.8 ;
MCH;26.7; ; ; ;24.5;29.5;
MCHC;33.9; ; ; ;32.1;38.1;
RDW-CV;10.6; ; ; ;8.4 ;16.4;
RDW-SD;34.8 ; ; ; ;33.7 ;41.7 ;
PLT;46 ; ; ; ;28 ;68 ;
MPV;11.4; ; ; ;8.6 ;14.6;
END_RESULT;22174
Page 15/17
PCE-525 C2 format description
7.2.4 Repeatability
No emissions.
7.3.1 Algorithmic
The used source code is available here below( C code ).
It allows generating 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 :
pucData++;
lSize--;
}
return(usAcc1);
}
^ : EXCLUSIVE OR
>> : logical right shift.
& : logical and.
Page 16/17
PCE-525 C2 format description
This CRC is computed form the beginning sent data until the end of line ([CR] included ) preceding the checksum
line ( identifier + value ).
Page 17/17