forked from jddamore/HL7-Task-Force-Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ALLERGY_Food_with_UNII.xml
100 lines (100 loc) · 4.1 KB
/
ALLERGY_Food_with_UNII.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
<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="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>
</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="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">
<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>
</section>