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

From version 45.1
edited by Robin Huisman
on 2024/04/10 15:33
Change comment: There is no comment for this version
To version 36.3
edited by Robin Huisman
on 2024/04/03 19:34
Change comment: (Autosaved)

Summary

Details

Page properties
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 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 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,19 +15,14 @@
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 21  {{toc/}}
22 22  
23 23  
24 -~==> nle Add field Certification (screen 1 of labassignment)
25 -
26 26  == File structure ==
27 27  
28 28  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 -
30 -~==> nle Dutch text in screenshot
31 31  [[image:1712158795900-531.png||height="604" width="391"]]
32 32  
33 33  (% class="table-hover" %)
... ... @@ -54,9 +54,9 @@
54 54  |(% 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" %)-
55 55  |(% colspan="1" rowspan="1" %)**SpecialAppointments**|(% colspan="1" rowspan="1" %)A table of all the special price agreements besides the default quote.|(% colspan="1" %)-
56 56  |(% 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" %)-
57 -|(% colspan="1" rowspan="1" %)//StoragePeriods//|(% colspan="1" rowspan="1" %)-not in use-|(% colspan="1" rowspan="1" %)
58 -|(% colspan="1" rowspan="1" %)//Reports//|(% colspan="1" rowspan="1" %)-not in use-|(% colspan="1" rowspan="1" %)
59 -|(% 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" %)
60 60  
61 61  == Structure explanation AnalysisSets ==
62 62  
... ... @@ -65,24 +65,24 @@
65 65  It will be the chosen analysis and name, showed in the interface of TerraIndex:
66 66  \\[[image:1712163759805-731.png]]
67 67  
68 -[[image:1712163688142-709.png||height="443" width="599"]]
63 +[[image:1712163688142-709.png||height="580" width="784"]]
69 69  
70 70  (% class="table-hover" %)
71 71  |(% colspan="1" rowspan="1" %)**Attribute name**|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)**Unit**
72 72  |(% 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
73 73  |(% 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
74 -|(% colspan="1" rowspan="1" %)//Sequence//|(% colspan="1" rowspan="1" %)-not in use-|(% colspan="1" rowspan="1" %)string
75 -|(% 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
76 76  
77 77  == Structure explanation Categories ==
78 78  
79 79  “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”.
80 80  
81 -In TerraIndex, it will be shown as Header/Group:
76 +In TerraIndex it will be showed as Header/Group:
82 82  [[image:1712162927138-349.png]]
83 83  
84 84  
85 -[[image:1712162765631-966.png||height="504" width="609"]]
80 +[[image:1712162765631-966.png]]
86 86  
87 87  
88 88  (% class="table-hover" %)
... ... @@ -93,14 +93,14 @@
93 93  
94 94  == Structure explanation AnalysisLink and Analysis ==
95 95  
96 -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.
97 97  \\[[image:1712163145392-331.png]]
98 -\\[[image:1712163459761-326.png||height="488" width="799"]]
93 +\\[[image:1712163459761-326.png]]
99 99  
100 100  (% class="table-hover" %)
101 101  |(% colspan="1" rowspan="1" %)**Attribute name**|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)**Unit**
102 -|(% 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
103 -|(% 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" %)-
104 104  
105 105  === __Analysis__ ===
106 106  
... ... @@ -108,99 +108,91 @@
108 108  |(% colspan="1" rowspan="1" %)**Attribute name**|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)**Unit**
109 109  |(% colspan="1" rowspan="1" %)**AnalysisId**|(% colspan="1" rowspan="1" %)The identification code of the lab for the analyses|(% colspan="1" rowspan="1" %)string
110 110  |(% 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
111 -|(% colspan="1" rowspan="1" %)//MinimalDeliveryTime//|(% colspan="1" rowspan="1" %)-not in use-|(% colspan="1" rowspan="1" %)string
112 -|(% 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" %)
113 113  
114 114  == Structure explanation Clients ==
115 115  
116 -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”.
117 117  \\It will be shown in the interface of TerraIndex, and needs to be chosen before selecting analysis sets:
118 118  [[image:1712163957735-690.png]]
119 -\\[[image:1712163986350-364.png||height="409" width="544"]]
114 +\\[[image:1712163986350-364.png]]
120 120  
121 121  |(% colspan="1" rowspan="1" %)**Attribute name**|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)**Unit**
122 122  |(% colspan="1" rowspan="1" %)**ClientId**|(% colspan="1" rowspan="1" %)The customer identification code(s) for the company or office|(% colspan="1" rowspan="1" %)string
123 -|(% 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" %)The name\description of the customer code, as shown in the interface and will be invoiced.|(% colspan="1" rowspan="1" %)string
124 124  
125 125  == Structure explanation LabSampleMatrices ==
126 126  
127 -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.
128 128  
129 129  It needs to be chosen in the interface of TerraIndex, before any analysis set can be chosen:
130 130  \\[[image:1712164314258-543.png]]
131 131  
132 132  
133 -[[image:1712164255757-638.png||height="556" width="716"]]
128 +[[image:1712164255757-638.png]]
134 134  
135 135  (% class="table-hover" %)
136 136  |(% colspan="1" rowspan="1" %)**Attribute name**|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)**unit**
137 -|(% 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.
138 138  Domaintable: [[Compartment/Matrix>>https://codes.sikb.nl/tablet/domain-table-details/6134f3bb-6048-431d-a130-01290d84172c]]|(% colspan="1" rowspan="1" %)int
139 -|(% colspan="1" rowspan="1" %)//CompartimentCode//|(% colspan="1" rowspan="1" %)-not in use-|(% colspan="1" rowspan="1" %)
140 -|(% 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
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
141 141  |(% 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
142 142  
143 143  == Structure explanation SpecialAppointment ==
144 144  
145 -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. It will be send in the labassignment to the lab.
146 146  
147 147  It needs to be chosen in the interface of TerraIndex, before any analysis set can be chosen, and empty means 'default quote':
148 148  
149 149  [[image:1712164853683-202.png]]
150 150  
151 -[[image:1712165258813-987.png||height="619" width="697"]]
146 +[[image:1712165258813-987.png]]
152 152  
153 153  
154 154  (% class="table-hover" %)
155 155  |(% colspan="1" rowspan="1" %)**Attribute name**|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)**unit**
156 -|(% 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
151 +|(% colspan="1" rowspan="1" %)**SpecialAppointmentId**|(% colspan="1" rowspan="1" %)An identifcation code from the lab that will be send in the Labassignment to the lab.|(% colspan="1" rowspan="1" %)string
157 157  |(% 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
158 -|(% colspan="1" rowspan="1" %)//startdate//|(% colspan="1" rowspan="1" %)-not in use-|(% colspan="1" rowspan="1" %)
159 -|(% colspan="1" rowspan="1" %)//finaldate//|(% colspan="1" rowspan="1" %)-not in use-|(% colspan="1" rowspan="1" %)
160 -|(% colspan="1" rowspan="1" %)**AppointmentTypeCode**|(% colspan="1" rowspan="1" %)The type of appointment, like: total pricelist, default quotation or special project agreement.
161 -Domaintable: [[PriceAgreement Type>>https://codes.sikb.nl/tablet/domain-table-details/60028a8a-f386-47bf-bf2e-f46af49b7b56]]|(% colspan="1" rowspan="1" %)int
153 +|(% colspan="1" rowspan="1" %)startdate|(% colspan="1" rowspan="1" %)-not in use-|(% colspan="1" rowspan="1" %)
154 +|(% colspan="1" rowspan="1" %)finaldate|(% colspan="1" rowspan="1" %)-not in use-|(% colspan="1" rowspan="1" %)
155 +|(% colspan="1" rowspan="1" %)**AppointmentTypeCode**|(% colspan="1" rowspan="1" %)The  type of appointment, like: total pricelist, default quotation or se
156 +Domaintable: [[https:~~/~~/codes.sikb.nl/tablet/domain-table-details/60028a8a-f386-47bf-bf2e-f46af49b7b56>>https://codes.sikb.nl/tablet/domain-table-details/60028a8a-f386-47bf-bf2e-f46af49b7b56]]|(% colspan="1" rowspan="1" %)int
162 162  
158 +
159 +
160 +(% class="wikigeneratedid" %)
163 163  == Structure explanation Links ==
164 164  
165 -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.
163 +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.
166 166  [[image:1712158823685-514.png||height="563" width="531"]]
167 167  
168 168  
169 169  (% class="table-hover" %)
170 170  |(% colspan="1" rowspan="1" %)**Attribute name**|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)**unit**
171 -|(% 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
172 -|(% colspan="1" rowspan="1" %)**ClientId**|(% colspan="1" rowspan="1" %)The code that corresponds to a code in Clients table|(% colspan="1" rowspan="1" %)string
173 -|(% colspan="1" %)**SpecialAppointmentId**|(% colspan="1" %)The code that corresponds to a code in SpecialAppointments table|(% colspan="1" %)
174 -|(% colspan="1" rowspan="1" %)**LabSampleMatrixCode**|(% colspan="1" rowspan="1" %)The code that corresponds to a code in LabSampleMatrix table|(% colspan="1" rowspan="1" %)(((
169 +|(% colspan="1" rowspan="1" %)**Analysepakketcode**|(% colspan="1" rowspan="1" %)The analysepackagecode that corresponds to a code in the analysepakket|(% colspan="1" rowspan="1" %)string
170 +|(% colspan="1" rowspan="1" %)**klantcode**|(% colspan="1" rowspan="1" %)A code that corresponds to a code in debiteuren|(% colspan="1" rowspan="1" %)string
171 +|(% colspan="1" rowspan="1" %)**monstersoort**|(% colspan="1" rowspan="1" %)An SIKB code that determins to which matrix the analyses belongs. Sampletype
172 +Codegroup 51 in the Attachments for all possible codes|(% colspan="1" rowspan="1" %)(((
175 175  integer
176 176  
177 177  
178 178  )))
179 -|(% colspan="1" %)Price|(% colspan="1" %)The optional Price indication for this combination of the Analysis|(% colspan="1" %)decimal
180 -|(% colspan="1" %)CertificationId|(% colspan="1" %)The optional code that corresponds to the way of Sample and analysis handling as described in a certification.
181 -Some other labs have this arranged by the LabSampleMatrix types.
182 -Domaintable: [[CertificeringsCode >>https://codes.sikb.nl/tablet/domain-table-details/df7ffd7c-192c-44f7-ae9f-0461d9266b30]]|(% colspan="1" %)int
183 -|(% 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
184 -|(% colspan="1" rowspan="1" %)//Accredited//|(% colspan="1" rowspan="1" %)-not in use-|(% colspan="1" rowspan="1" %)bool
177 +|(% colspan="1" rowspan="1" %)**categoriecode**|(% colspan="1" rowspan="1" %)A code that corresponds to a category code in “//categorie//”|(% colspan="1" rowspan="1" %)string
185 185  
186 -== Structure explanation Urgencies ==
179 +== Structure explanation urgentietabel ==
187 187  
188 -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.
181 +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.
189 189  
190 -[[image:1712324236054-772.png||height="372" width="511"]]
183 +(% style="text-align:center" %)
184 +[[image:1637579214994-369.png]]
191 191  
192 192  (% class="table-hover" %)
193 193  |(% colspan="1" rowspan="1" %)**Attribute name**|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)**Unit**
194 -|(% 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
195 -|(% 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
188 +|(% 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
189 +|(% colspan="1" rowspan="1" %)**omschrijving**|(% colspan="1" rowspan="1" %)The name/ description of the urgentie|(% colspan="1" rowspan="1" %)string
196 196  
197 -== Structure explanation StoragePeriods ==
191 +== ==
198 198  
199 -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.
200 -
201 -[[image:1712324393233-546.png||height="359" width="519"]]
202 -
203 -(% class="table-hover" %)
204 -|(% colspan="1" rowspan="1" %)**Attribute name**|(% colspan="1" rowspan="1" %)**Description**|(% colspan="1" rowspan="1" %)**Unit**
205 -|(% 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
206 -|(% 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
193 +== ==
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
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 -