Show last authors
1 = Reporting lab results to TerraIndex for a customer =
2
3 Returning the labresults to the client, that requested the analysis on samples.
4
5 (% class="box infomessage" %)
6 (((
7 More information about SIKB0101 can be found here: [[https:~~/~~/www.sikb.nl/datastandaarden/sikb0101-bodembeheer>>url:https://www.sikb.nl/datastandaarden/sikb0101-bodembeheer]]
8 )))
9
10
11
12 == What is a Lab result file? ==
13
14 A lab result file is an XML file contains all the lab results. The results are mapped tot their analyses samples. A lab result will be matched to the corresponding analyses sample based on the: “Labassignment Guid/SIKB-ID, projectCode, AnalysisSample Guid/SIKB-ID”
15
16
17 **Example files**: [[attach:labresultaat_MengmonsterGr.xml||rel="noopener noreferrer" target="_blank"]], [[attach:labresultaat_IndividueelGr.xml||rel="noopener noreferrer" target="_blank"]], [[attach:labresultaat_IndividueelGw.xml||rel="noopener noreferrer" target="_blank"]]
18
19 **XSD**: Ask or SIKB Members can download from: [[https:~~/~~/www.sikb.nl/datastandaarden/richtlijnen/sikb0101>>url:https://www.sikb.nl/datastandaarden/richtlijnen/sikb0101]]
20
21 **Controle XSLT**: [[attach:Labresult_Controle.xsl||rel="noopener noreferrer" target="_blank"]]
22
23 **Domaintable files**: [[immetingen lookup v14.8.0.xml>>url:https://wiki.terraindex.com/bin/download/Implementation%20documentation/Setting%20up%20Lab%20communication%20by%20REST%20services%20with%20TerraIndex/Lab%20assignment%20file/WebHome/immetingen%20lookup%20v14.8.0.xml?rev=1.2]]   [[imsikb0101 lookup v14.8.0.xml>>url:https://wiki.terraindex.com/bin/download/Implementation%20documentation/Setting%20up%20Lab%20communication%20by%20REST%20services%20with%20TerraIndex/Lab%20assignment%20file/WebHome/imsikb0101%20lookup%20v14.8.0.xml?rev=1.1]]
24 extracted from: **[[https:~~/~~/codes.sikb.nl>>url:https://codes.sikb.nl/]] **
25
26
27 {{toc/}}
28
29
30 == Model Structure ==
31
32 [[image:IMSIKB0101 - Labresults.png]]
33
34 === Metadata ===
35
36
37 (% class="table-hover" %)
38 |(% colspan="1" rowspan="1" %)**Attribute name**|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)**Unit**
39 |(% colspan="1" rowspan="1" %)**version**|(% colspan="1" rowspan="1" %)The SIKB version of the lab results file. This must be: **14.8.0 or 14.9.0**|(% colspan="1" rowspan="1" %)string
40 |(% colspan="1" rowspan="1" %)**application**|(% colspan="1" rowspan="1" %)This is the application code of your LIMS system that you will get from TerraIndex. Be careful this is not the same code as your laboratory number. Your applicationcode can be requested of found here: [[https:~~/~~/codes.sikb.nl/tablet/domain-table-details/50be26c9-5e66-46c9-9373-9d402762876f>>https://codes.sikb.nl/tablet/domain-table-details/50be26c9-5e66-46c9-9373-9d402762876f]] |(% colspan="1" rowspan="1" %)Integer
41 |(% colspan="1" rowspan="1" %)**reportDate**|(% colspan="1" rowspan="1" %)The date on which the lab result file was made|(% colspan="1" rowspan="1" %)(((
42 date
43
44 yyyy-mm-dd
45 )))
46 |(% colspan="1" rowspan="1" %)**supplier**|(% colspan="1" rowspan="1" %)The number you get from TerraIndex. This needs to be the same as the laboratorium number in the lab delivery file. Your supplier code can be requested of found here: [[https:~~/~~/codes.sikb.nl/tablet/domain-table-details/dc2ad4df-f958-4146-aee8-31f8c2f1c74b>>https://codes.sikb.nl/tablet/domain-table-details/dc2ad4df-f958-4146-aee8-31f8c2f1c74b]]|(% colspan="1" rowspan="1" %)string
47 |(% colspan="1" rowspan="1" %)**dataflow**|(% colspan="1" rowspan="1" %)Should be '1' in this case, what stands voor 'AnalysisResults'. Other option can be found here: [[https:~~/~~/codes.sikb.nl/tablet/domain-table-details/79365ded-f56a-4f10-ba45-16bac69752d9>>https://codes.sikb.nl/tablet/domain-table-details/79365ded-f56a-4f10-ba45-16bac69752d9]]|(% colspan="1" rowspan="1" %)integer
48
49 ===
50 Labassignment ===
51
52 The labassignment is the same as in the labassignment file: [[Lab assignment file - SIKB0101 v14>>https://wiki.terraindex.com/bin/view/Implementation%20documentation/Setting%20up%20Lab%20communication%20by%20REST%20services%20with%20TerraIndex/Lab%20assignment%20file/#]]
53
54 With 3 differences/additions:
55
56 * Status on the labassignment itself
57 * Status on the labassignment.sample link
58 * The labassignment Report number can be send in: LabAssignmentCertificate
59
60 |**Attribute**|**Notes**
61 |(((
62 **identification** NEN3610ID
63 )))|(((
64 A unique code that is created when the object is created for the first time.
65 )))
66 |(((
67 **operatingLab** GenericName
68
69
70 )))|(((
71 Code of the laboratory to which the assignment is assigned.
72
73 Domaintable: [[Meetinstantie / Measuring Company>>url:https://codes.sikb.nl/tablet/domain-table-details/4e270f0a-cefe-446e-9d4d-6666c91180a8]]
74 )))
75 |(((
76 **startTime** DateTime
77 )))|Dispatch date of the lab assignment
78 |(((
79 **customerCode** CharacterString
80 )))|Client code or debtor number of the client as known by the laboratory
81
82
83
84 === LabAssignmentStatus ===
85
86 |**Attribute Name**|**Description**
87 |(((
88 **statusType **GenericName
89 )))|(((
90 The status of the lab assignment.
91
92 Use the value '5' for final reported results.
93 Use other values, or '4', for conceptual values.
94
95 Domain table: [[Labassignment Status>>https://codes.sikb.nl/tablet/domain-table-details/5c6ab373-693e-4039-af8d-93206ce4ebb4]]
96 )))
97 |(((
98 **dateExpected **DateTime
99 )))|(((
100 The date the results can be expected, in case of conceptual results.
101
102 If final, fill with datetime.now.
103 )))
104
105 === LabAssignmentCertificate ===
106
107 |**Attribute Name**|**Description**
108 |(((
109 **labCertificateNumber **CharacterString
110 )))|The number of the certificate that will be send to the user/client, and what is used in the PDF file as order or report number of the laboratory.
111 |(((
112 **certification **GenericName
113 )))|(((
114 Under which certificate the analyses has been done. If you do not find you code leave this field empty
115
116 Domain table: [[Certification Coding>>https://codes.sikb.nl/tablet/domain-table-details/df7ffd7c-192c-44f7-ae9f-0461d9266b30]]
117 )))
118
119 == LabAssignmentRequest ==
120
121 The connection between the labassignment and the samples with analysisrequests, as send in the labassignment.
122
123 If not retreived in a labassignment, make it yourself so we can import is as new samples.
124 Just fill what you can fill, otherwise leave field empty, based on documentation here: [[Labassignment file - SIKB0101 v14>>https://wiki.terraindex.com/bin/view/Implementation%20documentation/Setting%20up%20Lab%20communication%20by%20REST%20services%20with%20TerraIndex/Lab%20assignment%20file/#]]
125
126
127 == Project ==
128
129 Activity that leads to the collection of soil data, as send in the labassignment.
130 It will be used to search the correct project/investiation to bind or create the samples.
131
132 |**Attribute**|**Notes**
133 |(((
134 **identification** NEN3610ID
135 )))|The unique identifier of the Project in TerraIndex and in the whole Exchange Chain, as send in the labassignment
136 |(((
137 **name** CharacterString
138
139 [0..1]
140 )))|The name of the project where the lab results are for, as send in the labassignment
141 |(((
142 **projectCode** CharacterString
143 )))|The project code of the project where the lab results are for, as send in the labassignment
144
145 == Sample (AnalysisSample) ==
146
147 The analysissamples with analysisrequests, as send in the labassignment. The fieldsamples form the labassignment can be skipped in the results file.
148
149 If not retreived in a labassignment, make it yourself so we can import is as new analysissamples.
150 Just fill what you can fill, based on documentation here: [[Labassignment file - SIKB0101 v14>>https://wiki.terraindex.com/bin/view/Implementation%20documentation/Setting%20up%20Lab%20communication%20by%20REST%20services%20with%20TerraIndex/Lab%20assignment%20file/#]]
151
152 (% class="box infomessage" %)
153 (((
154 Please keep these scenario's in mind: [[Analysissample scenario's>>https://wiki.terraindex.com/bin/view/Implementation%20documentation/Setting%20up%20Lab%20communication%20by%20REST%20services%20with%20TerraIndex/Lab%20assignment%20file/#HWhatsamplescenario27sareexchanged3F]]
155 )))
156
157 |**Attribute**|**Notes**
158 |(((
159 **identification** NEN3610ID
160 )))|The unique identifier of TerraIndex for the analyses sample, to keep this value unique forever in the whole exchange chain.
161 |(((
162 **name** CharacterString
163
164 [0..1]
165 )))|Name given to the sample
166 |(((
167 **specimenType** GenericName
168
169 [0..1]
170 )))|(((
171 Type of Sample- Fieldsample, Analysissample
172
173 For analysissamples fill with value '10'.
174
175 Domaintable: [[MonsterType / SampleType>>url:https://codes.sikb.nl/tablet/domain-table-details/9f956093-baad-4adb-b74d-20c00cef6ab4]]
176 )))
177 |(((
178 **materialClass** GenericName
179
180
181 )))|(((
182 An SIKB code for the matrix type. Soil, Groundwater etc..
183
184 Domaintable: [[Compartiment / Matrix>>url:https://codes.sikb.nl/tablet/domain-table-details/6134f3bb-6048-431d-a130-01290d84172c]]
185 )))
186
187 == Analysis ==
188
189 The measured parameter with it's value and process.
190
191 |**Attribute Name**|**Description**
192 |(((
193 **identification** NEN3610ID
194 )))|The unique identifier of the AnalysisResult, to keep this value unique forever in the whole exchange chain.
195 If not possible to store this in the Lims, generate on the fly.
196 (% class="info" %)|(((
197 **physicalProperty **PhysicalProperty
198 )))|(((
199 The combination of Quantity, Parameter and Condition to provide the parameter that has been measured.
200 **[[See this chapter for the combinations, and the CAS-NR's. >>https://wiki.terraindex.com/bin/view/Implementation%20documentation/Setting%20up%20Lab%20communication%20by%20REST%20services%20with%20TerraIndex/Lab%20result%20file/#HSIKB14Parameterresultcombinations]]**
201
202
203 )))
204 |**result **AnalyticResult|The result of the analysis, see next chapter.
205 |**procedure **AnalysisProcess|The process that has been used to measure/determine the result, see next chapter.
206
207
208
209 === AnalyticResult (inherited from MeasureResult) ===
210
211 The actual reported value, result of detection limit.
212
213 |**Attribute Name**|**Description**
214 |(((
215 **numericValue** Measure
216 )))|(((
217 Numeric Value - the numerical value of the observation. When no unit for the measurement is known, the unit 'Dimensionless' should be used.
218
219 Domaintable for Units: [[Eenheid>>https://codes.sikb.nl/tablet/domain-table-details/04f4f467-021b-4218-baa8-9742ed977c61]]
220 )))
221 |(((
222 **valueProcessingMethod** GenericName
223 )))|(((
224 Value Processing Method - a mathematical/statistical operation that is applied while the method of value determination/analysis standard remains unchanged.
225
226 The operation can be applied to a series of measurement values with the same parameter (quantity/component or typing or taxon or object) or to a series of measurement values with the same analysis method that are summed up to a sum parameter.
227 \\Default the value '5' meaning 'Not available' can and should be used, besides leaving it empty.
228
229 Domain table: [[Value Processing Method>>https://codes.sikb.nl/tablet/domain-table-details/a2310c26-065f-4aec-9440-74892ec77753]]
230 )))
231 |(((
232 **qualityIndicatorType** GenericName
233 )))|(((
234 Quality Indicator/Judgement -> Detection limit, etc.
235 \\Default the value '0' meaning 'Not available' can and should be used, besides leaving it empty.
236 If there is a detectionlimit/reportinglimit, use: '4', meaning 'determenated with full detection limit'
237
238 Domain table: [[Quality Judgement>>https://codes.sikb.nl/tablet/domain-table-details/1e17d9e6-4e0e-4f88-8fe5-c71f6a7931db]]
239 )))
240
241 |(((
242 **limitSymbol** CharacterString
243 )))|(((
244 LimietSymbool, allowed values: '<' en '>'.
245
246 '<' stands for 'less than the lowest threshold'
247
248 '>' stands for 'greater than the highest threshold'
249
250 The boundary for the limit symbol can be specified in the DeterminationLimits (LimitSymbolReferenceCode) as a reference with the actual value of the limit. The value can be included in the exchange in two ways:
251
252 1) as a CData block: <![CDATA[<]]> or <![CDATA[>]]>
253
254 2) as HTML code: '&amp; lt;' or '&amp; gt;'
255 \\Default the value is leaving it empty.
256 If there is a detectionlimit/reportinglimit, use: '<'
257 )))
258 |(((
259 **alphanumericValue** CharacterString
260 )))|Textual value associated with an analysis result
261
262 ==== ====
263
264 ==== ====
265
266
267
268 === AnalysisProcess ===
269
270 The process that has been used to detemine the measured value or result.
271
272 |**Attribute Name**|**Description**
273 |(((
274 **identification** NEN3610ID
275 )))|The unique identifier of the AnalysisProcess, it can be bound to multiple results at once.
276 |**analyticalTechnique **GenericName|(((
277 The used analytical technique to detemine the result.
278
279 Domain table: [[AnalyticalTechnique>>https://codes.sikb.nl/tablet/domain-table-details/04be2365-3d05-4903-a53e-edafef7111e8]]
280 )))
281 |**certification **GenericName|(((
282 The used certification to detemine the result.
283
284 Domain table: [[CertificationCode>>https://codes.sikb.nl/tablet/domain-table-details/04be2365-3d05-4903-a53e-edafef7111e8]]
285 )))
286 |**valuationMethod **GenericName|(((
287 The used valuation method to detemine the result.
288
289 Domain table: [[ValuationMethod>>https://codes.sikb.nl/tablet/domain-table-details/04be2365-3d05-4903-a53e-edafef7111e8]]
290 )))
291
292 = What to exchange to bind the right results to the right sample? =
293
294 The data stream ‘Lab Result’ is the feedback of analysis results on the requested lab assignment at a laboratory. At import we need to bind it onto the correct sample.
295
296 This requires importand field to match the samples in the xml to the samples in our database.
297
298 **Important fields:**
299
300 |=Entity|=Fixed value|=Remark
301 |**Project**|lokaalID (GUID)|As submitted in the Lab assignment XML
302 | |projectCode|As submitted in the Lab assignment XML
303 |**Labassignment**|lokaalID (GUID)|As submitted in the Lab assignment XML
304 |**Sample (analysis sample)**|lokaalID (GUID)|As submitted in the Lab assignment XML, if assignment in SIKB<11, but results in >=11; fill with old BISNR/IDANLMONS.
305 | |Name|As submitted in the Lab assignment XML
306 |**Sample (field sample)**|(((
307 lokaalID (GUID)
308 )))|Only if this entity is included, which is optional.
309
310 **Remarks:**
311
312 * The entity ‘Analysis Result’ does not yet have a fixed lokaalID (GUID), connected laboratories cannot yet guarantee that a unique ID will be generated.
313 * For Asbestos and Asphalt, new samples are also created at the Lab, which are therefore fed back with a reference to the sample from which they are derived.
314 * There is still a desire to feedback from a lab whether an analysis sample has been modified at the lab in terms of sub-samples. For example, if a jar has broken and been replaced with another jar. This has not yet been included in current practices.
315
316 **Importing the data will be done based on the following steps:**
317
318 * Search Project with Project.lokaalID (as placed in the Lab assignment XML).
319 * Search Project with Project.ProjectCode (as placed in the Lab assignment XML) if searching on Project.LokaalID yields no results.
320 * Search Project and Lab assignment with Labassignment.LokaalID (as placed in the Lab assignment XML) if the Project has not yet been found.
321 * Search Project (if Project not yet found) and Analysis Sample with Sample.LokaalID as GUID (as placed in the Lab assignment XML, version 11 and higher).
322 * Search Project (if Project not yet found) and Analysis Sample with Sample.LokaalID as BISNR (as placed in the Lab assignment XML, versions lower than 11, 'old' idanlmons/BISNR).
323 * Search Analysis Sample with Sample.Name within the project, if the Analysis Sample has not been found but the project has.
324
325 **What can be imported?**
326
327 * If an Analysis Sample is found, the Analysis Results are always updated or added.
328 * If Project is found, but the analysis sample is not; then this analysis sample is imported as a new analysis sample with all results.
329 * (If it concerns water samples, a new fictional/temporary measuring point and filter could be created.)
330
331 = SIKB 14 Parameter result combinations =
332
333 In the SIKB0101 version 14 exchange of **__labresults is combination needed __**for exchanging the result parameters of the Lab analysis.
334 It's based on PhysicalProperty, the combination of Quantity, Parameter and Condition.
335 \\[[image:1713183008796-215.png]]
336 *small remark, condition will be used as: [0..1]
337
338 Domaintables bound to these fields:
339
340 * Quantity -[[ Parameter, but only group/groep: Grootheid (Quantity)>>https://codes.sikb.nl/tablet/domain-table-details/0eafa483-2875-4c94-890d-66258a6b4d88]]
341 * Parameter -[[ Parameter, but mainly group/groep: Chemische Stof (Chemical substance)>>https://codes.sikb.nl/tablet/domain-table-details/0eafa483-2875-4c94-890d-66258a6b4d88]]
342 * Condition - Condition, but not group/groeps that refer to Chemical substance.
343
344 The combinations are defined for different compartiments like soil/ground, groundwater, wastewater.
345 Below are some examples, and some attachments included to support all combinations.
346
347 **2 Examples for Soil:**
348
349 |__**Parameter Name**__|__**Parameter ID**__|__**Quantity ID**__|__**Quantity name**__|__**Condition ID**__|__**Condition Name**__
350 |lood
351 (lead)|1116|2725|Massafractie
352 (Massfraction)|1|t.o.v. drooggewicht
353 (relative to dry weight)
354 |minerale olie
355 (minerale oil)|1200|2725|Massafractie
356 (Massfraction)|93|koolwaterstoffractie C10-C40 / drooggewicht
357 (hydrocarbon fraction C10-C40 / dry weight)
358
359 **2 Examples for Groundwater:**
360
361 |__**Parameter Name**__|__**Parameter ID**__|__**Quantity ID**__|__**Quantity name**__|__**Condition ID**__|__**Condition Name**__|
362 |cyanide-complex|2595|2720|(massa)Concentratie|9|opgeloste fractie (bijv. na filtratie)
363 |som 29 dioxines (TEQ)|2160|2720|(massa)Concentratie|10|uitgedrukt in Toxiciteit equivalenten
364
365 **2 Examples for Wastewater:**
366
367 |__**Parameter Name**__|__**Parameter ID**__|__**Quantity ID**__|__**Quantity name**__|__**Condition ID**__|__**Condition Name**__|
368 |cyanide-complex|2595|2720|(massa)Concentratie|8|Niet van toepassing
369 |som 29 dioxines (TEQ)|2160|2720|(massa)Concentratie|10|uitgedrukt in Toxiciteit equivalenten
370
371 __**Full combinations sheet:  **__[[attach:Full List of AnalysisResult combinations 04-2024.xlsx||rel="noopener noreferrer" target="_blank"]]
372
373 We can help you with the right combinations and mappings to your own codes.
374
375
376
377
TerraIndex
asd