-
Notifications
You must be signed in to change notification settings - Fork 23
/
data.xml.sample2
2476 lines (2376 loc) · 106 KB
/
data.xml.sample2
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"?>
<?xml-stylesheet type="text/xsl" href="CDA.xsl"?>
<!--
Title: US_Realm_Header_Template
Original Filename: US_Realm_Header_Template.xml
Version: 1.0
Revision History:
01/31/2011 bam created
07/29/2011 RWM modified
-->
<ClinicalDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:hl7-org:v3 http://xreg2.nist.gov:8080/hitspValidation/schema/cdar2c32/infrastructure/cda/C32_CDA.xsd"
xmlns="urn:hl7-org:v3"
xmlns:mif="urn:hl7-org:v3/mif">
<!--
********************************************************
CDA Header
********************************************************
-->
<realmCode code="US"/>
<typeId root="2.16.840.1.113883.1.3" extension="POCD_HD000040"/>
<!-- US General Header Template -->
<templateId root="2.16.840.1.113883.10.20.22.1.1"/>
<!-- *** Note: The next templateId, code and title will differ depending on what type of document is being sent. *** -->
<!-- conforms to the document specific requirements -->
<templateId root="2.16.840.1.113883.10.20.22.1.2"/>
<id extension="999021" root="2.16.840.1.113883.19"/>
<code codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" code="34133-9" displayName="Summarization of Episode Note"/>
<title>Good Health Health Summary</title>
<effectiveTime value="20050329171504+0500"/>
<confidentialityCode code="N" codeSystem="2.16.840.1.113883.5.25"/>
<languageCode code="en-US"/>
<setId extension="111199021" root="2.16.840.1.113883.19"/>
<versionNumber value="1"/>
<recordTarget>
<patientRole>
<id extension="12345" root="2.16.840.1.113883.19"/>
<!-- Fake ID using HL7 example OID. -->
<id extension="111-00-1234" root="2.16.840.1.113883.4.1"/>
<!-- Fake Social Security Number using the actual SSN OID. -->
<addr use="HP">
<!-- HP is "primary home" from codeSystem 2.16.840.1.113883.5.1119 -->
<streetAddressLine>17 Daws Rd.</streetAddressLine>
<city>Blue Bell</city>
<state>MA</state>
<postalCode>02368</postalCode>
<country>US</country>
<!-- US is "United States" from ISO 3166-1 Country Codes: 1.0.3166.1 -->
</addr>
<telecom value="tel:(781)555-1212" use="HP"/>
<!-- HP is "primary home" from HL7 AddressUse 2.16.840.1.113883.5.1119 -->
<patient>
<name use="L">
<!-- L is "Legal" from HL7 EntityNameUse 2.16.840.1.113883.5.45 -->
<prefix>Mr.</prefix>
<given>Adam</given>
<given qualifier="CL">Frankie</given>
<!-- CL is "Call me" from HL7 EntityNamePartQualifier 2.16.840.1.113883.5.43 -->
<family>Everyman</family>
</name>
<administrativeGenderCode code="M" codeSystem="2.16.840.1.113883.5.1" displayName="Male"/>
<birthTime value="19541125"/>
<maritalStatusCode code="M" displayName="Married" codeSystem="2.16.840.1.113883.5.2" codeSystemName="MaritalStatusCode"/>
<religiousAffiliationCode code="1013" displayName="Christian (non-Catholic, non-specific)" codeSystemName="HL7 Religious Affiliation " codeSystem="2.16.840.1.113883.1.11.19185"/>
<raceCode code="2106-3" displayName="White" codeSystem="2.16.840.1.113883.6.238" codeSystemName="Race and Ethnicity - CDC"/>
<ethnicGroupCode code="2186-5" displayName="Not Hispanic or Latino" codeSystem="2.16.840.1.113883.6.238" codeSystemName="Race and Ethnicity - CDC"/>
<guardian>
<code code="GRFTH" displayName="Grandfather" codeSystem="2.16.840.1.113883.5.111" codeSystemName="HL7 Role code"/>
<addr use="HP">
<!-- HP is "primary home" from codeSystem 2.16.840.1.113883.5.1119 -->
<streetAddressLine>17 Daws Rd.</streetAddressLine>
<city>Blue Bell</city>
<state>MA</state>
<postalCode>02368</postalCode>
<country>US</country>
<!-- US is "United States" from ISO 3166-1 Country Codes: 1.0.3166.1 -->
</addr>
<telecom value="tel:(781)555-1212" use="HP"/>
<guardianPerson>
<name>
<given>Ralph</given>
<family>Relative</family>
</name>
</guardianPerson>
</guardian>
<birthplace>
<place>
<addr>
<state>MA</state>
<postalCode>02368</postalCode>
<country>USA</country>
</addr>
</place>
</birthplace>
<languageCommunication>
<languageCode code="fr-CN"/>
<modeCode code="RWR" displayName="Recieve Written" codeSystem="2.16.840.1.113883.5.60" codeSystemName="LanguageAbilityMode"/>
<preferenceInd value="true"/>
</languageCommunication>
</patient>
<providerOrganization>
<id root="2.16.840.1.113883.19"/>
<name>Good Health Clinic</name>
<telecom use="WP" value="tel:(781)555-1212"/>
<addr>
<streetAddressLine>21 North Ave</streetAddressLine>
<city>Burlington</city>
<state>MA</state>
<postalCode>02368</postalCode>
<country>USA</country>
</addr>
</providerOrganization>
</patientRole>
</recordTarget>
<author>
<time value="20050329224411+0500"/>
<assignedAuthor>
<id extension="KP00017" root="2.16.840.1.113883.19.5"/>
<addr>
<streetAddressLine>21 North Ave.</streetAddressLine>
<city>Burlington</city>
<state>MA</state>
<postalCode>02368</postalCode>
<country>USA</country>
</addr>
<telecom use="WP" value="tel:(555)555-1003"/>
<assignedPerson>
<name>
<given>Henry</given>
<family>Seven</family>
</name>
</assignedPerson>
</assignedAuthor>
</author>
<dataEnterer>
<assignedEntity>
<id root="2.16.840.1.113883.19.5" extension="43252"/>
<addr>
<streetAddressLine>21 North Ave.</streetAddressLine>
<city>Burlington</city>
<state>MA</state>
<postalCode>02368</postalCode>
<country>USA</country>
</addr>
<telecom use="WP" value="tel:(555)555-1003"/>
<assignedPerson>
<name>
<given>Henry</given>
<family>Seven</family>
</name>
</assignedPerson>
</assignedEntity>
</dataEnterer>
<informant>
<assignedEntity>
<id extension="KP00017" root="2.16.840.1.113883.19.5"/>
<addr>
<streetAddressLine>21 North Ave.</streetAddressLine>
<city>Burlington</city>
<state>MA</state>
<postalCode>02368</postalCode>
<country>USA</country>
</addr>
<telecom value="tel:(555)555-1003"/>
<assignedPerson>
<name>
<given>Henry</given>
<family>Seven</family>
</name>
</assignedPerson>
</assignedEntity>
</informant>
<informant>
<relatedEntity classCode="PRS">
<!-- classCode PRS represents a person with personal relationship with the patient. -->
<code code="SPS" displayName="SPOUSE" codeSystem="2.16.840.1.113883.1.11.19563" codeSystemName="Personal Relationship Role Type Value Set"/>
<relatedPerson>
<name>
<given>Rose</given>
<family>Everyman</family>
</name>
</relatedPerson>
</relatedEntity>
</informant>
<custodian>
<assignedCustodian>
<representedCustodianOrganization>
<id root="2.16.840.1.113883.19.5"/>
<name>Good Health Clinic</name>
<telecom value="tel:(555)555-1212" use="WP"/>
<addr use="WP">
<streetAddressLine>17 Daws Rd.</streetAddressLine>
<city>Blue Bell</city>
<state>MA</state>
<postalCode>02368</postalCode>
<country>USA</country>
</addr>
</representedCustodianOrganization>
</assignedCustodian>
</custodian>
<informationRecipient>
<intendedRecipient>
<informationRecipient>
<name>
<given>Henry</given>
<family>Seven</family>
</name>
</informationRecipient>
<receivedOrganization>
<name>Good Health Clinic</name>
</receivedOrganization>
</intendedRecipient>
</informationRecipient>
<legalAuthenticator>
<time value="20050329224411+0500"/>
<signatureCode code="S"/>
<assignedEntity>
<id extension="KP00017" root="2.16.840.1.113883.19"/>
<addr>
<streetAddressLine>21 North Ave.</streetAddressLine>
<city>Burlington</city>
<state>MA</state>
<postalCode>02368</postalCode>
<country>USA</country>
</addr>
<telecom use="WP" value="tel:(555)555-1003"/>
<assignedPerson>
<name>
<given>Henry</given>
<family>Seven</family>
</name>
</assignedPerson>
</assignedEntity>
</legalAuthenticator>
<authenticator>
<time value="20050329224411+0500"/>
<signatureCode code="S"/>
<assignedEntity>
<id extension="KP00017" root="2.16.840.1.113883.19"/>
<addr>
<streetAddressLine>21 North Ave.</streetAddressLine>
<city>Burlington</city>
<state>MA</state>
<postalCode>02368</postalCode>
<country>USA</country>
</addr>
<telecom use="WP" value="tel:(555)555-1003"/>
<assignedPerson>
<name>
<given>Henry</given>
<family>Seven</family>
</name>
</assignedPerson>
</assignedEntity>
</authenticator>
<documentationOf typeCode="DOC">
<serviceEvent classCode="PCPR">
<effectiveTime>
<low value="20100601"/>
<high value="20100915"/>
</effectiveTime>
<performer typeCode="PRF">
<functionCode code="PP" displayName="Primary Care Provider" codeSystem="2.16.840.1.113883.12.443" codeSystemName="Provider Role">
<originalText>Primary Care Provider</originalText>
</functionCode>
<time>
<low value="20020716"/>
<high value="20070915"/>
</time>
<assignedEntity>
<id extension="PseudoMD-1" root="2.16.840.1.113883.19"/>
<code code="200000000X" displayName="Allopathic and Osteopathic Physicians" codeSystemName="Provider Codes" codeSystem="2.16.840.1.113883.6.101"/>
<addr/>
<telecom value="tel:+1-301-975-3251" use="HP"/>
<assignedPerson>
<name>
<prefix>Dr.</prefix>
<given>Pseudo</given>
<family>Physician-1</family>
</name>
</assignedPerson>
<representedOrganization>
<id root="2.16.840.1.113883.3.72.5"/>
<name>NIST HL7 Test Laboratory</name>
<telecom/>
<addr/>
</representedOrganization>
</assignedEntity>
</performer>
<performer typeCode="PPRF">
<functionCode code="PP" displayName="Primary Care Provider" codeSystem="2.16.840.1.113883.12.443" codeSystemName="Provider Role">
<originalText>Primary Care Provider</originalText>
</functionCode>
<time>
<low value="20020716"/>
<high value="20070915"/>
</time>
<assignedEntity>
<id extension="PseudoMD-3" root="2.16.840.1.113883.19"/>
<code code="207RG0100X" displayName="Gastroenterologist" codeSystemName="Provider Codes" codeSystem="2.16.840.1.113883.6.101"/>
<addr/>
<telecom value="tel:+1-301-975-3251" use="HP"/>
<assignedPerson>
<name>
<prefix>Dr.</prefix>
<given>Pseudo</given>
<family>Physician-3</family>
</name>
</assignedPerson>
<representedOrganization>
<id root="2.16.840.1.113883.19.123"/>
<name>HL7 Test Laboratory</name>
<telecom/>
<addr/>
</representedOrganization>
</assignedEntity>
</performer>
</serviceEvent>
</documentationOf>
<!-- ********************************************************
CDA Body
******************************************************** -->
<component>
<structuredBody>
<!-- *********************** -->
<!--
********************************************************
Allergies, Adverse Reactions, Alerts
********************************************************
-->
<component>
<section>
<templateId root="2.16.840.1.113883.10.20.22.2.6.1"/>
<!-- Alerts section template -->
<code code="48765-2" codeSystem="2.16.840.1.113883.6.1"/>
<title>Allergies, Adverse Reactions, Alerts</title>
<text>
<table border="1" width="100%">
<thead>
<tr>
<th>Substance</th>
<th>Reaction</th>
<th>Status</th>
</tr>
</thead>
<tbody>
<tr>
<td>Penicillin</td>
<td>
<content ID="reaction1">Hives</content>
</td>
<td>Active</td>
</tr>
<tr>
<td>Aspirin</td>
<td>
<content ID="reaction2">Wheezing</content>
</td>
<td>Active</td>
</tr>
<tr>
<td>Codeine</td>
<td>
<content ID="reaction3">Nausea</content>
</td>
<td>Active</td>
</tr>
</tbody>
</table>
</text>
<entry typeCode="DRIV">
<act classCode="ACT" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.22.4.30"/>
<!-- ** Allergy problem act ** -->
<id root="36e3e930-7b14-11db-9fe1-0800200c9a66"/>
<code code="48765-2" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Allergies, adverse reactions, alerts"/>
<statusCode code="active"/>
<effectiveTime value="20090909">
<low value="20090902"/>
<high value="20100103"/>
</effectiveTime>
<entryRelationship typeCode="SUBJ">
<observation classCode="OBS" moodCode="EVN">
<!-- allergy observation template -->
<templateId root="2.16.840.1.113883.10.20.22.4.7"/>
<id root="4adc1020-7b14-11db-9fe1-0800200c9a66"/>
<code code="416098002" displayName="drug allergy" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT"/>
<statusCode code="completed"/>
<effectiveTime>
<low value="20110215"/>
</effectiveTime>
<value xsi:type="CD" code="282100009" displayName="Adverse reaction to substance" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT">
<originalText>
<reference value="#reaction1"/>
</originalText>
</value>
<participant typeCode="CSM">
<participantRole classCode="MANU">
<playingEntity classCode="MMAT">
<code code="314422" displayName="ALLERGENIC EXTRACT, PENICILLIN" codeSystem="2.16.840.1.113883.6.88" codeSystemName="RxNorm">
<originalText>
<reference value="#reaction1"/>
</originalText>
</code>
<name>Penicillin</name>
</playingEntity>
</participantRole>
</participant>
<entryRelationship typeCode="SUBJ">
<observation classCode="OBS" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.22.4.28"/>
<!-- Alert status observation template -->
<code code="33999-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Status"/>
<statusCode code="completed"/>
<value xsi:type="CE" code="55561003" codeSystem="2.16.840.1.113883.6.96" displayName="Active"/>
</observation>
</entryRelationship>
<entryRelationship typeCode="MFST">
<observation classCode="OBS" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.22.4.9"/>
<!-- Reaction observation template -->
<id root="4adc1020-7b14-11db-9fe1-0800200c9a64"/>
<code nullFlavor="NA"/>
<text>
<reference value="#reaction1"/>
</text>
<statusCode code="completed"/>
<effectiveTime>
<low value="20090711"/>
</effectiveTime>
<value xsi:type="CD" code="247472004" codeSystem="2.16.840.1.113883.6.96" displayName="Hives"/>
</observation>
</entryRelationship>
<entryRelationship typeCode="SUBJ">
<observation classCode="OBS" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.22.4.8"/>
<!-- ** Severity observation template ** -->
<code code="SEV" displayName="Severity Observation" codeSystem="2.16.840.1.113883.5.4" codeSystemName="ActCode"/>
<text>
<reference value="#severity1"/>
</text>
<statusCode code="completed"/>
<value xsi:type="CD" code="371924009" displayName="Moderate to severe" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT"/>
</observation>
</entryRelationship>
</observation>
</entryRelationship>
</act>
</entry>
<entry typeCode="DRIV">
<act classCode="ACT" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.22.4.30"/>
<!-- ** Allergy problem act ** -->
<id root="36e3e930-7b14-11db-9fe1-0800200c9a66"/>
<code code="48765-2" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Allergies, adverse reactions, alerts"/>
<statusCode code="active"/>
<effectiveTime value="20090909">
<low value="20090902"/>
<high value="20100103"/>
</effectiveTime>
<entryRelationship typeCode="SUBJ">
<observation classCode="OBS" moodCode="EVN">
<!-- allergy observation template -->
<templateId root="2.16.840.1.113883.10.20.22.4.7"/>
<id root="4adc1020-7b14-11db-9fe1-0800200c9a66"/>
<code code="416098002" displayName="drug allergy" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT"/>
<statusCode code="completed"/>
<effectiveTime>
<low value="20110215"/>
</effectiveTime>
<value xsi:type="CD" code="282100009" displayName="Adverse reaction to substance" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT">
<originalText>
<reference value="#reaction2"/>
</originalText>
</value>
<participant typeCode="CSM">
<participantRole classCode="MANU">
<playingEntity classCode="MMAT">
<code code="R16CO5Y76E" displayName="ASPIRIN" codeSystem="2.16.840.1.113883.4.9" codeSystemName="UNII">
<originalText>
<reference value="#reaction2"/>
</originalText>
</code>
<name>Aspirin</name>
</playingEntity>
</participantRole>
</participant>
<entryRelationship typeCode="SUBJ">
<observation classCode="OBS" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.22.4.28"/>
<!-- Alert status observation template -->
<code code="33999-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Status"/>
<statusCode code="completed"/>
<value xsi:type="CE" code="55561003" codeSystem="2.16.840.1.113883.6.96" displayName="Active"/>
</observation>
</entryRelationship>
<entryRelationship typeCode="MFST">
<observation classCode="OBS" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.22.4.9"/>
<!-- Reaction observation template -->
<id root="4adc1020-7b14-11db-9fe1-0800200c9a64"/>
<code nullFlavor="NA"/>
<text>
<reference value="#reaction2"/>
</text>
<statusCode code="completed"/>
<effectiveTime>
<low value="20090711"/>
</effectiveTime>
<value xsi:type="CD" code="56018004" codeSystem="2.16.840.1.113883.6.96" displayName="Wheezing"/>
</observation>
</entryRelationship>
<entryRelationship typeCode="SUBJ">
<observation classCode="OBS" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.22.4.8"/>
<!-- ** Severity observation template ** -->
<code code="SEV" displayName="Severity Observation" codeSystem="2.16.840.1.113883.5.4" codeSystemName="ActCode"/>
<text>
<reference value="#severity2"/>
</text>
<statusCode code="completed"/>
<value xsi:type="CD" code="371924009" displayName="Moderate to severe" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT"/>
</observation>
</entryRelationship>
</observation>
</entryRelationship>
</act>
</entry>
<entry typeCode="DRIV">
<act classCode="ACT" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.22.4.30"/>
<!-- ** Allergy problem act ** -->
<id root="36e3e930-7b14-11db-9fe1-0800200c9a66"/>
<code code="48765-2" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Allergies, adverse reactions, alerts"/>
<statusCode code="active"/>
<effectiveTime value="20090909">
<low value="20090902"/>
<high value="20100103"/>
</effectiveTime>
<entryRelationship typeCode="SUBJ">
<observation classCode="OBS" moodCode="EVN">
<!-- allergy observation template -->
<templateId root="2.16.840.1.113883.10.20.22.4.7"/>
<id root="4adc1020-7b14-11db-9fe1-0800200c9a66"/>
<code code="416098002" displayName="drug allergy" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT"/>
<statusCode code="completed"/>
<effectiveTime>
<low value="20110215"/>
</effectiveTime>
<value xsi:type="CD" code="282100009" displayName="Adverse reaction to substance" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT">
<originalText>
<reference value="#reaction2"/>
</originalText>
</value>
<participant typeCode="CSM">
<participantRole classCode="MANU">
<playingEntity classCode="MMAT">
<code code="Q830PW7520" displayName="Codeine" codeSystem="2.16.840.1.113883.4.9" codeSystemName="UNII">
<originalText>
<reference value="#reaction3"/>
</originalText>
</code>
<name>Aspirin</name>
</playingEntity>
</participantRole>
</participant>
<entryRelationship typeCode="SUBJ">
<observation classCode="OBS" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.22.4.28"/>
<!-- Alert status observation template -->
<code code="33999-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Status"/>
<statusCode code="completed"/>
<value xsi:type="CE" code="55561003" codeSystem="2.16.840.1.113883.6.96" displayName="Active"/>
</observation>
</entryRelationship>
<entryRelationship typeCode="MFST">
<observation classCode="OBS" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.22.4.9"/>
<!-- Reaction observation template -->
<id root="4adc1020-7b14-11db-9fe1-0800200c9a64"/>
<code nullFlavor="NA"/>
<text>
<reference value="#reaction3"/>
</text>
<statusCode code="completed"/>
<effectiveTime>
<low value="20090711"/>
</effectiveTime>
<value xsi:type="CD" code="73879007" codeSystem="2.16.840.1.113883.6.96" displayName="Nausea"/>
</observation>
</entryRelationship>
<entryRelationship typeCode="SUBJ">
<observation classCode="OBS" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.22.4.8"/>
<!-- ** Severity observation template ** -->
<code code="SEV" displayName="Severity Observation" codeSystem="2.16.840.1.113883.5.4" codeSystemName="ActCode"/>
<text>
<reference value="#severity3"/>
</text>
<statusCode code="completed"/>
<value xsi:type="CD" code="371924009" displayName="Moderate to severe" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT"/>
</observation>
</entryRelationship>
</observation>
</entryRelationship>
</act>
</entry>
</section>
</component>
<!--
********************************************************
MEDICATIONS
********************************************************
-->
<component>
<section>
<templateId root="2.16.840.1.113883.10.20.22.2.1.1"/>
<code code="10160-0" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="HISTORY OF MEDICATION USE"/>
<title>Medications</title>
<text>
<table border="1" width="100%">
<thead>
<tr>
<th>Medication</th>
<th>Directions</th>
<th>Start Date</th>
<th>Status</th>
<th>Indications</th>
<th>Fill Instructions</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<content ID="Med1">Proventil 0.09 MG/ACTUAT inhalant solution</content>
</td>
<td>2 puffs QID PRN wheezing</td>
<td>2011-03-01</td>
<td>Active</td>
<td>Bronchitis (32398004 SNOMED CT)</td>
<td>Generic Substitition Allowed</td>
</tr>
</tbody>
</table>
</text>
<entry typeCode="DRIV">
<substanceAdministration classCode="SBADM" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.22.4.16"/>
<!-- ** MEDICATION ACTIVITY -->
<id root="cdbd33f0-6cde-11db-9fe1-0800200c9a66"/>
<text>
<reference value="#Med1"/> 0.09 MG/ACTUAT inhalant solution, 2 puffs QID PRN wheezing
</text>
<statusCode code="completed"/>
<effectiveTime xsi:type="IVL_TS">
<low value="20110301"/>
<high value="20120301"/>
</effectiveTime>
<effectiveTime xsi:type="PIVL_TS" institutionSpecified="true" operator="A">
<period value="6" unit="h"/>
</effectiveTime>
<routeCode code="C38216" codeSystem="2.16.840.1.113883.3.26.1.1" codeSystemName="NCI Thesaurus" displayName="RESPIRATORY (INHALATION)"/>
<doseQuantity value="1"/>
<rateQuantity value="90" unit="ml/min"/>
<maxDoseQuantity nullFlavor="UNK">
<numerator nullFlavor="UNK"/>
<denominator nullFlavor="UNK"/>
</maxDoseQuantity>
<administrationUnitCode code="C42944" displayName="INHALANT" codeSystem="2.16.840.1.113883.3.26.1.1" codeSystemName="NCI Thesaurus"/>
<consumable>
<manufacturedProduct>
<templateId root="2.16.840.1.113883.10.20.22.4.23"/>
<id/>
<manufacturedMaterial>
<code code="329498" codeSystem="2.16.840.1.113883.6.88" displayName="Albuterol 0.09 MG/ACTUAT inhalant solution">
<translation code="573621" displayName="Proventil 0.09 MG/ACTUAT inhalant solution" codeSystem="2.16.840.1.113883.6.88" codeSystemName="RxNorm"/>
</code>
</manufacturedMaterial>
<manufacturerOrganization/>
</manufacturedProduct>
</consumable>
<performer>
<assignedEntity>
<id nullFlavor="NI"/>
<addr nullFlavor="UNK"/>
<telecom nullFlavor="UNK"/>
<representedOrganization>
<id root="2.16.840.1.113883.19.5"/>
<name>Good Health Clinic</name>
<telecom nullFlavor="UNK"/>
<addr nullFlavor="UNK"/>
</representedOrganization>
</assignedEntity>
</performer>
<participant typeCode="CSM">
<participantRole classCode="MANU">
<templateId root="2.16.840.1.113883.10.20.22.4.24"/>
<code code="412307009" displayName="drug vehicle" codeSystem="2.16.840.1.113883.6.96"/>
<playingEntity classCode="MMAT">
<code code="5955009" displayName="Diethylene Glycol" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT"/>
<name>Diethylene Glycol</name>
</playingEntity>
</participantRole>
</participant>
<entryRelationship typeCode="RSON">
<observation classCode="COND" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.22.4.19"/>
<id root="db734647-fc99-424c-a864-7e3cda82e703" extension="45665"/>
<code code="404684003" displayName="Finding" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT"/>
<statusCode code="completed"/>
<value xsi:type="CE" code="32398004" displayName="Bronchitis" codeSystem="2.16.840.1.113883.6.96"/>
</observation>
</entryRelationship>
<entryRelationship typeCode="REFR">
<supply classCode="SPLY" moodCode="INT">
<templateId root="2.16.840.1.113883.10.20.22.4.17"/>
<id nullFlavor="NI"/>
<statusCode code="completed"/>
<effectiveTime xsi:type="IVL_TS">
<low value="20020101"/>
<high nullFlavor="UNK"/>
</effectiveTime>
<repeatNumber value="1"/>
<quantity value="75"/>
<author>
<time nullFlavor="UNK"/>
<assignedAuthor>
<id/>
<addr nullFlavor="UNK"/>
<telecom nullFlavor="UNK"/>
<assignedPerson>
<name>
<prefix>Dr.</prefix>
<given>Robert</given>
<family>Michaels</family>
</name>
</assignedPerson>
</assignedAuthor>
</author>
<entryRelationship typeCode="SUBJ" inversionInd="true">
<act classCode="ACT" moodCode="INT">
<templateId root="2.16.840.1.113883.10.20.22.4.20"/>
<!-- ** Instructions Template ** -->
<code code="409073007" codeSystem="2.16.840.1.113883.6.96" displayName="instruction"/>
<text>label in spanish</text>
<statusCode code="completed"/>
</act>
</entryRelationship>
</supply>
</entryRelationship>
<entryRelationship typeCode="REFR">
<supply classCode="SPLY" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.22.4.18"/>
<!-- ** Medication Dispense Template ** -->
<id root="1.2.3.4.56789.1" extension="cb734647-fc99-424c-a864-7e3cda82e704"/>
<statusCode code="completed"/>
<effectiveTime value="20020101"/>
<repeatNumber value="1"/>
<quantity value="75"/>
<performer>
<time nullFlavor="UNK"/>
<assignedEntity>
<id/>
<addr>
<streetAddressLine>17 Daws Rd.</streetAddressLine>
<city>Blue Bell</city>
<state>MA</state>
<postalCode>02368</postalCode>
<country>US</country>
</addr>
<telecom nullFlavor="UNK"/>
<assignedPerson>
<name>
<prefix>Dr.</prefix>
<given>Robert</given>
<family>Michaels</family>
</name>
</assignedPerson>
<representedOrganization>
<id root="2.16.840.1.113883.19.5"/>
<name>Good Health Clinic</name>
<telecom nullFlavor="UNK"/>
<addr nullFlavor="UNK"/>
</representedOrganization>
</assignedEntity>
</performer>
</supply>
</entryRelationship>
<precondition typeCode="PRCN">
<templateId root="2.16.840.1.113883.10.20.22.4.25"/>
<criterion>
<code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
<value xsi:type="CE" code="56018004" codeSystem="2.16.840.1.113883.6.96" displayName="Wheezing"/>
</criterion>
</precondition>
</substanceAdministration>
</entry>
</section>
</component>
<!--
********************************************************
PROBLEM LIST
********************************************************
-->
<component>
<section>
<templateId root="2.16.840.1.113883.10.20.22.2.5"/>
<code code="11450-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="PROBLEM LIST"/>
<title>Problems</title>
<text>
<list listType="ordered">
<item>Pneumonia: Resolved in March 1998</item>
<item>...</item>
</list>
</text>
<entry typeCode="DRIV">
<act classCode="ACT" moodCode="EVN">
<!-- Problem act template -->
<templateId root="2.16.840.1.113883.10.20.22.4.3"/>
<id root="ec8a6ff8-ed4b-4f7e-82c3-e98e58b45de7"/>
<code nullFlavor="NA"/>
<statusCode code="completed"/>
<effectiveTime>
<low value="199803"/>
<high value="20110103"/>
</effectiveTime>
<entryRelationship typeCode="SUBJ">
<observation classCode="OBS" moodCode="EVN">
<!-- Problem observation template -->
<templateId root="2.16.840.1.113883.10.20.22.4.4"/>
<id root="ab1791b0-5c71-11db-b0de-0800200c9a66"/>
<code code="409586006" codeSystem="2.16.840.1.113883.6.96" displayName="Complaint"/>
<statusCode code="completed"/>
<effectiveTime>
<low value="199803"/>
</effectiveTime>
<value xsi:type="CD" code="233604007" codeSystem="2.16.840.1.113883.6.96" displayName="Pneumonia"/>
<entryRelationship typeCode="REFR">
<observation classCode="OBS" moodCode="EVN">
<!-- Problem status observation template -->
<templateId root="2.16.840.1.113883.10.20.22.4.6"/>
<code code="33999-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Status"/>
<statusCode code="completed"/>
<value xsi:type="CD" code="55561003" codeSystem="2.16.840.1.113883.6.96" displayName="Active" codeSystemName="SNOMED CT"/>
</observation>
</entryRelationship>
<entryRelationship typeCode="SUBJ" inversionInd="true">
<observation classCode="OBS" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.22.4.31"/>
<!-- Age observation template -->
<code code="397659008" codeSystem="2.16.840.1.113883.6.96" displayName="Age"/>
<statusCode code="completed"/>
<value xsi:type="PQ" value="57" unit="a"/>
</observation>
</entryRelationship>
<entryRelationship typeCode="REFR">
<observation classCode="OBS" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.22.4.5"/>
<!-- Health status observation template -->
<code code="11323-3" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Health status"/>
<statusCode code="completed"/>
<value xsi:type="CE" code="413322009" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Resolved"/>
</observation>
</entryRelationship>
</observation>
</entryRelationship>
</act>
</entry>
</section>
</component>
<!--
********************************************************
PROCEDURES
********************************************************
-->
<component>
<section>
<templateId root="2.16.840.1.113883.10.20.22.2.7"/>
<!-- Procedures section template -->
<code code="47519-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="PROCEDURES"/>
<title>Procedures</title>
<text>
<table border="1" width="100%">
<thead>
<tr>
<th>Procedure</th>
<th>Date</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<content ID="Proc1">Colonic polypectomy</content>
</td>
<td>1998</td>
</tr>
</tbody>
</table>
</text>
<entry typeCode="DRIV">
<procedure classCode="PROC" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.22.4.14"/>
<!-- ***** Procedure Activity Procedure Template ***** -->
<id root="d68b7e32-7810-4f5b-9cc2-acd54b0fd85d"/>
<code code="274025005" codeSystem="2.16.840.1.113883.6.96" displayName="Colonic polypectomy">
<originalText>
<reference value="#Proc1"/>
</originalText>
</code>
<statusCode code="completed"/>
<effectiveTime value="20110215"/>
<methodCode nullFlavor="UNK"/>
<specimen typeCode="SPC">
<specimenRole classCode="SPEC">
<id root="c2ee9ee9-ae31-4628-a919-fec1cbb58683"/>
<specimenPlayingEntity>
<code code="309226005" codeSystem="2.16.840.1.113883.6.96" displayName="colonic polyp sample"/>
</specimenPlayingEntity>
</specimenRole>
</specimen>
<performer>
<assignedEntity>
<id root="c2ee9ee9-ae31-4628-a919-fec1cbb58687"/>
<addr>
<streetAddressLine>17 Daws Rd.</streetAddressLine>
<city>Blue Bell</city>
<state>MA</state>
<postalCode>02368</postalCode>
<country>US</country>
</addr>
<telecom use="WP" value="(555)555-555-1234"/>
<representedOrganization>
<id root="c2ee9ee9-ae31-4628-a919-fec1cbb58686"/>
<name>Good Health Clinic</name>
<telecom use="WP" value="(555)555-555-1234"/>
<addr>
<streetAddressLine>17 Daws Rd.</streetAddressLine>
<city>Blue Bell</city>
<state>MA</state>
<postalCode>02368</postalCode>
<country>US</country>
</addr>
</representedOrganization>
</assignedEntity>
</performer>
<participant typeCode="LOC">
<participantRole classCode="MANU">
<templateId root="2.16.840.1.113883.10.20.22.4.37"/>
<!-- Product instance template -->
<id root="eb936010-7b17-11db-9fe1-0800200c9a68"/>
<playingDevice>
<code code="90412006" codeSystem="2.16.840.1.113883.6.96" displayName="Colonoscope"/>
</playingDevice>
<scopingEntity>
<id root="eb936010-7b17-11db-9fe1-0800200c9b65"/>
</scopingEntity>
</participantRole>
</participant>
</procedure>
</entry>
<entry>
<observation classCode="OBS" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.22.4.13"/>
<!-- Procedure Activity Observation -->
<id extension="123456789" root="2.16.840.1.113883.19"/>
<code code="274025005" codeSystem="2.16.840.1.113883.6.96" displayName="Colonic polypectomy" codeSystemName="SNOMED-CT">
<originalText>
<reference value="#Proc1"/>
</originalText>
</code>
<statusCode code="aborted"/>
<effectiveTime value="20110203"/>
<priorityCode code="CR" codeSystem="2.16.840.1.113883.5.7" codeSystemName="ActPriority" displayName="Callback results"/>
<value xsi:type="CD"/>
<methodCode nullFlavor="UNK"/>