-
Notifications
You must be signed in to change notification settings - Fork 0
/
original.sch
6365 lines (6364 loc) · 955 KB
/
original.sch
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" standalone="yes"?>
<!--
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL LANTANA CONSULTING GROUP LLC, OR ANY OF THEIR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Schematron generated from Trifolia on 7/3/2019
-->
<sch:schema xmlns:voc="http://www.lantanagroup.com/voc" xmlns:svs="urn:ihe:iti:svs:2008" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:sdtc="urn:hl7-org:sdtc" xmlns="urn:hl7-org:v3" xmlns:cda="urn:hl7-org:v3" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:ns prefix="voc" uri="http://www.lantanagroup.com/voc" />
<sch:ns prefix="svs" uri="urn:ihe:iti:svs:2008" />
<sch:ns prefix="xsi" uri="http://www.w3.org/2001/XMLSchema-instance" />
<sch:ns prefix="sdtc" uri="urn:hl7-org:sdtc" />
<sch:ns prefix="cda" uri="urn:hl7-org:v3" />
<sch:phase id="errors">
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.15.3.1-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.15.3.1-CLOSEDTEMPLATE" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.15.3.8-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.5.1-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.5.2-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.24-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.31-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.32-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.2.8-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.37-errors" />
<sch:active pattern="p-urn-oid-1.3.6.1.4.1.19376.1.5.3.1.3.18-errors" />
<sch:active pattern="p-urn-oid-1.3.6.1.4.1.19376.1.5.3.1.1.13.2.1-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.2.12-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.2.13-errors" />
<sch:active pattern="p-urn-oid-1.3.6.1.4.1.19376.1.5.3.1.3.4-errors" />
<sch:active pattern="p-urn-oid-1.3.6.1.4.1.19376.1.5.3.1.3.5-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.21.2.1-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.21.2.2-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.2.16-errors" />
<sch:active pattern="p-urn-oid-1.3.6.1.4.1.19376.1.5.3.1.3.26-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.2.5-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.7.12-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.7.14-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.7.13-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.2.27-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.18.2.12-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.18.2.9-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.2.31-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.2.35-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.2.39-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.2.40-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.6.1.1-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.6.2.6-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.6.1.2-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.47-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.1.19-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.53-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.6.2.3-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.6.2.4-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.6.2.5-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.63-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.6.2.8-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.6.2.9-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.6.2.10-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.6.2.11-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.6.2.12-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.6.2.13-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.6.2.14-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.5.1.1-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.64-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.2.41-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.2.42-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.5.4-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.72-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.69-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.77-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.86-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.109-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.111-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.127-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.128-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.16-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.1-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.1.1-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.10-2014-06-09-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.123-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.113-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.2.61-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.2.60-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.9-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.12-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.14-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.13-2014-06-09-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.124-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.133-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.134-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.50-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.23-2014-06-09-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.121-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.36-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.38-2014-06-09-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.2.57-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.24.3.90-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.7-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.25-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.7-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.7.1-2014-06-09-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.138-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.130-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.135-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.39-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.40-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.41-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.44-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.43-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.42-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.5-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.6.2.1-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.14-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.67-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.66-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.19-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-1.3.6.1.4.1.19376.1.5.3.1.3.1-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.29-2014-06-09-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.141-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.140-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.78-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.27-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.8-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.17-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.23-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.18-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.9-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.6.2.2-2014-06-09-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.143-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.85-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.30-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-1.3.6.1.4.1.19376.1.5.3.1.3.33-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.70-2014-06-09-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.144-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.20-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.45-2014-06-09-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.110-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.119-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.122-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.118-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.73-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.68-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.54-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.25-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.115-2014-06-09-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.129-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.120-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.33-2014-06-09-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.2.64-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.5.3-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.26-2014-06-09-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.26-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.43-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.52-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.75-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.2-2015-08-01-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.147-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.147-CLOSEDTEMPLATE" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.74-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.56-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.2-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.2.1-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.24-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.48-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.46-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.4-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.76-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.61-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.38-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.11-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.11.1-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.132-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.58-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.3-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.1-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.3.1-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.44-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.108-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.1.1-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.1.15-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.37-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.1.4-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.1.2-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.60-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.79-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.33-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.1.8-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.80-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.45-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.1.3-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.20-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.34-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.4-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.4.1-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.1.13-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.136-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.1.14-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.1.9-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.1.6-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.28-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.5-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.3-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.5.1-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.65-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.34-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.51-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.36-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.146-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.114-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.2.10-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.18-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.131-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.21.2.3-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.1.7-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.17-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.21-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.21.1-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.1.5-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.1.10-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.15-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.30-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.6-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.6.1-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.29.1-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.49-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.22-2015-08-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.22.1-2015-08-01-errors" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.145-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.35-2016-03-01-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.6-2019-06-20-errors" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.28-2019-06-20-errors" />
</sch:phase>
<sch:phase id="warnings">
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.15.3.1-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.15.3.8-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.5.1-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.5.2-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.24-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.31-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.32-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.2.8-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.37-warnings" />
<sch:active pattern="p-urn-oid-1.3.6.1.4.1.19376.1.5.3.1.3.18-warnings" />
<sch:active pattern="p-urn-oid-1.3.6.1.4.1.19376.1.5.3.1.1.13.2.1-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.2.12-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.2.13-warnings" />
<sch:active pattern="p-urn-oid-1.3.6.1.4.1.19376.1.5.3.1.3.4-warnings" />
<sch:active pattern="p-urn-oid-1.3.6.1.4.1.19376.1.5.3.1.3.5-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.21.2.1-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.21.2.2-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.2.16-warnings" />
<sch:active pattern="p-urn-oid-1.3.6.1.4.1.19376.1.5.3.1.3.26-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.2.5-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.7.12-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.7.14-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.7.13-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.2.27-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.18.2.12-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.18.2.9-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.2.31-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.2.35-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.2.39-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.2.40-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.6.1.1-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.6.2.6-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.6.1.2-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.47-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.1.19-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.53-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.6.2.3-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.6.2.4-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.6.2.5-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.63-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.6.2.8-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.6.2.9-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.6.2.10-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.6.2.11-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.6.2.12-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.6.2.13-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.6.2.14-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.5.1.1-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.64-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.2.41-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.2.42-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.5.4-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.72-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.69-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.77-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.86-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.109-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.111-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.127-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.128-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.16-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.1-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.1.1-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.10-2014-06-09-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.123-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.113-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.2.61-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.2.60-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.9-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.12-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.14-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.13-2014-06-09-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.124-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.133-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.134-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.50-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.23-2014-06-09-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.121-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.36-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.38-2014-06-09-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.2.57-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.24.3.90-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.7-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.25-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.7-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.7.1-2014-06-09-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.138-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.130-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.135-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.39-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.40-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.41-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.44-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.43-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.42-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.5-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.6.2.1-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.14-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.67-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.66-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.19-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-1.3.6.1.4.1.19376.1.5.3.1.3.1-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.29-2014-06-09-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.141-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.140-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.78-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.27-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.8-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.17-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.23-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.18-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.9-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.6.2.2-2014-06-09-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.143-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.85-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.30-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-1.3.6.1.4.1.19376.1.5.3.1.3.33-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.70-2014-06-09-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.144-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.20-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.45-2014-06-09-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.110-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.119-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.122-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.118-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.73-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.68-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.54-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.25-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.115-2014-06-09-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.129-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.120-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.33-2014-06-09-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.2.64-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.5.3-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.26-2014-06-09-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.26-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.43-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.52-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.75-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.2-2015-08-01-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.147-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.74-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.56-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.2-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.2.1-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.24-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.48-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.46-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.4-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.76-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.61-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.38-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.11-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.11.1-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.132-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.58-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.3-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.1-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.3.1-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.44-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.108-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.1.1-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.1.15-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.37-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.1.4-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.1.2-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.60-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.79-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.33-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.1.8-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.80-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.45-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.1.3-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.20-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.34-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.4-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.4.1-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.1.13-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.136-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.1.14-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.1.9-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.1.6-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.28-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.5-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.3-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.5.1-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.65-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.34-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.51-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.36-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.146-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.114-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.2.10-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.18-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.131-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.21.2.3-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.1.7-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.17-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.21-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.21.1-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.1.5-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.1.10-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.15-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.30-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.6-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.6.1-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.29.1-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.49-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.22-2015-08-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.2.22.1-2015-08-01-warnings" />
<sch:active pattern="p-urn-oid-2.16.840.1.113883.10.20.22.4.145-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.35-2016-03-01-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.6-2019-06-20-warnings" />
<sch:active pattern="p-urn-hl7ii-2.16.840.1.113883.10.20.22.4.28-2019-06-20-warnings" />
</sch:phase>
<sch:pattern id="p-urn-oid-2.16.840.1.113883.10.20.15.3.1-errors">
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.15.3.1-errors-abstract" abstract="true">
<sch:assert id="a-81-444" test="@classCode='OBS'">SHALL contain exactly one [1..1] @classCode="OBS" Observation (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:81-444).</sch:assert>
<sch:assert id="a-81-445" test="@moodCode='EVN'">SHALL contain exactly one [1..1] @moodCode="EVN" Event (CodeSystem: HL7ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:81-445).</sch:assert>
<sch:assert id="a-81-448" test="count(cda:statusCode)=1">SHALL contain exactly one [1..1] statusCode (CONF:81-448).</sch:assert>
<sch:assert id="a-81-450" test="count(cda:value[@xsi:type='TS'])=1">SHALL contain exactly one [1..1] value with @xsi:type="TS" (CONF:81-450).</sch:assert>
<sch:assert id="a-81-19096" test="cda:statusCode[@code='completed']">This statusCode SHALL contain exactly one [1..1] @code="completed" Completed (CodeSystem: HL7ActStatus urn:oid:2.16.840.1.113883.5.14 STATIC) (CONF:81-19096).</sch:assert>
<sch:assert id="a-81-19139" test="count(cda:code)=1">SHALL contain exactly one [1..1] code (CONF:81-19139).</sch:assert>
<sch:assert id="a-81-19140" test="cda:code[@code='11778-8']">This code SHALL contain exactly one [1..1] @code="11778-8" Estimated date of delivery (CONF:81-19140).</sch:assert>
<sch:assert id="a-81-26503" test="cda:code[@codeSystem='2.16.840.1.113883.6.1']">This code SHALL contain exactly one [1..1] @codeSystem="2.16.840.1.113883.6.1" (CodeSystem: LOINC urn:oid:2.16.840.1.113883.6.1) (CONF:81-26503).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.15.3.1-errors" context="cda:observation[cda:templateId[@root='2.16.840.1.113883.10.20.15.3.1']]">
<sch:extends rule="r-urn-oid-2.16.840.1.113883.10.20.15.3.1-errors-abstract" />
<sch:assert id="a-81-16762" test="count(cda:templateId[@root='2.16.840.1.113883.10.20.15.3.1'])=1">SHALL contain exactly one [1..1] templateId (CONF:81-16762) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.15.3.1" (CONF:81-16763).</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-2.16.840.1.113883.10.20.15.3.1-CLOSEDTEMPLATE">
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.15.3.1-errors-CL-abstract" abstract="true">
<sch:assert id="a-81-180-CL" test="count(.//cda:templateId[@root != '2.16.840.1.113883.10.20.15.3.1'])=0">'urn:oid:2.16.840.1.113883.10.20.15.3.1' is a closed template, only defined templates are allowed.</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.15.3.1-errors-CL" context="cda:observation[cda:templateId[@root='2.16.840.1.113883.10.20.15.3.1']]">
<sch:extends rule="r-urn-oid-2.16.840.1.113883.10.20.15.3.1-errors-CL-abstract" />
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-2.16.840.1.113883.10.20.15.3.8-errors">
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.15.3.8-errors-abstract" abstract="true">
<sch:assert id="a-81-451" test="@classCode='OBS'">SHALL contain exactly one [1..1] @classCode="OBS" Observation (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:81-451).</sch:assert>
<sch:assert id="a-81-452" test="@moodCode='EVN'">SHALL contain exactly one [1..1] @moodCode="EVN" Event (CodeSystem: HL7ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:81-452).</sch:assert>
<sch:assert id="a-81-455" test="count(cda:statusCode)=1">SHALL contain exactly one [1..1] statusCode (CONF:81-455).</sch:assert>
<sch:assert id="a-81-457" test="count(cda:value[@xsi:type='CD'])=1">SHALL contain exactly one [1..1] value with @xsi:type="CD", where the code SHALL be selected from ValueSet Extended Pregnancy Status urn:oid:2.16.840.1.113762.1.4.1099.24 DYNAMIC (CONF:81-457).</sch:assert>
<sch:assert id="a-81-19110" test="cda:statusCode[@code='completed']">This statusCode SHALL contain exactly one [1..1] @code="completed" Completed (CodeSystem: HL7ActStatus urn:oid:2.16.840.1.113883.5.14 STATIC) (CONF:81-19110).</sch:assert>
<sch:assert id="a-81-19153" test="count(cda:code)=1">SHALL contain exactly one [1..1] code (CONF:81-19153).</sch:assert>
<sch:assert id="a-81-19154" test="cda:code[@code='ASSERTION']">This code SHALL contain exactly one [1..1] @code="ASSERTION" Assertion (CONF:81-19154).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.15.3.8-errors" context="cda:observation[cda:templateId[@root='2.16.840.1.113883.10.20.15.3.8']]">
<sch:extends rule="r-urn-oid-2.16.840.1.113883.10.20.15.3.8-errors-abstract" />
<sch:assert id="a-81-16768" test="count(cda:templateId[@root='2.16.840.1.113883.10.20.15.3.8'])=1">SHALL contain exactly one [1..1] templateId (CONF:81-16768) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.15.3.8" (CONF:81-16868).</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-2.16.840.1.113883.10.20.22.5.1-errors">
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.22.5.1-errors-abstract" abstract="true">
<sch:assert id="a-81-7157" test="count(cda:given) > 0">SHALL contain at least one [1..*] given (CONF:81-7157).</sch:assert>
<sch:assert id="a-81-7159" test="count(cda:family)=1">SHALL contain exactly one [1..1] family (CONF:81-7159).</sch:assert>
<sch:assert id="a-81-7278-c" test="not(tested)">**SHALL NOT** have mixed content except for white space (CONF:81-7278).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.22.5.1-errors" context="cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.22.1.14']]/cda:participant/cda:associatedEntity/cda:associatedPerson/cda:name | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.22.1.14' and @extension='2015-08-01']]/cda:participant/cda:associatedEntity/cda:associatedPerson/cda:name | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.22.1.1' and @extension='2015-08-01']]/cda:recordTarget/cda:patientRole/cda:patient/cda:name | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.22.1.1' and @extension='2015-11-02']]/cda:recordTarget/cda:patientRole/cda:patient/cda:name | cda:author[cda:templateId[@root='2.16.840.1.113883.10.20.37.4.2' and @extension='2017-08-01']]/cda:assignedAuthor/cda:assignedPerson/cda:name">
<sch:extends rule="r-urn-oid-2.16.840.1.113883.10.20.22.5.1-errors-abstract" />
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-2.16.840.1.113883.10.20.22.5.2-errors">
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.22.5.2-errors-abstract" abstract="true">
<sch:assert id="a-81-7291-c" test="count(cda:streetAddressLine) >= 1 and count(cda:streetAddressLine) <= 4">SHALL contain at least one and not more than 4 streetAddressLine (CONF:81-7291).</sch:assert>
<sch:assert id="a-81-7292" test="count(cda:city)=1">SHALL contain exactly one [1..1] city (CONF:81-7292).</sch:assert>
<sch:assert id="a-81-7296-c" test="not(tested)">**SHALL NOT** have mixed content except for white space (CONF:81-7296).</sch:assert>
<sch:assert id="a-81-10024-c" test="(cda:country='US' and cda:state) or (cda:country!='US') or (not(cda:country) and cda:state) ">If the country is US, the state element is required but SHOULD have @nullFlavor if the state is unknown. If country is not specified, it's assumed to be US. If country is something other than US, the state MAY be present but MAY be bound to different vocabularies (CONF:81-10024).</sch:assert>
<sch:assert id="a-81-10025-c" test="(cda:country='US' and cda:postalCode) or (cda:country!='US') or (not(cda:country) and cda:postalCode)">If the country is US, the postalCode element is required but SHOULD have @nullFlavor if the postalCode is unknown. If country is not specified, it's assumed to be US. If country is something other than US, the postalCode MAY be present but MAY be bound to different vocabularies (CONF:81-10025).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.22.5.2-errors" context="cda:observation[cda:templateId[@root='2.16.840.1.113883.10.20.22.4.48' and @extension='2014-06-09']]/cda:participant/cda:participantRole/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.22.1.1' and @extension='2014-06-09']]/cda:recordTarget/cda:patientRole/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.22.1.1' and @extension='2014-06-09']]/cda:recordTarget/cda:patientRole/cda:patient/cda:guardian/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.22.1.1' and @extension='2014-06-09']]/cda:recordTarget/cda:patientRole/cda:providerOrganization/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.22.1.1' and @extension='2014-06-09']]/cda:author/cda:assignedAuthor/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.22.1.1' and @extension='2014-06-09']]/cda:dataEnterer/cda:assignedEntity/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.22.1.1' and @extension='2014-06-09']]/cda:informant/cda:assignedEntity/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.22.1.1' and @extension='2014-06-09']]/cda:custodian/cda:assignedCustodian/cda:representedCustodianOrganization/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.22.1.1' and @extension='2014-06-09']]/cda:legalAuthenticator/cda:assignedEntity/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.22.1.1' and @extension='2014-06-09']]/cda:authenticator/cda:assignedEntity/cda:addr | cda:supply[cda:templateId[@root='2.16.840.1.113883.10.20.22.4.18' and @extension='2014-06-09']]/cda:performer/cda:assignedEntity/cda:addr | cda:act[cda:templateId[@root='2.16.840.1.113883.10.20.22.4.61' and @extension='2014-06-09']]/cda:performer/cda:assignedEntity/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.13.1' and @extension='2014-08-08']]/cda:custodian/cda:assignedCustodian/cda:representedCustodianOrganization/cda:addr | cda:ClinicalDocument[cda:templateId[@root='1.2.3.4']]/cda:recordTarget/cda:patientRole/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.13.1' and @extension='2014-08-08']]/cda:author/cda:assignedAuthor/cda:addr | cda:participant[cda:templateId[@root='2.16.840.1.113883.10.14.34' and @extension='2014-27-10']]/cda:associatedEntity/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.13.1' and @extension='2014-08-08']]/cda:componentOf/cda:encompassingEncounter/cda:location/cda:healthCareFacility/cda:serviceProviderOrganization/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.13.1' and @extension='2014-08-08']]/cda:documentationOf/cda:serviceEvent/cda:performer/cda:assignedEntity/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.13.1' and @extension='2014-08-08']]/cda:componentOf/cda:encompassingEncounter/cda:encounterParticipant/cda:assignedEntity/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.13.1' and @extension='2014-08-08']]/cda:componentOf/cda:encompassingEncounter/cda:encounterParticipant/cda:assignedEntity/cda:representedOrganization/cda:addr | cda:procedure[cda:templateId[@root='2.16.840.1.113883.10.13.15' and @extension='2014-08-08']]/cda:performer/cda:assignedEntity/cda:addr | cda:encounter[cda:templateId[@root='2.16.840.1.113883.10.13.20' and @extension='2014-08-08']]/cda:performer/cda:assignedEntity/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.13.1' and @extension='2015-01-29']]/cda:componentOf/cda:encompassingEncounter/cda:encounterParticipant/cda:assignedEntity/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.13.1' and @extension='2015-01-29']]/cda:componentOf/cda:encompassingEncounter/cda:encounterParticipant/cda:assignedEntity/cda:representedOrganization/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.13.1' and @extension='2015-01-29']]/cda:componentOf/cda:encompassingEncounter/cda:location/cda:healthCareFacility/cda:serviceProviderOrganization/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.13.1' and @extension='2015-01-29']]/cda:custodian/cda:assignedCustodian/cda:representedCustodianOrganization/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.13.1' and @extension='2015-01-29']]/cda:author/cda:assignedAuthor/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.13.1' and @extension='2015-01-29']]/cda:documentationOf/cda:serviceEvent/cda:performer/cda:assignedEntity/cda:addr | cda:ClinicalDocument[cda:templateId[@root='1.3.6.1.4.1.19376.1.7.3.1.1.19.1.1' and @extension='2014-11-03']]/cda:recordTarget/cda:patientRole/cda:addr | cda:ClinicalDocument[cda:templateId[@root='1.3.6.1.4.1.19376.1.7.3.1.1.19.1.1' and @extension='2014-11-03']]/cda:recordTarget/cda:patientRole/cda:patient/cda:guardian/cda:addr | cda:ClinicalDocument[cda:templateId[@root='1.3.6.1.4.1.19376.1.7.3.1.1.19.1.1' and @extension='2014-11-03']]/cda:recordTarget/cda:patientRole/cda:providerOrganization/cda:addr | cda:ClinicalDocument[cda:templateId[@root='1.3.6.1.4.1.19376.1.7.3.1.1.19.1.1' and @extension='2014-11-03']]/cda:author/cda:assignedAuthor/cda:addr | cda:ClinicalDocument[cda:templateId[@root='1.3.6.1.4.1.19376.1.7.3.1.1.19.1.1' and @extension='2014-11-03']]/cda:dataEnterer/cda:assignedEntity/cda:addr | cda:ClinicalDocument[cda:templateId[@root='1.3.6.1.4.1.19376.1.7.3.1.1.19.1.1' and @extension='2014-11-03']]/cda:informant/cda:assignedEntity/cda:addr | cda:ClinicalDocument[cda:templateId[@root='1.3.6.1.4.1.19376.1.7.3.1.1.19.1.1' and @extension='2014-11-03']]/cda:custodian/cda:assignedCustodian/cda:representedCustodianOrganization/cda:addr | cda:ClinicalDocument[cda:templateId[@root='1.3.6.1.4.1.19376.1.7.3.1.1.19.1.1' and @extension='2014-11-03']]/cda:legalAuthenticator/cda:assignedEntity/cda:addr | cda:ClinicalDocument[cda:templateId[@root='1.3.6.1.4.1.19376.1.7.3.1.1.19.1.1' and @extension='2014-11-03']]/cda:authenticator/cda:assignedEntity/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.24.1.3' and @extension='2015-07-01']]/cda:recordTarget/cda:patientRole/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.3.5416.1.8981.1.1']]/cda:recordTarget/cda:patientRole/cda:addr | cda:observation[cda:templateId[@root='2.16.840.1.113883.10.20.22.4.48' and @extension='2015-08-01']]/cda:participant/cda:participantRole/cda:addr | cda:act[cda:templateId[@root='2.16.840.1.113883.10.20.22.4.61' and @extension='2015-08-01']]/cda:performer/cda:assignedEntity/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.22.1.1' and @extension='2015-08-01']]/cda:recordTarget/cda:patientRole/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.22.1.1' and @extension='2015-08-01']]/cda:recordTarget/cda:patientRole/cda:patient/cda:guardian/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.22.1.1' and @extension='2015-08-01']]/cda:recordTarget/cda:patientRole/cda:providerOrganization/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.22.1.1' and @extension='2015-08-01']]/cda:author/cda:assignedAuthor/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.22.1.1' and @extension='2015-08-01']]/cda:dataEnterer/cda:assignedEntity/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.22.1.1' and @extension='2015-08-01']]/cda:informant/cda:assignedEntity/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.22.1.1' and @extension='2015-08-01']]/cda:custodian/cda:assignedCustodian/cda:representedCustodianOrganization/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.22.1.1' and @extension='2015-08-01']]/cda:legalAuthenticator/cda:assignedEntity/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.22.1.1' and @extension='2015-08-01']]/cda:authenticator/cda:assignedEntity/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.22.1.1' and @extension='2015-11-02']]/cda:recordTarget/cda:patientRole/cda:patient/cda:guardian/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.22.1.1' and @extension='2015-11-02']]/cda:recordTarget/cda:patientRole/cda:providerOrganization/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.22.1.1' and @extension='2015-11-02']]/cda:recordTarget/cda:patientRole/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.22.1.1' and @extension='2015-11-02']]/cda:author/cda:assignedAuthor/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.22.1.1' and @extension='2015-11-02']]/cda:dataEnterer/cda:assignedEntity/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.22.1.1' and @extension='2015-11-02']]/cda:informant/cda:assignedEntity/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.22.1.1' and @extension='2015-11-02']]/cda:custodian/cda:assignedCustodian/cda:representedCustodianOrganization/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.22.1.1' and @extension='2015-11-02']]/cda:legalAuthenticator/cda:assignedEntity/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.22.1.1' and @extension='2015-11-02']]/cda:authenticator/cda:assignedEntity/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.15.2' and @extension='20160422']]/cda:recordTarget/cda:patientRole/cda:patient/cda:guardian/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.15.2' and @extension='2016-01-22']]/cda:componentOf/cda:encompassingEncounter/cda:responsibleParty/cda:assignedEntity/cda:representedOrganization/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.15.2' and @extension='2016-01-22']]/cda:componentOf/cda:encompassingEncounter/cda:responsibleParty/cda:assignedEntity/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.15.2' and @extension='2016-01-22']]/cda:componentOf/cda:encompassingEncounter/cda:location/cda:healthCareFacility/cda:location/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.15.2' and @extension='2016-01-22']]/cda:componentOf/cda:encompassingEncounter/cda:location/cda:healthCareFacility/cda:serviceProviderOrganization/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.15.2' and @extension='2016-01-22']]/cda:recordTarget/cda:patientRole/cda:patient/cda:guardian/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.15.2' and @extension='2016-02-08']]/cda:componentOf/cda:encompassingEncounter/cda:responsibleParty/cda:assignedEntity/cda:representedOrganization/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.15.2' and @extension='2016-02-08']]/cda:componentOf/cda:encompassingEncounter/cda:responsibleParty/cda:assignedEntity/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.15.2' and @extension='2016-02-08']]/cda:componentOf/cda:encompassingEncounter/cda:location/cda:healthCareFacility/cda:location/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.15.2' and @extension='2016-02-08']]/cda:componentOf/cda:encompassingEncounter/cda:location/cda:healthCareFacility/cda:serviceProviderOrganization/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.15.2' and @extension='2016-02-08']]/cda:recordTarget/cda:patientRole/cda:patient/cda:guardian/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.24.1.3' and @extension='2016-03-01']]/cda:recordTarget/cda:patientRole/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.22.1.9999' and @extension='2016-03-23']]/cda:recordTarget/cda:patientRole/cda:patient/cda:guardian/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.22.1.9999' and @extension='2016-03-23']]/cda:recordTarget/cda:patientRole/cda:providerOrganization/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.22.1.9999' and @extension='2016-03-23']]/cda:recordTarget/cda:patientRole/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.22.1.9999' and @extension='2016-03-23']]/cda:author/cda:assignedAuthor/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.22.1.9999' and @extension='2016-03-23']]/cda:dataEnterer/cda:assignedEntity/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.22.1.9999' and @extension='2016-03-23']]/cda:informant/cda:assignedEntity/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.22.1.9999' and @extension='2016-03-23']]/cda:custodian/cda:assignedCustodian/cda:representedCustodianOrganization/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.22.1.9999' and @extension='2016-03-23']]/cda:legalAuthenticator/cda:assignedEntity/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.22.1.9999' and @extension='2016-03-23']]/cda:authenticator/cda:assignedEntity/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.15.2' and @extension='20160422']]/cda:recordTarget/cda:patientRole/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.15.2' and @extension='20160422']]/cda:componentOf/cda:encompassingEncounter/cda:responsibleParty/cda:assignedEntity/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.15.2' and @extension='20160422']]/cda:componentOf/cda:encompassingEncounter/cda:responsibleParty/cda:assignedEntity/cda:representedOrganization/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.15.2' and @extension='20160422']]/cda:componentOf/cda:encompassingEncounter/cda:location/cda:healthCareFacility/cda:location/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.15.2' and @extension='20160422']]/cda:componentOf/cda:encompassingEncounter/cda:location/cda:healthCareFacility/cda:serviceProviderOrganization/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.15.2' and @extension='2016-12-01']]/cda:componentOf/cda:encompassingEncounter/cda:responsibleParty/cda:assignedEntity/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.15.2' and @extension='2016-12-01']]/cda:componentOf/cda:encompassingEncounter/cda:responsibleParty/cda:assignedEntity/cda:representedOrganization/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.15.2' and @extension='2016-12-01']]/cda:componentOf/cda:encompassingEncounter/cda:location/cda:healthCareFacility/cda:location/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.15.2' and @extension='2016-12-01']]/cda:componentOf/cda:encompassingEncounter/cda:location/cda:healthCareFacility/cda:serviceProviderOrganization/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.15.2' and @extension='2016-12-01']]/cda:recordTarget/cda:patientRole/cda:patient/cda:guardian/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.15.2' and @extension='2016-12-01']]/cda:recordTarget/cda:patientRole/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.15.2.1.2' and @extension='2017-04-01']]/cda:componentOf/cda:encompassingEncounter/cda:responsibleParty/cda:assignedEntity/cda:representedOrganization/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.15.2.1.2' and @extension='2017-04-01']]/cda:componentOf/cda:encompassingEncounter/cda:responsibleParty/cda:assignedEntity/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.15.2.1.2' and @extension='2017-04-01']]/cda:componentOf/cda:encompassingEncounter/cda:location/cda:healthCareFacility/cda:location/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.15.2.1.2' and @extension='2017-04-01']]/cda:componentOf/cda:encompassingEncounter/cda:location/cda:healthCareFacility/cda:serviceProviderOrganization/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.15.2.1.2' and @extension='2017-04-01']]/cda:recordTarget/cda:patientRole/cda:patient/cda:guardian/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.15.2.1.2' and @extension='2017-04-01']]/cda:recordTarget/cda:patientRole/cda:addr | cda:performer[cda:templateId[@root='2.16.840.1.113883.10.20.37.4.1' and @extension='2017-08-01']]/cda:assignedEntity/cda:representedOrganization/cda:addr | cda:author[cda:templateId[@root='2.16.840.1.113883.10.20.37.4.2' and @extension='2017-08-01']]/cda:assignedAuthor/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.24.1.3' and @extension='2017-07-01']]/cda:recordTarget/cda:patientRole/cda:addr | cda:observation[cda:templateId[@root='2.16.840.1.113883.10.20.22.4.48' and @extension='2017-05-01']]/cda:participant/cda:participantRole/cda:addr | cda:ClinicalDocument[cda:templateId[@root='https://mytest.Header123']]/cda:recordTarget/cda:patientRole/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.15.2.1.2' and @extension='2017-04-01']]/cda:informationRecipient/cda:intendedRecipient/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.15.2.1.2' and @extension='2017-04-01']]/cda:informationRecipient/cda:intendedRecipient/cda:receivedOrganization/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.24.1.3' and @extension='2018-02-01']]/cda:recordTarget/cda:patientRole/cda:addr | cda:ClinicalDocument[cda:templateId[@root='https://icHeader.abc-orig']]/cda:recordTarget/cda:patientRole/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.3.5416.1.8981.1.1']]/cda:authenticator/cda:assignedEntity/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.15.2' and @extension='2019-04-01']]/cda:componentOf/cda:encompassingEncounter/cda:responsibleParty/cda:assignedEntity/cda:representedOrganization/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.15.2' and @extension='2019-04-01']]/cda:componentOf/cda:encompassingEncounter/cda:responsibleParty/cda:assignedEntity/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.15.2' and @extension='2019-04-01']]/cda:componentOf/cda:encompassingEncounter/cda:location/cda:healthCareFacility/cda:location/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.15.2' and @extension='2019-04-01']]/cda:componentOf/cda:encompassingEncounter/cda:location/cda:healthCareFacility/cda:serviceProviderOrganization/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.15.2' and @extension='2019-04-01']]/cda:recordTarget/cda:patientRole/cda:patient/cda:guardian/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.15.2' and @extension='2019-04-01']]/cda:recordTarget/cda:patientRole/cda:addr | cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.24.1.3' and @extension='2019-02-01']]/cda:recordTarget/cda:patientRole/cda:addr">
<sch:extends rule="r-urn-oid-2.16.840.1.113883.10.20.22.5.2-errors-abstract" />
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-2.16.840.1.113883.10.20.22.4.24-errors">
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.22.4.24-errors-abstract" abstract="true">
<sch:assert id="a-81-7490" test="@classCode='MANU'">SHALL contain exactly one [1..1] @classCode="MANU" (CodeSystem: HL7RoleClass urn:oid:2.16.840.1.113883.5.110 STATIC) (CONF:81-7490).</sch:assert>
<sch:assert id="a-81-7492" test="count(cda:playingEntity)=1">SHALL contain exactly one [1..1] playingEntity (CONF:81-7492).</sch:assert>
<sch:assert id="a-81-7493" test="cda:playingEntity[count(cda:code)=1]">This playingEntity SHALL contain exactly one [1..1] code (CONF:81-7493).</sch:assert>
<sch:assert id="a-81-19137" test="count(cda:code)=1">SHALL contain exactly one [1..1] code (CONF:81-19137).</sch:assert>
<sch:assert id="a-81-19138" test="cda:code[@code='412307009']">This code SHALL contain exactly one [1..1] @code="412307009" Drug Vehicle (CONF:81-19138).</sch:assert>
<sch:assert id="a-81-26502" test="cda:code[@codeSystem='2.16.840.1.113883.6.96']">This code SHALL contain exactly one [1..1] @codeSystem="2.16.840.1.113883.6.96" (CodeSystem: SNOMED CT urn:oid:2.16.840.1.113883.6.96) (CONF:81-26502).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.22.4.24-errors" context="cda:participantRole[cda:templateId[@root='2.16.840.1.113883.10.20.22.4.24']]">
<sch:extends rule="r-urn-oid-2.16.840.1.113883.10.20.22.4.24-errors-abstract" />
<sch:assert id="a-81-7495" test="count(cda:templateId[@root='2.16.840.1.113883.10.20.22.4.24'])=1">SHALL contain exactly one [1..1] templateId (CONF:81-7495) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.22.4.24" (CONF:81-10493).</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-2.16.840.1.113883.10.20.22.4.31-errors">
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.22.4.31-errors-abstract" abstract="true">
<sch:assert id="a-81-7613" test="@classCode='OBS'">SHALL contain exactly one [1..1] @classCode="OBS" Observation (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:81-7613).</sch:assert>
<sch:assert id="a-81-7614" test="@moodCode='EVN'">SHALL contain exactly one [1..1] @moodCode="EVN" Event (CodeSystem: HL7ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:81-7614).</sch:assert>
<sch:assert id="a-81-7615" test="count(cda:code)=1">SHALL contain exactly one [1..1] code (CONF:81-7615).</sch:assert>
<sch:assert id="a-81-7617" test="count(cda:value[@xsi:type='PQ'])=1">SHALL contain exactly one [1..1] value with @xsi:type="PQ" (CONF:81-7617).</sch:assert>
<sch:assert id="a-81-7618" test="cda:value[@xsi:type='PQ'][@unit]">This value SHALL contain exactly one [1..1] @unit, which SHALL be selected from ValueSet AgePQ_UCUM urn:oid:2.16.840.1.113883.11.20.9.21 DYNAMIC (CONF:81-7618).</sch:assert>
<sch:assert id="a-81-15965" test="count(cda:statusCode)=1">SHALL contain exactly one [1..1] statusCode (CONF:81-15965).</sch:assert>
<sch:assert id="a-81-15966" test="cda:statusCode[@code='completed']">This statusCode SHALL contain exactly one [1..1] @code="completed" Completed (CodeSystem: HL7ActStatus urn:oid:2.16.840.1.113883.5.14 STATIC) (CONF:81-15966).</sch:assert>
<sch:assert id="a-81-16776" test="cda:code[@code='445518008']">This code SHALL contain exactly one [1..1] @code="445518008" Age At Onset (CONF:81-16776).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.22.4.31-errors" context="cda:observation[cda:templateId[@root='2.16.840.1.113883.10.20.22.4.31']]">
<sch:extends rule="r-urn-oid-2.16.840.1.113883.10.20.22.4.31-errors-abstract" />
<sch:assert id="a-81-7899" test="count(cda:templateId[@root='2.16.840.1.113883.10.20.22.4.31'])=1">SHALL contain exactly one [1..1] templateId (CONF:81-7899) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.22.4.31" (CONF:81-10487).</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-2.16.840.1.113883.10.20.22.4.32-errors">
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.22.4.32-errors-abstract" abstract="true">
<sch:assert id="a-81-7758" test="@classCode='SDLOC'">SHALL contain exactly one [1..1] @classCode="SDLOC" (CodeSystem: HL7RoleCode urn:oid:2.16.840.1.113883.5.111 STATIC) (CONF:81-7758).</sch:assert>
<sch:assert id="a-81-7763" test="not(cda:playingEntity) or cda:playingEntity[@classCode='PLC']">The playingEntity, if present, SHALL contain exactly one [1..1] @classCode="PLC" (CodeSystem: HL7EntityClass urn:oid:2.16.840.1.113883.5.41 STATIC) (CONF:81-7763).</sch:assert>
<sch:assert id="a-81-16850" test="count(cda:code)=1">SHALL contain exactly one [1..1] code, which SHALL be selected from ValueSet HealthcareServiceLocation urn:oid:2.16.840.1.113883.1.11.20275 DYNAMIC (CONF:81-16850).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.22.4.32-errors" context="cda:participantRole[cda:templateId[@root='2.16.840.1.113883.10.20.22.4.32']]">
<sch:extends rule="r-urn-oid-2.16.840.1.113883.10.20.22.4.32-errors-abstract" />
<sch:assert id="a-81-7635" test="count(cda:templateId[@root='2.16.840.1.113883.10.20.22.4.32'])=1">SHALL contain exactly one [1..1] templateId (CONF:81-7635) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.22.4.32" (CONF:81-10524).</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-2.16.840.1.113883.10.20.22.2.8-errors">
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.22.2.8-errors-abstract" abstract="true">
<sch:assert id="a-81-7713" test="count(cda:text)=1">SHALL contain exactly one [1..1] text (CONF:81-7713).</sch:assert>
<sch:assert id="a-81-14757" test="count(cda:code)=1">SHALL contain exactly one [1..1] code (CONF:81-14757).</sch:assert>
<sch:assert id="a-81-14758" test="cda:code[@code='51848-0']">This code SHALL contain exactly one [1..1] @code="51848-0" Assessments (CONF:81-14758).</sch:assert>
<sch:assert id="a-81-16774" test="count(cda:title)=1">SHALL contain exactly one [1..1] title (CONF:81-16774).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.22.2.8-errors" context="cda:section[cda:templateId[@root='2.16.840.1.113883.10.20.22.2.8']]">
<sch:extends rule="r-urn-oid-2.16.840.1.113883.10.20.22.2.8-errors-abstract" />
<sch:assert id="a-81-7711" test="count(cda:templateId[@root='2.16.840.1.113883.10.20.22.2.8'])=1">SHALL contain exactly one [1..1] templateId (CONF:81-7711) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.22.2.8" (CONF:81-10382).</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-2.16.840.1.113883.10.20.22.4.37-errors">
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.22.4.37-errors-abstract" abstract="true">
<sch:assert id="a-81-7900" test="@classCode='MANU'">SHALL contain exactly one [1..1] @classCode="MANU" Manufactured Product (CodeSystem: HL7RoleClass urn:oid:2.16.840.1.113883.5.110 STATIC) (CONF:81-7900).</sch:assert>
<sch:assert id="a-81-7902" test="count(cda:id) > 0">SHALL contain at least one [1..*] id (CONF:81-7902).</sch:assert>
<sch:assert id="a-81-7903" test="count(cda:playingDevice)=1">SHALL contain exactly one [1..1] playingDevice (CONF:81-7903).</sch:assert>
<sch:assert id="a-81-7905" test="count(cda:scopingEntity)=1">SHALL contain exactly one [1..1] scopingEntity (CONF:81-7905).</sch:assert>
<sch:assert id="a-81-7908" test="cda:scopingEntity[count(cda:id) > 0]">This scopingEntity SHALL contain at least one [1..*] id (CONF:81-7908).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.22.4.37-errors" context="cda:participantRole[cda:templateId[@root='2.16.840.1.113883.10.20.22.4.37']]">
<sch:extends rule="r-urn-oid-2.16.840.1.113883.10.20.22.4.37-errors-abstract" />
<sch:assert id="a-81-7901" test="count(cda:templateId[@root='2.16.840.1.113883.10.20.22.4.37'])=1">SHALL contain exactly one [1..1] templateId (CONF:81-7901) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.22.4.37" (CONF:81-10522).</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-1.3.6.1.4.1.19376.1.5.3.1.3.18-errors">
<sch:rule id="r-urn-oid-1.3.6.1.4.1.19376.1.5.3.1.3.18-errors-abstract" abstract="true">
<sch:assert id="a-81-7814" test="count(cda:title)=1">SHALL contain exactly one [1..1] title (CONF:81-7814).</sch:assert>
<sch:assert id="a-81-7815" test="count(cda:text)=1">SHALL contain exactly one [1..1] text (CONF:81-7815).</sch:assert>
<sch:assert id="a-81-15435" test="count(cda:code)=1">SHALL contain exactly one [1..1] code (CONF:81-15435).</sch:assert>
<sch:assert id="a-81-15436" test="cda:code[@code='10187-3']">This code SHALL contain exactly one [1..1] @code="10187-3" Review of Systems (CONF:81-15436).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-1.3.6.1.4.1.19376.1.5.3.1.3.18-errors" context="cda:section[cda:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.18']]">
<sch:extends rule="r-urn-oid-1.3.6.1.4.1.19376.1.5.3.1.3.18-errors-abstract" />
<sch:assert id="a-81-7812" test="count(cda:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.18'])=1">SHALL contain exactly one [1..1] templateId (CONF:81-7812) such that it SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.5.3.1.3.18" (CONF:81-10469).</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-1.3.6.1.4.1.19376.1.5.3.1.1.13.2.1-errors">
<sch:rule id="r-urn-oid-1.3.6.1.4.1.19376.1.5.3.1.1.13.2.1-errors-abstract" abstract="true">
<sch:assert id="a-81-7834" test="count(cda:title)=1">SHALL contain exactly one [1..1] title (CONF:81-7834).</sch:assert>
<sch:assert id="a-81-7835" test="count(cda:text)=1">SHALL contain exactly one [1..1] text (CONF:81-7835).</sch:assert>
<sch:assert id="a-81-15451" test="count(cda:code)=1">SHALL contain exactly one [1..1] code (CONF:81-15451).</sch:assert>
<sch:assert id="a-81-15452" test="cda:code[@code='10154-3']">This code SHALL contain exactly one [1..1] @code="10154-3" Chief Complaint (CONF:81-15452).</sch:assert>
<sch:assert id="a-81-26474" test="cda:code[@codeSystem='2.16.840.1.113883.6.1']">This code SHALL contain exactly one [1..1] @codeSystem="2.16.840.1.113883.6.1" (CodeSystem: LOINC urn:oid:2.16.840.1.113883.6.1) (CONF:81-26474).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-1.3.6.1.4.1.19376.1.5.3.1.1.13.2.1-errors" context="cda:section[cda:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.13.2.1']]">
<sch:extends rule="r-urn-oid-1.3.6.1.4.1.19376.1.5.3.1.1.13.2.1-errors-abstract" />
<sch:assert id="a-81-7832" test="count(cda:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.1.13.2.1'])=1">SHALL contain exactly one [1..1] templateId (CONF:81-7832) such that it SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.5.3.1.1.13.2.1" (CONF:81-10453).</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-2.16.840.1.113883.10.20.22.2.12-errors">
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.22.2.12-errors-abstract" abstract="true">
<sch:assert id="a-81-7838" test="count(cda:title)=1">SHALL contain exactly one [1..1] title (CONF:81-7838).</sch:assert>
<sch:assert id="a-81-7839" test="count(cda:text)=1">SHALL contain exactly one [1..1] text (CONF:81-7839).</sch:assert>
<sch:assert id="a-81-15429" test="count(cda:code)=1">SHALL contain exactly one [1..1] code (CONF:81-15429).</sch:assert>
<sch:assert id="a-81-15430" test="cda:code[@code='29299-5']">This code SHALL contain exactly one [1..1] @code="29299-5" Reason for Visit (CONF:81-15430).</sch:assert>
<sch:assert id="a-81-26494" test="cda:code[@codeSystem='2.16.840.1.113883.6.1']">This code SHALL contain exactly one [1..1] @codeSystem="2.16.840.1.113883.6.1" (CodeSystem: LOINC urn:oid:2.16.840.1.113883.6.1) (CONF:81-26494).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.22.2.12-errors" context="cda:section[cda:templateId[@root='2.16.840.1.113883.10.20.22.2.12']]">
<sch:extends rule="r-urn-oid-2.16.840.1.113883.10.20.22.2.12-errors-abstract" />
<sch:assert id="a-81-7836" test="count(cda:templateId[@root='2.16.840.1.113883.10.20.22.2.12'])=1">SHALL contain exactly one [1..1] templateId (CONF:81-7836) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.22.2.12" (CONF:81-10448).</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-2.16.840.1.113883.10.20.22.2.13-errors">
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.22.2.13-errors-abstract" abstract="true">
<sch:assert id="a-81-7842" test="count(cda:title)=1">SHALL contain exactly one [1..1] title (CONF:81-7842).</sch:assert>
<sch:assert id="a-81-7843" test="count(cda:text)=1">SHALL contain exactly one [1..1] text (CONF:81-7843).</sch:assert>
<sch:assert id="a-81-15449" test="count(cda:code)=1">SHALL contain exactly one [1..1] code (CONF:81-15449).</sch:assert>
<sch:assert id="a-81-15450" test="cda:code[@code='46239-0']">This code SHALL contain exactly one [1..1] @code="46239-0" Chief Complaint and Reason for Visit (CONF:81-15450).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.22.2.13-errors" context="cda:section[cda:templateId[@root='2.16.840.1.113883.10.20.22.2.13']]">
<sch:extends rule="r-urn-oid-2.16.840.1.113883.10.20.22.2.13-errors-abstract" />
<sch:assert id="a-81-7840" test="count(cda:templateId[@root='2.16.840.1.113883.10.20.22.2.13'])=1">SHALL contain exactly one [1..1] templateId (CONF:81-7840) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.22.2.13" (CONF:81-10383).</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-1.3.6.1.4.1.19376.1.5.3.1.3.4-errors">
<sch:rule id="r-urn-oid-1.3.6.1.4.1.19376.1.5.3.1.3.4-errors-abstract" abstract="true">
<sch:assert id="a-81-7850" test="count(cda:title)=1">SHALL contain exactly one [1..1] title (CONF:81-7850).</sch:assert>
<sch:assert id="a-81-7851" test="count(cda:text)=1">SHALL contain exactly one [1..1] text (CONF:81-7851).</sch:assert>
<sch:assert id="a-81-15477" test="count(cda:code)=1">SHALL contain exactly one [1..1] code (CONF:81-15477).</sch:assert>
<sch:assert id="a-81-15478" test="cda:code[@code='10164-2']">This code SHALL contain exactly one [1..1] @code="10164-2" (CONF:81-15478).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-1.3.6.1.4.1.19376.1.5.3.1.3.4-errors" context="cda:section[cda:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.4']]">
<sch:extends rule="r-urn-oid-1.3.6.1.4.1.19376.1.5.3.1.3.4-errors-abstract" />
<sch:assert id="a-81-7848" test="count(cda:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.4'])=1">SHALL contain exactly one [1..1] templateId (CONF:81-7848) such that it SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.5.3.1.3.4" (CONF:81-10458).</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-1.3.6.1.4.1.19376.1.5.3.1.3.5-errors">
<sch:rule id="r-urn-oid-1.3.6.1.4.1.19376.1.5.3.1.3.5-errors-abstract" abstract="true">
<sch:assert id="a-81-7854" test="count(cda:title)=1">SHALL contain exactly one [1..1] title (CONF:81-7854).</sch:assert>
<sch:assert id="a-81-7855" test="count(cda:text)=1">SHALL contain exactly one [1..1] text (CONF:81-7855).</sch:assert>
<sch:assert id="a-81-15487" test="count(cda:code)=1">SHALL contain exactly one [1..1] code (CONF:81-15487).</sch:assert>
<sch:assert id="a-81-15488" test="cda:code[@code='8648-8']">This code SHALL contain exactly one [1..1] @code="8648-8" Hospital Course (CONF:81-15488).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-1.3.6.1.4.1.19376.1.5.3.1.3.5-errors" context="cda:section[cda:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.5']]">
<sch:extends rule="r-urn-oid-1.3.6.1.4.1.19376.1.5.3.1.3.5-errors-abstract" />
<sch:assert id="a-81-7852" test="count(cda:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.5'])=1">SHALL contain exactly one [1..1] templateId (CONF:81-7852) such that it SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.5.3.1.3.5" (CONF:81-10459).</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-2.16.840.1.113883.10.20.21.2.1-errors">
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.21.2.1-errors-abstract" abstract="true">
<sch:assert id="a-81-7871" test="count(cda:title)=1">SHALL contain exactly one [1..1] title (CONF:81-7871).</sch:assert>
<sch:assert id="a-81-7872" test="count(cda:text)=1">SHALL contain exactly one [1..1] text (CONF:81-7872).</sch:assert>
<sch:assert id="a-81-15389" test="count(cda:code)=1">SHALL contain exactly one [1..1] code (CONF:81-15389).</sch:assert>
<sch:assert id="a-81-15390" test="cda:code[@code='61149-1']">This code SHALL contain exactly one [1..1] @code="61149-1" Objective (CONF:81-15390).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.21.2.1-errors" context="cda:section[cda:templateId[@root='2.16.840.1.113883.10.20.21.2.1']]">
<sch:extends rule="r-urn-oid-2.16.840.1.113883.10.20.21.2.1-errors-abstract" />
<sch:assert id="a-81-7869" test="count(cda:templateId[@root='2.16.840.1.113883.10.20.21.2.1'])=1">SHALL contain exactly one [1..1] templateId (CONF:81-7869) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.21.2.1" (CONF:81-10462).</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-2.16.840.1.113883.10.20.21.2.2-errors">
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.21.2.2-errors-abstract" abstract="true">
<sch:assert id="a-81-7875" test="count(cda:title)=1">SHALL contain exactly one [1..1] title (CONF:81-7875).</sch:assert>
<sch:assert id="a-81-7876" test="count(cda:text)=1">SHALL contain exactly one [1..1] text (CONF:81-7876).</sch:assert>
<sch:assert id="a-81-15437" test="count(cda:code)=1">SHALL contain exactly one [1..1] code (CONF:81-15437).</sch:assert>
<sch:assert id="a-81-15438" test="cda:code[@code='61150-9']">This code SHALL contain exactly one [1..1] @code="61150-9" Subjective (CONF:81-15438).</sch:assert>
<sch:assert id="a-81-26496" test="cda:code[@codeSystem='2.16.840.1.113883.6.1']">This code SHALL contain exactly one [1..1] @codeSystem="2.16.840.1.113883.6.1" (CodeSystem: LOINC urn:oid:2.16.840.1.113883.6.1) (CONF:81-26496).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.21.2.2-errors" context="cda:section[cda:templateId[@root='2.16.840.1.113883.10.20.21.2.2']]">
<sch:extends rule="r-urn-oid-2.16.840.1.113883.10.20.21.2.2-errors-abstract" />
<sch:assert id="a-81-7873" test="count(cda:templateId[@root='2.16.840.1.113883.10.20.21.2.2'])=1">SHALL contain exactly one [1..1] templateId (CONF:81-7873) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.21.2.2" (CONF:81-10470).</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-2.16.840.1.113883.10.20.22.2.16-errors">
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.22.2.16-errors-abstract" abstract="true">
<sch:assert id="a-81-7912" test="count(cda:title)=1">SHALL contain exactly one [1..1] title (CONF:81-7912).</sch:assert>
<sch:assert id="a-81-7913" test="count(cda:text)=1">SHALL contain exactly one [1..1] text (CONF:81-7913).</sch:assert>
<sch:assert id="a-81-15365" test="count(cda:code)=1">SHALL contain exactly one [1..1] code (CONF:81-15365).</sch:assert>
<sch:assert id="a-81-15366" test="cda:code[@code='11493-4']">This code SHALL contain exactly one [1..1] @code="11493-4" Hospital Discharge Studies Summary (CONF:81-15366).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.22.2.16-errors" context="cda:section[cda:templateId[@root='2.16.840.1.113883.10.20.22.2.16']]">
<sch:extends rule="r-urn-oid-2.16.840.1.113883.10.20.22.2.16-errors-abstract" />
<sch:assert id="a-81-7910" test="count(cda:templateId[@root='2.16.840.1.113883.10.20.22.2.16'])=1">SHALL contain exactly one [1..1] templateId (CONF:81-7910) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.22.2.16" (CONF:81-10398).</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-1.3.6.1.4.1.19376.1.5.3.1.3.26-errors">
<sch:rule id="r-urn-oid-1.3.6.1.4.1.19376.1.5.3.1.3.26-errors-abstract" abstract="true">
<sch:assert id="a-81-7973" test="count(cda:title)=1">SHALL contain exactly one [1..1] title (CONF:81-7973).</sch:assert>
<sch:assert id="a-81-7974" test="count(cda:text)=1">SHALL contain exactly one [1..1] text (CONF:81-7974).</sch:assert>
<sch:assert id="a-81-15363" test="count(cda:code)=1">SHALL contain exactly one [1..1] code (CONF:81-15363).</sch:assert>
<sch:assert id="a-81-15364" test="cda:code[@code='10184-0']">This code SHALL contain exactly one [1..1] @code="10184-0" Hospital Discharge Physical (CONF:81-15364).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-1.3.6.1.4.1.19376.1.5.3.1.3.26-errors" context="cda:section[cda:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.26']]">
<sch:extends rule="r-urn-oid-1.3.6.1.4.1.19376.1.5.3.1.3.26-errors-abstract" />
<sch:assert id="a-81-7971" test="count(cda:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.3.26'])=1">SHALL contain exactly one [1..1] templateId (CONF:81-7971) such that it SHALL contain exactly one [1..1] @root="1.3.6.1.4.1.19376.1.5.3.1.3.26" (CONF:81-10460).</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-2.16.840.1.113883.10.20.2.5-errors">
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.2.5-errors-abstract" abstract="true">
<sch:assert id="a-81-7987" test="count(cda:title)=1">SHALL contain exactly one [1..1] title (CONF:81-7987).</sch:assert>
<sch:assert id="a-81-7988" test="count(cda:text)=1">SHALL contain exactly one [1..1] text (CONF:81-7988).</sch:assert>
<sch:assert id="a-81-15472" test="count(cda:code)=1">SHALL contain exactly one [1..1] code (CONF:81-15472).</sch:assert>
<sch:assert id="a-81-15473" test="cda:code[@code='10210-3']">This code SHALL contain exactly one [1..1] @code="10210-3" General Status (CONF:81-15473).</sch:assert>
<sch:assert id="a-81-26477" test="cda:code[@codeSystem='2.16.840.1.113883.6.1']">This code SHALL contain exactly one [1..1] @codeSystem="2.16.840.1.113883.6.1" (CodeSystem: LOINC urn:oid:2.16.840.1.113883.6.1) (CONF:81-26477).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.2.5-errors" context="cda:section[cda:templateId[@root='2.16.840.1.113883.10.20.2.5']]">
<sch:extends rule="r-urn-oid-2.16.840.1.113883.10.20.2.5-errors-abstract" />
<sch:assert id="a-81-7985" test="count(cda:templateId[@root='2.16.840.1.113883.10.20.2.5'])=1">SHALL contain exactly one [1..1] templateId (CONF:81-7985) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.2.5" (CONF:81-10457).</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-2.16.840.1.113883.10.20.7.12-errors">
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.7.12-errors-abstract" abstract="true">
<sch:assert id="a-81-8032" test="count(cda:title)=1">SHALL contain exactly one [1..1] title (CONF:81-8032).</sch:assert>
<sch:assert id="a-81-8033" test="count(cda:text)=1">SHALL contain exactly one [1..1] text (CONF:81-8033).</sch:assert>
<sch:assert id="a-81-15391" test="count(cda:code)=1">SHALL contain exactly one [1..1] code (CONF:81-15391).</sch:assert>
<sch:assert id="a-81-15392" test="cda:code[@code='10216-0']">This code SHALL contain exactly one [1..1] @code="10216-0" Operative Note Fluids (CONF:81-15392).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.7.12-errors" context="cda:section[cda:templateId[@root='2.16.840.1.113883.10.20.7.12']]">
<sch:extends rule="r-urn-oid-2.16.840.1.113883.10.20.7.12-errors-abstract" />
<sch:assert id="a-81-8030" test="count(cda:templateId[@root='2.16.840.1.113883.10.20.7.12'])=1">SHALL contain exactly one [1..1] templateId (CONF:81-8030) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.7.12" (CONF:81-10463).</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-2.16.840.1.113883.10.20.7.14-errors">
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.7.14-errors-abstract" abstract="true">
<sch:assert id="a-81-8036" test="count(cda:title)=1">SHALL contain exactly one [1..1] title (CONF:81-8036).</sch:assert>
<sch:assert id="a-81-8037" test="count(cda:text)=1">SHALL contain exactly one [1..1] text (CONF:81-8037).</sch:assert>
<sch:assert id="a-81-15393" test="count(cda:code)=1">SHALL contain exactly one [1..1] code (CONF:81-15393).</sch:assert>
<sch:assert id="a-81-15394" test="cda:code[@code='10223-6']">This code SHALL contain exactly one [1..1] @code="10223-6" Operative Note Surgical Procedure (CONF:81-15394).</sch:assert>
<sch:assert id="a-81-26487" test="cda:code[@codeSystem='2.16.840.1.113883.6.1']">This code SHALL contain exactly one [1..1] @codeSystem="2.16.840.1.113883.6.1" (CodeSystem: LOINC urn:oid:2.16.840.1.113883.6.1) (CONF:81-26487).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.7.14-errors" context="cda:section[cda:templateId[@root='2.16.840.1.113883.10.20.7.14']]">
<sch:extends rule="r-urn-oid-2.16.840.1.113883.10.20.7.14-errors-abstract" />
<sch:assert id="a-81-8034" test="count(cda:templateId[@root='2.16.840.1.113883.10.20.7.14'])=1">SHALL contain exactly one [1..1] templateId (CONF:81-8034) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.7.14" (CONF:81-10464).</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-2.16.840.1.113883.10.20.7.13-errors">
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.7.13-errors-abstract" abstract="true">
<sch:assert id="a-81-8040" test="count(cda:title)=1">SHALL contain exactly one [1..1] title (CONF:81-8040).</sch:assert>
<sch:assert id="a-81-8041" test="count(cda:text)=1">SHALL contain exactly one [1..1] text (CONF:81-8041).</sch:assert>
<sch:assert id="a-81-15441" test="count(cda:code)=1">SHALL contain exactly one [1..1] code (CONF:81-15441).</sch:assert>
<sch:assert id="a-81-15442" test="cda:code[@code='11537-8']">This code SHALL contain exactly one [1..1] @code="11537-8" Surgical Drains (CONF:81-15442).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.7.13-errors" context="cda:section[cda:templateId[@root='2.16.840.1.113883.10.20.7.13']]">
<sch:extends rule="r-urn-oid-2.16.840.1.113883.10.20.7.13-errors-abstract" />
<sch:assert id="a-81-8038" test="count(cda:templateId[@root='2.16.840.1.113883.10.20.7.13'])=1">SHALL contain exactly one [1..1] templateId (CONF:81-8038) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.7.13" (CONF:81-10473).</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-2.16.840.1.113883.10.20.22.2.27-errors">
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.22.2.27-errors-abstract" abstract="true">
<sch:assert id="a-81-8064" test="count(cda:title)=1">SHALL contain exactly one [1..1] title (CONF:81-8064).</sch:assert>
<sch:assert id="a-81-8065" test="count(cda:text)=1">SHALL contain exactly one [1..1] text (CONF:81-8065).</sch:assert>
<sch:assert id="a-81-15411" test="count(cda:code)=1">SHALL contain exactly one [1..1] code (CONF:81-15411).</sch:assert>
<sch:assert id="a-81-15412" test="cda:code[@code='29554-3']">This code SHALL contain exactly one [1..1] @code="29554-3" Procedure Description (CONF:81-15412).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.22.2.27-errors" context="cda:section[cda:templateId[@root='2.16.840.1.113883.10.20.22.2.27']]">
<sch:extends rule="r-urn-oid-2.16.840.1.113883.10.20.22.2.27-errors-abstract" />
<sch:assert id="a-81-8062" test="count(cda:templateId[@root='2.16.840.1.113883.10.20.22.2.27'])=1">SHALL contain exactly one [1..1] templateId (CONF:81-8062) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.22.2.27" (CONF:81-10442).</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-2.16.840.1.113883.10.20.18.2.12-errors">
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.18.2.12-errors-abstract" abstract="true">
<sch:assert id="a-81-8072" test="count(cda:title)=1">SHALL contain exactly one [1..1] title (CONF:81-8072).</sch:assert>
<sch:assert id="a-81-8073" test="count(cda:text)=1">SHALL contain exactly one [1..1] text (CONF:81-8073).</sch:assert>
<sch:assert id="a-81-15413" test="count(cda:code)=1">SHALL contain exactly one [1..1] code (CONF:81-15413).</sch:assert>
<sch:assert id="a-81-15414" test="cda:code[@code='59775-7']">This code SHALL contain exactly one [1..1] @code="59775-7" Procedure Disposition (CONF:81-15414).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.18.2.12-errors" context="cda:section[cda:templateId[@root='2.16.840.1.113883.10.20.18.2.12']]">
<sch:extends rule="r-urn-oid-2.16.840.1.113883.10.20.18.2.12-errors-abstract" />
<sch:assert id="a-81-8070" test="count(cda:templateId[@root='2.16.840.1.113883.10.20.18.2.12'])=1">SHALL contain exactly one [1..1] templateId (CONF:81-8070) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.18.2.12" (CONF:81-10466).</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-2.16.840.1.113883.10.20.18.2.9-errors">
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.18.2.9-errors-abstract" abstract="true">
<sch:assert id="a-81-8076" test="count(cda:title)=1">SHALL contain exactly one [1..1] title (CONF:81-8076).</sch:assert>
<sch:assert id="a-81-8077" test="count(cda:text)=1">SHALL contain exactly one [1..1] text (CONF:81-8077).</sch:assert>
<sch:assert id="a-81-15415" test="count(cda:code)=1">SHALL contain exactly one [1..1] code (CONF:81-15415).</sch:assert>
<sch:assert id="a-81-15416" test="cda:code[@code='59770-8']">This code SHALL contain exactly one [1..1] @code="59770-8" Procedure Estimated Blood Loss (CONF:81-15416).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.18.2.9-errors" context="cda:section[cda:templateId[@root='2.16.840.1.113883.10.20.18.2.9']]">
<sch:extends rule="r-urn-oid-2.16.840.1.113883.10.20.18.2.9-errors-abstract" />
<sch:assert id="a-81-8074" test="count(cda:templateId[@root='2.16.840.1.113883.10.20.18.2.9'])=1">SHALL contain exactly one [1..1] templateId (CONF:81-8074) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.18.2.9" (CONF:81-10467).</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-2.16.840.1.113883.10.20.22.2.31-errors">
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.22.2.31-errors-abstract" abstract="true">
<sch:assert id="a-81-8088" test="count(cda:title)=1">SHALL contain exactly one [1..1] title (CONF:81-8088).</sch:assert>
<sch:assert id="a-81-8089" test="count(cda:text)=1">SHALL contain exactly one [1..1] text (CONF:81-8089).</sch:assert>
<sch:assert id="a-81-15421" test="count(cda:code)=1">SHALL contain exactly one [1..1] code (CONF:81-15421).</sch:assert>
<sch:assert id="a-81-15422" test="cda:code[@code='59773-2']">This code SHALL contain exactly one [1..1] @code="59773-2" Procedure Specimens Taken (CONF:81-15422).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.22.2.31-errors" context="cda:section[cda:templateId[@root='2.16.840.1.113883.10.20.22.2.31']]">
<sch:extends rule="r-urn-oid-2.16.840.1.113883.10.20.22.2.31-errors-abstract" />
<sch:assert id="a-81-8086" test="count(cda:templateId[@root='2.16.840.1.113883.10.20.22.2.31'])=1">SHALL contain exactly one [1..1] templateId (CONF:81-8086) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.22.2.31" (CONF:81-10446).</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-2.16.840.1.113883.10.20.22.2.35-errors">
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.22.2.35-errors-abstract" abstract="true">
<sch:assert id="a-81-8103" test="count(cda:title)=1">SHALL contain exactly one [1..1] title (CONF:81-8103).</sch:assert>
<sch:assert id="a-81-8104" test="count(cda:text)=1">SHALL contain exactly one [1..1] text (CONF:81-8104).</sch:assert>
<sch:assert id="a-81-15401" test="count(cda:code)=1">SHALL contain exactly one [1..1] code (CONF:81-15401).</sch:assert>
<sch:assert id="a-81-15402" test="cda:code[@code='10218-6']">This code SHALL contain exactly one [1..1] @code="10218-6" Postoperative Diagnosis (CONF:81-15402).</sch:assert>
<sch:assert id="a-81-26488" test="cda:code[@codeSystem='2.16.840.1.113883.6.1']">This code SHALL contain exactly one [1..1] @codeSystem="2.16.840.1.113883.6.1" (CodeSystem: LOINC urn:oid:2.16.840.1.113883.6.1) (CONF:81-26488).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.22.2.35-errors" context="cda:section[cda:templateId[@root='2.16.840.1.113883.10.20.22.2.35']]">
<sch:extends rule="r-urn-oid-2.16.840.1.113883.10.20.22.2.35-errors-abstract" />
<sch:assert id="a-81-8101" test="count(cda:templateId[@root='2.16.840.1.113883.10.20.22.2.35'])=1">SHALL contain exactly one [1..1] templateId (CONF:81-8101) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.22.2.35" (CONF:81-10437).</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-2.16.840.1.113883.10.20.22.2.39-errors">
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.22.2.39-errors-abstract" abstract="true">
<sch:assert id="a-81-8162" test="count(cda:title)=1">SHALL contain exactly one [1..1] title (CONF:81-8162).</sch:assert>
<sch:assert id="a-81-8163" test="count(cda:text)=1">SHALL contain exactly one [1..1] text (CONF:81-8163).</sch:assert>
<sch:assert id="a-81-15379" test="count(cda:code)=1">SHALL contain exactly one [1..1] code (CONF:81-15379).</sch:assert>
<sch:assert id="a-81-15380" test="cda:code[@code='11329-0']">This code SHALL contain exactly one [1..1] @code="11329-0" Medical (General) History (CONF:81-15380).</sch:assert>
<sch:assert id="a-81-26484" test="cda:code[@codeSystem='2.16.840.1.113883.6.1']">This code SHALL contain exactly one [1..1] @codeSystem="2.16.840.1.113883.6.1" (CodeSystem: LOINC urn:oid:2.16.840.1.113883.6.1) (CONF:81-26484).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.22.2.39-errors" context="cda:section[cda:templateId[@root='2.16.840.1.113883.10.20.22.2.39']]">
<sch:extends rule="r-urn-oid-2.16.840.1.113883.10.20.22.2.39-errors-abstract" />
<sch:assert id="a-81-8160" test="count(cda:templateId[@root='2.16.840.1.113883.10.20.22.2.39'])=1">SHALL contain exactly one [1..1] templateId (CONF:81-8160) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.22.2.39" (CONF:81-10403).</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-2.16.840.1.113883.10.20.22.2.40-errors">
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.22.2.40-errors-abstract" abstract="true">
<sch:assert id="a-81-8180" test="count(cda:title)=1">SHALL contain exactly one [1..1] title (CONF:81-8180).</sch:assert>
<sch:assert id="a-81-8181" test="count(cda:text)=1">SHALL contain exactly one [1..1] text (CONF:81-8181).</sch:assert>
<sch:assert id="a-81-8769-c" test=".">The Procedure Implants section **SHALL** include a statement providing details of the implants placed, or assert no implants were placed (CONF:81-8769).</sch:assert>
<sch:assert id="a-81-15373" test="count(cda:code)=1">SHALL contain exactly one [1..1] code (CONF:81-15373).</sch:assert>
<sch:assert id="a-81-15374" test="cda:code[@code='59771-6']">This code SHALL contain exactly one [1..1] @code="59771-6" Procedure Implants (CONF:81-15374).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.22.2.40-errors" context="cda:section[cda:templateId[@root='2.16.840.1.113883.10.20.22.2.40']]">
<sch:extends rule="r-urn-oid-2.16.840.1.113883.10.20.22.2.40-errors-abstract" />
<sch:assert id="a-81-8178" test="count(cda:templateId[@root='2.16.840.1.113883.10.20.22.2.40'])=1">SHALL contain exactly one [1..1] templateId (CONF:81-8178) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.22.2.40" (CONF:81-10444).</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-2.16.840.1.113883.10.20.6.1.1-errors">
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.6.1.1-errors-abstract" abstract="true">
<sch:assert id="a-81-8530" test="count(cda:entry) > 0">SHALL contain at least one [1..*] entry (CONF:81-8530).</sch:assert>
<sch:assert id="a-81-15456" test="count(cda:code)=1">SHALL contain exactly one [1..1] code (CONF:81-15456).</sch:assert>
<sch:assert id="a-81-15457" test="cda:code[@code='121181']">This code SHALL contain exactly one [1..1] @code="121181" Dicom Object Catalog (CONF:81-15457).</sch:assert>
<sch:assert id="a-81-15458" test="cda:entry[count(cda:act[cda:templateId[@root='2.16.840.1.113883.10.20.6.2.6']])=1]">Such entries SHALL contain exactly one [1..1] Study Act (identifier: urn:oid:2.16.840.1.113883.10.20.6.2.6) (CONF:81-15458).</sch:assert>
<sch:assert id="a-81-26475" test="cda:code[@codeSystem='1.2.840.10008.2.16.4']">This code SHALL contain exactly one [1..1] @codeSystem="1.2.840.10008.2.16.4" (CodeSystem: DCM urn:oid:1.2.840.10008.2.16.4) (CONF:81-26475).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.6.1.1-errors" context="cda:section[cda:templateId[@root='2.16.840.1.113883.10.20.6.1.1']]">
<sch:extends rule="r-urn-oid-2.16.840.1.113883.10.20.6.1.1-errors-abstract" />
<sch:assert id="a-81-8525" test="count(cda:templateId[@root='2.16.840.1.113883.10.20.6.1.1'])=1">SHALL contain exactly one [1..1] templateId (CONF:81-8525) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.6.1.1" (CONF:81-10454).</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-2.16.840.1.113883.10.20.6.2.6-errors">
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.6.2.6-errors-abstract" abstract="true">
<sch:assert id="a-81-9207" test="@classCode='ACT'">SHALL contain exactly one [1..1] @classCode="ACT" (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:81-9207).</sch:assert>
<sch:assert id="a-81-9208" test="@moodCode='EVN'">SHALL contain exactly one [1..1] @moodCode="EVN" (CodeSystem: HL7ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:81-9208).</sch:assert>
<sch:assert id="a-81-9210" test="count(cda:id) > 0">SHALL contain at least one [1..*] id (CONF:81-9210).</sch:assert>
<sch:assert id="a-81-9211-c" test="not(cda:id[@extension])">Such ids SHALL NOT contain [0..0] @extension (CONF:81-9211).</sch:assert>
<sch:assert id="a-81-9213" test="cda:id[@root]">Such ids SHALL contain exactly one [1..1] @root (CONF:81-9213).</sch:assert>
<sch:assert id="a-81-9219" test="count(cda:entryRelationship[@typeCode='COMP'][count(cda:act[cda:templateId[@root='2.16.840.1.113883.10.20.22.4.63']])=1]) > 0">SHALL contain at least one [1..*] entryRelationship (CONF:81-9219) such that it SHALL contain exactly one [1..1] @typeCode="COMP" Component (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:81-9220). SHALL contain exactly one [1..1] Series Act (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.63) (CONF:81-15937).</sch:assert>
<sch:assert id="a-81-15997-c" test="count(cda:text/cda:reference[@value])=0 or starts-with(cda:text/cda:reference/@value, '#')">This reference/@value SHALL begin with a '#' and SHALL point to its corresponding narrative (using the approach defined in CDA Release 2, section 4.3.5.1) (CONF:81-15997).</sch:assert>
<sch:assert id="a-81-19172" test="count(cda:code)=1">SHALL contain exactly one [1..1] code (CONF:81-19172).</sch:assert>
<sch:assert id="a-81-19173" test="cda:code[@code='113014']">This code SHALL contain exactly one [1..1] @code="113014" (CONF:81-19173).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.6.2.6-errors" context="cda:act[cda:templateId[@root='2.16.840.1.113883.10.20.6.2.6']]">
<sch:extends rule="r-urn-oid-2.16.840.1.113883.10.20.6.2.6-errors-abstract" />
<sch:assert id="a-81-9209" test="count(cda:templateId[@root='2.16.840.1.113883.10.20.6.2.6'])=1">SHALL contain exactly one [1..1] templateId (CONF:81-9209) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.6.2.6" (CONF:81-10533).</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-2.16.840.1.113883.10.20.6.1.2-errors">
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.6.1.2-errors-abstract" abstract="true" />
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.6.1.2-errors" context="cda:section[cda:templateId[@root='2.16.840.1.113883.10.20.6.1.2']]">
<sch:extends rule="r-urn-oid-2.16.840.1.113883.10.20.6.1.2-errors-abstract" />
<sch:assert id="a-81-8531" test="count(cda:templateId[@root='2.16.840.1.113883.10.20.6.1.2'])=1">SHALL contain exactly one [1..1] templateId (CONF:81-8531) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.6.1.2" (CONF:81-10456).</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-2.16.840.1.113883.10.20.22.4.47-errors">
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.22.4.47-errors-abstract" abstract="true">
<sch:assert id="a-81-8621" test="@classCode='OBS'">SHALL contain exactly one [1..1] @classCode="OBS" Observation (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:81-8621).</sch:assert>
<sch:assert id="a-81-8622" test="@moodCode='EVN'">SHALL contain exactly one [1..1] @moodCode="EVN" Event (CodeSystem: HL7ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:81-8622).</sch:assert>
<sch:assert id="a-81-8625" test="count(cda:statusCode)=1">SHALL contain exactly one [1..1] statusCode (CONF:81-8625).</sch:assert>
<sch:assert id="a-81-8626" test="count(cda:value[@xsi:type='CD'])=1">SHALL contain exactly one [1..1] value with @xsi:type="CD" (CONF:81-8626).</sch:assert>
<sch:assert id="a-81-19097" test="cda:statusCode[@code='completed']">This statusCode SHALL contain exactly one [1..1] @code="completed" Completed (CodeSystem: HL7ActStatus urn:oid:2.16.840.1.113883.5.14 STATIC) (CONF:81-19097).</sch:assert>
<sch:assert id="a-81-19141" test="count(cda:code)=1">SHALL contain exactly one [1..1] code (CONF:81-19141).</sch:assert>
<sch:assert id="a-81-19142" test="cda:code[@code='ASSERTION']">This code SHALL contain exactly one [1..1] @code="ASSERTION" Assertion (CONF:81-19142).</sch:assert>
<sch:assert id="a-81-26470" test="cda:value[@xsi:type='CD'][@code='419099009']">This value SHALL contain exactly one [1..1] @code="419099009" Dead (CodeSystem: SNOMED CT urn:oid:2.16.840.1.113883.6.96 STATIC) (CONF:81-26470).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.22.4.47-errors" context="cda:observation[cda:templateId[@root='2.16.840.1.113883.10.20.22.4.47']]">
<sch:extends rule="r-urn-oid-2.16.840.1.113883.10.20.22.4.47-errors-abstract" />
<sch:assert id="a-81-8623" test="count(cda:templateId[@root='2.16.840.1.113883.10.20.22.4.47'])=1">SHALL contain exactly one [1..1] templateId (CONF:81-8623) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.22.4.47" (CONF:81-10495).</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-2.16.840.1.113883.10.20.1.19-errors">
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.1.19-errors-abstract" abstract="true">
<sch:assert id="a-81-8944" test="@classCode='ACT'">SHALL contain exactly one [1..1] @classCode="ACT" Act (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:81-8944).</sch:assert>
<sch:assert id="a-81-8945" test="@moodCode='EVN'">SHALL contain exactly one [1..1] @moodCode="EVN" Event (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:81-8945).</sch:assert>
<sch:assert id="a-81-8947" test="count(cda:id)=1">SHALL contain exactly one [1..1] id (CONF:81-8947).</sch:assert>
<sch:assert id="a-81-8948" test="count(cda:entryRelationship[@typeCode='SUBJ']) > 0">SHALL contain at least one [1..*] entryRelationship (CONF:81-8948) such that it SHALL contain exactly one [1..1] @typeCode="SUBJ" Has Subject (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:81-8949).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.1.19-errors" context="cda:act[cda:templateId[@root='2.16.840.1.113883.10.20.1.19']]">
<sch:extends rule="r-urn-oid-2.16.840.1.113883.10.20.1.19-errors-abstract" />
<sch:assert id="a-81-8946" test="count(cda:templateId[@root='2.16.840.1.113883.10.20.1.19'])=1">SHALL contain exactly one [1..1] templateId (CONF:81-8946) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.1.19" (CONF:81-10529).</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-2.16.840.1.113883.10.20.22.4.53-errors">
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.22.4.53-errors-abstract" abstract="true">
<sch:assert id="a-81-8991" test="@classCode='OBS'">SHALL contain exactly one [1..1] @classCode="OBS" Observation (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:81-8991).</sch:assert>
<sch:assert id="a-81-8992" test="@moodCode='EVN'">SHALL contain exactly one [1..1] @moodCode="EVN" Event (CodeSystem: HL7ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:81-8992).</sch:assert>
<sch:assert id="a-81-8994" test="count(cda:id) > 0">SHALL contain at least one [1..*] id (CONF:81-8994).</sch:assert>
<sch:assert id="a-81-8995" test="count(cda:code)=1">SHALL contain exactly one [1..1] code, which SHALL be selected from ValueSet No Immunization Reason urn:oid:2.16.840.1.113883.1.11.19717 DYNAMIC (CONF:81-8995).</sch:assert>
<sch:assert id="a-81-8996" test="count(cda:statusCode)=1">SHALL contain exactly one [1..1] statusCode (CONF:81-8996).</sch:assert>
<sch:assert id="a-81-19104" test="cda:statusCode[@code='completed']">This statusCode SHALL contain exactly one [1..1] @code="completed" Completed (CodeSystem: HL7ActStatus urn:oid:2.16.840.1.113883.5.14 STATIC) (CONF:81-19104).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.22.4.53-errors" context="cda:observation[cda:templateId[@root='2.16.840.1.113883.10.20.22.4.53']]">
<sch:extends rule="r-urn-oid-2.16.840.1.113883.10.20.22.4.53-errors-abstract" />
<sch:assert id="a-81-8993" test="count(cda:templateId[@root='2.16.840.1.113883.10.20.22.4.53'])=1">SHALL contain exactly one [1..1] templateId (CONF:81-8993) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.22.4.53" (CONF:81-10500).</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-2.16.840.1.113883.10.20.6.2.3-errors">
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.6.2.3-errors-abstract" abstract="true">
<sch:assert id="a-81-9190" test="count(cda:code)=1">SHALL contain exactly one [1..1] code (CONF:81-9190).</sch:assert>
<sch:assert id="a-81-9191" test="count(cda:subject)=1">SHALL contain exactly one [1..1] subject (CONF:81-9191).</sch:assert>
<sch:assert id="a-81-15347" test="cda:subject[count(cda:name)=1]">This subject SHALL contain exactly one [1..1] name (CONF:81-15347).</sch:assert>
<sch:assert id="a-81-26455" test="cda:code[@code='121026']">This code SHALL contain exactly one [1..1] @code="121026" (CONF:81-26455).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.6.2.3-errors" context="cda:relatedSubject[cda:templateId[@root='2.16.840.1.113883.10.20.6.2.3']]">
<sch:extends rule="r-urn-oid-2.16.840.1.113883.10.20.6.2.3-errors-abstract" />
<sch:assert id="a-81-9189" test="count(cda:templateId[@root='2.16.840.1.113883.10.20.6.2.3'])=1">SHALL contain exactly one [1..1] templateId (CONF:81-9189) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.6.2.3" (CONF:81-10535).</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-2.16.840.1.113883.10.20.6.2.4-errors">
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.6.2.4-errors-abstract" abstract="true">
<sch:assert id="a-81-9196" test="count(cda:id) > 0">SHALL contain at least one [1..*] id (CONF:81-9196).</sch:assert>
<sch:assert id="a-81-9198-c" test="cda:assignedPerson or cda:assignedAuthoringDevice">Either assignedPerson or assignedAuthoringDevice SHALL be present (CONF:81-9198).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.6.2.4-errors" context="cda:assignedAuthor[cda:templateId[@root='2.16.840.1.113883.10.20.6.2.4']]">
<sch:extends rule="r-urn-oid-2.16.840.1.113883.10.20.6.2.4-errors-abstract" />
<sch:assert id="a-81-9194" test="count(cda:templateId[@root='2.16.840.1.113883.10.20.6.2.4'])=1">SHALL contain exactly one [1..1] templateId (CONF:81-9194) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.6.2.4" (CONF:81-10536).</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-2.16.840.1.113883.10.20.6.2.5-errors">
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.6.2.5-errors-abstract" abstract="true">
<sch:assert id="a-81-9201" test="count(cda:code)=1">SHALL contain exactly one [1..1] code (CONF:81-9201).</sch:assert>
<sch:assert id="a-81-17173" test="not(cda:effectiveTime[@xsi:type='TS']) or cda:effectiveTime[@xsi:type='TS'][@value]">The effectiveTime, if present, SHALL contain exactly one [1..1] @value (CONF:81-17173).</sch:assert>
<sch:assert id="a-81-26452" test="@classCode='ACT'">SHALL contain exactly one [1..1] @classCode="ACT" (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6) (CONF:81-26452).</sch:assert>
<sch:assert id="a-81-26453" test="@moodCode='EVN'">SHALL contain exactly one [1..1] @moodCode="EVN" (CodeSystem: HL7ActMood urn:oid:2.16.840.1.113883.5.1001) (CONF:81-26453).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.6.2.5-errors" context="cda:act[cda:templateId[@root='2.16.840.1.113883.10.20.6.2.5']]">
<sch:extends rule="r-urn-oid-2.16.840.1.113883.10.20.6.2.5-errors-abstract" />
<sch:assert id="a-81-9200" test="count(cda:templateId[@root='2.16.840.1.113883.10.20.6.2.5'])=1">SHALL contain exactly one [1..1] templateId (CONF:81-9200) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.6.2.5" (CONF:81-10530).</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-2.16.840.1.113883.10.20.22.4.63-errors">
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.22.4.63-errors-abstract" abstract="true">
<sch:assert id="a-81-9222" test="@classCode='ACT'">SHALL contain exactly one [1..1] @classCode="ACT" Act (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:81-9222).</sch:assert>
<sch:assert id="a-81-9223" test="@moodCode='EVN'">SHALL contain exactly one [1..1] @moodCode="EVN" Event (CodeSystem: HL7ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:81-9223).</sch:assert>
<sch:assert id="a-81-9224" test="count(cda:id) > 0">SHALL contain at least one [1..*] id (CONF:81-9224).</sch:assert>
<sch:assert id="a-81-9225" test="cda:id[@root]">Such ids SHALL contain exactly one [1..1] @root (CONF:81-9225).</sch:assert>
<sch:assert id="a-81-9226-c" test="not(cda:id[@extension])">Such ids SHALL NOT contain [0..0] @extension (CONF:81-9226).</sch:assert>
<sch:assert id="a-81-9237" test="count(cda:entryRelationship[@typeCode='COMP'][count(cda:observation[cda:templateId[@root='2.16.840.1.113883.10.20.6.2.8']])=1]) > 0">SHALL contain at least one [1..*] entryRelationship (CONF:81-9237) such that it SHALL contain exactly one [1..1] @typeCode="COMP" Component (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:81-9238). SHALL contain exactly one [1..1] SOP Instance Observation (identifier: urn:oid:2.16.840.1.113883.10.20.6.2.8) (CONF:81-15927).</sch:assert>
<sch:assert id="a-81-19166" test="count(cda:code)=1">SHALL contain exactly one [1..1] code (CONF:81-19166).</sch:assert>
<sch:assert id="a-81-19167" test="cda:code[@code='113015']">This code SHALL contain exactly one [1..1] @code="113015" (CONF:81-19167).</sch:assert>
<sch:assert id="a-81-26462" test="cda:code[count(cda:qualifier)=1]">This code SHALL contain exactly one [1..1] qualifier (CONF:81-26462).</sch:assert>
<sch:assert id="a-81-26463" test="cda:code/cda:qualifier[count(cda:name)=1]">This qualifier SHALL contain exactly one [1..1] name (CONF:81-26463).</sch:assert>
<sch:assert id="a-81-26464" test="cda:code/cda:qualifier/cda:name[@code='121139']">This name SHALL contain exactly one [1..1] @code="121139" Modality (CONF:81-26464).</sch:assert>
<sch:assert id="a-81-26465" test="cda:code/cda:qualifier/cda:name[@codeSystem='1.2.840.10008.2.16.4']">This name SHALL contain exactly one [1..1] @codeSystem="1.2.840.10008.2.16.4" (CodeSystem: DCM urn:oid:1.2.840.10008.2.16.4) (CONF:81-26465).</sch:assert>
<sch:assert id="a-81-26466" test="cda:code/cda:qualifier[count(cda:value)=1]">This qualifier SHALL contain exactly one [1..1] value (CONF:81-26466).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.22.4.63-errors" context="cda:act[cda:templateId[@root='2.16.840.1.113883.10.20.22.4.63']]">
<sch:extends rule="r-urn-oid-2.16.840.1.113883.10.20.22.4.63-errors-abstract" />
<sch:assert id="a-81-10918" test="count(cda:templateId[@root='2.16.840.1.113883.10.20.22.4.63'])=1">SHALL contain exactly one [1..1] templateId (CONF:81-10918) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.22.4.63" (CONF:81-10919).</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-2.16.840.1.113883.10.20.6.2.8-errors">
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.6.2.8-errors-abstract" abstract="true">
<sch:assert id="a-81-9240" test="@classCode='DGIMG'">SHALL contain exactly one [1..1] @classCode="DGIMG" Diagnostic Image (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:81-9240).</sch:assert>
<sch:assert id="a-81-9241" test="@moodCode='EVN'">SHALL contain exactly one [1..1] @moodCode="EVN" Event (CodeSystem: HL7ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:81-9241).</sch:assert>
<sch:assert id="a-81-9242" test="count(cda:id) > 0">SHALL contain at least one [1..*] id (CONF:81-9242).</sch:assert>
<sch:assert id="a-81-9244" test="count(cda:code)=1">SHALL contain exactly one [1..1] code (CONF:81-9244).</sch:assert>
<sch:assert id="a-81-9247" test="not(cda:text) or cda:text[@mediaType='application/dicom']">The text, if present, SHALL contain exactly one [1..1] @mediaType="application/dicom" (CONF:81-9247).</sch:assert>
<sch:assert id="a-81-9248" test="not(cda:text) or cda:text[count(cda:reference)=1]">The text, if present, SHALL contain exactly one [1..1] reference (CONF:81-9248).</sch:assert>
<sch:assert id="a-81-9249-c" test="not(tested)">**SHALL** contain a @value that contains a WADO reference as a URI (CONF:81-9249).</sch:assert>
<sch:assert id="a-81-9251" test="not(cda:effectiveTime) or cda:effectiveTime[@value]">The effectiveTime, if present, SHALL contain exactly one [1..1] @value (CONF:81-9251).</sch:assert>
<sch:assert id="a-81-9252-c" test="not(cda:low)">The effectiveTime, if present, SHALL NOT contain [0..0] low (CONF:81-9252).</sch:assert>
<sch:assert id="a-81-9253-c" test="not(cda:high)">The effectiveTime, if present, SHALL NOT contain [0..0] high (CONF:81-9253).</sch:assert>
<sch:assert id="a-81-19225" test="cda:code[@code]">This code SHALL contain exactly one [1..1] @code (CONF:81-19225).</sch:assert>
<sch:assert id="a-81-19226-c" test=".">@code is an OID for a valid SOP class name UID (CONF:81-19226).</sch:assert>
<sch:assert id="a-81-19227" test="cda:code[@codeSystem='1.2.840.10008.2.6.1']">This code SHALL contain exactly one [1..1] @codeSystem="1.2.840.10008.2.6.1" DCMUID (CONF:81-19227).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.6.2.8-errors" context="cda:observation[cda:templateId[@root='2.16.840.1.113883.10.20.6.2.8']]">
<sch:extends rule="r-urn-oid-2.16.840.1.113883.10.20.6.2.8-errors-abstract" />
</sch:rule>
</sch:pattern>
<sch:pattern id="p-urn-oid-2.16.840.1.113883.10.20.6.2.9-errors">
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.6.2.9-errors-abstract" abstract="true">
<sch:assert id="a-81-9264" test="@classCode='OBS'">SHALL contain exactly one [1..1] @classCode="OBS" Observation (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:81-9264).</sch:assert>
<sch:assert id="a-81-9265" test="@moodCode='EVN'">SHALL contain exactly one [1..1] @moodCode="EVN" Event (CodeSystem: HL7ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:81-9265).</sch:assert>
<sch:assert id="a-81-9267" test="count(cda:code)=1">SHALL contain exactly one [1..1] code (CONF:81-9267).</sch:assert>
</sch:rule>
<sch:rule id="r-urn-oid-2.16.840.1.113883.10.20.6.2.9-errors" context="cda:observation[cda:templateId[@root='2.16.840.1.113883.10.20.6.2.9']]">
<sch:extends rule="r-urn-oid-2.16.840.1.113883.10.20.6.2.9-errors-abstract" />
<sch:assert id="a-81-9266" test="count(cda:templateId[@root='2.16.840.1.113883.10.20.6.2.9'])=1">SHALL contain exactly one [1..1] templateId (CONF:81-9266) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.6.2.9" (CONF:81-10531).</sch:assert>
</sch:rule>
</sch:pattern>