Last modified by Robin Huisman on 2024/12/18 14:57

From version 14.1
edited by Robin Huisman
on 2024/04/03 17:16
Change comment: Uploaded new attachment "LabDelivery_v14.8.0.xsd", version {1}
To version 12.1
edited by Robin Huisman
on 2024/02/12 11:50
Change comment: Renamed from xwiki:Implementation documentation.Setting up Lab communication by FTP with TerraIndex.Lab delivery file.WebHome

Summary

Details

Page properties
Parent
... ... @@ -1,1 +1,1 @@
1 -Implementation documentation.Setting up Lab communication by REST services with TerraIndex.WebHome
1 +Implementation documentation.Setting up Lab communication by FTP with TerraIndex.WebHome
LabDelivery_v14.8.0.xsd
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.RobinHuisman
Size
... ... @@ -1,1 +1,0 @@
1 -17.6 KB
Content
... ... @@ -1,394 +1,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>
2 -<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.element-examples.org" targetNamespace="http://www.element-examples.org" elementFormDefault="qualified" version="14.8.0">
3 - <xsd:simpleType name="SampleKindIdType">
4 - <xsd:restriction base="xsd:integer">
5 - <xsd:minInclusive value="1"/>
6 - </xsd:restriction>
7 - </xsd:simpleType>
8 - <xsd:simpleType name="LaboratoryType">
9 - <xsd:annotation>
10 - <xsd:documentation>see codegroup 38</xsd:documentation>
11 - </xsd:annotation>
12 - <xsd:restriction base="xsd:integer">
13 - <xsd:minInclusive value="1"/>
14 - </xsd:restriction>
15 - </xsd:simpleType>
16 - <xsd:simpleType name="CertificationType">
17 - <xsd:annotation>
18 - <xsd:documentation>see codegroup 48</xsd:documentation>
19 - </xsd:annotation>
20 - <xsd:restriction base="xsd:integer">
21 - <xsd:minInclusive value="1"/>
22 - </xsd:restriction>
23 - </xsd:simpleType>
24 - <xsd:simpleType name="FractionType">
25 - <xsd:annotation>
26 - <xsd:documentation>see codegroup 99</xsd:documentation>
27 - </xsd:annotation>
28 - <xsd:restriction base="xsd:integer">
29 - <xsd:minInclusive value="1"/>
30 - </xsd:restriction>
31 - </xsd:simpleType>
32 - <xsd:element name="LabDelivery">
33 - <xsd:annotation>
34 - <xsd:documentation>XSD bestand dat het SIKB0101 xml-bestand beschrijft voor de aanlevering van analysepakketinformatie</xsd:documentation>
35 - </xsd:annotation>
36 - <xsd:complexType>
37 - <xsd:sequence>
38 - <xsd:element ref="Links"/>
39 - <xsd:element ref="AnalysisSets"/>
40 - <xsd:element ref="Categories" minOccurs="0"/>
41 - <xsd:element ref="AnalysisLinks" minOccurs="0"/>
42 - <xsd:element ref="Clients" minOccurs="0"/>
43 - <xsd:element ref="LabSampleMatrices" minOccurs="0"/>
44 - <xsd:element ref="SpecialAppointments" minOccurs="0"/>
45 - <xsd:element ref="Urgencies" minOccurs="0"/>
46 - <xsd:element ref="StorePeriods" minOccurs="0"/>
47 - <xsd:element name="Reports" minOccurs="0">
48 - <xsd:complexType>
49 - <xsd:sequence>
50 - <xsd:element name="Report" maxOccurs="unbounded">
51 - <xsd:complexType>
52 - <xsd:sequence>
53 - <xsd:element name="ReportId">
54 - <xsd:simpleType>
55 - <xsd:restriction base="xsd:string">
56 - <xsd:maxLength value="10"/>
57 - </xsd:restriction>
58 - </xsd:simpleType>
59 - </xsd:element>
60 - <xsd:element ref="Description"/>
61 - </xsd:sequence>
62 - </xsd:complexType>
63 - </xsd:element>
64 - </xsd:sequence>
65 - </xsd:complexType>
66 - </xsd:element>
67 - <xsd:element name="FractionLinks" minOccurs="0">
68 - <xsd:complexType>
69 - <xsd:sequence>
70 - <xsd:element name="FractionLink" maxOccurs="unbounded">
71 - <xsd:complexType>
72 - <xsd:sequence>
73 - <xsd:element ref="AnalysisSetId"/>
74 - <xsd:element name="Fraction" maxOccurs="unbounded">
75 - <xsd:complexType>
76 - <xsd:sequence>
77 - <xsd:element name="FractionId" type="FractionType">
78 - <xsd:annotation>
79 - <xsd:documentation>unieke id van de fractie</xsd:documentation>
80 - </xsd:annotation>
81 - </xsd:element>
82 - <xsd:element ref="SampleKind" minOccurs="0"/>
83 - <xsd:element ref="Description"/>
84 - </xsd:sequence>
85 - </xsd:complexType>
86 - </xsd:element>
87 - </xsd:sequence>
88 - </xsd:complexType>
89 - </xsd:element>
90 - </xsd:sequence>
91 - </xsd:complexType>
92 - </xsd:element>
93 - </xsd:sequence>
94 - <xsd:attribute name="version" type="xsd:string" use="optional"/>
95 - <xsd:attribute name="versionDeliveryData">
96 - <xsd:annotation>
97 - <xsd:documentation>Kenmerk (versie) wat door het laboratorium aan de analysepakketinformatie is gegeven</xsd:documentation>
98 - </xsd:annotation>
99 - <xsd:simpleType>
100 - <xsd:restriction base="xsd:string">
101 - <xsd:maxLength value="10"/>
102 - </xsd:restriction>
103 - </xsd:simpleType>
104 - </xsd:attribute>
105 - <xsd:attribute name="laboratory" type="LaboratoryType" use="optional">
106 - <xsd:annotation>
107 - <xsd:documentation>Laboratorium waarvan aanleverbestand afkomstig is</xsd:documentation>
108 - </xsd:annotation>
109 - </xsd:attribute>
110 - <xsd:attribute name="language">
111 - <xsd:annotation>
112 - <xsd:documentation>Taal van de xsd. Taalcode volgens ISO 639-2 (dut=dutch, eng=english)</xsd:documentation>
113 - </xsd:annotation>
114 - <xsd:simpleType>
115 - <xsd:restriction base="xsd:string">
116 - <xsd:maxLength value="3"/>
117 - </xsd:restriction>
118 - </xsd:simpleType>
119 - </xsd:attribute>
120 - </xsd:complexType>
121 - </xsd:element>
122 - <xsd:element name="Links">
123 - <xsd:complexType>
124 - <xsd:sequence>
125 - <xsd:element ref="Link" maxOccurs="unbounded"/>
126 - </xsd:sequence>
127 - </xsd:complexType>
128 - </xsd:element>
129 - <xsd:element name="AnalysisSets">
130 - <xsd:complexType>
131 - <xsd:sequence>
132 - <xsd:element ref="AnalysisSet" maxOccurs="unbounded"/>
133 - </xsd:sequence>
134 - </xsd:complexType>
135 - </xsd:element>
136 - <xsd:element name="Categories">
137 - <xsd:complexType>
138 - <xsd:sequence>
139 - <xsd:element ref="Category" maxOccurs="unbounded"/>
140 - </xsd:sequence>
141 - </xsd:complexType>
142 - </xsd:element>
143 - <xsd:element name="AnalysisLinks">
144 - <xsd:complexType>
145 - <xsd:sequence>
146 - <xsd:element ref="AnalysisLink" maxOccurs="unbounded"/>
147 - </xsd:sequence>
148 - </xsd:complexType>
149 - </xsd:element>
150 - <xsd:element name="Clients">
151 - <xsd:complexType>
152 - <xsd:sequence>
153 - <xsd:element ref="Client" maxOccurs="unbounded"/>
154 - </xsd:sequence>
155 - </xsd:complexType>
156 - </xsd:element>
157 - <xsd:element name="LabSampleMatrices">
158 - <xsd:complexType>
159 - <xsd:sequence>
160 - <xsd:element ref="LabSampleMatrix" maxOccurs="unbounded"/>
161 - </xsd:sequence>
162 - </xsd:complexType>
163 - </xsd:element>
164 - <xsd:element name="SpecialAppointments">
165 - <xsd:complexType>
166 - <xsd:sequence>
167 - <xsd:element ref="SpecialAppointment" maxOccurs="unbounded"/>
168 - </xsd:sequence>
169 - </xsd:complexType>
170 - </xsd:element>
171 - <xsd:element name="Urgencies">
172 - <xsd:complexType>
173 - <xsd:sequence>
174 - <xsd:element ref="Urgency" maxOccurs="unbounded"/>
175 - </xsd:sequence>
176 - </xsd:complexType>
177 - </xsd:element>
178 - <xsd:element name="StorePeriods">
179 - <xsd:complexType>
180 - <xsd:sequence>
181 - <xsd:element ref="StorePeriod" maxOccurs="unbounded"/>
182 - </xsd:sequence>
183 - </xsd:complexType>
184 - </xsd:element>
185 - <xsd:element name="Link">
186 - <xsd:complexType>
187 - <xsd:sequence>
188 - <xsd:element ref="AnalysisSetId"/>
189 - <xsd:element ref="ClientId" minOccurs="0"/>
190 - <xsd:element ref="SpecialAppointmentId" minOccurs="0"/>
191 - <xsd:element ref="LabSampleMatrixCode" minOccurs="0"/>
192 - <xsd:element ref="Price" minOccurs="0"/>
193 - <xsd:element name="CertificationId" type="CertificationType" minOccurs="0">
194 - <xsd:annotation>
195 - <xsd:documentation>Aanduiding onder welke certificering/accreditatie de analyses uitgevoerd moeten worden</xsd:documentation>
196 - </xsd:annotation>
197 - </xsd:element>
198 - <xsd:element ref="CategoryId" minOccurs="0"/>
199 - <xsd:element name="Accredited" type="xsd:boolean" minOccurs="0">
200 - <xsd:annotation>
201 - <xsd:documentation>0 | 1 </xsd:documentation>
202 - </xsd:annotation>
203 - </xsd:element>
204 - </xsd:sequence>
205 - </xsd:complexType>
206 - </xsd:element>
207 - <xsd:element name="AnalysisSet">
208 - <xsd:complexType>
209 - <xsd:sequence>
210 - <xsd:element ref="AnalysisSetId"/>
211 - <xsd:element ref="Description"/>
212 - <xsd:element ref="Sequence" minOccurs="0"/>
213 - <xsd:element ref="MinimalDeliveryTime" minOccurs="0"/>
214 - </xsd:sequence>
215 - </xsd:complexType>
216 - </xsd:element>
217 - <xsd:element name="Category">
218 - <xsd:complexType>
219 - <xsd:sequence>
220 - <xsd:element ref="CategoryId"/>
221 - <xsd:element ref="Description"/>
222 - <xsd:element ref="Sequence" minOccurs="0"/>
223 - </xsd:sequence>
224 - </xsd:complexType>
225 - </xsd:element>
226 - <xsd:element name="AnalysisLink">
227 - <xsd:complexType>
228 - <xsd:sequence>
229 - <xsd:element ref="AnalysisSetId"/>
230 - <xsd:element ref="Analysis" maxOccurs="unbounded"/>
231 - </xsd:sequence>
232 - </xsd:complexType>
233 - </xsd:element>
234 - <xsd:element name="Analysis">
235 - <xsd:complexType>
236 - <xsd:sequence>
237 - <xsd:element ref="AnalysisId"/>
238 - <xsd:element ref="Description"/>
239 - <xsd:element ref="MinimalDeliveryTime" minOccurs="0"/>
240 - <xsd:element ref="Observation" minOccurs="0"/>
241 - </xsd:sequence>
242 - </xsd:complexType>
243 - </xsd:element>
244 - <xsd:element name="Client">
245 - <xsd:complexType>
246 - <xsd:sequence>
247 - <xsd:element ref="ClientId"/>
248 - <xsd:element ref="Description"/>
249 - </xsd:sequence>
250 - </xsd:complexType>
251 - </xsd:element>
252 - <xsd:element name="LabSampleMatrix">
253 - <xsd:complexType>
254 - <xsd:sequence>
255 - <xsd:element name="CompartimentId" type="xsd:int">
256 - <xsd:annotation>
257 - <xsd:documentation>The Matrix SIKB ID of the Sample Matrix
258 - Domeintabel: Compartiment </xsd:documentation>
259 - </xsd:annotation>
260 - </xsd:element>
261 - <xsd:element name="CompartimentCode" minOccurs="0">
262 - <xsd:annotation>
263 - <xsd:documentation>The Matrix Aquo code of the Sample Matrix
264 - Domeintabel: Compartiment </xsd:documentation>
265 - </xsd:annotation>
266 - <xsd:simpleType>
267 - <xsd:restriction base="xsd:string">
268 - <xsd:length value="20"/>
269 - </xsd:restriction>
270 - </xsd:simpleType>
271 - </xsd:element>
272 - <xsd:element ref="LabSampleMatrixCode"/>
273 - <xsd:element ref="Description"/>
274 - </xsd:sequence>
275 - </xsd:complexType>
276 - </xsd:element>
277 - <xsd:element name="SpecialAppointment">
278 - <xsd:complexType>
279 - <xsd:sequence>
280 - <xsd:element ref="SpecialAppointmentId"/>
281 - <xsd:element ref="Description"/>
282 - <xsd:element name="startdate" type="xsd:date" minOccurs="0"/>
283 - <xsd:element name="finaldate" type="xsd:date" minOccurs="0"/>
284 - </xsd:sequence>
285 - </xsd:complexType>
286 - </xsd:element>
287 - <xsd:element name="Urgency">
288 - <xsd:complexType>
289 - <xsd:sequence>
290 - <xsd:element ref="UrgencyId"/>
291 - <xsd:element ref="Description"/>
292 - </xsd:sequence>
293 - </xsd:complexType>
294 - </xsd:element>
295 - <xsd:element name="StorePeriod">
296 - <xsd:complexType>
297 - <xsd:sequence>
298 - <xsd:element ref="StorePeriodId"/>
299 - <xsd:element ref="Description"/>
300 - </xsd:sequence>
301 - </xsd:complexType>
302 - </xsd:element>
303 - <xsd:element name="AnalysisSetId">
304 - <xsd:simpleType>
305 - <xsd:restriction base="xsd:string">
306 - <xsd:maxLength value="20"/>
307 - </xsd:restriction>
308 - </xsd:simpleType>
309 - </xsd:element>
310 - <xsd:element name="ClientId">
311 - <xsd:simpleType>
312 - <xsd:restriction base="xsd:string">
313 - <xsd:maxLength value="20"/>
314 - </xsd:restriction>
315 - </xsd:simpleType>
316 - </xsd:element>
317 - <xsd:element name="LabSampleMatrixCode">
318 - <xsd:simpleType>
319 - <xsd:restriction base="xsd:string">
320 - <xsd:maxLength value="20"/>
321 - </xsd:restriction>
322 - </xsd:simpleType>
323 - </xsd:element>
324 - <xsd:element name="SpecialAppointmentId" type="xsd:string"/>
325 - <xsd:element name="SampleKind" type="SampleKindIdType"/>
326 - <xsd:element name="Price" type="xsd:float"/>
327 - <xsd:element name="Description">
328 - <xsd:simpleType>
329 - <xsd:restriction base="xsd:string">
330 - <xsd:maxLength value="100"/>
331 - </xsd:restriction>
332 - </xsd:simpleType>
333 - </xsd:element>
334 - <xsd:element name="Sequence" type="xsd:integer"/>
335 - <xsd:element name="MinimalDeliveryTime" type="xsd:integer"/>
336 - <xsd:element name="Observation">
337 - <xsd:complexType>
338 - <xsd:sequence>
339 - <xsd:element name="quantityId" type="xsd:int" minOccurs="0">
340 - <xsd:annotation>
341 - <xsd:documentation>De grootheid van de Waarneming (Aantal, Concentratie, Dikte, Temperatuur, pH)
342 -Domeintabel: Parameter (in de groep: Grootheid)</xsd:documentation>
343 - </xsd:annotation>
344 - </xsd:element>
345 - <xsd:element name="parameterId" type="xsd:int" minOccurs="0">
346 - <xsd:annotation>
347 - <xsd:documentation>De parameter van de Waarneming ‘(ChemischeStof: lood, Object: Badgast)’
348 -Domeintabel: Parameter (in de groep: Object, ChemischeStof)</xsd:documentation>
349 - </xsd:annotation>
350 - </xsd:element>
351 - <xsd:element name="conditionId" type="xsd:int" minOccurs="0">
352 - <xsd:annotation>
353 - <xsd:documentation>De hoedanigheid van de Waarneming ‘(Filtratie, Drooggewicht, Korrelfractiegroottes)’
354 -Domeintabel: Hoedanigheid</xsd:documentation>
355 - </xsd:annotation>
356 - </xsd:element>
357 - <xsd:element name="unitId" type="xsd:int" minOccurs="0">
358 - <xsd:annotation>
359 - <xsd:documentation>De voorkeurs eenheid van de Waarneming
360 -Domeintabel: Eenheid</xsd:documentation>
361 - </xsd:annotation>
362 - </xsd:element>
363 - <xsd:element name="biotaxonId" type="xsd:int" minOccurs="0">
364 - <xsd:annotation>
365 - <xsd:documentation>De parameter van de Waarneming uit de lijst Biotaxon
366 -Domeintabel: Biotaxon</xsd:documentation>
367 - </xsd:annotation>
368 - </xsd:element>
369 - <xsd:element name="valueDeterminationMethodId" type="xsd:int" minOccurs="0">
370 - <xsd:annotation>
371 - <xsd:documentation>Methode waarop de meetwaarde bepaald gaat worden.
372 -Domeintabel: Waardebepalingsmethode</xsd:documentation>
373 - </xsd:annotation>
374 - </xsd:element>
375 - <xsd:element name="valueDeterminationTechniqueId" type="xsd:int" minOccurs="0">
376 - <xsd:annotation>
377 - <xsd:documentation>Techniek waarmee de meetwaarde bepaald gaat worden.
378 -Domeintabel: Waardebepalingstechniek</xsd:documentation>
379 - </xsd:annotation>
380 - </xsd:element>
381 - </xsd:sequence>
382 - </xsd:complexType>
383 - </xsd:element>
384 - <xsd:element name="CategoryId" type="xsd:string"/>
385 - <xsd:element name="AnalysisId">
386 - <xsd:simpleType>
387 - <xsd:restriction base="xsd:string">
388 - <xsd:maxLength value="20"/>
389 - </xsd:restriction>
390 - </xsd:simpleType>
391 - </xsd:element>
392 - <xsd:element name="UrgencyId" type="xsd:string"/>
393 - <xsd:element name="StorePeriodId" type="xsd:string"/>
394 -</xsd:schema>
Labdeliveryfile.xml
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.RobinHuisman
Size
... ... @@ -1,1 +1,0 @@
1 -3.4 KB
Content
... ... @@ -1,109 +1,0 @@
1 -<?xml version="1.0" encoding="UTF-8"?>
2 -<LabDelivery version="14.8.0" versionDeliveryData="1.0" laboratory="54" language="eng" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.element-examples.org ../XSDs%2014.8.0/LabDelivery_v14.8.0.xsd" xmlns="http://www.element-examples.org">
3 - <Links>
4 - <Link>
5 - <AnalysisSetId>PAN3V</AnalysisSetId>
6 - <ClientId>AN0020594006</ClientId>
7 - <LabSampleMatrixCode>GR_AS3000</LabSampleMatrixCode>
8 - <CategoryId>C</CategoryId>
9 - </Link>
10 - <Link>
11 - <AnalysisSetId>AN01G</AnalysisSetId>
12 - <ClientId>AN0020594006</ClientId>
13 - <LabSampleMatrixCode>GR_AS3000</LabSampleMatrixCode>
14 - <CategoryId>I</CategoryId>
15 - </Link>
16 - <Link>
17 - <AnalysisSetId>AN01G</AnalysisSetId>
18 - <ClientId>AN0020594006</ClientId>
19 - <LabSampleMatrixCode>GR</LabSampleMatrixCode>
20 - <CategoryId>C</CategoryId>
21 - </Link>
22 - </Links>
23 - <AnalysisSets>
24 - <AnalysisSet>
25 - <AnalysisSetId>PAN3V</AnalysisSetId>
26 - <Description>Combination package (DM,PAH,MethylNafph.)</Description>
27 - </AnalysisSet>
28 - <AnalysisSet>
29 - <AnalysisSetId>AN01G</AnalysisSetId>
30 - <Description>PCB (7 parameters) mg/kg dw</Description>
31 - </AnalysisSet>
32 - </AnalysisSets>
33 - <Categories>
34 - <Category>
35 - <CategoryId>C</CategoryId>
36 - <Description>Combined packages</Description>
37 - </Category>
38 - <Category>
39 - <CategoryId>I</CategoryId>
40 - <Description>inorganic</Description>
41 - </Category>
42 - <Category>
43 - <CategoryId>O</CategoryId>
44 - <Description>organic</Description>
45 - </Category>
46 - </Categories>
47 - <AnalysisLinks>
48 - <AnalysisLink>
49 - <AnalysisSetId>PAN3V</AnalysisSetId>
50 - <Analysis>
51 - <AnalysisId>AN01B</AnalysisId>
52 - <Description>PAH (EPA, 16 parameters) mg/kg dw</Description>
53 - </Analysis>
54 - <Analysis>
55 - <AnalysisId>AN01C</AnalysisId>
56 - <Description>Dry matter (105°C) ma.-%</Description>
57 - </Analysis>
58 - <Analysis>
59 - <AnalysisId>AN03K</AnalysisId>
60 - <Description>Methylnaphthalenes (2 parameter) mg/kg dw</Description>
61 - </Analysis>
62 - </AnalysisLink>
63 - <AnalysisLink>
64 - <AnalysisSetId>AN01G</AnalysisSetId>
65 - <Analysis>
66 - <AnalysisId>AN01G</AnalysisId>
67 - <Description>PCB (7 parameters) mg/kg dw</Description>
68 - </Analysis>
69 - </AnalysisLink>
70 - </AnalysisLinks>
71 - <Clients>
72 - <Client>
73 - <ClientId>AN0020594006</ClientId>
74 - <Description>Test Customer SIKB</Description>
75 - </Client>
76 - </Clients>
77 - <LabSampleMatrices>
78 - <LabSampleMatrix>
79 - <CompartimentId>0</CompartimentId>
80 - <LabSampleMatrixCode>GR</LabSampleMatrixCode>
81 - <Description>Ground (soil)</Description>
82 - </LabSampleMatrix>
83 - <LabSampleMatrix>
84 - <CompartimentId>0</CompartimentId>
85 - <LabSampleMatrixCode>GW</LabSampleMatrixCode>
86 - <Description>Groundwater</Description>
87 - </LabSampleMatrix>
88 - <LabSampleMatrix>
89 - <CompartimentId>0</CompartimentId>
90 - <LabSampleMatrixCode>GR_AS3000</LabSampleMatrixCode>
91 - <Description>Ground (soil) AS3000</Description>
92 - </LabSampleMatrix>
93 - </LabSampleMatrices>
94 - <Urgencies>
95 - <Urgency>
96 - <UrgencyId>0</UrgencyId>
97 - <Description>Standard</Description>
98 - </Urgency>
99 - <Urgency>
100 - <UrgencyId>1</UrgencyId>
101 - <Description>Overnight (24 hours)</Description>
102 - </Urgency>
103 - <Urgency>
104 - <UrgencyId>2</UrgencyId>
105 - <Description>3 days priority</Description>
106 - </Urgency>
107 - </Urgencies>
108 -</LabDelivery>
109 -