-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathSDCResources.xsd
2733 lines (2712 loc) · 77.4 KB
/
SDCResources.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
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
targetNamespace="urn:ihe:qrph:sdc:2016"
xmlns="urn:ihe:qrph:sdc:2016"
version="3.0">
<!-- rlm:7/9/2017 Changes to support SDC rules -->
<xs:include
schemaLocation="SDCDataTypes.xsd"/>
<xs:complexType
name="BlobType">
<xs:annotation>
<xs:documentation>Standard structure for including Binary Large Objects (Blobs) in XML
templates. Blobs can handle any type of binary media, such as images, audio, video,
and data streams of any specified format (such as a MIME type).</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension
base="ExtensionBaseType">
<xs:sequence>
<xs:element
maxOccurs="unbounded"
minOccurs="0"
name="Description"
type="RichTextType"/>
<xs:element
name="Hash"
minOccurs="0"
type="HashType">
<xs:annotation>
<xs:documentation>Binary hash of the blob data</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice>
<xs:element
name="BlobURI"
type="anyURI_Stype">
<xs:annotation>
<xs:documentation>This URI should contain a URL or web service link
to the Blob. It is used instead of incorporating the Blob
directly into XML templates.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element
name="BinaryMediaBase64"
type="base64Binary_Stype">
<xs:annotation>
<xs:documentation>Binary represeentation of the Blob data, encoded
using a Base 64 transformation from the original source binary
data. Base 64 encoding uses 64 character alphanumeric text
(characters A–Z, a–z, 0–9, =, /) to represent the binary data,
so that it may be transmitted as "text" inside an XML instance
document without the need for escape
characters.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
<xs:attribute
name="mediaType"
type="xs:string"
use="required">
<xs:annotation>
<xs:documentation>TBD: Must be a valid MIME type - needs enumeration</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute
name="fileExtension"
type="xs:string"
use="optional">
<xs:annotation>
<xs:documentation>Use a common file extension (e.g., docx) if there is no @MIME_Type available</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType
name="CodingType">
<xs:annotation>
<xs:documentation>This type represents any type of coding, terminology, classification, keyword, or local value system that may be applied to any displayable item in a
FormDesign template.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension
base="ExtensionBaseType">
<xs:sequence>
<xs:element
maxOccurs="1"
name="Code"
nillable="true"
type="string_Stype">
<xs:annotation>
<xs:documentation>A standard code, or a local value from a custom coding system, that can be used to consistently identify, or provide a
standard value for, the coded item.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element
maxOccurs="1"
minOccurs="0"
name="TypedValue"
type="DataTypes_SType">
<xs:annotation>
<xs:documentation>Data type enumeration derived from W3C XML Schema. If
the code is derived from a local value system (e.g., numbered answer
choices such as clock positions, tumor grades, or clinical scoring
systems), then the data type of the local value may be specified
here. This may be important if the code value will need to be
manipulated mathematically.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element
maxOccurs="1"
minOccurs="0"
name="CodeText"
type="RichTextType">
<xs:annotation>
<xs:documentation>The human readable text that accompanies the assigned code and represents the code's precise meaning (semantics) or
usage.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element
name="CodeMatch"
minOccurs="0"
type="CodeMatchType">
<xs:annotation>
<xs:documentation>Degree of match between the mapped item and the assigned code - @codeMatchType holds an entry from an enumerated
list of match types.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element
name="CodeSystem"
type="CodeSystemType"
minOccurs="0"> </xs:element>
<xs:element
minOccurs="0"
name="CodeURI"
type="anyURI_Stype">
<xs:annotation>
<xs:documentation>NEW: Web resource that provides information about the code</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element
maxOccurs="1"
minOccurs="0"
name="Units"
type="UnitsType">
<xs:annotation>
<xs:documentation/>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType
name="CodeSystemType">
<xs:annotation>
<xs:documentation>This type represents information about the coding system used in CodingType. It may refer to any type of coding, terminology, classification, keyword, or local value system.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension
base="ExtensionBaseType">
<xs:sequence>
<xs:element
maxOccurs="1"
minOccurs="1"
name="CodeSystemName"
type="string_Stype">
<xs:annotation>
<xs:documentation>The name of the coding system, as recommended by the
coding system curators, or as recommended by the agency that creates
standards for the code map in use.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element
maxOccurs="1"
minOccurs="0"
name="ReleaseDate"
type="dateTime_Stype">
<xs:annotation>
<xs:documentation>The day that the selected version of the coding system was released for general use by the coding system curators.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element
maxOccurs="1"
minOccurs="0"
name="Version"
type="string_Stype">
<xs:annotation>
<xs:documentation>Version of the coding system, using the version format defined by the coding system</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element
maxOccurs="1"
minOccurs="0"
name="OID"
type="string_Stype">
<xs:annotation>
<xs:documentation>The ISO object identifier (OID) for the coding system, as found at the HL7 OID Registry: https://www.hl7.org/oid/index.cfm
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element
minOccurs="0"
name="CodeSystemURI"
type="anyURI_Stype">
<xs:annotation>
<xs:documentation>Web resource that uniquely identifies the coding system</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType
name="ContactType">
<xs:annotation>
<xs:documentation>A model structure for a Person or Organization that generally performs a particular stated role.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension
base="ExtensionBaseType">
<xs:sequence>
<xs:element
maxOccurs="1"
minOccurs="0"
name="Person"
type="PersonType"/>
<xs:element
maxOccurs="1"
minOccurs="0"
name="Organization"
type="OrganizationType"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType
name="PersonType">
<xs:annotation>
<xs:documentation>A model structure for a Person object.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension
base="ExtensionBaseType">
<xs:sequence>
<xs:element
maxOccurs="1"
minOccurs="1"
name="PersonName"
type="NameType"> </xs:element>
<xs:element
maxOccurs="unbounded"
minOccurs="0"
name="AliasName"
type="NameType"> </xs:element>
<xs:element
maxOccurs="unbounded"
minOccurs="0"
name="Job"
type="JobType"/>
<xs:element
maxOccurs="unbounded"
minOccurs="0"
name="StreetAddress"
type="AddressType"/>
<xs:element
maxOccurs="unbounded"
minOccurs="0"
name="Email"
type="EmailType"/>
<xs:element
maxOccurs="unbounded"
minOccurs="0"
name="Phone"
type="PhoneType"/>
<xs:element
maxOccurs="unbounded"
minOccurs="0"
name="WebURL"
type="anyURI_Stype"> </xs:element>
<xs:element
maxOccurs="1"
minOccurs="0"
name="Role"
type="string_Stype">
<xs:annotation>
<xs:documentation>Role of the person, e.g., creator, copyright holder, accreditor, certifier, curator, etc.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element
name="Identifier"
type="IdentifierType"
maxOccurs="unbounded"
minOccurs="0"/>
<xs:element
maxOccurs="1"
minOccurs="0"
name="Usage"
type="string_Stype">
<xs:annotation>
<xs:documentation>When this person should be contacted.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType
name="JobType">
<xs:complexContent>
<xs:extension
base="ExtensionBaseType">
<xs:sequence>
<xs:element
maxOccurs="unbounded"
minOccurs="0"
name="JobTitle"
type="string_Stype"/>
<xs:element
maxOccurs="1"
minOccurs="0"
name="Organization"
type="OrganizationType"/>
<xs:element
minOccurs="0"
name="StartDate"
type="date_Stype"/>
<xs:element
minOccurs="0"
name="StopDate"
type="date_Stype"/>
<xs:element
maxOccurs="1"
minOccurs="0"
name="Description"
type="string_Stype">
<xs:annotation>
<xs:documentation>Job Description</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType
name="OrganizationType">
<xs:annotation>
<xs:documentation>A model structure for an Organization object.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension
base="ExtensionBaseType">
<xs:sequence>
<xs:element
maxOccurs="1"
minOccurs="1"
name="OrgName"
type="string_Stype"
nillable="true"/>
<xs:element
maxOccurs="1"
minOccurs="0"
name="Department"
type="string_Stype"/>
<xs:element
maxOccurs="unbounded"
minOccurs="0"
name="StreetAddress"
type="AddressType"/>
<xs:element
maxOccurs="unbounded"
minOccurs="0"
name="Email"
type="EmailType"/>
<xs:element
maxOccurs="unbounded"
minOccurs="0"
name="Phone"
type="PhoneType"/>
<xs:element
maxOccurs="unbounded"
minOccurs="0"
name="WebURL"
type="anyURI_Stype"> </xs:element>
<xs:element
maxOccurs="unbounded"
minOccurs="0"
name="Role"
type="string_Stype">
<xs:annotation>
<xs:documentation>Role of the organization, e.g., creator, copyright
holder, accreditor, certifier, curator, etc.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element
maxOccurs="unbounded"
minOccurs="0"
name="ContactPerson"
type="PersonType"/>
<xs:element
name="Identifier"
type="IdentifierType"
maxOccurs="unbounded"
minOccurs="0"/>
<xs:element
maxOccurs="1"
minOccurs="0"
name="Usage"
type="string_Stype">
<xs:annotation>
<xs:documentation>When this organization should be
contacted.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType
name="AddressType">
<xs:annotation>
<xs:documentation>A structure for recording street/mailing addresses.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension
base="ExtensionBaseType">
<xs:sequence>
<xs:element
maxOccurs="1"
minOccurs="0"
name="AddressType"
type="string_Stype">
<xs:annotation>
<xs:documentation>Type of address, e.g., home, office, etc</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element
maxOccurs="10"
minOccurs="0"
name="InternalAddress"
type="string_Stype">
<xs:annotation>
<xs:documentation>Address instructions for directing mail within an organizations buildings or corporate
infrastructure.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element
maxOccurs="10"
minOccurs="0"
name="AddressLine"
type="string_Stype">
<xs:annotation>
<xs:documentation>Address instructions for directing mail to a street address.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element
maxOccurs="1"
minOccurs="0"
name="City"
type="string_Stype"/>
<xs:element
maxOccurs="1"
minOccurs="0"
name="Jurisdiction"
type="string_Stype">
<xs:annotation>
<xs:documentation>Other optional locale identifier.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element
maxOccurs="1"
minOccurs="0"
name="State"
type="string_Stype">
<xs:annotation>
<xs:documentation>State, Province, etc.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element
maxOccurs="1"
minOccurs="0"
name="PostalCode"
type="string_Stype">
<xs:annotation>
<xs:documentation>Local postal code, e.g., zip code.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element
maxOccurs="1"
minOccurs="0"
name="Country"
type="string_Stype">
<xs:annotation>
<xs:documentation>**Need list of official country codes or text?</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element
maxOccurs="1"
minOccurs="0"
name="Usage"
type="string_Stype">
<xs:annotation>
<xs:documentation>When this address should be used</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType
name="PhoneType">
<xs:annotation>
<xs:documentation>A structure for recording telephone numbers.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension
base="ExtensionBaseType">
<xs:sequence>
<xs:element
maxOccurs="1"
minOccurs="0"
name="PhoneType"
type="string_Stype">
<xs:annotation>
<xs:documentation>Usage type of phone number, e.g., home, office, etc</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element
maxOccurs="1"
minOccurs="0"
name="CountryCode"
type="CountryCodeType"> </xs:element>
<xs:element
maxOccurs="1"
minOccurs="0"
name="AreaCode"
type="AreaCodeType"> </xs:element>
<xs:element
name="PhoneNumber"
type="PhoneNumberType"> </xs:element>
<xs:element
maxOccurs="1"
minOccurs="0"
name="PhoneExtension"
type="string_Stype"/>
<xs:element
maxOccurs="1"
minOccurs="0"
name="Usage"
type="string_Stype">
<xs:annotation>
<xs:documentation>When this phone number should be used</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType
name="EmailType">
<xs:annotation>
<xs:documentation>A structure for recording email addresses.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension
base="ExtensionBaseType">
<xs:sequence>
<xs:element
maxOccurs="1"
minOccurs="1"
name="EmailAddress"
type="EmailAddressType"> </xs:element>
<xs:element
maxOccurs="1"
minOccurs="0"
name="EmailClass"
type="string_Stype">
<xs:annotation>
<xs:documentation>Type of email, e.g., home, office, etc</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element
maxOccurs="1"
minOccurs="0"
name="Usage"
type="string_Stype">
<xs:annotation>
<xs:documentation>When this email should be used</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType
name="FileType">
<xs:annotation>
<xs:documentation>Information about a file, usually thought of as a binary byte stream
stored on disk. A FileType can also represent a "virtual" file, such as an XML
module in a larger XML document. Such a virtual file could theoretically be stored
as a byte stream, as an independant file on disk or as a database record or set of
records, even if this byte stream is never actually persisted as an independant disk
file.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension
base="ExtensionBaseType">
<xs:sequence>
<xs:element
minOccurs="0"
name="FileID"
type="string_Stype">
<xs:annotation>
<xs:documentation>Internal/local File ID, not necessarily in the format
of the FileURI used for all SDC FormDesign items.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element
minOccurs="1"
name="FileURI"
type="anyURI_Stype"/>
<xs:element
name="DisplayName"
type="string_Stype">
<xs:annotation>
<xs:documentation>Text to be displayed that encapulates the file
contents. This may be the same as the internal Title of the
file.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element
name="Title"
type="string_Stype"
minOccurs="0">
<xs:annotation>
<xs:documentation>Official title of the file.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element
minOccurs="0"
name="Version"
type="VersionType">
<xs:annotation>
<xs:documentation>File version</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element
minOccurs="0"
name="FileName"
type="string_Stype">
<xs:annotation>
<xs:documentation>The name of the file as saved on disk or other persistant storage.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element
minOccurs="0"
name="FileExtension"
type="string_Stype">
<xs:annotation>
<xs:documentation>The file type extension that describes the file's
internal format. This is usually the 3-4 character text that appears
after the last period in the file name, e.g., txt, docx,
etc.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element
minOccurs="0"
name="FileClass"
type="string_Stype">
<xs:annotation>
<xs:documentation>A short description of the class of file, such as "FormDesign XML"</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element
minOccurs="0"
name="FileSizeKB"
type="positiveInteger_Stype"> </xs:element>
<xs:element
maxOccurs="unbounded"
name="Description"
nillable="false"
minOccurs="0"
type="string_Stype">
<xs:annotation>
<xs:documentation>Any additional information about the template or file. The type of information should be specified in the @type
attribute.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element
minOccurs="0"
name="Copyright"
type="string_Stype"/>
<xs:element
minOccurs="0"
name="TermsofUse"
type="string_Stype"/>
<xs:element
minOccurs="0"
name="Usage"
type="FileUsageType">
<xs:annotation>
<xs:documentation>Guidance for when this file should be used, and when it should not be used.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element
minOccurs="0"
name="Dates"
type="FileDatesType">
<xs:annotation>
<xs:documentation>Various dates associated with the file release, versioning and usage.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element
minOccurs="0"
name="Contacts"
type="ContactsType">
<xs:annotation>
<xs:documentation>People and Organizations associated with the file.
Specify the type of Contact in the @type attribute. Examples of
@type include Curator, Author, and Authority.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element
minOccurs="0"
name="Approval"
maxOccurs="unbounded"
type="ApprovalType">
<xs:annotation>
<xs:documentation>Documentation of review and acceptance of the file for production usage.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element
minOccurs="0"
name="FileHash"
type="FileHashType"> </xs:element>
<xs:element
maxOccurs="unbounded"
minOccurs="0"
name="Language"
type="LanguageType"/>
<xs:element
minOccurs="0"
name="AssociatedFiles"
type="AssociatedFilesType">
<xs:annotation>
<xs:documentation>Link to any associated files, such as schemas, reference documents, manuals, etc.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element
minOccurs="0"
name="Provenance"
type="ProvenanceType"> </xs:element>
<xs:element
maxOccurs="unbounded"
minOccurs="0"
name="DefaultSubmissionRule"
type="SubmissionRuleType"/>
<xs:element
maxOccurs="unbounded"
minOccurs="0"
name="DefaultComplianceRule"
type="ComplianceRuleType"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType
name="LanguageType">
<!-- The original form of this type (from ISO 19763-10 and 11179-3) is far too complex for SDC needs. -->
<xs:annotation>
<xs:documentation>A generic structure for recording languages.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension
base="ExtensionBaseType">
<xs:sequence>
<xs:element
maxOccurs="1"
minOccurs="0"
name="Language"
type="string_Stype">
<xs:annotation>
<xs:documentation>The language used for text in SDC templates. </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element
name="LanguageCode.ISO.639.3"
type="LanguageCode.ISO.639.3_Type"> </xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:attributeGroup
name="versionAttributes">
<xs:annotation>
<xs:documentation>A global attribute group for recording file version metadata.</xs:documentation>
</xs:annotation>
<xs:attribute
name="fullVersion"
type="xs:string"
use="required"/>
<xs:attribute
name="versionRegExPattern"
type="xs:string"
use="required">
<xs:annotation>
<xs:documentation>Regular Expression that determines the format of the Full Version</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute
name="versionLevel.1"
type="xs:string"
use="optional">
<xs:annotation>
<xs:documentation>Provides support for a one to five part "semantic" versioning system, such as 111.222.333.444.555, in which each section separated by periods indicates a specific type of change.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute
name="versionLevel.2"
type="xs:string"
use="optional"/>
<xs:attribute
name="versionLevel.3"
type="xs:string"
use="optional"/>
<xs:attribute
name="versionLevel.4"
type="xs:string"
use="optional"/>
<xs:attribute
name="versionLevel.5"
type="xs:string"
use="optional"/>
</xs:attributeGroup>
<xs:complexType
name="VersionType">
<xs:annotation>
<xs:documentation>A generic structure for recording file version metadata.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension
base="ExtensionBaseType">
<xs:sequence>
<xs:element
name="VersioningReference"
type="FileType"
minOccurs="0">
<xs:annotation>
<xs:documentation>Information about the document that describes the versioning methodology nomenclature.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element
name="VersionComments"
type="RichTextType"
minOccurs="0">
<xs:annotation>
<xs:documentation>Comments about the changes in this version</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element
name="Changes"
minOccurs="0">
<xs:annotation>
<xs:documentation>Itemized list of changes in the new version</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension
base="ExtensionBaseType">
<xs:sequence>
<xs:element
name="Change"
type="ChangeLogType"
maxOccurs="unbounded"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attributeGroup
ref="versionAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType
name="AcceptabilityType">
<xs:complexContent>
<xs:restriction
base="string_Stype">
<xs:attribute
name="val"
type="Acceptability_StypeEnum"
use="required"/>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
<xs:simpleType
name="Acceptability_StypeEnum">
<xs:annotation>
<xs:documentation>Enumeration for specifying the level of aceptability for SDC form items.</xs:documentation>
</xs:annotation>
<xs:restriction
base="xs:string">
<xs:enumeration
value="preferred"/>
<xs:enumeration
value="admitted">
<xs:annotation>
<xs:documentation>ISO 10241-1:2011 defines "admitted term" as: synonymous term (3.4.1.1.2) for a preferred term (3.4.1.3.1), but not rated as a preferred term by a standardizing body </xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration
value="deprecated"/>
<xs:enumeration
value="obsolete"/>
<xs:enumeration
value="superseded"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType
name="ChangeLogType">
<xs:annotation>
<xs:documentation>Inforamtion about changes to file or part of a
file.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension
base="ExtensionBaseType">
<xs:sequence>
<xs:element
name="ChangedField"
type="ChangedFieldType"> </xs:element>
<xs:element
name="ChangedTo"
type="DataTypes_SType"/>
<xs:element
name="ChangedFrom"
type="DataTypes_SType"
minOccurs="1"/>
<xs:element
maxOccurs="unbounded"
name="ChangeType"
type="string_Stype"/>
<xs:element
name="Replaces"
maxOccurs="1"
minOccurs="0"
type="ReplacedIDsType">
<xs:annotation>
<xs:documentation>The retired/deprecated item that is being replaced.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element
name="ChangeDate"
type="dateTime_Stype"> </xs:element>
<xs:element
name="ChangeDescription"
type="string_Stype"
minOccurs="0"/>
<xs:element
name="Editors"
minOccurs="0"
type="ContactsType"> </xs:element>
<xs:element
minOccurs="0"
name="ChangeTracking"
type="ChangeTrackingType"> </xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:group
name="ItemTarget">
<xs:annotation>
<xs:documentation>A pointer to an element or attribute in an XML document.</xs:documentation>
</xs:annotation>
<xs:choice>
<xs:element
name="TargetItemID"
type="TargetItemIDType">
<xs:annotation>
<xs:documentation>Unique ID of the target item.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element
name="TargetItemName"
type="TargetItemNameType">
<xs:annotation>
<xs:documentation>@name attribute of target item. (xs:NCName is the base type of xs:ID)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element
name="TargetItemXPath"