Changes for page Lab delivery file - SIKB version 14
Last modified by Robin Huisman on 2024/12/18 14:57
From version 36.1
edited by Robin Huisman
on 2024/04/03 19:27
on 2024/04/03 19:27
Change comment:
Uploaded new attachment "1712165258813-987.png", version {1}
To version 46.2
edited by Luca de Laat
on 2024/04/18 11:17
on 2024/04/18 11:17
Change comment:
made nle notes more visible
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 3 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. RobinHuisman1 +XWiki.LucadeLaat - Content
-
... ... @@ -1,14 +1,14 @@ 1 1 = Creating a Delivery file and binding them to a customer = 2 2 3 -This chapter contains the information needed to understand the lab delivery file. A Lab delivery file only has to be updated when there are changes. Otherwise TerraIndex will always show the last imported file. 3 +This chapter contains the information needed to understand the lab delivery file. A Lab delivery file only has to be updated when there are changes. Otherwise, TerraIndex will always show the last imported file. 4 4 5 5 {{warning}} 6 6 Latest version can be found here: [[https:~~/~~/www.sikb.nl/datastandaarden/sikb0101-bodembeheer>>url:https://www.sikb.nl/datastandaarden/sikb0101-bodembeheer]] 7 7 {{/warning}} 8 8 9 -== What is a lab delivery file == 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 alab by the customer. A Lab delivery file needs to be custom for every user and needs to be a XML file11 +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,16 +15,22 @@ 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 25 +{{{==> nle Add field Certification (screen 1 of labassignment)}}} 26 + 23 23 == File structure == 24 24 25 -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. 26 -[[image:1712158795900-531.png||height="604" width="391"]] 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. 27 27 31 +{{{==> nle Dutch text in screenshot 32 +}}} 33 + 28 28 (% class="table-hover" %) 29 29 |(% colspan="1" rowspan="1" %)**Attribute name**|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)**Unit** 30 30 |(% colspan="1" rowspan="1" %)**version**|(% colspan="1" rowspan="1" %)SIKB version. This must be: **14.8.0**|(% colspan="1" rowspan="1" %)string ... ... @@ -49,9 +49,9 @@ 49 49 |(% colspan="1" rowspan="1" %)**LabSampleMatrices**|(% colspan="1" rowspan="1" %)A table of all the Lab sample Matrices a lab would like to have selectable.|(% colspan="1" rowspan="1" %)- 50 50 |(% colspan="1" rowspan="1" %)**SpecialAppointments**|(% colspan="1" rowspan="1" %)A table of all the special price agreements besides the default quote.|(% colspan="1" %)- 51 51 |(% colspan="1" rowspan="1" %)**Urgencies**|(% colspan="1" rowspan="1" %)A table containing a list of time frames in which the lab results need to be returned|(% colspan="1" %)- 52 -|(% colspan="1" rowspan="1" %)StoragePeriods|(% colspan="1" rowspan="1" %)-not in use-|(% colspan="1" rowspan="1" %) 53 -|(% colspan="1" rowspan="1" %)Reports|(% colspan="1" rowspan="1" %)-not in use-|(% colspan="1" rowspan="1" %) 54 -|(% colspan="1" rowspan="1" %)FractionLinks|(% colspan="1" rowspan="1" %)-not in use-|(% colspan="1" rowspan="1" %) 58 +|(% colspan="1" rowspan="1" %)//StoragePeriods//|(% colspan="1" rowspan="1" %)-not in use-|(% colspan="1" rowspan="1" %) 59 +|(% colspan="1" rowspan="1" %)//Reports//|(% colspan="1" rowspan="1" %)-not in use-|(% colspan="1" rowspan="1" %) 60 +|(% colspan="1" rowspan="1" %)//FractionLinks//|(% colspan="1" rowspan="1" %)-not in use-|(% colspan="1" rowspan="1" %) 55 55 56 56 == Structure explanation AnalysisSets == 57 57 ... ... @@ -60,24 +60,24 @@ 60 60 It will be the chosen analysis and name, showed in the interface of TerraIndex: 61 61 \\[[image:1712163759805-731.png]] 62 62 63 -[[image:1712163688142-709.png||height=" 580" width="784"]]69 +[[image:1712163688142-709.png||height="443" width="599"]] 64 64 65 65 (% class="table-hover" %) 66 66 |(% colspan="1" rowspan="1" %)**Attribute name**|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)**Unit** 67 67 |(% colspan="1" rowspan="1" %)**AnalysisSetId**|(% colspan="1" rowspan="1" %)The identification code of the lab for the analyses Set or package|(% colspan="1" rowspan="1" %)string 68 68 |(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)The name/description of the analysis content of the set (This will also be shown in the user interface)|(% colspan="1" rowspan="1" %)string 69 -|(% colspan="1" rowspan="1" %)Sequence|(% colspan="1" rowspan="1" %)-not in use-|(% colspan="1" rowspan="1" %)string 70 -|(% colspan="1" rowspan="1" %)MinimalDeliveryTime|(% colspan="1" rowspan="1" %)-not in use-|(% colspan="1" rowspan="1" %)string 75 +|(% colspan="1" rowspan="1" %)//Sequence//|(% colspan="1" rowspan="1" %)-not in use-|(% colspan="1" rowspan="1" %)string 76 +|(% colspan="1" rowspan="1" %)//MinimalDeliveryTime//|(% colspan="1" rowspan="1" %)-not in use-|(% colspan="1" rowspan="1" %)string 71 71 72 72 == Structure explanation Categories == 73 73 74 74 “Category” does not need a lot of explanation. A category is a group defined by the lab where certain values in the “koppeltabel” can be grouped under. A category is determined by the lab and can be used in the “Links”. 75 75 76 -In TerraIndex it will be show edas Header/Group:82 +In TerraIndex, it will be shown as Header/Group: 77 77 [[image:1712162927138-349.png]] 78 78 79 79 80 -[[image:1712162765631-966.png]] 86 +[[image:1712162765631-966.png||height="504" width="609"]] 81 81 82 82 83 83 (% class="table-hover" %) ... ... @@ -88,14 +88,14 @@ 88 88 89 89 == Structure explanation AnalysisLink and Analysis == 90 90 91 -This table contains all the analyses that a analys es package can contain. Be sure the “analysepakketcode” corresponds to a code in the table: “analysepakketten”. The analysecode is your own identification code for the analyses.97 +This table contains all the analyses that an analysis package can contain. Be sure the “analysepakketcode” corresponds to a code in the table: “analysepakketten”. The analysecode is your own identification code for the analyses. 92 92 \\[[image:1712163145392-331.png]] 93 -\\[[image:1712163459761-326.png]] 99 +\\[[image:1712163459761-326.png||height="488" width="799"]] 94 94 95 95 (% class="table-hover" %) 96 96 |(% colspan="1" rowspan="1" %)**Attribute name**|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)**Unit** 97 -|(% colspan="1" rowspan="1" %)**AnalysisSetId**|(% colspan="1" rowspan="1" %)The analys eset code that corresponds to a code in the “//AnalysisSets//”|(% colspan="1" rowspan="1" %)string98 -|(% colspan="1" rowspan="1" %)**Analysis**|(% colspan="1" rowspan="1" %)A table containing al ethe analyses that should be in this analysis set or package|(% colspan="1" rowspan="1" %)-103 +|(% colspan="1" rowspan="1" %)**AnalysisSetId**|(% colspan="1" rowspan="1" %)The analysis set code that corresponds to a code in the “//AnalysisSets//”|(% colspan="1" rowspan="1" %)string 104 +|(% colspan="1" rowspan="1" %)**Analysis**|(% colspan="1" rowspan="1" %)A table containing all the analyses that should be in this analysis set or package|(% colspan="1" rowspan="1" %)- 99 99 100 100 === __Analysis__ === 101 101 ... ... @@ -103,69 +103,99 @@ 103 103 |(% colspan="1" rowspan="1" %)**Attribute name**|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)**Unit** 104 104 |(% colspan="1" rowspan="1" %)**AnalysisId**|(% colspan="1" rowspan="1" %)The identification code of the lab for the analyses|(% colspan="1" rowspan="1" %)string 105 105 |(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)The name/description of the analysis content of the set (This will also be shown in the user interface)|(% colspan="1" rowspan="1" %)string 106 -|(% colspan="1" rowspan="1" %)MinimalDeliveryTime|(% colspan="1" rowspan="1" %)-not in use-|(% colspan="1" rowspan="1" %)string 107 -|(% colspan="1" rowspan="1" %)Observation|(% colspan="1" rowspan="1" %)-not in use-|(% colspan="1" rowspan="1" %) 112 +|(% colspan="1" rowspan="1" %)//MinimalDeliveryTime//|(% colspan="1" rowspan="1" %)-not in use-|(% colspan="1" rowspan="1" %)string 113 +|(% colspan="1" rowspan="1" %)//Observation//|(% colspan="1" rowspan="1" %)-not in use-|(% colspan="1" rowspan="1" %) 108 108 109 109 == Structure explanation Clients == 110 110 111 -A customer can have multiple “clients”. There always needs to be one “client” so that a lab assignment can be sen d. But for example when there is a price agreement for a certain project a new “Client” can be added. Or when a company has multiple offices every office can have its own “Client”.117 +A customer can have multiple “clients”. There always needs to be one “client” so that a lab assignment can be sent. But for example, when there is a price agreement for a certain project, a new “Client” can be added. Or when a company has multiple offices, every office can have its own “Client”. 112 112 \\It will be shown in the interface of TerraIndex, and needs to be chosen before selecting analysis sets: 113 113 [[image:1712163957735-690.png]] 114 -\\[[image:1712163986350-364.png]] 120 +\\[[image:1712163986350-364.png||height="409" width="544"]] 115 115 116 116 |(% colspan="1" rowspan="1" %)**Attribute name**|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)**Unit** 117 117 |(% colspan="1" rowspan="1" %)**ClientId**|(% colspan="1" rowspan="1" %)The customer identification code(s) for the company or office|(% colspan="1" rowspan="1" %)string 118 -|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %) De name\description of the customer code, as shown in the interface and will be invoiced.|(% colspan="1" rowspan="1" %)string124 +|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)The name\description of the customer code, as shown in the interface, and will be invoiced.|(% colspan="1" rowspan="1" %)string 119 119 120 120 == Structure explanation LabSampleMatrices == 121 121 122 -The “LabSampleMatrices” is an important section sof the XML. The “matrix” defines the main type of sample for the lab, and can contain multiple or prefined additional pretreatments of preservations. Without a sample type in this table a customer will not be able to send in lab assignments to the laboratory.128 +The “LabSampleMatrices” is an important section of the XML. The “matrix” defines the main type of sample for the lab, and can contain multiple or predefined additional pretreatments of preservatives. Without a sample type in this table, a customer will not be able to send in lab assignments to the laboratory. 123 123 124 124 It needs to be chosen in the interface of TerraIndex, before any analysis set can be chosen: 125 125 \\[[image:1712164314258-543.png]] 126 126 127 127 128 -[[image:1712164255757-638.png]] 134 +[[image:1712164255757-638.png||height="556" width="716"]] 129 129 130 130 (% class="table-hover" %) 131 131 |(% colspan="1" rowspan="1" %)**Attribute name**|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)**unit** 132 -|(% colspan="1" rowspan="1" %)**CompartimentId**|(% colspan="1" rowspan="1" %)An SIKB ID that determins to which matrix the analyses belongs. 138 +|(% colspan="1" rowspan="1" %)**CompartimentId**|(% colspan="1" rowspan="1" %)An SIKB ID that determines to which matrix the analyses belongs. 133 133 Domaintable: [[Compartment/Matrix>>https://codes.sikb.nl/tablet/domain-table-details/6134f3bb-6048-431d-a130-01290d84172c]]|(% colspan="1" rowspan="1" %)int 134 -|(% colspan="1" rowspan="1" %)CompartimentCode|(% colspan="1" rowspan="1" %)-not in use-|(% colspan="1" rowspan="1" %) 135 -|(% colspan="1" rowspan="1" %)**LabSampleMatrixCode**|(% colspan="1" rowspan="1" %)The laboratory matrix- or compartment-code of the lab, that will be also be sen din the Labassignment to the lab|(% colspan="1" %)string136 -|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %) De name\description of the matrix or compartment of the lab, as shown in the interface.|(% colspan="1" rowspan="1" %)string140 +|(% colspan="1" rowspan="1" %)//CompartimentCode//|(% colspan="1" rowspan="1" %)-not in use-|(% colspan="1" rowspan="1" %) 141 +|(% colspan="1" rowspan="1" %)**LabSampleMatrixCode**|(% colspan="1" rowspan="1" %)The laboratory matrix- or compartment-code of the lab, that will be also be sent in the Labassignment to the lab|(% colspan="1" %)string 142 +|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)The name\description of the matrix or compartment of the lab, as shown in the interface.|(% colspan="1" rowspan="1" %)string 137 137 144 +== Structure explanation SpecialAppointment == 138 138 146 +The “SpecialAppointment" contains the names of the price catalogs, the default quote or the special project quote. This way, extra discount options are possible. It will be sent in the labassignment to the lab. 147 + 148 +It needs to be chosen in the interface of TerraIndex, before any analysis set can be chosen, and empty means 'default quote': 149 + 150 +[[image:1712164853683-202.png]] 151 + 152 +[[image:1712165258813-987.png||height="619" width="697"]] 153 + 154 + 155 +(% class="table-hover" %) 156 +|(% colspan="1" rowspan="1" %)**Attribute name**|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)**unit** 157 +|(% colspan="1" rowspan="1" %)**SpecialAppointmentId**|(% colspan="1" rowspan="1" %)An identification code from the lab that will be sent in the Labassignment to the lab.|(% colspan="1" rowspan="1" %)string 158 +|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)The name\description of the matrix or compartment of the lab, as shown in the interface.|(% colspan="1" rowspan="1" %)string 159 +|(% colspan="1" rowspan="1" %)//startdate//|(% colspan="1" rowspan="1" %)-not in use-|(% colspan="1" rowspan="1" %) 160 +|(% colspan="1" rowspan="1" %)//finaldate//|(% colspan="1" rowspan="1" %)-not in use-|(% colspan="1" rowspan="1" %) 161 +|(% colspan="1" rowspan="1" %)**AppointmentTypeCode**|(% colspan="1" rowspan="1" %)The type of appointment, like: total pricelist, default quotation or special project agreement. 162 +Domaintable: [[PriceAgreement Type>>https://codes.sikb.nl/tablet/domain-table-details/60028a8a-f386-47bf-bf2e-f46af49b7b56]]|(% colspan="1" rowspan="1" %)int 163 + 139 139 == Structure explanation Links == 140 140 141 -The “Links” is one of the most important sections of the XML. The “k oppeltabel” defines the combination of Analysespackages, custeromcode, categories and sampletype. Without a combination in this table a customer will not be able to send in lab assignments to the laboratory.166 +The “Links” is one of the most important sections of the XML. The “Link” defines the combination of Analysespackages, customer/clientcode, categories and sampletype. Without a combination in this table, a customer will not be able to send in lab assignments to the laboratory. 142 142 [[image:1712158823685-514.png||height="563" width="531"]] 143 143 144 144 145 145 (% class="table-hover" %) 146 146 |(% colspan="1" rowspan="1" %)**Attribute name**|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)**unit** 147 -|(% colspan="1" rowspan="1" %)**Analyse pakketcode**|(% colspan="1" rowspan="1" %)Theanalysepackagecode that corresponds to a code in theanalysepakket|(% colspan="1" rowspan="1" %)string148 -|(% colspan="1" rowspan="1" %)** klantcode**|(% colspan="1" rowspan="1" %)Acode that corresponds to a code indebiteuren|(% colspan="1" rowspan="1" %)string149 -|(% colspan="1" rowspan="1"%)**monstersoort**|(% colspan="1"rowspan="1"%)AnSIKBcode thatdetermins towhich matrixtheanalysesbelongs.Sampletype150 -Code group51intheAttachmentsforallpossiblecodes|(% colspan="1" rowspan="1" %)(((172 +|(% colspan="1" rowspan="1" %)**AnalysisSetId**|(% colspan="1" rowspan="1" %)The AnalysisSet code that corresponds to a code in the AnalysisSets table|(% colspan="1" rowspan="1" %)string 173 +|(% colspan="1" rowspan="1" %)**ClientId**|(% colspan="1" rowspan="1" %)The code that corresponds to a code in Clients table|(% colspan="1" rowspan="1" %)string 174 +|(% colspan="1" %)**SpecialAppointmentId**|(% colspan="1" %)The code that corresponds to a code in SpecialAppointments table|(% colspan="1" %) 175 +|(% colspan="1" rowspan="1" %)**LabSampleMatrixCode**|(% colspan="1" rowspan="1" %)The code that corresponds to a code in LabSampleMatrix table|(% colspan="1" rowspan="1" %)((( 151 151 integer 152 152 153 153 154 154 ))) 155 -|(% colspan="1" rowspan="1" %)**categoriecode**|(% colspan="1" rowspan="1" %)A code that corresponds to a category code in “//categorie//”|(% colspan="1" rowspan="1" %)string 180 +|(% colspan="1" %)Price|(% colspan="1" %)The optional Price indication for this combination of the Analysis|(% colspan="1" %)decimal 181 +|(% colspan="1" %)CertificationId|(% colspan="1" %)The optional code that corresponds to the way of Sample and analysis handling as described in a certification. 182 +Some other labs have this arranged by the LabSampleMatrix types. 183 +Domaintable: [[CertificeringsCode >>https://codes.sikb.nl/tablet/domain-table-details/df7ffd7c-192c-44f7-ae9f-0461d9266b30]]|(% colspan="1" %)int 184 +|(% colspan="1" rowspan="1" %)**CategoryId**|(% colspan="1" rowspan="1" %)The code that corresponds to a category code in Categories table|(% colspan="1" rowspan="1" %)string 185 +|(% colspan="1" rowspan="1" %)//Accredited//|(% colspan="1" rowspan="1" %)-not in use-|(% colspan="1" rowspan="1" %)bool 156 156 157 -== Structure explanation urgentietabel==187 +== Structure explanation Urgencies == 158 158 159 -This table contains a list with different delivery times for analyses results. For example 5 work days, overnight, within 48 hours and so on. The “ urgentiecode” is a code given by the lab.189 +This table contains a list with different delivery times for analyses results. For example, 5 work days, overnight, within 48 hours and so on. The “UrgencyId” is a code given by the lab. 160 160 161 -(% style="text-align:center" %) 162 -[[image:1637579214994-369.png]] 191 +[[image:1712324236054-772.png||height="372" width="511"]] 163 163 164 164 (% class="table-hover" %) 165 165 |(% colspan="1" rowspan="1" %)**Attribute name**|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)**Unit** 166 -|(% colspan="1" rowspan="1" %)** urgentiecode**|(% colspan="1" rowspan="1" %)The code of the lab for when the analysis results need to be returned to the customer|(% colspan="1" rowspan="1" %)string167 -|(% colspan="1" rowspan="1" %)** omschrijving**|(% colspan="1" rowspan="1" %)The name/ description of the urgentie|(% colspan="1" rowspan="1" %)string195 +|(% colspan="1" rowspan="1" %)**UrgencyId**|(% colspan="1" rowspan="1" %)The code of the lab for when the analysis results need to be returned to the customer|(% colspan="1" rowspan="1" %)string 196 +|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)The name/ description of the urgency, to show in the interface.|(% colspan="1" rowspan="1" %)string 168 168 169 -== == 198 +== Structure explanation StoragePeriods == 170 170 171 -== == 200 +This table contains a list with different storage periods for the storage of the delivered Samples and its containers. For example, '1 month', '5 weeks', 'customer agreement' and so on. The “StoragePeriodId” is a code given by the lab. 201 + 202 +[[image:1712324393233-546.png||height="359" width="519"]] 203 + 204 +(% class="table-hover" %) 205 +|(% colspan="1" rowspan="1" %)**Attribute name**|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)**Unit** 206 +|(% colspan="1" rowspan="1" %)**StoragePeriodId**|(% colspan="1" rowspan="1" %)The code of the lab for when the analysis results need to be returned to the customer|(% colspan="1" rowspan="1" %)string 207 +|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)The name/ description of the Storage Period, to show in the interface.|(% colspan="1" rowspan="1" %)string
- 1712324236054-772.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.RobinHuisman - Size
-
... ... @@ -1,0 +1,1 @@ 1 +13.8 KB - Content
- 1712324393233-546.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.RobinHuisman - Size
-
... ... @@ -1,0 +1,1 @@ 1 +14.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.1 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 + <analysepakketcode> 235 + <xsl:apply-templates select="@*|node()"/> 236 + </analysepakketcode> 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 +