Changes for page Lab delivery file - SIKB version 14
Last modified by Robin Huisman on 2024/12/18 14:57
From version 43.4
edited by Luca de Laat
on 2024/04/10 13:47
on 2024/04/10 13:47
Change comment:
There is no comment for this version
To version 52.2
edited by Olivier Roussel
on 2024/12/13 12:58
on 2024/12/13 12:58
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
-
Attachments (0 modified, 2 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -Lab delivery file - SIKB version 14 .8.01 +Lab delivery file - SIKB version 14 - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. LucadeLaat1 +XWiki.OlivierRoussel - Content
-
... ... @@ -8,7 +8,7 @@ 8 8 9 9 == What is a lab delivery file? == 10 10 11 -A lab delivery file contains the Customer code of the customer that will be sending the lab assignment. It also contains the analyses that can be requested from the lab by the customer. A Lab delivery file needs to be custom for every user and needs to be a XML file. This file will be available for the customer to choose their options for requesting and ordering an analysis at the lab. It's the Menu-card of the Lab, the user can choose from. 11 +A lab delivery file contains the Customer code of the customer that will be sending the lab assignment. It also contains the analyses that can be requested from the lab by the customer. A Lab delivery file needs to be custom for every user and needs to be an XML file. This file will be available for the customer to choose their options for requesting and ordering an analysis at the lab. It's the Menu-card of the Lab, the user can choose from. 12 12 13 13 **Example files**:Â [[attach:Labdeliveryfile.xml||rel="noopener noreferrer" target="_blank"]] 14 14 ... ... @@ -15,20 +15,19 @@ 15 15 **XSD**:Â [[attach:LabDelivery_v14.8.0.xsd||rel="noopener noreferrer" target="_blank"]] 16 16 17 17 **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]] 18 -extracted from:Â **[[https:~~/~~/codes.sikb.nl>>url:https://codes.sikb.nl/]] ** 18 +extracted from:Â **[[https:~~/~~/codes.sikb.nl>>url:https://codes.sikb.nl/]]Â 19 +\\Translations English to Dutch:Â **[[attach:LabdeliveryFile_14.8.0_ENG_NL.xslt||rel="noopener noreferrer" target="_blank"]] 19 19 21 + 20 20 {{toc/}} 21 21 22 22 23 - ~==> nle Add field Certification (screen1of labassignment)25 +[[image:1722464591905-118.png]] 24 24 25 25 == File structure == 26 26 27 -In the image below the main structure of the XML file is shown. Every table is described in more detail later on in this chapter. 29 +In the image below, the main structure of the XML file is shown. Every table is described in more detail later on in this chapter. 28 28 29 -~==> nle Dutch text in screenshot 30 -[[image:1712158795900-531.png||height="604" width="391"]] 31 - 32 32 (% class="table-hover" %) 33 33 |(% colspan="1" rowspan="1" %)**Attribute name**|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)**Unit** 34 34 |(% colspan="1" rowspan="1" %)**version**|(% colspan="1" rowspan="1" %)SIKB version. This must be: **14.8.0**|(% colspan="1" rowspan="1" %)string ... ... @@ -87,8 +87,8 @@ 87 87 (% class="table-hover" %) 88 88 |(% colspan="1" rowspan="1" %)**Attribute name**|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)**Unit** 89 89 |(% colspan="1" rowspan="1" %)**CategorieId**|(% colspan="1" rowspan="1" %)The code/Id of the category or group given by the lab|(% colspan="1" rowspan="1" %)string 90 -|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)The name/description of the category (This will also be shown in the user interface)|(% colspan="1" rowspan="1" %)string 91 -|(% colspan="1" rowspan="1" %)**Sequence**|(% colspan="1" rowspan="1" %)Field is redundant and does not have to be filled|(% colspan="1" rowspan="1" %)integer89 +|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)The name/description of the category (This will also be shown in the user interface, in alphabtical order) |(% colspan="1" rowspan="1" %)string 90 +|(% colspan="1" rowspan="1" %)**Sequence**|(% colspan="1" rowspan="1" %)Field is not used in the TI database and does not have to be filled in|(% colspan="1" rowspan="1" %)integer 92 92 93 93 == Structure explanation AnalysisLink and Analysis == 94 94
- 1722464591905-118.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.RobinHuisman - Size
-
... ... @@ -1,0 +1,1 @@ 1 +165.1 KB - Content
- LabdeliveryFile_14.8.0_ENG_NL.xslt
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.RobinHuisman - Size
-
... ... @@ -1,0 +1,1 @@ 1 +9.0 KB - Content
-
... ... @@ -1,0 +1,356 @@ 1 +<?xml version="1.0" encoding="UTF-8"?> 2 +<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xpath-default-namespace="http://www.element-examples.org" xmlns="http://www.element-examples.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 3 + 4 +<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/> 5 + 6 + <!-- Kopier alle nodes --> 7 + <xsl:template match="node()"> 8 + <xsl:copy> 9 + <xsl:apply-templates select="@*|node()"/> 10 + </xsl:copy> 11 + </xsl:template> 12 + 13 + <!-- Kopier de text van de nodes en de attributen--> 14 + <xsl:template match="text()"> 15 + <xsl:value-of select="."/> 16 +</xsl:template> 17 + 18 + 19 +<!-- Vervang de attributen--> 20 +<xsl:template match="LabDelivery/@version"> 21 + <xsl:attribute namespace="{namespace-uri()}" name="versie" ><xsl:value-of select="."/></xsl:attribute> 22 + </xsl:template> 23 + 24 +<xsl:template match="LabDelivery/@versionDeliveryData"> 25 + <xsl:attribute namespace="{namespace-uri()}" name="kenmerk" ><xsl:value-of select="."/></xsl:attribute> 26 + </xsl:template> 27 + 28 +<xsl:template match="LabDelivery/@laboratory"> 29 + <xsl:attribute namespace="{namespace-uri()}" name="laboratorium" ><xsl:value-of select="."/></xsl:attribute> 30 + </xsl:template> 31 + 32 +<xsl:template match="LabDelivery/@language"> 33 + <xsl:attribute namespace="{namespace-uri()}" name="taal" ><xsl:value-of select="."/></xsl:attribute> 34 + </xsl:template> 35 + 36 + 37 + <!-- vervang LabDelivery --> 38 +<xsl:template match="LabDelivery"> 39 + <labaanlevering> 40 + <xsl:apply-templates select="@*|node()"/> 41 + </labaanlevering> 42 + </xsl:template> 43 + 44 +<xsl:template match="Links"> 45 + <koppeltabel> 46 + <xsl:apply-templates select="@*|node()"/> 47 + </koppeltabel> 48 + </xsl:template> 49 + 50 + <xsl:template match="AnalysisSets"> 51 + <analysepakketten> 52 + <xsl:apply-templates select="@*|node()"/> 53 + </analysepakketten> 54 + </xsl:template> 55 + 56 + <xsl:template match="Categories"> 57 + <categorieen> 58 + <xsl:apply-templates select="@*|node()"/> 59 + </categorieen> 60 + </xsl:template> 61 + 62 + <xsl:template match="AnalysisLinks"> 63 + <analysetabel> 64 + <xsl:apply-templates select="@*|node()"/> 65 + </analysetabel> 66 + </xsl:template> 67 + 68 + <xsl:template match="Clients"> 69 + <debiteurtabel> 70 + <xsl:apply-templates select="@*|node()"/> 71 + </debiteurtabel> 72 + </xsl:template> 73 + 74 + <xsl:template match="LabSampleMatrices"> 75 + <labmonstersoorttabel> 76 + <xsl:apply-templates select="@*|node()"/> 77 + </labmonstersoorttabel> 78 + </xsl:template> 79 + 80 + <xsl:template match="SpecialAppointments"> 81 + <afspraaktabel> 82 + <xsl:apply-templates select="@*|node()"/> 83 + </afspraaktabel> 84 + </xsl:template> 85 + 86 + <xsl:template match="Urgencies"> 87 + <urgentietabel> 88 + <xsl:apply-templates select="@*|node()"/> 89 + </urgentietabel> 90 + </xsl:template> 91 + 92 + <xsl:template match="StorePeriods"> 93 + <bewaarduurtabel> 94 + <xsl:apply-templates select="@*|node()"/> 95 + </bewaarduurtabel> 96 + </xsl:template> 97 + 98 + <xsl:template match="Reports"> 99 + <rapportagetabel> 100 + <xsl:apply-templates select="@*|node()"/> 101 + </rapportagetabel> 102 + </xsl:template> 103 + 104 + <xsl:template match="FractionLinks"> 105 + <fractietabel> 106 + <xsl:apply-templates select="@*|node()"/> 107 + </fractietabel> 108 + </xsl:template> 109 + 110 + <xsl:template match="Link"> 111 + <koppeling> 112 + <xsl:apply-templates select="@*|node()"/> 113 + </koppeling> 114 + </xsl:template> 115 + 116 + <xsl:template match="AnalysisSetId"> 117 + <analysepakketcode> 118 + <xsl:apply-templates select="@*|node()"/> 119 + </analysepakketcode> 120 + </xsl:template> 121 + 122 + <xsl:template match="ClientId"> 123 + <klantcode> 124 + <xsl:apply-templates select="@*|node()"/> 125 + </klantcode> 126 + </xsl:template> 127 + 128 + <xsl:template match="LabSampleMatrix"> 129 + <labmonstersoort> 130 + <xsl:apply-templates select="@*|node()"/> 131 + </labmonstersoort> 132 + </xsl:template> 133 + 134 + <xsl:template match="CompartimentId"> 135 + <compartimentid> 136 + <xsl:apply-templates select="@*|node()"/> 137 + </compartimentid> 138 + </xsl:template> 139 + <xsl:template match="CompartimentCode"> 140 + <compartimentcode> 141 + <xsl:apply-templates select="@*|node()"/> 142 + </compartimentcode> 143 + </xsl:template> 144 + <xsl:template match="LabSampleMatrixCode"> 145 + <labmonstersoortcode> 146 + <xsl:apply-templates select="@*|node()"/> 147 + </labmonstersoortcode> 148 + </xsl:template> 149 + <!--Omschrijving wordt al gedaan --> 150 + 151 + <xsl:template match="AppointmentTypeCode"> 152 + <afspraakCode> 153 + <xsl:apply-templates select="@*|node()"/> 154 + </afspraakCode> 155 + </xsl:template> 156 + 157 + <xsl:template match="SpecialAppointmentId"> 158 + <afspraaknummer> 159 + <xsl:apply-templates select="@*|node()"/> 160 + </afspraaknummer> 161 + </xsl:template> 162 + 163 + <xsl:template match="SampleKind"> 164 + <monstersoort> 165 + <xsl:apply-templates select="@*|node()"/> 166 + </monstersoort> 167 + </xsl:template> 168 + 169 + <xsl:template match="Price"> 170 + <prijs> 171 + <xsl:apply-templates select="@*|node()"/> 172 + </prijs> 173 + </xsl:template> 174 + 175 + <xsl:template match="CertificationId"> 176 + <certificering> 177 + <xsl:apply-templates select="@*|node()"/> 178 + </certificering> 179 + </xsl:template> 180 + 181 + <xsl:template match="AnalysisSet"> 182 + <analysepakket> 183 + <xsl:apply-templates select="@*|node()"/> 184 + </analysepakket> 185 + </xsl:template> 186 + 187 + <!-- AnalysisSetId Deze kunnen we overslaan, wordt al gedaan als goed is --> 188 + 189 + <xsl:template match="Description"> 190 + <omschrijving> 191 + <xsl:apply-templates select="@*|node()"/> 192 + </omschrijving> 193 + </xsl:template> 194 + 195 + <xsl:template match="CategoryId"> 196 + <categoriecode> 197 + <xsl:apply-templates select="@*|node()"/> 198 + </categoriecode> 199 + </xsl:template> 200 + 201 + <xsl:template match="Sequence"> 202 + <volgorde> 203 + <xsl:apply-templates select="@*|node()"/> 204 + </volgorde> 205 + </xsl:template> 206 + 207 + <xsl:template match="MinimalDeliveryTime"> 208 + <minlevertermijn> 209 + <xsl:apply-templates select="@*|node()"/> 210 + </minlevertermijn> 211 + </xsl:template> 212 + 213 + <xsl:template match="Category"> 214 + <categorie> 215 + <xsl:apply-templates select="@*|node()"/> 216 + </categorie> 217 + </xsl:template> 218 + 219 +<!-- CategoryId kunnen we overslaan, is al gedaan--> 220 + 221 +<!-- Description kunnen we overslaan, is al gedaan--> 222 + 223 +<!-- Sequence kunnen we overslaan, is al gedaan--> 224 + 225 + <xsl:template match="AnalysisLink"> 226 + <pakket> 227 + <xsl:apply-templates select="@*|node()"/> 228 + </pakket> 229 + </xsl:template> 230 + 231 + <!-- AnalysisSetId kunnen we overslaan, is al gedaan --> 232 + 233 + <xsl:template match="Analysis"> 234 + <analyse> 235 + <xsl:apply-templates select="@*|node()"/> 236 + </analyse> 237 + </xsl:template> 238 + 239 + <xsl:template match="AnalysisId"> 240 + <analysecode> 241 + <xsl:apply-templates select="@*|node()"/> 242 + </analysecode> 243 + </xsl:template> 244 + 245 +<!--Desciption kunnen we overslaan, wordt al gedaan --> 246 + 247 +<!--MinimalDeliveryTime kunnen we overslaan, wordt al gedaan --> 248 + 249 + <xsl:template match="Client"> 250 + <debiteur> 251 + <xsl:apply-templates select="@*|node()"/> 252 + </debiteur> 253 + </xsl:template> 254 + 255 + <!--ClientId kunnen we overslaan --> 256 + 257 + <!-- Description kunnen we overslaan --> 258 + 259 + <xsl:template match="SpecialAppointment"> 260 + <afspraak> 261 + <xsl:apply-templates select="@*|node()"/> 262 + </afspraak> 263 + </xsl:template> 264 + 265 + <!-- SpecialAppointmentId kunnen we overslaan --> 266 + 267 + <!-- Description kunnen we overslaan --> 268 + 269 + <xsl:template match="startdate"> 270 + <begindatum> 271 + <xsl:apply-templates select="@*|node()"/> 272 + </begindatum> 273 + </xsl:template> 274 + 275 + <xsl:template match="finaldate"> 276 + <einddatum> 277 + <xsl:apply-templates select="@*|node()"/> 278 + </einddatum> 279 + </xsl:template> 280 + 281 + <xsl:template match="Startdate"> 282 + <begindatum> 283 + <xsl:apply-templates select="@*|node()"/> 284 + </begindatum> 285 + </xsl:template> 286 + 287 + <xsl:template match="Finaldate"> 288 + <einddatum> 289 + <xsl:apply-templates select="@*|node()"/> 290 + </einddatum> 291 + </xsl:template> 292 + 293 + <xsl:template match="Urgency"> 294 + <urgentie> 295 + <xsl:apply-templates select="@*|node()"/> 296 + </urgentie> 297 + </xsl:template> 298 + 299 + <xsl:template match="UrgencyId"> 300 + <urgentiecode> 301 + <xsl:apply-templates select="@*|node()"/> 302 + </urgentiecode> 303 + </xsl:template> 304 + 305 + <!-- Description wordt al gedaan--> 306 + 307 + <xsl:template match="StorePeriod"> 308 + <bewaarduur> 309 + <xsl:apply-templates select="@*|node()"/> 310 + </bewaarduur> 311 + </xsl:template> 312 + 313 + <!--StorePeriodId kunnen we overslaan --> 314 + 315 + <!--Description kunnen we overslaan --> 316 + 317 + <xsl:template match="Report"> 318 + <rapportage> 319 + <xsl:apply-templates select="@*|node()"/> 320 + </rapportage> 321 + </xsl:template> 322 + 323 + <xsl:template match="ReportId"> 324 + <rapportcode> 325 + <xsl:apply-templates select="@*|node()"/> 326 + </rapportcode> 327 + </xsl:template> 328 + 329 +<!--Description kunnen we overslaan --> 330 + 331 + <xsl:template match="FractionLink"> 332 + <fracties> 333 + <xsl:apply-templates select="@*|node()"/> 334 + </fracties> 335 + </xsl:template> 336 + 337 + <!--AnalysisSetId kunnen we overslaan --> 338 + 339 + <xsl:template match="Fraction"> 340 + <fractie> 341 + <xsl:apply-templates select="@*|node()"/> 342 + </fractie> 343 + </xsl:template> 344 + 345 + <xsl:template match="FractionId"> 346 + <fractiecode> 347 + <xsl:apply-templates select="@*|node()"/> 348 + </fractiecode> 349 + </xsl:template> 350 + 351 + <!-- SampleKind is al vertaald --> 352 + 353 + <!--Description is al vertaald --> 354 + 355 +</xsl:stylesheet> 356 +