-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomparative.xsd
522 lines (514 loc) · 33.7 KB
/
comparative.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2014 DDI Alliance, DDI 3.2 release, 2014-02-05
This file is part of DDI 3.2 XML Schema.
DDI 3.2 XML Schema is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option) any later version.
DDI 3.2 XML Schema is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
for more details.
You should have received a copy of the GNU Lesser General Public License along
with DDI 3.2 XML Schema. If not, see <http://www.gnu.org/licenses/>.
-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="ddi:comparative:3_2" xmlns:d="ddi:datacollection:3_2" xmlns:r="ddi:reusable:3_2" targetNamespace="ddi:comparative:3_2" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:import namespace="ddi:datacollection:3_2" schemaLocation="datacollection.xsd"/>
<xs:import namespace="ddi:reusable:3_2" schemaLocation="reusable.xsd"/>
<xs:element name="Comparison" type="ComparisonType">
<xs:annotation>
<xs:documentation>A maintainable module containing maps between objects of the same or similar type. Maps allow for pair-wise mapping of two objects by describing their similarities and differences in order to make assertions regarding their comparability. Currently maps allow for the comparison of concepts, variables, questions, categories, universes, and representations that have managed content (code, category, numeric, text, datetime and scale).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="ComparisonType">
<xs:annotation>
<xs:documentation>A maintainable module containing maps between objects of the same or similar type. Maps allow for pair-wise mapping of two objects by describing their similarities and differences in order to make assertions regarding their comparability. Currently maps allow for the comparison of concepts, variables, questions, categories, universes, and representations that have managed content (code, category, numeric, text, datetime and scale). These mapping(s) inform users on the comparability of two objects and facilitate automation. Note that all maps are pairwise, identifying two schemes and the correlation between two items in those schemes. Due to the complexity of some objects, multiple mappings may be required to cover details of the comparison of component parts, e.g. a QuestionMap may also have a related RepresentationMap. By using a set of pairwise comparisons, it is possible to describe complex correspondences - pairwise comparisons are easier to process. In addition to providing a standard name, label, and description, Comparison consists of a simple stack of comparison maps. Comparison maps are currently limited to those objects that can be referenced and are sufficiently structured to support a clear comparison.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:MaintainableType">
<xs:sequence>
<xs:element ref="ComparisonName" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A name for the comparison. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:Label" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A display label for the comparison. May be expressed in multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:Description" minOccurs="0">
<xs:annotation>
<xs:documentation>A description of the content and purpose of the comparison. May be expressed in multiple languages and supports the use of structured content.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="ConceptMap">
<xs:annotation>
<xs:documentation>Maps the content of two different concept schemes of objects of the same type providing detail for the comparable items within those two schemes.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="ConceptMapReference">
<xs:annotation>
<xs:documentation>Reference to a mapping of the content of two different concept schemes of objects of the same type providing detail for the comparable items within those two schemes. TypeOfObject should be set to ConceptMap.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="VariableMap">
<xs:annotation>
<xs:documentation>Maps the content of two different variable schemes of objects of the same type providing detail for the comparable items within those two schemes.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="VariableMapReference">
<xs:annotation>
<xs:documentation>Reference to a mapping of the content of two different variable schemes of objects of the same type providing detail for the comparable items within those two schemes. TypeOfObject should be set to VariableMap.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="QuestionMap">
<xs:annotation>
<xs:documentation>Maps the content of two different question schemes of objects of the same type providing detail for the comparable items within those two schemes.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="QuestionMapReference">
<xs:annotation>
<xs:documentation>Reference to a mapping of the content of two different question schemes of objects of the same type providing detail for the comparable items within those two schemes. TypeOfObject should be set to QuestionMap.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="CategoryMap">
<xs:annotation>
<xs:documentation>Maps the content of two different category schemes of objects of the same type providing detail for the comparable items within those two schemes.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="CategoryMapReference">
<xs:annotation>
<xs:documentation>Reference to a mapping of the content of two different category schemes of objects of the same type providing detail for the comparable items within those two schemes. TypeOfObject should be set to CategoryMap.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="RepresentationMap">
<xs:annotation>
<xs:documentation>Maps between any two managed representations. In addition to representation types held in a ManagedRepresentationScheme, managed representations include CategoryScheme and coded representations which include CodeList, GeographicStructureCode or GeographicLocationCode. Note that the source can be any managed representation including a CodeList, GeographicStructure or GeographicLocation. Note that comparisons between two category schemes is best handled by CategoryMap.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="RepresentationMapReference">
<xs:annotation>
<xs:documentation>Reference to a mapping between any two managed representations using the Reference structure. TypeOfObject should be set to RepresentationMap.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="UniverseMap">
<xs:annotation>
<xs:documentation>Maps the content of two different universe schemes of objects of the same type providing detail for the comparable items within those two schemes.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="UniverseMapReference">
<xs:annotation>
<xs:documentation>Reference to a mapping of the content of two different universe schemes of objects of the same type providing detail for the comparable items within those two schemes. TypeOfObject should be set to UniverseMap.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="ComparisonName" type="r:NameType">
<xs:annotation>
<xs:documentation>Name of the Comparison using the DDI Name structure.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="GenericMapType">
<xs:annotation>
<xs:documentation>Maps the content of two different schemes of objects of the same type providing detail for the comparable items within those two schemes. Note that comparisons can be made between multiple items in the same scheme or two versions of the same scheme. In addition to the standard name, label, and description of the map, identifies the source scheme and target scheme containing those objects, describes the correspondence between the source and target schemes, and provides detailed comparison of the items within those two schemes.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:VersionableType">
<xs:sequence>
<xs:element ref="MapName" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A name for the Map. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:Label" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A display label for the Map. May be expressed in multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:Description" minOccurs="0">
<xs:annotation>
<xs:documentation>A description of the content and purpose of the Map. May be expressed in multiple languages and supports the use of structured content.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="SourceSchemeReference">
<xs:annotation>
<xs:documentation>Mappings are unidirectional. The scheme referenced as the source is the scheme contents that would be transformed into the scheme contents identified as the target scheme contents.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="TargetSchemeReference">
<xs:annotation>
<xs:documentation>Reference to the scheme containing the target structure.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="Correspondence" minOccurs="0">
<xs:annotation>
<xs:documentation>Describe the level of similarity and difference between the Source and the Target schemes.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="ItemMap" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Contains the mappings for individual items within the Source and Target schemes.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="MapName" type="r:NameType">
<xs:annotation>
<xs:documentation>Name of the Map using the DDI Name structure.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="CorrespondenceType">
<xs:annotation>
<xs:documentation>Describes the commonalities and differences between two items using a textual description of both commonalities and differences plus an optional coding of the type of commonality, a commonality expresses as a 0 to 1 weighting factor (expressing degree of comparability) and a user defined correspondence property which is specific to an organization or community of use.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element ref="Commonality" minOccurs="0">
<xs:annotation>
<xs:documentation>A description of the common features of the two items using a StructuredString to support multiple language versions of the same content as well as optional formatting of the content.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:Difference" minOccurs="0">
<xs:annotation>
<xs:documentation>A description of the differences between the two items using a StructuredString to support multiple language versions of the same content as well as optional formatting of the content.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="CommonalityTypeCoded" minOccurs="0">
<xs:annotation>
<xs:documentation>A brief description describing the commonality of the two schemes/items, i.e., "Identical", "High", "Medium", "Low", "None". Supports the use of an external controlled vocabulary.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CommonalityWeight" type="CommonalityWeightType" minOccurs="0">
<xs:annotation>
<xs:documentation>A value between 0 and 1 expressing the degree of commonality (0 indicates none, 1 indicates that they are identical).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:UserDefinedCorrespondenceProperty" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>An alternate means of expressing commonality within a specific system. A system specific user defined correspondence expressed as a key/value pair. As this is specific to an individual system the use of controlled vocabularies for the key is strongly recommended.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="CommonalityWeightType">
<xs:annotation>
<xs:documentation>A value between 0 and 1 expressing the degree of commonality (0 indicates none, 1 indicates that they are identical).</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:float">
<xs:minInclusive value="0">
<xs:annotation>
<xs:documentation>No commonality</xs:documentation>
</xs:annotation>
</xs:minInclusive>
<xs:maxInclusive value="1">
<xs:annotation>
<xs:documentation>Identical</xs:documentation>
</xs:annotation>
</xs:maxInclusive>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="RepresentationMapType">
<xs:annotation>
<xs:documentation>Maps between any two managed representations. In addition to representation types held in a ManagagedRepresentationScheme, managed representations include CategoryScheme and coded representations which include CodeList, GeographicStructureCode or GeographicLocationCode. Note that the source can be any managed representation including a CodeList, GeographicStructure or GeographicLocation. Note that comparisons between two category schemes is best handled by CategoryMap. In addition to the standard name, label, and description of the RepresentationMap, identifies the source representation and target representation (which should be a CodeList, GeographicStructure, or GeographicLocation), describes the correspondence between the source and target, allows for the use of a GenerationInstruction to describe the recoding process, and indicates if this a general mapping or a mapping for a specific purpose.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:VersionableType">
<xs:sequence>
<xs:element ref="RepresentationMapName" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A name for the RepresentationMap. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:Label" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A display label for the RepresentationMap. May be expressed in multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:Description" minOccurs="0">
<xs:annotation>
<xs:documentation>A description of the content and purpose of the RepresentationMap. May be expressed in multiple languages and supports the use of structured content.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="SourceRepresentation">
<xs:annotation>
<xs:documentation>Provides a reference to the managed content of a representation which acts as the source object in the Source/Target comparison pair. May be a ManagedRepresentation or a specific CategoryScheme, CodeList, GeographicRepresentation, or GeographicLocation. Allows for the optional reference to a Concept when context is important. For example, a ManagedNumericRepresentation within the context of Age.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="TargetRepresentation">
<xs:annotation>
<xs:documentation>Provides a reference to the managed content of a representation which acts as the target object in the Source/Target comparison pair. May be a ManagedRepresentation or a specific CategoryScheme, CodeList, GeographicRepresentation, or GeographicLocation. Supports the ability to limit code coverage as appropriate for the coding structure referenced.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="Correspondence" minOccurs="0">
<xs:annotation>
<xs:documentation>Describe the level of similarity and difference between the Source and the Target contents.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:ProcessingInstructionReference">
<xs:annotation>
<xs:documentation>Allows for use of programmatic logic to construct a detailed comparison map between individual codes in the source and target structures by reference. TypeOfObject should be set to GenerationInstruction or GeneralInstruction. This reference allows for specifying ParameterLinkages at point of use.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="contextSpecificComparison" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation>Set to "true" when a Concept has been identified in the SourceRepresentation.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="SourceRepresentation" type="SourceRepresentationType">
<xs:annotation>
<xs:documentation>Provides a reference to the managed content of a representation which acts as the source object in the Source/Target comparison pair. May be a ManagedRepresentation or a specific CategoryScheme, CodeList, GeographicRepresentation, or GeographicLocation. Allows for the optional reference to a Concept when context is important. For example, a ManagedNumericRepresentation within the context of Age.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TargetRepresentation" type="TargetRepresentationType">
<xs:annotation>
<xs:documentation>Provides a reference to the managed content of a representation which acts as the target object in the Source/Target comparison pair. May be a ManagedRepresentation or a specific CategoryScheme, CodeList, GeographicRepresentation, or GeographicLocation. Supports the ability to limit code coverage as appropriate for the coding structure referenced.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="SourceRepresentationType">
<xs:annotation>
<xs:documentation>Provides a reference to the managed content of a representation which may be a ManagedRepresentation or a specific CodeList, GeographicRepresentation, or GeographicLocation. Allows for the optional reference to a Concept when context is important. For example, a ManagedNumericRepresentation within the context of Age.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:choice>
<xs:element ref="r:ManagedRepresentationReference">
<xs:annotation>
<xs:documentation>Substitution group head for referencing Managed Representations. For example, ManagedTextRepresentationReference, ManagedNumericRepresentationReference, etc.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:CategorySchemeReference">
<xs:annotation>
<xs:documentation>A reference to a CategoryScheme as the managed component of a representation.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:CodeListReference">
<xs:annotation>
<xs:documentation>A reference to a CodeList as the managed component of a representation.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:GeographicStructureReference">
<xs:annotation>
<xs:documentation>A reference to a GeographicStructure as the managed component of a representation.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:GeographicLocationReference">
<xs:annotation>
<xs:documentation>A reference to a GeographicLocation as the managed component of a representation.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element ref="r:ConceptReference" minOccurs="0">
<xs:annotation>
<xs:documentation>Reference to a Concept which provides a context for the representation, e.g. Age for a numeric representation.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="TargetRepresentationType">
<xs:annotation>
<xs:documentation>Provides a reference to a codified representation. Supports the ability to limit code coverage as appropriate for the coding structure referenced.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:choice>
<xs:element ref="r:ManagedRepresentationReference">
<xs:annotation>
<xs:documentation>Substitution group head for referencing Managed Representations. For example, ManagedTextRepresentationReference, ManagedNumericRepresentationReference, etc.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:CategorySchemeReference">
<xs:annotation>
<xs:documentation>A reference to a CategoryScheme as the managed component of a representation.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:sequence>
<xs:element ref="r:CodeListReference">
<xs:annotation>
<xs:documentation>A reference to a CodeList as the managed component of a representation.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:CodeSubsetInformation" minOccurs="0">
<xs:annotation>
<xs:documentation>Allows further specification of the codes to use from the CodeList.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:element ref="r:IncludedGeographicStructureCodes">
<xs:annotation>
<xs:documentation>Identifies the Geographic Structure codes included by the Authorized source of the code, the geographic location being used and the locations to exclude.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:IncludedGeographicLocationCodes">
<xs:annotation>
<xs:documentation>Identifies the Geographic Location codes included by the Authorized source of the code, the geographic location being used and the locations to exclude.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
</xs:complexType>
<xs:element name="RepresentationMapName" type="r:NameType">
<xs:annotation>
<xs:documentation>Name of the Representation Map using the DDI Name structure.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="ItemMapType">
<xs:annotation>
<xs:documentation>Maps two items of the same type within the Source and Target Schemes identified.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:IdentifiableType">
<xs:sequence>
<xs:element name="SourceItem" type="r:IDType">
<xs:annotation>
<xs:documentation>The ID of the source object in the source scheme already identified. Note that the version of the object is whichever version of it that exists in the version of the parent scheme as identified.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TargetItem" type="r:IDType">
<xs:annotation>
<xs:documentation>The ID of the target object in the target scheme already identified. Note that the version of the object is whichever version of it that exists in the version of the parent scheme as identified.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="Correspondence" minOccurs="0">
<xs:annotation>
<xs:documentation>Describe the level of similarity and difference between the Source and the Target objects.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="RelatedMapReference" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Identifies related maps for example an ItemMap of two questions may point to the CodeMap defining the comparison of the two response domains.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="alias" type="xs:NMTOKEN" use="optional">
<xs:annotation>
<xs:documentation>Allows for an alias to be assigned to the correspondence between two items, so that it can be referred to with a single name, that would include both related items.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="ConceptMap" type="GenericMapType">
<xs:annotation>
<xs:documentation>Maps the content of two different concept schemes of objects of the same type providing detail for the comparable items within those two schemes.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="VariableMap" type="GenericMapType">
<xs:annotation>
<xs:documentation>Maps the content of two different variable schemes of objects of the same type providing detail for the comparable items within those two schemes.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="QuestionMap" type="GenericMapType">
<xs:annotation>
<xs:documentation>Maps the content of two different question schemes of objects of the same type providing detail for the comparable items within those two schemes.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CategoryMap" type="GenericMapType">
<xs:annotation>
<xs:documentation>Maps the content of two different category schemes of objects of the same type providing detail for the comparable items within those two schemes.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="RepresentationMap" type="RepresentationMapType">
<xs:annotation>
<xs:documentation>Maps between any managed representation and a coded representation. The coded representation can be a CodeList, GeographicStructureCode or GeographicLocationCode. Note that the source can be any managed representation including a CodeList, GeographicStructure or GeographicLocation.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="UniverseMap" type="GenericMapType">
<xs:annotation>
<xs:documentation>Maps the content of two different universe schemes of objects of the same type providing detail for the comparable items within those two schemes.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SourceSchemeReference" type="r:SchemeReferenceType">
<xs:annotation>
<xs:documentation>Reference to any Scheme using SchemeReference which allows for the specification of objects to exclude. TypeOfObject should be set to CategoryScheme, CodeListScheme, ConceptScheme, ConceptualVariableScheme, ControlConstructScheme, DefaultVariableScheme, GeographicLocationScheme, GeographicStructureScheme, InstrumentScheme, InterviewerInstructionScheme, ManagedRepresentationScheme, NCubeScheme, OrganizationScheme, PhysicalStructureScheme, ProcessingEventScheme, ProcessingInstructionScheme, QualityStatementScheme, QuestionScheme, RecordLayoutScheme, RepresentedVariableScheme, SourceScheme, TargetScheme, UniverseScheme, or VariableSchemeReference.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TargetSchemeReference" type="r:SchemeReferenceType">
<xs:annotation>
<xs:documentation>Reference to any Scheme using SchemeReference which allows for the specification of objects to exclude. TypeOfObject should be set to CategoryScheme, CodeListScheme, ConceptScheme, ConceptualVariableScheme, ControlConstructScheme, DefaultVariableScheme, GeographicLocationScheme, GeographicStructureScheme, InstrumentScheme, InterviewerInstructionScheme, ManagedRepresentationScheme, NCubeScheme, OrganizationScheme, PhysicalStructureScheme, ProcessingEventScheme, ProcessingInstructionScheme, QualityStatementScheme, QuestionScheme, RecordLayoutScheme, RepresentedVariableScheme, SourceScheme, TargetScheme, UniverseScheme, or VariableSchemeReference.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="RelatedMapReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>Reference to an existing Concept, Variable, Question, Category, Representation, or Universe Map using the Reference structure. TypeOfObject should be set to CategoryMap, ConceptMap, QuestionMap ,UniverseMap, VariableMap, or RepresentationMap.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SourceCodeListReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>Reference to an CodeList using the Reference structure. TypeOfObject should be set to CodeList.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TargetCodeListReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>Reference to a CodeList using the Reference structure. TypeOfObject should be set to CodeList.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Correspondence" type="CorrespondenceType">
<xs:annotation>
<xs:documentation>Describes the commonalities and differences between two items.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ItemMap" type="ItemMapType">
<xs:annotation>
<xs:documentation>Maps two items of the same type within the Source and Target Schemes identified.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Commonality" type="r:StructuredStringType">
<xs:annotation>
<xs:documentation>Commonality of the compared objects provided using a StructuredString to support multiple language versions of the same content as well as optional formatting of the content.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CommonalityTypeCoded" type="r:CodeValueType">
<xs:annotation>
<xs:documentation>A brief description describing the commonality of the two schemes/items, i.e., "Identical", "High", "Medium", "Low", "None". Supports the use of an external controlled vocabulary.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ConceptMapReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>Reference to an existing ConceptMap using the Reference structure. TypeOfObject should be set to ConceptMap.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="VariableMapReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>Reference to an existing VariableMap using the Reference structure. TypeOfObject should be set to VariableMap.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="QuestionMapReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>Reference to an existing QuestionMap using the Reference structure. TypeOfObject should be set to QuestionMap.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CategoryMapReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>Reference to an existing CategoryMap using the Reference structure. TypeOfObject should be set to CategoryMap.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="RepresentationMapReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>Reference to a mapping between any two managed representations using the Reference structure. TypeOfObject should be set to RepresentationMap.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="UniverseMapReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>Reference to an existing UniverseMap using the Reference structure. TypeOfObject should be set to UniverseMap.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:schema>