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

From version 49.1
edited by Robin Huisman
on 2024/08/01 00:23
Change comment: Uploaded new attachment "1722464591905-118.png", version {1}
To version 36.2
edited by Robin Huisman
on 2024/04/03 19:29
Change comment: (Autosaved)

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -Lab delivery file - SIKB version 14
1 +Lab delivery file - SIKB version 14.8.0
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 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.
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 a lab by the customer. A Lab delivery file needs to be custom for every user and needs to be a XML file
12 12  
13 13  **Example files**:  [[attach:Labdeliveryfile.xml||rel="noopener noreferrer" target="_blank"]]
14 14  
... ... @@ -15,16 +15,15 @@
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/]] 
19 -\\Translations English to Dutch:  **[[attach:LabdeliveryFile_14.8.0_ENG_NL.xslt||rel="noopener noreferrer" target="_blank"]]
18 +extracted from: **[[https:~~/~~/codes.sikb.nl>>url:https://codes.sikb.nl/]] **
20 20  
21 -
22 22  {{toc/}}
23 23  
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.
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"]]
28 28  
29 29  (% class="table-hover" %)
30 30  |(% colspan="1" rowspan="1" %)**Attribute name**|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)**Unit**
... ... @@ -50,9 +50,9 @@
50 50  |(% 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" %)-
51 51  |(% colspan="1" rowspan="1" %)**SpecialAppointments**|(% colspan="1" rowspan="1" %)A table of all the special price agreements besides the default quote.|(% colspan="1" %)-
52 52  |(% 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" %)-
53 -|(% colspan="1" rowspan="1" %)//StoragePeriods//|(% colspan="1" rowspan="1" %)-not in use-|(% colspan="1" rowspan="1" %)
54 -|(% colspan="1" rowspan="1" %)//Reports//|(% colspan="1" rowspan="1" %)-not in use-|(% colspan="1" rowspan="1" %)
55 -|(% colspan="1" rowspan="1" %)//FractionLinks//|(% colspan="1" rowspan="1" %)-not in use-|(% colspan="1" rowspan="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" %)
56 56  
57 57  == Structure explanation AnalysisSets ==
58 58  
... ... @@ -61,24 +61,24 @@
61 61  It will be the chosen analysis and name, showed in the interface of TerraIndex:
62 62  \\[[image:1712163759805-731.png]]
63 63  
64 -[[image:1712163688142-709.png||height="443" width="599"]]
63 +[[image:1712163688142-709.png||height="580" width="784"]]
65 65  
66 66  (% class="table-hover" %)
67 67  |(% colspan="1" rowspan="1" %)**Attribute name**|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)**Unit**
68 68  |(% 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
69 69  |(% 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
70 -|(% colspan="1" rowspan="1" %)//Sequence//|(% colspan="1" rowspan="1" %)-not in use-|(% colspan="1" rowspan="1" %)string
71 -|(% colspan="1" rowspan="1" %)//MinimalDeliveryTime//|(% colspan="1" rowspan="1" %)-not in use-|(% 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
72 72  
73 73  == Structure explanation Categories ==
74 74  
75 75  “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”.
76 76  
77 -In TerraIndex, it will be shown as Header/Group:
76 +In TerraIndex it will be showed as Header/Group:
78 78  [[image:1712162927138-349.png]]
79 79  
80 80  
81 -[[image:1712162765631-966.png||height="504" width="609"]]
80 +[[image:1712162765631-966.png]]
82 82  
83 83  
84 84  (% class="table-hover" %)
... ... @@ -89,14 +89,14 @@
89 89  
90 90  == Structure explanation AnalysisLink and Analysis ==
91 91  
92 -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.
91 +This table contains all the analyses that a analyses 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.
93 93  \\[[image:1712163145392-331.png]]
94 -\\[[image:1712163459761-326.png||height="488" width="799"]]
93 +\\[[image:1712163459761-326.png]]
95 95  
96 96  (% class="table-hover" %)
97 97  |(% colspan="1" rowspan="1" %)**Attribute name**|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)**Unit**
98 -|(% 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
99 -|(% 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" %)-
97 +|(% colspan="1" rowspan="1" %)**AnalysisSetId**|(% colspan="1" rowspan="1" %)The analyse set code that corresponds to a code in the “//AnalysisSets//”|(% colspan="1" rowspan="1" %)string
98 +|(% colspan="1" rowspan="1" %)**Analysis**|(% colspan="1" rowspan="1" %)A table containing ale the analyses that should be in this analysis set or package|(% colspan="1" rowspan="1" %)-
100 100  
101 101  === __Analysis__ ===
102 102  
... ... @@ -104,99 +104,83 @@
104 104  |(% colspan="1" rowspan="1" %)**Attribute name**|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)**Unit**
105 105  |(% colspan="1" rowspan="1" %)**AnalysisId**|(% colspan="1" rowspan="1" %)The identification code of the lab for the analyses|(% colspan="1" rowspan="1" %)string
106 106  |(% 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
107 -|(% colspan="1" rowspan="1" %)//MinimalDeliveryTime//|(% colspan="1" rowspan="1" %)-not in use-|(% colspan="1" rowspan="1" %)string
108 -|(% colspan="1" rowspan="1" %)//Observation//|(% colspan="1" rowspan="1" %)-not in use-|(% colspan="1" rowspan="1" %)
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" %)
109 109  
110 110  == Structure explanation Clients ==
111 111  
112 -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”.
111 +A customer can have multiple “clients”. There always needs to be one “client” so that a lab assignment can be send. 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”.
113 113  \\It will be shown in the interface of TerraIndex, and needs to be chosen before selecting analysis sets:
114 114  [[image:1712163957735-690.png]]
115 -\\[[image:1712163986350-364.png||height="409" width="544"]]
114 +\\[[image:1712163986350-364.png]]
116 116  
117 117  |(% colspan="1" rowspan="1" %)**Attribute name**|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)**Unit**
118 118  |(% colspan="1" rowspan="1" %)**ClientId**|(% colspan="1" rowspan="1" %)The customer identification code(s) for the company or office|(% colspan="1" rowspan="1" %)string
119 -|(% 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
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" %)string
120 120  
121 121  == Structure explanation LabSampleMatrices ==
122 122  
123 -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.
122 +The “LabSampleMatrices” is an important sections of 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.
124 124  
125 125  It needs to be chosen in the interface of TerraIndex, before any analysis set can be chosen:
126 126  \\[[image:1712164314258-543.png]]
127 127  
128 128  
129 -[[image:1712164255757-638.png||height="556" width="716"]]
128 +[[image:1712164255757-638.png]]
130 130  
131 131  (% class="table-hover" %)
132 132  |(% colspan="1" rowspan="1" %)**Attribute name**|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)**unit**
133 -|(% colspan="1" rowspan="1" %)**CompartimentId**|(% colspan="1" rowspan="1" %)An SIKB ID that determines to which matrix the analyses belongs.
132 +|(% colspan="1" rowspan="1" %)**CompartimentId**|(% colspan="1" rowspan="1" %)An SIKB ID that determins to which matrix the analyses belongs.
134 134  Domaintable: [[Compartment/Matrix>>https://codes.sikb.nl/tablet/domain-table-details/6134f3bb-6048-431d-a130-01290d84172c]]|(% colspan="1" rowspan="1" %)int
135 -|(% colspan="1" rowspan="1" %)//CompartimentCode//|(% colspan="1" rowspan="1" %)-not in use-|(% colspan="1" rowspan="1" %)
136 -|(% 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
137 -|(% 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
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 send in the Labassignment to the lab|(% colspan="1" %)string
136 +|(% 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" %)string
138 138  
139 139  == Structure explanation SpecialAppointment ==
140 140  
141 -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.
140 +The “SpecialAppointment" contains the names of the price catalogus, the default quote or the special project quote. This way extra discount options are possible.
142 142  
143 -It needs to be chosen in the interface of TerraIndex, before any analysis set can be chosen, and empty means 'default quote':
142 +It needs to be chosen in the interface of TerraIndex, before any analysis set can be chosen, and empty mw:
144 144  
145 145  [[image:1712164853683-202.png]]
146 146  
147 -[[image:1712165258813-987.png||height="619" width="697"]]
146 +[[image:1712165258813-987.png]]
148 148  
149 149  
150 -(% class="table-hover" %)
151 -|(% colspan="1" rowspan="1" %)**Attribute name**|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)**unit**
152 -|(% 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
153 -|(% 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
154 -|(% colspan="1" rowspan="1" %)//startdate//|(% colspan="1" rowspan="1" %)-not in use-|(% colspan="1" rowspan="1" %)
155 -|(% colspan="1" rowspan="1" %)//finaldate//|(% colspan="1" rowspan="1" %)-not in use-|(% colspan="1" rowspan="1" %)
156 -|(% colspan="1" rowspan="1" %)**AppointmentTypeCode**|(% colspan="1" rowspan="1" %)The type of appointment, like: total pricelist, default quotation or special project agreement.
157 -Domaintable: [[PriceAgreement Type>>https://codes.sikb.nl/tablet/domain-table-details/60028a8a-f386-47bf-bf2e-f46af49b7b56]]|(% colspan="1" rowspan="1" %)int
158 158  
150 +
151 +
152 +(% class="wikigeneratedid" %)
159 159  == Structure explanation Links ==
160 160  
161 -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.
155 +The “Links” is one of the most important sections of the XML. The “koppeltabel” 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.
162 162  [[image:1712158823685-514.png||height="563" width="531"]]
163 163  
164 164  
165 165  (% class="table-hover" %)
166 166  |(% colspan="1" rowspan="1" %)**Attribute name**|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)**unit**
167 -|(% 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
168 -|(% colspan="1" rowspan="1" %)**ClientId**|(% colspan="1" rowspan="1" %)The code that corresponds to a code in Clients table|(% colspan="1" rowspan="1" %)string
169 -|(% colspan="1" %)**SpecialAppointmentId**|(% colspan="1" %)The code that corresponds to a code in SpecialAppointments table|(% colspan="1" %)
170 -|(% colspan="1" rowspan="1" %)**LabSampleMatrixCode**|(% colspan="1" rowspan="1" %)The code that corresponds to a code in LabSampleMatrix table|(% colspan="1" rowspan="1" %)(((
161 +|(% colspan="1" rowspan="1" %)**Analysepakketcode**|(% colspan="1" rowspan="1" %)The analysepackagecode that corresponds to a code in the analysepakket|(% colspan="1" rowspan="1" %)string
162 +|(% colspan="1" rowspan="1" %)**klantcode**|(% colspan="1" rowspan="1" %)A code that corresponds to a code in debiteuren|(% colspan="1" rowspan="1" %)string
163 +|(% colspan="1" rowspan="1" %)**monstersoort**|(% colspan="1" rowspan="1" %)An SIKB code that determins to which matrix the analyses belongs. Sampletype
164 +Codegroup 51 in the Attachments for all possible codes|(% colspan="1" rowspan="1" %)(((
171 171  integer
172 172  
173 173  
174 174  )))
175 -|(% colspan="1" %)Price|(% colspan="1" %)The optional Price indication for this combination of the Analysis|(% colspan="1" %)decimal
176 -|(% colspan="1" %)CertificationId|(% colspan="1" %)The optional code that corresponds to the way of Sample and analysis handling as described in a certification.
177 -Some other labs have this arranged by the LabSampleMatrix types.
178 -Domaintable: [[CertificeringsCode >>https://codes.sikb.nl/tablet/domain-table-details/df7ffd7c-192c-44f7-ae9f-0461d9266b30]]|(% colspan="1" %)int
179 -|(% 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
180 -|(% colspan="1" rowspan="1" %)//Accredited//|(% colspan="1" rowspan="1" %)-not in use-|(% colspan="1" rowspan="1" %)bool
169 +|(% colspan="1" rowspan="1" %)**categoriecode**|(% colspan="1" rowspan="1" %)A code that corresponds to a category code in “//categorie//”|(% colspan="1" rowspan="1" %)string
181 181  
182 -== Structure explanation Urgencies ==
171 +== Structure explanation urgentietabel ==
183 183  
184 -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.
173 +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 “urgentie code” is a code given by the lab.
185 185  
186 -[[image:1712324236054-772.png||height="372" width="511"]]
175 +(% style="text-align:center" %)
176 +[[image:1637579214994-369.png]]
187 187  
188 188  (% class="table-hover" %)
189 189  |(% colspan="1" rowspan="1" %)**Attribute name**|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)**Unit**
190 -|(% 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
191 -|(% 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
180 +|(% 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" %)string
181 +|(% colspan="1" rowspan="1" %)**omschrijving**|(% colspan="1" rowspan="1" %)The name/ description of the urgentie|(% colspan="1" rowspan="1" %)string
192 192  
193 -== Structure explanation StoragePeriods ==
183 +== ==
194 194  
195 -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.
196 -
197 -[[image:1712324393233-546.png||height="359" width="519"]]
198 -
199 -(% class="table-hover" %)
200 -|(% colspan="1" rowspan="1" %)**Attribute name**|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)**Unit**
201 -|(% 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
202 -|(% 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
185 +== ==
1712324236054-772.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.RobinHuisman
Size
... ... @@ -1,1 +1,0 @@
1 -13.8 KB
Content
1712324393233-546.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.RobinHuisman
Size
... ... @@ -1,1 +1,0 @@
1 -14.1 KB
Content
1722464591905-118.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.RobinHuisman
Size
... ... @@ -1,1 +1,0 @@
1 -165.1 KB
Content
LabdeliveryFile_14.8.0_ENG_NL.xslt
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.RobinHuisman
Size
... ... @@ -1,1 +1,0 @@
1 -9.1 KB
Content
... ... @@ -1,356 +1,0 @@
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 -