Laboratorytestrequest: Version & Date Content Breaking Changes
Laboratorytestrequest: Version & Date Content Breaking Changes
Laboratorytestrequest: Version & Date Content Breaking Changes
v3 2020 11 26 in use as of − Use of LOINC codes for test type and Extra field values as well as new fields
3/12 SNOMED CT codes for sample type (concept codes for test and sample
− Healthcare professional types)
− Standardized date and gender formats
V4 2021 03 01 in use as of − Added Version number, Software of sender Extra fields and deleted fields, no new
31/03 − Added CTPC values to existing fields.
− Added Dummy field
− Deleted descriptive value for test type and
sample type, only concept codes remain
1
0. Context
This document contains information on the LaboratoryTestRequest which the laboratories will receive from:
• GP software packages;
• Tool for collectivities (health inspector, collectivity physician, company doctor);
• Web application for sampling reservation and sample registration;
• Sampling posts with own software.
This is different from both the LaboratoryTestPrescription (from a prescriber to Sciensano) and the LaboratoryTestResult (from the
laboratories to Sciensano).
The aim of the LaboratoryTestRequest is to standardize the communication flow between the different parties and allow for lower
administrative burden on all sites.
Please note that there are some differences in format compared to previously used communication formats. These are all necessary
changes to ensure a standardized communication flow and to secure the testing at a large scale in Belgium.
The LaboratoryTestRequest is a message sent to the eHealthBox of the labs containing an XML and a PDF (sometimes 2 PDFs: FR & NL) in
attachment.
2
1. Functional description of the XML
Data
Use case
Field name Level Parent Field description XSD XSD field type Comment validity field
tools
level
V4
Version of the Easier for lab to accept
version Level 2 eform V4 Mandatory string
LaboratoryTestRequest different versions in
parallel
Name of the software
provider(s) that created In case of an issue, the
senderSoftware Level 2 eform and sent the XML + Mandatory Mandatory string right people can be
software version if contacted
relevant
This field could be used in
the future if needed to
Open text field to add
comment Level 2 eform Optional Optional string add something to the
more info
eform and no update to
xsd desired
Information about the
Field to group underlying
prescriber Level 1 LaboratoryTestRequest prescriber of the PrescriberType
data fields
COVID-19 test
First name of the NameType
Pseudo prescriber if based
firstName Level 2 prescriber prescriber of the Mandatory Mandatory (string, max
on CTPC
COVID-19 test length 64)
Last name of the NameType
Pseudo prescriber if based
lastName Level 2 prescriber prescriber of the Mandatory Mandatory (string, max
on CTPC
COVID-19 test length 64)
Nihii number of the Valid nihii -
Mandatory NihiiType (8 or Pseudo prescriber if based
nihii Level 2 prescriber prescriber of the Mandatory on 8 first
(11 digits) 11 digits) on CTPC
COVID-19 test digits
Nihii number of the
physician that should Optional, If tools ask for 11 digits, a Valid nihii -
Max 3 (11 NihiiType (8 or
forwardResultsTo Level 1 LaboratoryTestRequest receive the results - do Max 10 lab can still choose to only on 8 first
digits) 11 digits)
not repeat the occurrences use 8 of them digits
prescriber here
3
Information about the
Field to group underlying
patient Level 1 LaboratoryTestRequest person that requires the PatientType
data fields
COVID-19 test
NameType
First name of the
firstName Level 2 patient Mandatory Mandatory (string, max
patient
length 64)
NameType
Last name of the
lastName Level 2 patient Mandatory Mandatory (string, max
patient
length 64)
4
Additional info about Not asked
freeTextAddress Level 2 patient Optional string
the patient in tool
automaticall
Name of the sampling
locationDescription Level 2 sampleLocation y based on Optional string
location
log-in
Clinical background Field to group underlying
clinicalData Level 1 LaboratoryTestRequest ClinicalDataType
information data fields
If symp-
Date since when the
symptomsSince Level 2 clinicalData tomatic, Optional string YYYY-MM-DD date format
patient has symptoms
need date
DetailsType
Is the patient
Hospitalisation Level 2 clinicalData Default: NO Mandatory (string, max
hospitalized
length 255)
Mandatory
(less
Check TP
options TestPrescribed-
code with
Reason for doing the available ReasonType (TP Test prescribed reason
testPrescribedReason Level 2 clinicalData Mandatory respect to
COVID-19 test than in followed by 4 code list
published list
XSD) based digits)
of codes
on
dropdown
5
possibility
to look into
CTPC
IllnessCollection-
database
Information on # earlier Type (string:
for #of
illnessCollection Level 2 clinicalData tests of the same type Mandatory FIRST, SECOND,
earlier
on the same patient MORE_THAN_2,
tests?
UNKNOWN)
otherwise
Default:
UNKNOWN
Information about the Field to group underlying
samples Level 2 clinicalData Mandatory SamplesType
samples data fields
Information about the Field to group underlying
sample Level 3 samples Max 1 Max 1 SampleType
sample data fields
Tool
If no identification
optional string (max
identificationNumber Level 4 sample Unique ID of the sample Mandatory number available:
until sample length 128)
Unknown
is taken
Optional Should be filled in if no
Unique ID coming from CTPC type (16
CTPC Level 4 sample (but see Optional INSZ (NISS/BIS) is Valid CTPC
the request for testing alpanumerics)
comment) entered
Tool
optional
The date and the time
until sample YYYY-MM-
time Level 4 sample at which the sample Mandatory string valid time
is taken - DDThh:mm+01:00
was taken
only allow
valid time
Specimen material code
The sampling method
sampleConceptCode Level 4 sample Mandatory string list as published by
used
Sciensano
Information about the
Field to group underlying
tests Level 4 sample type of test that is TestsType
data fields
requested
6
Deleted fields:
Field name Level Parent Field description
test Level 5 tests The type of test to be performed
type Level 4 sample The sampling method used
7
2. Meta-data in the eHealthBox message
There are 2 possibilities:
<CustomMeta>
<Key>CM-AttachmentTransportType</Key>
<Value>EFORMS</Value>
</CustomMeta>
<CustomMeta>
<Key>HC-FunctionalType</Key>
<Value>EFORMS</Value>
</CustomMeta>
<CustomMeta>
<Key>HC-AttachmentFilename</Key>
<Value>LabTestRequest_xml_file_name.xml</Value>
</CustomMeta>
<CustomMeta>
<Key>HC-FunctionalType-1</Key>
<Value>EFORMS-ATTACHMENT</Value>
</CustomMeta>
<CustomMeta>
<Key>HC-AttachmentFilename-1</Key>
<Value>LabTestRequest_pdf_file_name.pdf</Value>
</CustomMeta>
8
2) XML and 2 PDFs in attachment:
<CustomMeta>
<Key>CM-AttachmentTransportType</Key>
<Value>EFORMS</Value>
</CustomMeta>
<CustomMeta>
<Key>HC-FunctionalType</Key>
<Value>EFORMS</Value>
</CustomMeta>
<CustomMeta>
<Key>HC-AttachmentFilename</Key>
<Value>LabTestRequest_xml_file_name.xml</Value>
</CustomMeta>
<CustomMeta>
<Key>HC-FunctionalType-1</Key>
<Value>EFORMS-ATTACHMENT</Value>
</CustomMeta>
<CustomMeta>
<Key>HC-AttachmentFilename-1</Key>
<Value>LabTestRequest_pdf_NL_file_name.pdf</Value>
</CustomMeta>
<CustomMeta>
<Key>HC-FunctionalType-2</Key>
<Value>EFORMS-ATTACHMENT</Value>
</CustomMeta>
<CustomMeta>
<Key>HC-AttachmentFilename-2</Key>
<Value>LabTestRequest_pdf_FR_file_name.pdf</Value>
</CustomMeta>
9
3. Possible TP codes
More code lists for the LaboratoryTestRequest are also based on those for the LaboratoryTestPrescription:
https://covid19lab.healthdata.be/data-collection/laboratorytestprescription
10
Error handling guide
Error handling at the labs will take place on different levels:
The error messages can be sent back to the sender of the xml in a pdf in an unstructured way.
11
A. On the overall form level
A data completeness check needs to be performed in order to verify that the data transferred to the lab is as per expectation. This data
quality check is performed at the point of entry for each mandatory attribute from the source system.
time sample The date and the time at which the sample was taken
12
A.2) Lab Analysis Prerequisites
In order for the testing lab to be able to initiate the lab analysis of the samples, a subset of the mandatory data fields needs to be
available. During the analysis process an update of the XML with all mandatory fields completed can be requested.
ssin Patient identifier to link the COVID-19 test result to the patient.
phoneNumber Contact details to communicate back to the COVID-19 test result to the patient.
testPrescribedReason Reason for doing the COVID-19 test and hence whether test will be reimbursed.
identificationNumber Unique ID of the sample to link the physical sample to the ID.
time Timestamp to allow for accurate TAT calculation. Now date only.
type, sampleConceptCode Sampling method used to adapt the analysis process as required.
13
B. On the individual field level
Field level validation ensures the correct value is entered in the field, meeting certain format requirements and/or existence in a
predefined database.
testPrescribedReason Fixed format expected (TP followed by 4 digits). List of possible values described online.
Each field has the expected format. ERRORFormat <Field name>: <Error message in case of fail>
14