forked from jddamore/HL7-Task-Force-Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ALLERGY_Examples_in_empty_CCD.xml
948 lines (948 loc) · 42.5 KB
/
ALLERGY_Examples_in_empty_CCD.xml
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
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="CDA.xsl"?>
<ClinicalDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xmlns:cda="urn:hl7-org:v3" xmlns:sdtc="urn:hl7-org:sdtc">
<!-- This CCD was validated with no warnings/errors with NIST Validator for Ambulatory VDT on December 18, 2013. Note immunizations and procedures would need to be added for "Transition of Care" validation-->
<realmCode code="US"/>
<typeId root="2.16.840.1.113883.1.3" extension="POCD_HD000040"/>
<templateId root="2.16.840.1.113883.10.20.22.1.1"/>
<!-- C-CDA -->
<templateId root="2.16.840.1.113883.10.20.22.1.2"/>
<!-- CCD -->
<id root="2.16.840.1.113883.3.3208.101.1" extension="20130607100315-CCDA-CCD"/>
<code codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" code="34133-9" displayName="Summarization of Episode Note"/>
<title>This is a CCD skeleton with some sample medication results created for HL7 Example Task Force - Based on C-CDA Skeleton developed by Lisa Nelson</title>
<effectiveTime value="20131031110101+0500"/>
<confidentialityCode code="N" codeSystem="2.16.840.1.113883.5.25"/>
<languageCode code="en-US"/>
<recordTarget>
<patientRole>
<id root="2.16.840.1.113883.3.3208.101.2" extension="20130607100800-Patient1"/>
<addr use="HP">
<streetAddressLine>1111 StreetName St.</streetAddressLine>
<city>Silver Spring</city>
<state>MD</state>
<postalCode>20901</postalCode>
<country>US</country>
</addr>
<telecom value="tel:+1(301)111-1111" use="HP"/>
<patient>
<name use="L">
<given>Patient</given>
<family>One</family>
</name>
<administrativeGenderCode code="M" codeSystem="2.16.840.1.113883.5.1" displayName="Male" codeSystemName="AdministrativeGender"/>
<birthTime value="19300911"/>
<maritalStatusCode code="M" displayName="Married" codeSystem="2.16.840.1.113883.5.2" codeSystemName="MaritalStatus"/>
<raceCode code="2106-3" displayName="White"
codeSystem="2.16.840.1.113883.6.238"
codeSystemName="OMB Standards for Race and Ethnicity"/>
<ethnicGroupCode code="2186-5" displayName="Not Hispanic or Latino"
codeSystem="2.16.840.1.113883.6.238"
codeSystemName="OMB Standards for Race and Ethnicity"/>
<languageCommunication>
<languageCode code="eng"/>
<modeCode code="ESP" displayName="Expressed spoken" codeSystem="2.16.840.1.113883.5.60" codeSystemName="LanguageAbilityMode"/>
<proficiencyLevelCode code="E" displayName="Excellent" codeSystem="2.16.840.1.113883.5.61" codeSystemName="LanguageAbilityProficiency"/>
</languageCommunication>
</patient>
</patientRole>
</recordTarget>
<author>
<time value="20130607000000"/>
<assignedAuthor>
<id extension="22222" root="2.16.840.1.113883.4.6"/>
<code code="207QA0505X" codeSystem="2.16.840.1.113883.6.101"
displayName="Adult Medicine" codeSystemName="NUCC"/>
<addr use="HP">
<streetAddressLine>2222 StreetName St.</streetAddressLine>
<city>Silver Spring</city>
<state>MD</state>
<postalCode>20901</postalCode>
<country>US</country>
</addr>
<telecom value="tel:+1(301)222-2222" use="WP"/>
<assignedPerson>
<name>
<given>Doctor</given>
<family>Second</family>
<suffix>MD</suffix>
</name>
</assignedPerson>
</assignedAuthor>
</author>
<dataEnterer>
<assignedEntity>
<id extension="33333" root="2.16.840.1.113883.4.6"/>
<code code="364SA2200X" displayName="Adult Health" codeSystem="2.16.840.1.113883.6.101" codeSystemName="NUCC"/>
<addr use="WP">
<streetAddressLine>3333 StreetName St.</streetAddressLine>
<city>Silver Spring</city>
<state>MD</state>
<postalCode>20901</postalCode>
<country>US</country>
</addr>
<telecom value="tel:+1(301)333-3333" use="WP"/>
<assignedPerson>
<name>
<given>Nurse</given>
<family>Tertiary</family>
</name>
</assignedPerson>
</assignedEntity>
</dataEnterer>
<custodian>
<assignedCustodian>
<representedCustodianOrganization>
<id extension="44444" root="2.16.840.1.113883.4.6"/>
<name>CDA PRO Fictional Hospital</name>
<telecom value="tel:+1(301)444-4444" use="WP"/>
<addr use="WP">
<streetAddressLine>4444 StreetName St.</streetAddressLine>
<city>Silver Spring</city>
<state>MD</state>
<postalCode>20901</postalCode>
<country>US</country>
</addr>
</representedCustodianOrganization>
</assignedCustodian>
</custodian>
<legalAuthenticator>
<time value="20130607000000"/>
<signatureCode code="S"/>
<assignedEntity>
<id root="2.16.840.1.113883.3.3208.101.3" extension="20130607102400-Authenticator1"/>
<addr use="WP">
<streetAddressLine>5555 StreetName St.</streetAddressLine>
<city>Silver Spring</city>
<state>MD</state>
<postalCode>20901</postalCode>
<country>US</country>
</addr>
<telecom value="tel:+1(301)555-5555" use="WP"/>
<assignedPerson>
<name>
<given>Physician</given>
<family>Fifthly</family>
<suffix>MD</suffix>
</name>
</assignedPerson>
</assignedEntity>
</legalAuthenticator>
<documentationOf>
<serviceEvent classCode="PCPR">
<effectiveTime>
<low value="19330316"/>
<high value="20130607"/>
</effectiveTime>
<performer typeCode="PRF">
<assignedEntity>
<id extension="66666" root="2.16.840.1.113883.4.6"/>
<code code="207RC0000X" codeSystem="2.16.840.1.113883.6.101" codeSystemName="NUCC"
displayName="Cardiovascular Disease"/>
<addr>
<streetAddressLine>6666 StreetName St.</streetAddressLine>
<city>Silver Spring</city>
<state>MD</state>
<postalCode>20901</postalCode>
<country>US</country>
</addr>
<telecom value="tel:+1(301)666-6666" use="WP"/>
<assignedPerson>
<name>
<given>Heartly</given>
<family>Sixer</family>
<suffix>MD</suffix>
</name>
</assignedPerson>
</assignedEntity>
</performer>
</serviceEvent>
</documentationOf>
<!-- CDA Body -->
<component>
<structuredBody>
<!-- Allergies Section -->
<component>
<section>
<templateId root="2.16.840.1.113883.10.20.22.2.6.1"/>
<!-- Allergies (entries required) section template -->
<code code="48765-2" codeSystem="2.16.840.1.113883.6.1"/>
<title>Allergies, Adverse Reactions and Alerts</title>
<text>
<table>
<thead>
<tr>
<th>Allergen</th>
<th>Reaction</th>
<th>Reaction Severity</th>
<th>Documentation Date</th>
<th>Start Date</th>
</tr>
</thead>
<tbody>
<tr ID="allergy1">
<td ID="allergy1allergen">Cat hair</td>
<td ID="allergy1reaction">Rash</td>
<td ID="allergy1reactionseverity">Moderate</td>
<td>Jan 4 2014</td>
<td>1998</td>
</tr>
<tr ID="allergy2">
<td ID="allergy2allergen">Penicillin</td>
<td ID="allergy2reaction">Anaphylaxis</td>
<td ID="allergy2reactionseverity">Severe</td>
<td>Jan 4 2014</td>
<td>2006</td>
</tr>
<tr ID="allergy3">
<td ID="allergy3allergen">Penicillins (drug class)</td>
<td ID="allergy3reaction">Anaphylaxis</td>
<td ID="allergy3reactionseverity">Severe</td>
<td>Jan 4 2014</td>
<td>2006</td>
</tr>
<tr ID="allergy4">
<td ID="allergy4allergen">Latex</td>
<td ID="allergy4reaction">Anaphylaxis</td>
<td ID="allergy4reactionseverity">Severe</td>
<td>Jan 4 2014</td>
<td>Jan 3 2014</td>
</tr>
<tr ID="allergy5">
<td ID="allergy5allergen">Egg</td>
<td ID="allergy5reaction">Hives</td>
<td ID="allergy5reactionseverity">Moderate</td>
<td>Jan 4 2014</td>
<td>1998</td>
</tr>
<tr ID="allergy6">
<td ID="allergy6allergen">Epineprhine</td>
<td>
<content ID="allergy6reaction">Ventricular tachycardia</content>
<br />
<content ID="allergy6reaction2">Tremor</content>
</td>
<td>
<content ID="allergy6reactionseverity">Severe</content>
<br />
<content ID="allergy6reactionseverity2">Moderate</content>
</td>
<td>Jan 4 2014</td>
<td>Jan 3 2014</td>
</tr>
</tbody>
</table>
</text>
<entry typeCode="DRIV">
<act classCode="ACT" moodCode="EVN">
<!-- ** Allergy problem act ** -->
<templateId root="2.16.840.1.113883.10.20.22.4.30"/>
<id root="4a2ac5fc-0c85-4223-baee-c2e254803974" />
<code code="CONC" codeSystem="2.16.840.1.113883.5.6"/>
<statusCode code="active"/>
<!-- This is the time stamp for when the allergy was first documented as a concern-->
<effectiveTime>
<low value="20140104123506+0500"/>
</effectiveTime>
<entryRelationship typeCode="SUBJ" inversionInd="true">
<observation classCode="OBS" moodCode="EVN">
<!-- allergy observation template -->
<templateId root="2.16.840.1.113883.10.20.22.4.7"/>
<id root="4a2ac5fc-0c85-4223-baee-c2e254803974"/>
<code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
<statusCode code="completed"/>
<!-- This is the time stamp for the biological onset of the allergy. -->
<!-- Just the year is shown since a specific month and date was not reported -->
<effectiveTime>
<low value="1998"/>
</effectiveTime>
<!-- This specifies that the allergy is to a substance (cat hair) in contrast to other allergies (drug) -->
<value xsi:type="CD" code="419199007" displayName="allergy to substance" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT"></value>
<participant typeCode="CSM">
<participantRole classCode="MANU">
<playingEntity classCode="MMAT">
<!-- UNII is used to report allergen of a substance -->
<code code="1564HD0N96" displayName="Cat hair" codeSystem="2.16.840.1.113883.4.9" codeSystemName="UNII">
<originalText>
<reference value="#allergy1allergen"/>
</originalText>
</code>
</playingEntity>
</participantRole>
</participant>
<entryRelationship typeCode="MFST" inversionInd="true">
<observation classCode="OBS" moodCode="EVN">
<!-- Reaction Observation template -->
<templateId root="2.16.840.1.113883.10.20.22.4.9"/>
<id root="0506c036-adfb-4e6e-b9e1-eea76177ead5"/>
<!-- This code was not specified in C-CDA IG 1.1 although using ASSERTION aligns with C-CDA IG 2.0-->
<code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
<text>
<reference value="#allergy1reaction"/>
</text>
<statusCode code="completed"/>
<effectiveTime>
<low value="1998"/>
</effectiveTime>
<value xsi:type="CD" code="64144002" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Rash"/>
<entryRelationship typeCode="SUBJ" inversionInd="true">
<observation classCode="OBS" moodCode="EVN">
<!-- Severity Observation template -->
<templateId root="2.16.840.1.113883.10.20.22.4.8"/>
<code code="SEV" codeSystem="2.16.840.1.113883.5.4" codeSystemName="ActCode"/>
<text>
<reference value="#allergy1reactionseverity"/>
</text>
<statusCode code="completed"/>
<value xsi:type="CD" code="6736007" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="moderate"/>
</observation>
</entryRelationship>
</observation>
</entryRelationship>
<!-- Note that severity may also be specified for observation and has SHOULD conformance in C-CDA 1.1 -->
<!-- We have only included allergy severity to a specific reaction as outlined in HL7 Patient Care Committee materials-->
</observation>
</entryRelationship>
</act>
</entry>
<entry typeCode="DRIV">
<act classCode="ACT" moodCode="EVN">
<!-- ** Allergy problem act ** -->
<templateId root="2.16.840.1.113883.10.20.22.4.30"/>
<id root="4a2ac5fc-0c85-4223-baee-c2e254803974" />
<code code="CONC" codeSystem="2.16.840.1.113883.5.6"/>
<statusCode code="active"/>
<!-- This is the time stamp for when the allergy was first documented as a concern-->
<effectiveTime>
<low value="20140104123506+0500"/>
</effectiveTime>
<entryRelationship typeCode="SUBJ" inversionInd="true">
<observation classCode="OBS" moodCode="EVN">
<!-- allergy observation template -->
<templateId root="2.16.840.1.113883.10.20.22.4.7"/>
<id root="4a2ac5fc-0c85-4223-baee-c2e254803974"/>
<code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
<statusCode code="completed"/>
<!-- This is the time stamp for the biological onset of the allergy. -->
<!-- Just the year is shown since a specific month and date was not reported -->
<effectiveTime>
<low value="2006"/>
</effectiveTime>
<!-- This specifies that the allergy is to a medication in contrast to other allergies (substance) -->
<value xsi:type="CD" code="416098002" displayName="drug allergy" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT"></value>
<participant typeCode="CSM">
<participantRole classCode="MANU">
<playingEntity classCode="MMAT">
<!-- RxNorm is used to report specific drug allergies. Note to use NDF-RT for drug classes -->
<!-- Best practice is to report drug allergies at ingredient level (e.g. penicillin) not at the adminsitration level (e.g. 10mg tablet)-->
<code code="7980" displayName="penicillin" codeSystem="2.16.840.1.113883.6.88" codeSystemName="RxNorm">
<originalText>
<reference value="#allergy2allergen"/>
</originalText>
</code>
</playingEntity>
</participantRole>
</participant>
<entryRelationship typeCode="MFST" inversionInd="true">
<observation classCode="OBS" moodCode="EVN">
<!-- Reaction Observation template -->
<templateId root="2.16.840.1.113883.10.20.22.4.9"/>
<id root="0506c036-adfb-4e6e-b9e1-eea76177ead5"/>
<!-- This code was not specified in C-CDA IG 1.1 although using ASSERTION aligns with C-CDA IG 2.0-->
<code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
<text>
<reference value="#allergy2reaction"/>
</text>
<statusCode code="completed"/>
<effectiveTime>
<low value="2006"/>
</effectiveTime>
<value xsi:type="CD" code="39579001" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Anaphylaxis"/>
<entryRelationship typeCode="SUBJ" inversionInd="true">
<observation classCode="OBS" moodCode="EVN">
<!-- Severity Observation template -->
<templateId root="2.16.840.1.113883.10.20.22.4.8"/>
<code code="SEV" codeSystem="2.16.840.1.113883.5.4" codeSystemName="ActCode"/>
<text>
<reference value="#allergy2reactionseverity"/>
</text>
<statusCode code="completed"/>
<value xsi:type="CD" code="24484000" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Severe"/>
</observation>
</entryRelationship>
</observation>
</entryRelationship>
<!-- Note that severity may also be specified for observation and has SHOULD conformance in C-CDA 1.1 -->
<!-- We have only included allergy severity to a specific reaction as outlined in HL7 Patient Care Committee materials-->
</observation>
</entryRelationship>
</act>
</entry>
<entry typeCode="DRIV">
<act classCode="ACT" moodCode="EVN">
<!-- ** Allergy problem act ** -->
<templateId root="2.16.840.1.113883.10.20.22.4.30"/>
<id root="4a2ac5fc-0c85-4223-baee-c2e254803974" />
<code code="CONC" codeSystem="2.16.840.1.113883.5.6"/>
<statusCode code="active"/>
<!-- This is the time stamp for when the allergy was first documented as a concern-->
<effectiveTime>
<low value="20140104123506+0500"/>
</effectiveTime>
<entryRelationship typeCode="SUBJ" inversionInd="true">
<observation classCode="OBS" moodCode="EVN">
<!-- allergy observation template -->
<templateId root="2.16.840.1.113883.10.20.22.4.7"/>
<id root="4a2ac5fc-0c85-4223-baee-c2e254803974"/>
<code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
<statusCode code="completed"/>
<!-- This is the time stamp for the biological onset of the allergy. -->
<!-- Just the year is shown since a specific month and date was not reported -->
<effectiveTime>
<low value="2006"/>
</effectiveTime>
<!-- This specifies that the allergy is to a medication in contrast to other allergies (substance) -->
<value xsi:type="CD" code="416098002" displayName="drug allergy" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT"></value>
<participant typeCode="CSM">
<participantRole classCode="MANU">
<playingEntity classCode="MMAT">
<!-- NDF-RT is used to report drug class allergies. Note to use RxNorm for specific drugs -->
<code code="N0000011281" displayName="penicillins" codeSystem="2.16.840.1.113883.3.26.1.5" codeSystemName="NDF-RT">
<originalText>
<reference value="#allergy3allergen"/>
</originalText>
</code>
</playingEntity>
</participantRole>
</participant>
<entryRelationship typeCode="MFST" inversionInd="true">
<observation classCode="OBS" moodCode="EVN">
<!-- Reaction Observation template -->
<templateId root="2.16.840.1.113883.10.20.22.4.9"/>
<id root="0506c036-adfb-4e6e-b9e1-eea76177ead5"/>
<!-- This code was not specified in C-CDA IG 1.1 although using ASSERTION aligns with C-CDA IG 2.0-->
<code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
<text>
<reference value="#allergy3reaction"/>
</text>
<statusCode code="completed"/>
<effectiveTime>
<low value="2006"/>
</effectiveTime>
<value xsi:type="CD" code="39579001" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Anaphylaxis"/>
<entryRelationship typeCode="SUBJ" inversionInd="true">
<observation classCode="OBS" moodCode="EVN">
<!-- Severity Observation template -->
<templateId root="2.16.840.1.113883.10.20.22.4.8"/>
<code code="SEV" codeSystem="2.16.840.1.113883.5.4" codeSystemName="ActCode"/>
<text>
<reference value="#allergy3reactionseverity"/>
</text>
<statusCode code="completed"/>
<value xsi:type="CD" code="24484000" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Severe"/>
</observation>
</entryRelationship>
</observation>
</entryRelationship>
<!-- Note that severity may also be specified for observation and has SHOULD conformance in C-CDA 1.1 -->
<!-- We have only included allergy severity to a specific reaction as outlined in HL7 Patient Care Committee materials-->
</observation>
</entryRelationship>
</act>
</entry>
<entry typeCode="DRIV">
<act classCode="ACT" moodCode="EVN">
<!-- ** Allergy problem act ** -->
<templateId root="2.16.840.1.113883.10.20.22.4.30"/>
<id root="0abffc67-af4e-4345-b917-eed43f641b93" />
<code code="CONC" codeSystem="2.16.840.1.113883.5.6"/>
<statusCode code="active"/>
<!-- This is the time stamp for when the allergy was first documented as a concern-->
<effectiveTime>
<low value="20140104123506+0500"/>
</effectiveTime>
<entryRelationship typeCode="SUBJ" inversionInd="true">
<observation classCode="OBS" moodCode="EVN">
<!-- allergy observation template -->
<templateId root="2.16.840.1.113883.10.20.22.4.7"/>
<id root="0abffc67-af4e-4345-b917-eed43f641b93"/>
<code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
<statusCode code="completed"/>
<!-- This is the time stamp for the biological onset of the allergy. -->
<!-- This documents that the allergy began at given year month and day, although hour and minute not specified-->
<effectiveTime>
<low value="20140103"/>
</effectiveTime>
<!-- This specifies that the allergy is a propensity to adverse reactions to substance -->
<value xsi:type="CD" code="418038007" displayName="Propensity to adverse reactions to substance (disorder)" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT"></value>
<participant typeCode="CSM">
<participantRole classCode="MANU">
<playingEntity classCode="MMAT">
<!-- UNII is used to report allergen of a substance -->
<code code="2LQ0UUW8IN" displayName="Natural Latex Rubber" codeSystem="2.16.840.1.113883.4.9" codeSystemName="UNII">
<originalText>
<reference value="#allergy4allergen"/>
</originalText>
</code>
</playingEntity>
</participantRole>
</participant>
<entryRelationship typeCode="MFST" inversionInd="true">
<observation classCode="OBS" moodCode="EVN">
<!-- Reaction Observation template -->
<templateId root="2.16.840.1.113883.10.20.22.4.9"/>
<id root="14d1b466-feee-4f4d-a82e-a03754327e1a"/>
<!-- This code was not specified in C-CDA IG 1.1 although using ASSERTION aligns with C-CDA IG 2.0-->
<code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
<text>
<reference value="#allergy4reaction"/>
</text>
<statusCode code="completed"/>
<effectiveTime>
<low value="20140103"/>
</effectiveTime>
<value xsi:type="CD" code="39579001" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Anaphylaxis"/>
<entryRelationship typeCode="SUBJ" inversionInd="true">
<observation classCode="OBS" moodCode="EVN">
<!-- Severity Observation template -->
<templateId root="2.16.840.1.113883.10.20.22.4.8"/>
<code code="SEV" codeSystem="2.16.840.1.113883.5.4" codeSystemName="ActCode"/>
<text>
<reference value="#allergy4reactionseverity"/>
</text>
<statusCode code="completed"/>
<value xsi:type="CD" code="24484000" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="severe"/>
</observation>
</entryRelationship>
</observation>
</entryRelationship>
<!-- Note that severity may also be specified for observation and has SHOULD conformance in C-CDA 1.1 -->
<!-- We have only included allergy severity to a specific reaction as outlined in HL7 Patient Care Committee materials-->
</observation>
</entryRelationship>
</act>
</entry>
<entry typeCode="DRIV">
<act classCode="ACT" moodCode="EVN">
<!-- ** Allergy problem act ** -->
<templateId root="2.16.840.1.113883.10.20.22.4.30"/>
<id root="0fffb34f-c1e0-47c2-92af-c414a3ff21ec" />
<code code="CONC" codeSystem="2.16.840.1.113883.5.6"/>
<statusCode code="active"/>
<!-- This is the time stamp for when the allergy was first documented as a concern-->
<effectiveTime>
<low value="20140104123506+0500"/>
</effectiveTime>
<entryRelationship typeCode="SUBJ" inversionInd="true">
<observation classCode="OBS" moodCode="EVN">
<!-- allergy observation template -->
<templateId root="2.16.840.1.113883.10.20.22.4.7"/>
<id root="0fffb34f-c1e0-47c2-92af-c414a3ff21ec"/>
<code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
<statusCode code="completed"/>
<!-- This is the time stamp for the biological onset of the allergy. -->
<!-- Just the year is shown since a specific month and date was not reported -->
<effectiveTime>
<low value="1998"/>
</effectiveTime>
<!-- This specifies that the allergy is to a food in contrast to other allergies (drug) -->
<value xsi:type="CD" code="414285001" displayName="Food allergy (disorder)" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT"></value>
<participant typeCode="CSM">
<participantRole classCode="MANU">
<playingEntity classCode="MMAT">
<!-- UNII is used to report allergen of a food -->
<code code="291P45F896" displayName="Egg" codeSystem="2.16.840.1.113883.4.9" codeSystemName="UNII">
<originalText>
<reference value="#allergy5allergen"/>
</originalText>
</code>
</playingEntity>
</participantRole>
</participant>
<entryRelationship typeCode="MFST" inversionInd="true">
<observation classCode="OBS" moodCode="EVN">
<!-- Reaction Observation template -->
<templateId root="2.16.840.1.113883.10.20.22.4.9"/>
<id root="d89ce431-e0f1-4f8d-a81f-489b6ed91f09"/>
<!-- This code was not specified in C-CDA IG 1.1 although using ASSERTION aligns with C-CDA IG 2.0-->
<code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
<text>
<reference value="#allergy5reaction"/>
</text>
<statusCode code="completed"/>
<effectiveTime>
<low value="1998"/>
</effectiveTime>
<value xsi:type="CD" code="247472004" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Hives"/>
<entryRelationship typeCode="SUBJ" inversionInd="true">
<observation classCode="OBS" moodCode="EVN">
<!-- Severity Observation template -->
<templateId root="2.16.840.1.113883.10.20.22.4.8"/>
<code code="SEV" codeSystem="2.16.840.1.113883.5.4" codeSystemName="ActCode"/>
<text>
<reference value="#allergy5reactionseverity"/>
</text>
<statusCode code="completed"/>
<value xsi:type="CD" code="6736007" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="moderate"/>
</observation>
</entryRelationship>
</observation>
</entryRelationship>
<!-- Note that severity may also be specified for observation and has SHOULD conformance in C-CDA 1.1 -->
<!-- We have only included allergy severity to a specific reaction as outlined in HL7 Patient Care Committee materials-->
</observation>
</entryRelationship>
</act>
</entry>
<entry typeCode="DRIV">
<act classCode="ACT" moodCode="EVN">
<!-- ** Allergy problem act ** -->
<templateId root="2.16.840.1.113883.10.20.22.4.30"/>
<id root="57b4e23d-43c0-465d-b907-c653388ee14b" />
<code code="CONC" codeSystem="2.16.840.1.113883.5.6"/>
<statusCode code="active"/>
<!-- This is the time stamp for when the allergy was first documented as a concern-->
<effectiveTime>
<low value="20140104123506+0500"/>
</effectiveTime>
<entryRelationship typeCode="SUBJ" inversionInd="true">
<observation classCode="OBS" moodCode="EVN">
<!-- allergy observation template -->
<templateId root="2.16.840.1.113883.10.20.22.4.7"/>
<id root="57b4e23d-43c0-465d-b907-c653388ee14b"/>
<code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
<statusCode code="completed"/>
<!-- This is the time stamp for the biological onset of the allergy. -->
<!-- Just the year is shown since a specific month and date was not reported -->
<effectiveTime>
<low value="20140103"/>
</effectiveTime>
<!-- This specifies that the allergy is to a medication in contrast to other allergies (substance) -->
<value xsi:type="CD" code="59037007" displayName="Drug intolerance (disorder)" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT"></value>
<participant typeCode="CSM">
<participantRole classCode="MANU">
<playingEntity classCode="MMAT">
<!-- RxNorm is used to report specific drug allergies. Note to use NDF-RT for drug classes -->
<!-- Best practice is to report drug allergies at ingredient level (e.g. epinephrine) not at the adminsitration level (e.g. 0.3mL 0.5mg/mL Prefilled Syringe)-->
<code code="3992" displayName="epinephrine" codeSystem="2.16.840.1.113883.6.88" codeSystemName="RxNorm">
<originalText>
<reference value="#allergy6allergen"/>
</originalText>
</code>
</playingEntity>
</participantRole>
</participant>
<entryRelationship typeCode="MFST" inversionInd="true">
<observation classCode="OBS" moodCode="EVN">
<!-- Reaction Observation template -->
<templateId root="2.16.840.1.113883.10.20.22.4.9"/>
<id root="0506c036-adfb-4e6e-b9e1-eea76177ead5"/>
<!-- This code was not specified in C-CDA IG 1.1 although using ASSERTION aligns with C-CDA IG 2.0-->
<code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
<text>
<reference value="#allergy6reaction"/>
</text>
<statusCode code="completed"/>
<effectiveTime>
<low value="20140103"/>
</effectiveTime>
<value xsi:type="CD" code="25569003" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Ventricular tachycardia"/>
<entryRelationship typeCode="SUBJ" inversionInd="true">
<observation classCode="OBS" moodCode="EVN">
<!-- Severity Observation template -->
<templateId root="2.16.840.1.113883.10.20.22.4.8"/>
<code code="SEV" codeSystem="2.16.840.1.113883.5.4" codeSystemName="ActCode"/>
<text>
<reference value="#allergy6reactionseverity"/>
</text>
<statusCode code="completed"/>
<value xsi:type="CD" code="24484000" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Severe"/>
</observation>
</entryRelationship>
</observation>
</entryRelationship>
<!-- Note that multiple reactions may be recorded to the same substance ([0..*] cardinality in C-CDA 1.1)-->
<entryRelationship typeCode="MFST" inversionInd="true">
<observation classCode="OBS" moodCode="EVN">
<!-- Reaction Observation template -->
<templateId root="2.16.840.1.113883.10.20.22.4.9"/>
<id root="fea0b775-f3fe-4e0a-9c4f-4a5c235c2af0"/>
<!-- This code was not specified in C-CDA IG 1.1 although using ASSERTION aligns with C-CDA IG 2.0-->
<code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
<text>
<reference value="#allergy6reaction2"/>
</text>
<statusCode code="completed"/>
<effectiveTime>
<low value="20140103"/>
</effectiveTime>
<value xsi:type="CD" code="26079004" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Tremor"/>
<entryRelationship typeCode="SUBJ" inversionInd="true">
<observation classCode="OBS" moodCode="EVN">
<!-- Severity Observation template -->
<templateId root="2.16.840.1.113883.10.20.22.4.8"/>
<code code="SEV" codeSystem="2.16.840.1.113883.5.4" codeSystemName="ActCode"/>
<text>
<reference value="#allergy6reactionseverity2"/>
</text>
<statusCode code="completed"/>
<value xsi:type="CD" code="6736007" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Moderate"/>
</observation>
</entryRelationship>
</observation>
</entryRelationship>
<!-- Note that severity may also be specified for observation and has SHOULD conformance in C-CDA 1.1 -->
<!-- We have only included allergy severity to a specific reaction as outlined in HL7 Patient Care Committee materials-->
</observation>
</entryRelationship>
</act>
</entry>
</section>
</component>
<!-- Medication Section -->
<component>
<section>
<templateId root="2.16.840.1.113883.10.20.22.2.1.1"/>
<!-- Medication Section (entries required) -->
<code code="10160-0" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="History of Medication Use"/>
<title>MEDICATIONS</title>
<text>
<content ID="meds1">No Information About Medications</content>
</text>
<entry typeCode="DRIV">
<substanceAdministration moodCode="EVN" classCode="SBADM" nullFlavor="NI">
<templateId root="2.16.840.1.113883.10.20.22.4.16"/>
<!-- Medication Activity -->
<id root="2.16.840.1.113883.3.3208.101.10" extension="20130607111500-MedicationActivity"/>
<text>
<reference value="#meds1"/>
</text>
<statusCode code="completed"/>
<effectiveTime xsi:type="IVL_TS">
<low nullFlavor="NI"/>
<high nullFlavor="NI"/>
</effectiveTime>
<effectiveTime xsi:type="PIVL_TS" operator="A" nullFlavor="NI"/>
<!-- Added to meet the "SHOULD" and avoid the warning from the validator -->
<doseQuantity nullFlavor="NI"/>
<!-- Added to meet the "SHOULD" and avoid the warning from the validator -->
<consumable>
<manufacturedProduct classCode="MANU">
<templateId root="2.16.840.1.113883.10.20.22.4.23"/>
<!-- Medication Information -->
<manufacturedMaterial>
<code nullFlavor="NI">
<originalText>
<reference value="#meds1"/>
</originalText>
</code>
</manufacturedMaterial>
</manufacturedProduct>
</consumable>
</substanceAdministration>
</entry>
</section>
</component>
<!-- Problem Section -->
<component>
<section>
<templateId root="2.16.840.1.113883.10.20.22.2.5.1"/>
<!-- Problem Section with Coded Entries Required -->
<code code="11450-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Problem List"/>
<title>PROBLEMS</title>
<text>
<content ID="problems1">No Information About Problems</content>
</text>
<entry typeCode="DRIV">
<act classCode="ACT" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.22.4.3"/>
<!-- Problem Concern Act (Condition) -->
<id root="2.16.840.1.113883.3.3208.101.10" extension="20130607113300-ProblemConcern"/>
<code code="CONC" displayName="Concern" codeSystem="2.16.840.1.113883.5.6" codeSystemName="HL7ActClass"/>
<statusCode code="active"/>
<effectiveTime>
<low nullFlavor="NI"/>
<high nullFlavor="NI"/>
</effectiveTime>
<entryRelationship typeCode="SUBJ">
<observation classCode="OBS" moodCode="EVN" nullFlavor="NI">
<templateId root="2.16.840.1.113883.10.20.22.4.4"/>
<!-- Problem Observation -->
<id root="2.16.840.1.113883.3.3208.101.10" extension="20130607113430-ProblemObservation"/>
<code nullFlavor="NI"/>
<text>
<reference value="#problems1"/>
</text>
<statusCode code="completed" />
<effectiveTime>
<low nullFlavor="NI"/>
<high nullFlavor="NI"/>
</effectiveTime>
<value xsi:type="CD" nullFlavor="NI" />
</observation>
</entryRelationship>
</act>
</entry>
</section>
</component>
<!-- Procedures Section -->
<component>
<section>
<templateId root="2.16.840.1.113883.10.20.22.2.7.1"/>
<!-- Procedures Section with Coded Entries Required-->
<code code="47519-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="History of Procedures"/>
<title>PROCEDURES</title>
<text>
<content ID="procedures1">No Information About Procedures</content>
</text>
<entry typeCode="DRIV">
<act classCode="ACT" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.22.4.12"/>
<!-- Procedure Activity Act-->
<id root="2.16.840.1.113883.3.3208.101.10" extension="20130607114600-ProcedureActivity"/>
<code xsi:type="CE" nullFlavor="NI">
<originalText>
<reference value="#procedures1"/>
</originalText>
</code>
<statusCode code="completed" />
<effectiveTime nullFlavor="NI"/>
<performer>
<!-- Added to meet "SHOULD" requirment and avoid validator warning -->
<assignedEntity>
<id root="2.16.840.1.113883.3.3208.101.3" extension="20130607154800-UnknownPersonnel"/>
<addr nullFlavor="NI"/>
<telecom nullFlavor="NI"/>
<representedOrganization nullFlavor="NI">
<id root="2.16.840.1.113883.3.3208.101.5" extension="20130607155400-UnknownOrg" />
<telecom nullFlavor="NI" />
<addr nullFlavor="NI" />
</representedOrganization>
</assignedEntity>
</performer>
</act>
</entry>
</section>
</component>
<!-- Results Section -->
<component>
<section>
<templateId root="2.16.840.1.113883.10.20.22.2.3.1"/>
<!-- Results Section with Coded Entries Required-->
<code code="30954-2" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Relevant diagnostic tests and/or laboratory data"/>
<title>RESULTS</title>
<text>
<content ID="results1">No Information About Results</content>
</text>
<entry typeCode="DRIV">
<organizer classCode="CLUSTER" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.22.4.1"/>
<!-- Result Organizer -->
<id root="2.16.840.1.113883.3.3208.101.10" extension="20130607113300-ResultOrganizer"/>
<code xsi:type="CE" nullFlavor="NI"/>
<statusCode code="completed"/>
<effectiveTime>
<low nullFlavor="NI"/>
<high value="20130607000000-0000"/>
</effectiveTime>
<!-- Up until now. -->
<!-- Brian's sample had a weird date in here. -->
<component>
<observation classCode="OBS" moodCode="EVN" >
<!-- removed this: nullFlavor="NI"-->
<templateId root="2.16.840.1.113883.10.20.22.4.2"/>
<!-- Results Observation -->
<id nullFlavor="NI"/>
<code nullFlavor="NI" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/>
<!-- No code here -->
<text>
<reference value="#results1"/>
</text>
<statusCode code="completed"/>
<effectiveTime>
<low nullFlavor="NI"/>
<high value="20130607000000-0000"/>
</effectiveTime>
<!-- Up until now. -->
<value xsi:type="CD" nullFlavor="NI"/>
<interpretationCode nullFlavor="NI"/>
</observation>
</component>
</organizer>
</entry>
</section>
</component>
<!-- Plan of Care Section -->
<component>
<section>
<templateId root="2.16.840.1.113883.10.20.22.2.10"/>
<!-- Plan of Care Section-->
<code code="18776-5" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Plan of Care"/>
<title>PLAN OF CARE</title>
<text>No Information About Plan of Care</text>
</section>
</component>
<!-- Social History (with Smoking Status Observation) -->
<component>
<section>
<templateId root="2.16.840.1.113883.10.20.22.2.17"/>
<!-- Social History Section -->
<code code="29762-2" codeSystem="2.16.840.1.113883.6.1" displayName="Social History"/>
<title>SOCIAL HISTORY</title>
<text>
<content ID="socialhist1">No Information About Social History</content>
</text>
<entry>
<observation classCode="OBS" moodCode="EVN" nullFlavor="NI">
<templateId root="2.16.840.1.113883.10.20.22.4.78"/>
<!-- Smoking Status Observation -->
<code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
<statusCode code="completed"/>
<effectiveTime>
<low nullFlavor="NI"/>
<high nullFlavor="NI"/>
</effectiveTime>
<value xsi:type="CD" code="266927001" displayName="Unknown if ever smoked" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT"/>
</observation>
</entry>
</section>
</component>
<!-- Vital Signs Section (entries required) -->
<component>
<section>
<templateId root="2.16.840.1.113883.10.20.22.2.4.1"/>
<!-- Vital Signs (entries required) -->
<code code="8716-3" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Vital Signs"/>
<title>VITAL SIGNS</title>
<text>
<content ID="vitalsigns1">No Information About Vital Signs</content>
</text>
<entry typeCode="DRIV">
<organizer classCode="CLUSTER" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.22.4.26" />
<!-- Vital Signs Organizer -->
<id root="2.16.840.1.113883.3.3208.101.10" extension="20130607125100-VitalSignsOrganizer"/>
<code code="46680005" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Vital signs"/>
<statusCode code="completed"/>
<effectiveTime nullFlavor="NI"/>
<component>
<observation classCode="OBS" moodCode="EVN" nullFlavor="NI">
<templateId root="2.16.840.1.113883.10.20.22.4.27"/>
<!-- Vital Signs Observation -->
<id root="2.16.840.1.113883.3.3208.101.10" extension="20130607125100-VitalSignsObservation"/>
<code nullFlavor="NI"/>
<text>
<reference value="#vitalsigns1"/>
</text>
<statusCode code="completed"/>
<effectiveTime nullFlavor="NI"/>
<value xsi:type="PQ" nullFlavor="NI"/>
</observation>
</component>
</organizer>
</entry>
</section>
</component>
</structuredBody>
</component>
</ClinicalDocument>