forked from IHE-SDC-WG/SDC-Schema-Packages
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSDCDataTypes.xsd
1355 lines (1344 loc) · 62.5 KB
/
SDCDataTypes.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">
<!-- 9/15/2016 Changes for IHE Profile Trial Implementation (for Jan 2017 Connectathon) -->
<xs:include schemaLocation="SDCBase.xsd"/>
<xs:attributeGroup name="MaskAttributes">
<xs:attribute name="mask" type="xs:string"/>
</xs:attributeGroup>
<xs:attributeGroup name="QuantAttributes">
<xs:attribute default="EQ" name="quantEnum">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="EQ"/>
<xs:enumeration value="GT"/>
<xs:enumeration value="GTE"/>
<xs:enumeration value="LT"/>
<xs:enumeration value="LTE"/>
<xs:enumeration value="APPROX"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute default="false" name="allowGT" type="xs:boolean"/>
<xs:attribute default="false" name="allowGTE" type="xs:boolean"/>
<xs:attribute default="false" name="allowLT" type="xs:boolean"/>
<xs:attribute default="false" name="allowLTE" type="xs:boolean"/>
<xs:attribute default="false" name="allowAPPROX" type="xs:boolean"/>
</xs:attributeGroup>
<xs:element name="dt">
<xs:annotation>
<xs:documentation>A dummy "data type" (dt) element to compensate for a code generator bug. Do not use this type for anything.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attributeGroup ref="QuantAttributes"/>
</xs:complexType>
</xs:element>
<xs:complexType name="anyType_DEtype">
<xs:complexContent>
<xs:extension base="BaseType">
<xs:sequence>
<xs:any maxOccurs="unbounded" minOccurs="0" processContents="lax"/>
</xs:sequence>
<xs:attribute name="minLength" type="xs:long"/>
<xs:attribute name="maxLength" type="xs:long"/>
<xs:attribute name="schema" type="xs:string"/>
<xs:attribute name="namespace" type="xs:string">
<xs:annotation>
<xs:documentation>Namespace used in an XML Schema file, if any, used to constrain and validate the the content of this field. This is similar to the use of namespaces with the xs:any element in XML Schemas.
See: http://www.w3.org/TR/xmlschema-0/#any </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:anyAttribute processContents="lax"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="anyURI_DEtype">
<xs:complexContent>
<xs:extension base="anyURI_Stype">
<xs:attribute name="length" type="xs:long"/>
<xs:attribute name="minLength" type="xs:long"/>
<xs:attribute name="maxLength" type="xs:long"/>
<xs:attribute name="pattern" type="xs:string"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="base64Binary_DEtype">
<xs:complexContent>
<xs:extension base="base64Binary_Stype">
<xs:attribute name="minLength" type="xs:long"/>
<xs:attribute name="maxLength" type="xs:long"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="boolean_DEtype">
<xs:complexContent>
<xs:extension base="boolean_Stype"> </xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="byte_DEtype">
<xs:complexContent>
<xs:extension base="byte_Stype">
<xs:attribute name="minInclusive" type="xs:byte"/>
<xs:attribute name="maxInclusive" type="xs:byte"/>
<xs:attribute name="minExclusive" type="xs:byte"/>
<xs:attribute name="maxExclusive" type="xs:byte"/>
<xs:attribute name="totalDigits">
<xs:simpleType>
<xs:restriction base="xs:unsignedByte">
<xs:maxInclusive value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attributeGroup ref="MaskAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="date_DEtype">
<xs:complexContent>
<xs:extension base="date_Stype">
<xs:attribute name="minInclusive" type="xs:date"/>
<xs:attribute name="maxInclusive" type="xs:date"/>
<xs:attribute name="minExclusive" type="xs:date"/>
<xs:attribute name="maxExclusive" type="xs:date"/>
<xs:attributeGroup ref="MaskAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="dateTime_DEtype">
<xs:complexContent>
<xs:extension base="dateTime_Stype">
<xs:attribute name="minInclusive" type="xs:dateTime"/>
<xs:attribute name="maxInclusive" type="xs:dateTime"/>
<xs:attribute name="minExclusive" type="xs:dateTime"/>
<xs:attribute name="maxExclusive" type="xs:dateTime"/>
<xs:attribute name="pattern" type="xs:string"/>
<xs:attributeGroup ref="MaskAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="dateTimeStamp_DEtype">
<xs:complexContent>
<xs:extension base="dateTimeStamp_Stype">
<xs:attribute name="maxExclusive" type="xs:dateTime"/>
<xs:attribute name="minExclusive" type="xs:dateTime"/>
<xs:attribute name="maxInclusive" type="xs:dateTime"/>
<xs:attribute name="minInclusive" type="xs:dateTime"/>
<xs:attributeGroup ref="MaskAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="dayTimeDuration_DEtype">
<xs:complexContent>
<xs:extension base="dayTimeDuration_Stype">
<xs:attribute name="maxExclusive" type="xs:duration"/>
<xs:attribute name="minExclusive" type="xs:duration"/>
<xs:attribute name="maxInclusive" type="xs:duration"/>
<xs:attribute name="minInclusive" type="xs:duration"/>
<xs:attributeGroup ref="MaskAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="decimal_DEtype">
<xs:complexContent>
<xs:extension base="decimal_Stype">
<xs:attribute name="minInclusive" type="xs:decimal"/>
<xs:attribute name="maxInclusive" type="xs:decimal"/>
<xs:attribute name="minExclusive" type="xs:decimal"/>
<xs:attribute name="maxExclusive" type="xs:decimal"/>
<xs:attribute name="fractionDigits" type="xs:unsignedByte"> </xs:attribute>
<xs:attribute name="totalDigits" type="xs:unsignedByte"/>
<xs:attributeGroup ref="MaskAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="double_DEtype">
<xs:complexContent>
<xs:extension base="double_Stype">
<xs:attribute name="minInclusive" type="xs:double"/>
<xs:attribute name="maxInclusive" type="xs:double"/>
<xs:attribute name="minExclusive" type="xs:double"/>
<xs:attribute name="maxExclusive" type="xs:double"/>
<xs:attribute name="fractionDigits" type="xs:unsignedByte"> </xs:attribute>
<xs:attribute name="totalDigits" type="xs:unsignedByte"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="duration_DEtype">
<xs:complexContent>
<xs:extension base="duration_Stype">
<xs:attribute name="minInclusive" type="xs:duration"/>
<xs:attribute name="maxInclusive" type="xs:duration"/>
<xs:attribute name="minExclusive" type="xs:duration"/>
<xs:attribute name="maxExclusive" type="xs:duration"/>
<xs:attributeGroup ref="MaskAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="float_DEtype">
<xs:complexContent>
<xs:extension base="float_Stype">
<xs:attribute name="minInclusive" type="xs:float"/>
<xs:attribute name="maxInclusive" type="xs:float"/>
<xs:attribute name="minExclusive" type="xs:float"/>
<xs:attribute name="maxExclusive" type="xs:float"/>
<xs:attribute name="fractionDigits" type="xs:unsignedByte"> </xs:attribute>
<xs:attribute name="totalDigits" type="xs:unsignedByte"/>
<xs:attributeGroup ref="MaskAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="gDay_DEtype">
<xs:complexContent>
<xs:extension base="gDay_Stype">
<xs:attribute name="minInclusive" type="xs:gDay"/>
<xs:attribute name="maxInclusive" type="xs:gDay"/>
<xs:attribute name="minExclusive" type="xs:gDay"/>
<xs:attribute name="maxExclusive" type="xs:gDay"/>
<xs:attributeGroup ref="MaskAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="gMonth_DEtype">
<xs:complexContent>
<xs:extension base="gMonth_Stype">
<xs:attribute name="minInclusive" type="xs:gMonth"/>
<xs:attribute name="maxInclusive" type="xs:gMonth"/>
<xs:attribute name="minExclusive" type="xs:gMonth"/>
<xs:attribute name="maxExclusive" type="xs:gMonth"/>
<xs:attributeGroup ref="MaskAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="gMonthDay_DEtype">
<xs:complexContent>
<xs:extension base="gMonthDay_Stype">
<xs:attribute name="minInclusive" type="xs:gMonthDay"/>
<xs:attribute name="maxInclusive" type="xs:gMonthDay"/>
<xs:attribute name="minExclusive" type="xs:gMonthDay"/>
<xs:attribute name="maxExclusive" type="xs:gMonthDay"/>
<xs:attributeGroup ref="MaskAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="gYear_DEtype">
<xs:complexContent>
<xs:extension base="gYear_Stype">
<xs:attribute name="minInclusive" type="xs:gYear"/>
<xs:attribute name="maxInclusive" type="xs:gYear"/>
<xs:attribute name="minExclusive" type="xs:gYear"/>
<xs:attribute name="maxExclusive" type="xs:gYear"/>
<xs:attributeGroup ref="MaskAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="gYearMonth_DEtype">
<xs:complexContent>
<xs:extension base="gYearMonth_Stype">
<xs:attribute name="minInclusive" type="xs:gYearMonth"/>
<xs:attribute name="maxInclusive" type="xs:gYearMonth"/>
<xs:attribute name="minExclusive" type="xs:gYearMonth"/>
<xs:attribute name="maxExclusive" type="xs:gYearMonth"/>
<xs:attributeGroup ref="MaskAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="hexBinary_DEtype">
<xs:complexContent>
<xs:extension base="hexBinary_Stype">
<xs:attribute name="minLength" type="xs:long"/>
<xs:attribute name="maxLength" type="xs:long"/>
<xs:attributeGroup ref="MaskAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="HTML_DEtype">
<xs:complexContent>
<xs:extension base="HTML_Stype">
<xs:attribute name="minLength" type="xs:long"/>
<xs:attribute name="maxLength" type="xs:long"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="int_DEtype">
<xs:complexContent>
<xs:extension base="int_Stype">
<xs:attribute name="minInclusive" type="xs:int"/>
<xs:attribute name="maxInclusive" type="xs:int"/>
<xs:attribute name="minExclusive" type="xs:int"/>
<xs:attribute name="maxExclusive" type="xs:int"/>
<xs:attribute name="totalDigits">
<xs:simpleType>
<xs:restriction base="xs:unsignedByte">
<xs:maxInclusive value="10"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attributeGroup ref="MaskAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="integer_DEtype">
<xs:complexContent>
<xs:extension base="integer_Stype">
<xs:attribute name="maxExclusive" type="xs:integer"/>
<xs:attribute name="minExclusive" type="xs:integer"/>
<xs:attribute name="maxInclusive" type="xs:integer"/>
<xs:attribute name="minInclusive" type="xs:integer"/>
<xs:attribute name="totalDigits" type="xs:unsignedByte"/>
<xs:attributeGroup ref="MaskAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="long_DEtype">
<xs:complexContent>
<xs:extension base="long_Stype">
<xs:attribute name="minInclusive" type="xs:long"> </xs:attribute>
<xs:attribute name="maxInclusive" type="xs:long"/>
<xs:attribute name="minExclusive" type="xs:long"/>
<xs:attribute name="maxExclusive" type="xs:long"/>
<xs:attribute name="totalDigits">
<xs:simpleType>
<xs:restriction base="xs:unsignedByte">
<xs:maxInclusive value="19"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attributeGroup ref="MaskAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="negativeInteger_DEtype">
<xs:complexContent>
<xs:extension base="negativeInteger_Stype">
<xs:attribute name="minInclusive" type="xs:negativeInteger"/>
<xs:attribute name="maxInclusive" type="xs:negativeInteger"/>
<xs:attribute name="minExclusive" type="xs:negativeInteger"/>
<xs:attribute name="maxExclusive" type="xs:negativeInteger"/>
<xs:attribute name="totalDigits" type="xs:unsignedByte"> </xs:attribute>
<xs:attributeGroup ref="MaskAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="nonNegativeInteger_DEtype">
<xs:complexContent>
<xs:extension base="nonNegativeInteger_Stype">
<xs:attribute name="minInclusive" type="xs:nonNegativeInteger"/>
<xs:attribute name="maxInclusive" type="xs:nonNegativeInteger"/>
<xs:attribute name="minExclusive" type="xs:nonNegativeInteger"/>
<xs:attribute name="maxExclusive" type="xs:nonNegativeInteger"/>
<xs:attribute name="totalDigits" type="xs:unsignedByte"> </xs:attribute>
<xs:attributeGroup ref="MaskAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="nonPositiveInteger_DEtype">
<xs:complexContent>
<xs:extension base="nonPositiveInteger_Stype">
<xs:attribute name="minInclusive" type="xs:nonPositiveInteger"/>
<xs:attribute name="maxInclusive" type="xs:nonPositiveInteger"/>
<xs:attribute name="minExclusive" type="xs:nonPositiveInteger"/>
<xs:attribute name="maxExclusive" type="xs:nonPositiveInteger"/>
<xs:attribute form="unqualified" name="totalDigits" type="xs:unsignedByte"/>
<xs:attributeGroup ref="MaskAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="positiveInteger_DEtype">
<xs:complexContent>
<xs:extension base="positiveInteger_Stype">
<xs:attribute name="minInclusive" type="xs:positiveInteger"/>
<xs:attribute name="maxInclusive" type="xs:positiveInteger"/>
<xs:attribute name="minExclusive" type="xs:positiveInteger"/>
<xs:attribute name="maxExclusive" type="xs:positiveInteger"/>
<xs:attribute name="totalDigits" type="xs:unsignedByte"/>
<xs:attributeGroup ref="MaskAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="short_DEtype">
<xs:complexContent>
<xs:extension base="short_Stype">
<xs:attribute name="minInclusive" type="xs:short"/>
<xs:attribute name="maxInclusive" type="xs:short"/>
<xs:attribute name="minExclusive" type="xs:short"/>
<xs:attribute name="maxExclusive" type="xs:short"/>
<xs:attribute name="totalDigits">
<xs:simpleType>
<xs:restriction base="xs:unsignedByte">
<xs:maxInclusive value="5"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attributeGroup ref="MaskAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="string_DEtype">
<xs:complexContent>
<xs:extension base="string_Stype">
<xs:attribute name="minLength" type="xs:long"/>
<xs:attribute name="maxLength" type="xs:long"/>
<xs:attribute name="pattern" type="xs:string"/>
<xs:attributeGroup ref="MaskAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="time_DEtype">
<xs:complexContent>
<xs:extension base="time_Stype">
<xs:attribute name="minInclusive" type="xs:time"/>
<xs:attribute name="maxInclusive" type="xs:time"/>
<xs:attribute name="minExclusive" type="xs:time"/>
<xs:attribute name="maxExclusive" type="xs:time"/>
<xs:attributeGroup ref="MaskAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="unsignedByte_DEtype">
<xs:complexContent>
<xs:extension base="unsignedByte_Stype">
<xs:attribute name="minInclusive" type="xs:unsignedByte"/>
<xs:attribute name="maxInclusive" type="xs:unsignedByte"/>
<xs:attribute name="minExclusive" type="xs:unsignedByte"/>
<xs:attribute name="maxExclusive" type="xs:unsignedByte"/>
<xs:attribute name="totalDigits">
<xs:simpleType>
<xs:restriction base="xs:unsignedByte">
<xs:maxInclusive value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attributeGroup ref="MaskAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="unsignedInt_DEtype">
<xs:complexContent>
<xs:extension base="unsignedInt_Stype">
<xs:attribute name="minInclusive" type="xs:unsignedInt"/>
<xs:attribute name="maxInclusive" type="xs:unsignedInt"/>
<xs:attribute name="minExclusive" type="xs:unsignedInt"/>
<xs:attribute name="maxExclusive" type="xs:unsignedInt"/>
<xs:attribute name="totalDigits">
<xs:simpleType>
<xs:restriction base="xs:unsignedByte">
<xs:maxInclusive value="10"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attributeGroup ref="MaskAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="unsignedLong_DEtype">
<xs:complexContent>
<xs:extension base="unsignedLong_Stype">
<xs:attribute name="minInclusive" type="xs:unsignedLong"/>
<xs:attribute name="maxInclusive" type="xs:unsignedLong"/>
<xs:attribute name="minExclusive" type="xs:unsignedLong"/>
<xs:attribute name="maxExclusive" type="xs:unsignedLong"/>
<xs:attribute name="totalDigits">
<xs:simpleType>
<xs:restriction base="xs:unsignedByte">
<xs:maxInclusive value="20"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attributeGroup ref="MaskAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="unsignedShort_DEtype">
<xs:complexContent>
<xs:extension base="unsignedShort_Stype">
<xs:attribute name="minInclusive" type="xs:unsignedShort"/>
<xs:attribute name="maxInclusive" type="xs:unsignedShort"/>
<xs:attribute name="minExclusive" type="xs:unsignedShort"/>
<xs:attribute name="maxExclusive" type="xs:unsignedShort"/>
<xs:attribute name="totalDigits">
<xs:simpleType>
<xs:restriction base="xs:unsignedByte">
<xs:maxInclusive value="5"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attributeGroup ref="MaskAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="XML_DEtype">
<xs:complexContent>
<xs:extension base="XML_Stype">
<xs:attribute name="minLength" type="xs:long"/>
<xs:attribute name="maxLength" type="xs:long"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="yearMonthDuration_DEtype">
<xs:complexContent>
<xs:extension base="yearMonthDuration_Stype">
<xs:attribute name="minInclusive" type="xs:duration"/>
<xs:attribute name="maxInclusive" type="xs:duration"/>
<xs:attribute name="minExclusive" type="xs:duration"/>
<xs:attribute name="maxExclusive" type="xs:duration"/>
<xs:attributeGroup ref="MaskAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="anyURI_Stype">
<xs:complexContent>
<xs:extension base="BaseType">
<xs:attribute name="val" type="xs:anyURI"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="base64Binary_Stype">
<xs:complexContent>
<xs:extension base="BaseType">
<xs:attribute form="unqualified" name="mimeType" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>TBD: Must be a valid MIME type</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="length" type="xs:long"/>
<xs:attribute name="val" type="xs:base64Binary"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="boolean_Stype">
<xs:complexContent>
<xs:extension base="BaseType">
<xs:attribute name="val" type="xs:boolean"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="byte_Stype">
<xs:complexContent>
<xs:extension base="BaseType">
<xs:attribute name="val" type="xs:byte"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="date_Stype">
<xs:complexContent>
<xs:extension base="BaseType">
<xs:attribute name="val" type="xs:date"/>
<xs:attributeGroup ref="QuantAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="dateTime_Stype">
<xs:complexContent>
<xs:extension base="BaseType">
<xs:attribute name="val" type="xs:dateTime"/>
<xs:attributeGroup ref="QuantAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="dateTimeStamp_Stype">
<xs:complexContent>
<xs:extension base="BaseType">
<xs:attribute name="val" type="xs:dateTime"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="dayTimeDuration_Stype">
<xs:complexContent>
<xs:extension base="BaseType">
<xs:attribute name="val" type="xs:duration"/>
<xs:attributeGroup ref="QuantAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="decimal_Stype">
<xs:complexContent>
<xs:extension base="BaseType">
<xs:attribute name="val" type="xs:decimal"/>
<xs:attributeGroup ref="QuantAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="double_Stype">
<xs:complexContent>
<xs:extension base="BaseType">
<xs:attribute name="val" type="xs:double"/>
<xs:attributeGroup ref="MaskAttributes"/>
<xs:attributeGroup ref="QuantAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="duration_Stype">
<xs:complexContent>
<xs:extension base="BaseType">
<xs:attribute name="val" type="xs:duration"/>
<xs:attributeGroup ref="QuantAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="float_Stype">
<xs:complexContent>
<xs:extension base="BaseType">
<xs:attribute name="val" type="xs:float"/>
<xs:attributeGroup ref="QuantAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="gDay_Stype">
<xs:complexContent>
<xs:extension base="BaseType">
<xs:attribute name="val" type="xs:gDay"/>
<xs:attributeGroup ref="QuantAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="gMonth_Stype">
<xs:complexContent>
<xs:extension base="BaseType">
<xs:attribute name="val" type="xs:gMonth"/>
<xs:attributeGroup ref="QuantAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="gMonthDay_Stype">
<xs:complexContent>
<xs:extension base="BaseType">
<xs:attribute name="val" type="xs:gMonthDay"/>
<xs:attributeGroup ref="QuantAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="gYear_Stype">
<xs:complexContent>
<xs:extension base="BaseType">
<xs:attribute name="val" type="xs:gYear"/>
<xs:attributeGroup ref="QuantAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="gYearMonth_Stype">
<xs:complexContent>
<xs:extension base="BaseType">
<xs:attribute name="val" type="xs:gYearMonth"/>
<xs:attributeGroup ref="QuantAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="hexBinary_Stype">
<xs:complexContent>
<xs:extension base="BaseType">
<xs:attribute form="unqualified" name="mimeType" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>TBD: Must be a valid MIME type - needs
enumeration</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="length" type="xs:long"/>
<xs:attribute name="val" type="xs:hexBinary"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="HTML_Stype">
<xs:complexContent>
<xs:extension base="BaseType">
<xs:sequence>
<xs:any maxOccurs="unbounded" minOccurs="0" namespace="##other"
processContents="strict"/>
</xs:sequence>
<xs:anyAttribute namespace="##other" processContents="strict">
<xs:annotation>
<xs:documentation>Developer must supply a namespace and a Schema to validate
the html . Cannot reuse any SDC attributes.</xs:documentation>
</xs:annotation>
</xs:anyAttribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="int_Stype">
<xs:complexContent>
<xs:extension base="BaseType">
<xs:attribute name="val" type="xs:int"/>
<xs:attributeGroup ref="QuantAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="integer_Stype">
<xs:complexContent>
<xs:extension base="BaseType">
<xs:attribute name="val" type="xs:integer"/>
<xs:attributeGroup ref="QuantAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="long_Stype">
<xs:complexContent>
<xs:extension base="BaseType">
<xs:attribute name="val" type="xs:long"/>
<xs:attributeGroup ref="QuantAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="negativeInteger_Stype">
<xs:complexContent>
<xs:extension base="BaseType">
<xs:attribute name="val" type="xs:negativeInteger"/>
<xs:attributeGroup ref="QuantAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="nonNegativeInteger_Stype">
<xs:complexContent>
<xs:extension base="BaseType">
<xs:attribute name="val" type="xs:nonNegativeInteger"/>
<xs:attributeGroup ref="QuantAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="nonPositiveInteger_Stype">
<xs:complexContent>
<xs:extension base="BaseType">
<xs:attribute name="val" type="xs:nonPositiveInteger"/>
<xs:attributeGroup ref="QuantAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="positiveInteger_Stype">
<xs:complexContent>
<xs:extension base="BaseType">
<xs:attribute name="val" type="xs:positiveInteger"/>
<xs:attributeGroup ref="QuantAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="short_Stype">
<xs:complexContent>
<xs:extension base="BaseType">
<xs:attribute name="val" type="xs:short"/>
<xs:attributeGroup ref="QuantAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="string_Stype">
<xs:complexContent>
<xs:extension base="BaseType">
<xs:attribute name="val" type="xs:string"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="time_Stype">
<xs:complexContent>
<xs:extension base="BaseType">
<xs:attribute name="val" type="xs:time"/>
<xs:attributeGroup ref="QuantAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="unsignedByte_Stype">
<xs:complexContent>
<xs:extension base="BaseType">
<xs:attribute name="val" type="xs:unsignedByte"/>
<xs:attributeGroup ref="QuantAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="unsignedInt_Stype">
<xs:complexContent>
<xs:extension base="BaseType">
<xs:attribute name="val" type="xs:unsignedInt"/>
<xs:attributeGroup ref="QuantAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="unsignedLong_Stype">
<xs:complexContent>
<xs:extension base="BaseType">
<xs:attribute name="val" type="xs:unsignedLong"/>
<xs:attributeGroup ref="QuantAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="unsignedShort_Stype">
<xs:complexContent>
<xs:extension base="BaseType">
<xs:attribute name="val" type="xs:unsignedShort"/>
<xs:attributeGroup ref="QuantAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="XML_Stype">
<xs:complexContent>
<xs:extension base="BaseType">
<xs:sequence>
<xs:any maxOccurs="unbounded" minOccurs="0" namespace="##other"
processContents="strict"/>
</xs:sequence>
<xs:attribute name="schema" type="xs:string"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="yearMonthDuration_Stype">
<xs:complexContent>
<xs:extension base="BaseType">
<xs:attribute name="val" type="xs:duration"/>
<xs:attributeGroup ref="QuantAttributes"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!--
<xs:complexType name="DataTypes_DEType">
<xs:annotation>
<xs:documentation>SDC datatypes for Data Entry (DE), based mostly on W3C specifications. Uses baseAttributes and Extension capability to enhance the list of Data Types. Includes additonal metadata to specify data input restrictions for data entry forms, and to aid in validation of IHE RFD SubmitForm responses in XML instance documents.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="ExtensionBaseType">
<xs:choice>
<xs:element name="anyType" nillable="true" type="anyType_DEtype"> </xs:element>
<xs:element name="anyURI" nillable="true" type="anyURI_DEtype"> </xs:element>
<xs:element name="base64Binary" nillable="true" type="base64Binary_DEtype">
<xs:annotation>
<xs:documentation>**SDC may need a valid list of MIME types.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="boolean" nillable="true" type="boolean_DEtype"> </xs:element>
<xs:element name="duration" nillable="true" type="duration_DEtype">
<xs:annotation>
<xs:documentation source="http://www.w3schools.com/schema/schema_dtypes_date.asp">Duration Data Type
The duration data type is used to specify a time interval.
The time interval is specified in the following form
"PnYnMnDTnHnMnS" where:
P indicates the period (required)
nY indicates the number of years nM indicates the number of months
nD indicates the number of days T indicates the start of a time section
(required if you are going to specify hours, minutes, or seconds)
nH indicates the number of hours nM indicates the number of minutes
nS indicates the number of seconds
An element in your document might look like this: P5Y
The example above indicates a period of five years.
Or it might look like this: P5Y2M10D.
The example above indicates a period of five years, two months, and 10 days.
Or it might look like this: P5Y2M10DT15H.
The example above indicates a period of five years, two months, 10 days, and 15 hours.
Or it might look like this: PT15H.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="int" nillable="true" type="int_DEtype"> </xs:element>
<xs:element name="integer" nillable="true" type="integer_DEtype"> </xs:element>
<xs:element name="byte" nillable="true" type="byte_DEtype"> </xs:element>
<xs:element name="date" nillable="true" type="date_DEtype">
<xs:annotation>
<xs:documentation>**Does SDC need a list of valid patterns for all date/time types? </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="dateTimeStamp" nillable="true" type="dateTimeStamp_DEtype"> </xs:element>
<xs:element name="decimal" nillable="true" type="decimal_DEtype"> </xs:element>
<xs:element name="dateTime" nillable="true" type="dateTimeStamp_DEtype">
<xs:annotation>
<xs:documentation source="http://www.w3schools.com/schema/schema_dtypes_date.asp">DateTime Data Type
The dateTime data type is used to specify a date
and a time. The dateTime is specified in the following form
"YYYY-MM-DDThh:mm:ss" where:
YYYY indicates the year
MM indicates the month
DD indicates the day
T indicates the start of the required time section
hh indicates the hour
mm indicates the minute
ss indicates the second
Time Zones
To specify a time zone, you can either enter a time in UTC time by adding a "Z" behind the time -
like this: 09:30:10Z
or you can specify an offset from the UTC time by adding a positive or negative time behind the
time - like this: 09:30:10-06:00 or 09:30:10+06:00.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="double" nillable="true" type="double_DEtype"/>
<xs:element name="float" nillable="true" type="float_DEtype"/>
<xs:element name="gDay" nillable="true" type="gDay_DEtype"/>
<xs:element name="gMonth" nillable="true" type="gMonth_DEtype"/>
<xs:element name="gMonthDay" nillable="true" type="gMonthDay_DEtype"/>
<xs:element name="gYear" nillable="true" type="gYear_DEtype"/>
<xs:element name="gYearMonth" nillable="true" type="gMonth_DEtype"/>
<xs:element name="hexBinary" nillable="true" type="hexBinary_DEtype"/>
<xs:element name="HTML" nillable="true" type="HTML_DEtype"> </xs:element>
<xs:element name="long" nillable="true" type="long_DEtype"> </xs:element>
<xs:element name="negativeInteger" nillable="true" type="negativeInteger_DEtype"/>
<xs:element name="nonNegativeInteger" nillable="true" type="nonNegativeInteger_DEtype"/>
<xs:element name="nonPositiveInteger" nillable="true" type="nonPositiveInteger_DEtype"/>
<xs:element name="positiveInteger" nillable="true" type="positiveInteger_DEtype"/>
<xs:element name="short" nillable="true" type="short_DEtype"/>
<xs:element name="string" nillable="true" type="string_DEtype"/>
<xs:element name="time" nillable="true" type="time_DEtype">
<xs:annotation>
<xs:documentation>**possibly "HH:MM:SS:ms am/pm 12/24"</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="unsignedByte" nillable="true" type="unsignedByte_DEtype"/>
<xs:element name="unsignedInt" nillable="true" type="unsignedInt_DEtype"/>
<xs:element name="unsignedLong" nillable="true" type="unsignedLong_DEtype"/>
<xs:element name="unsignedShort" nillable="true" type="unsignedShort_DEtype"/>
<xs:element name="XML" nillable="true" type="XML_DEtype"/>
<xs:element name="yearMonthDuration" nillable="true" type="yearMonthDuration_DEtype"> </xs:element>
</xs:choice>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="DataTypes_SType">
<xs:annotation>
<xs:documentation>SDC datatypes in Simple (S) format, based mostly on W3C specifications.
Uses baseAttributes and Extension capability to enhance the list of Data Types.
**CHECK for ERRORS and completeness**</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="ExtensionBaseType">
<xs:choice>
<xs:element name="anyType" nillable="true" type="anyType_DEtype"> </xs:element>
<xs:element name="anyURI" nillable="true" type="anyURI_Stype"> </xs:element>
<xs:element name="base64Binary" nillable="true" type="base64Binary_Stype">
<xs:annotation>
<xs:documentation>**SDC may need a valid list of MIME types.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="boolean" nillable="true" type="boolean_Stype"/>
<xs:element name="duration" nillable="true" type="duration_Stype">
<xs:annotation>
<xs:documentation source="http://www.w3schools.com/schema/schema_dtypes_date.asp">Duration Data Type The duration data type is used to specify a time
interval. The time interval is specified in the following form:
"PnYnMnDTnHnMnS" where:
P indicates the period (required)
nY indicates the number of years nM indicates the number of months
nD indicates the number of days T indicates the start of a time section
(required if you are going to specify hours, minutes, or seconds)
nH indicates the number of hours nM indicates the number of minutes
nS indicates the number of seconds
An element in your document might look like this: P5Y
The example above indicates a period of five years.
Or it might look like this: P5Y2M10D.
The example above indicates a period of five years, two months, and 10 days.
Or it might look like this: P5Y2M10DT15H.
The example above indicates a period of five years, two months, 10 days, and 15 hours.
Or it might look like this: PT15H.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="int" nillable="true" type="int_Stype"> </xs:element>
<xs:element name="integer" nillable="true" type="integer_Stype"> </xs:element>
<xs:element name="byte" nillable="true" type="byte_Stype"> </xs:element>
<xs:element name="date" nillable="true" type="date_Stype">
<xs:annotation>
<xs:documentation>**Does SDC need a list of valid patterns for all date/time types? </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="dateTimeStamp" nillable="true" type="dateTimeStamp_Stype">
<xs:annotation>
<xs:documentation> </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="decimal" nillable="true" type="decimal_Stype">
<xs:annotation>
<xs:documentation/>
</xs:annotation>
</xs:element>
<xs:element name="dateTime" nillable="true" type="dateTimeStamp_Stype">
<xs:annotation>
<xs:documentation source="http://www.w3schools.com/schema/schema_dtypes_date.asp">DateTime Data Type The dateTime data type is used to specify a date
and a time.
The dateTime is specified in the following form
"YYYY-MM-DDThh:mm:ss" where:
YYYY indicates the year
MM indicates the month
DD indicates the day
T indicates the start of the required time section
hh indicates the hour mm indicates the minute
ss indicates the second
Time Zones To specify a time zone, you can either enter a time
in UTC time by adding a "Z" behind the time -
like this: 09:30:10Z
or you can specify an offset from the UTC time
by adding a positive or negative time behind the
time - like this: 09:30:10-06:00 or 09:30:10+06:00.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="double" nillable="true" type="double_Stype"/>
<xs:element name="float" nillable="true" type="float_Stype"/>
<xs:element name="gDay" nillable="true" type="gDay_Stype"/>
<xs:element name="gMonth" nillable="true" type="gMonth_Stype"/>
<xs:element name="gMonthDay" nillable="true" type="gMonthDay_Stype"/>
<xs:element name="gYear" nillable="true" type="gYear_Stype"/>
<xs:element name="gYearMonth" nillable="true" type="gMonth_Stype"/>
<xs:element name="hexBinary" nillable="true" type="hexBinary_Stype">
<xs:annotation>
<xs:documentation>**Does SDC need list of valid MIME types?</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="HTML" nillable="true" type="HTML_Stype"/>
<xs:element name="long" nillable="true" type="long_Stype"/>
<xs:element name="negativeInteger" nillable="true" type="negativeInteger_Stype"/>
<xs:element name="nonNegativeInteger" nillable="true" type="nonNegativeInteger_Stype"/>
<xs:element name="nonPositiveInteger" nillable="true" type="nonPositiveInteger_Stype"/>
<xs:element name="positiveInteger" nillable="true" type="positiveInteger_Stype"/>
<xs:element name="short" nillable="true" type="short_Stype"/>
<xs:element name="string" nillable="true" type="string_Stype"/>
<xs:element name="time" nillable="true" type="time_Stype">
<xs:annotation>
<xs:documentation>**possibly "HH:MM:SS:ms am/pm 12/24"</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="unsignedByte" nillable="true" type="unsignedByte_Stype"/>
<xs:element name="unsignedInt" nillable="true" type="unsignedInt_Stype"/>
<xs:element name="unsignedLong" nillable="true" type="unsignedLong_Stype"/>