hl7:observation
  | 
                                  | 
                                  | 
                                 R | 
                                 
                                    
                                     This entry has a template identifier of 1.3.6.1.4.1.19376.1.5.3.1.4.6, and is a subtype
                                       of the Problem Entry, and so must also conform to the rules of the problem entry, which has the template
                                       identifier of 1.3.6.1.4.1.19376.1.5.3.1.4.5. These elements are required and shall
                                       be recorded exactly as shown above. 
                                     
                                    
                                    Note: the 1.3.6.1.4.1.19376.1.5.3.1.4.5 requires that also the template ID '2.16.840.1.113883.10.20.1.28'
                                       is included.
                                     
                                    
                                  | 
                                 (Ent nce) | 
                              
                              
                                 @classCode
  | 
                                 cs | 
                                 1 … 1 | 
                                 F | 
                                 OBS | 
                              
                              
                                 @moodCode
  | 
                                 cs | 
                                 1 … 1 | 
                                 F | 
                                 EVN | 
                              
                              
                                 @negationInd
  | 
                                 bl | 
                                 0 … 1 | 
                                   | 
                                  | 
                              
                              
                                 hl7:templateId
  | 
                                 II.EPSOS | 
                                 1 … 1 | 
                                 R | 
                                 IHE PCC Problem Entry | 
                                 (Ent nce) | 
                              
                              
                                 @root
  | 
                                 uid | 
                                 1 … 1 | 
                                 F | 
                                 1.3.6.1.4.1.19376.1.5.3.1.4.5 | 
                              
                              
                                 hl7:templateId
  | 
                                 II.EPSOS | 
                                 1 … 1 | 
                                 R | 
                                 CCD Alert Observation | 
                                 (Ent nce) | 
                              
                              
                                 @root
  | 
                                 uid | 
                                 1 … 1 | 
                                 F | 
                                 2.16.840.1.113883.10.20.1.18 | 
                              
                              
                                 hl7:templateId
  | 
                                 II.EPSOS | 
                                 1 … 1 | 
                                 R | 
                                  | 
                                 (Ent nce) | 
                              
                              
                                 @root
  | 
                                 uid | 
                                 1 … 1 | 
                                 F | 
                                 2.16.840.1.113883.10.20.1.28 | 
                              
                              
                                 hl7:templateId
  | 
                                 II.EPSOS | 
                                 1 … 1 | 
                                 R | 
                                  | 
                                 (Ent nce) | 
                              
                              
                                 @root
  | 
                                 uid | 
                                 1 … 1 | 
                                 F | 
                                 1.3.6.1.4.1.19376.1.5.3.1.4.6 | 
                              
                              
                                 hl7:id
  | 
                                 II.EPSOS | 
                                 0 … * | 
                                 R | 
                                  | 
                                 (Ent nce) | 
                              
                              
                                 hl7:code
  | 
                                 CD | 
                                 1 … 1 | 
                                 R | 
                                 
                                    
                                     The <code> element represents the kind of allergy observation made, to a drug, food
                                       or environmental agent, and whether it is an allergy, non-allergy intolerance, or
                                       unknown class of intolerance (not known to be allergy or intolerance). The <code>
                                       element of an allergy entry shall be provided, and a code and codeSystem attribute
                                       shall be present. 
                                     
                                    
                                  | 
                                 (Ent nce) | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 |   | 
                                 CONF | 
                                 
                                    
                                  | 
                              
                              
                                 hl7:text
  | 
                                 ED | 
                                 1 … 1 | 
                                 R | 
                                  | 
                                 (Ent nce) | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 hl7:reference
  | 
                                 TEL | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (Ent nce) | 
                              
                              
                                 @value
  | 
                                  | 
                                 1 … 1 | 
                                 R | 
                                 Reference pointing to the narrative, typically #{label}-{generated-id}, e.g. #xxx-1 | 
                              
                              
                                 hl7:statusCode
  | 
                                 CS | 
                                 1 … 1 | 
                                 R | 
                                  | 
                                 (Ent nce) | 
                              
                              
                                 @code
  | 
                                 CONF | 
                                 0 … 1 | 
                                 F | 
                                 completed | 
                              
                              
                                 hl7:effectiveTime
  | 
                                 IVL_TS | 
                                 0 … 1 | 
                                 R | 
                                  | 
                                 (Ent nce) | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 hl7:value
  | 
                                 CD | 
                                 0 … * | 
                                 R | 
                                 
                                    
                                     The value element shall be present in a coded or uncoded form. In both cases the type
                                       shall be set to xsi:type='CD'. 
                                       The coded form shall be used to indicate "No known Allergies" (code='160244002' codeSystem='2.16.840.1.113883.6.96'
                                       codeSystemName='SNOMED CT'). 
                                       In all other cases it shall be in its uncoded form and may contain a <reference> to
                                       the <originalText> in the narrative where the allergy is described.
                                     
                                    
                                    
                                    
                                  | 
                                 (Ent nce) | 
                              
                              
                                 hl7:participant
  | 
                                  | 
                                 0 … * | 
                                 C | 
                                 
                                    
                                     The substance that causes the allergy or intolerance shall be specified in the <participant>
                                       structure. 
                                     
                                    
                                    The <code> element shall be present. It may contain a code and codeSystem attribute
                                       to indicate the code for the substance causing the allergy or intolerance. It shall
                                       contain a <reference> to the <originalText> in the narrative where the substance is
                                       named. 
                                     
                                     Contains 2.16.840.1.113883.3.1937.777.11.10.134 CDA Participant (Body) (DYNAMIC)
                                  | 
                                 (Ent nce) | 
                              
                              
                                 |   | 
                                 Constraint | 
                                 Conditional: Omit if Observation.value is SNOMED-CT 160244002 No known Allergies | 
                              
                              
                                 hl7:entryRelationship
  | 
                                  | 
                                 0 … * | 
                                 R | 
                                 
                                    
                                     An allergy entry can record the reactions that are manifestations of the allergy or
                                       intolerance as shown below. It uses a related entry (<entryRelationship>) that indicates
                                       the manifestations (typeCode='MFST') the reported allergy or intolerance. These are
                                       events that may occur, or have occurred in the past as a reaction to the allergy or
                                       intolerance<entryRelationship typeCode='MFST'> 
                                     
                                    
                                    The entry contained with this entry relationship is some sort of problem that is a
                                       manifestation of the allergy. It is recorded using the Probl
                                       em Entry structure, with the additional template identifier (2.16.840.1.113883.10.20.1.54)
                                       indicating that this problem is a reaction. 
                                     
                                    
                                    Note: the 1.3.6.1.4.1.19376.1.5.3.1.4.5 requires that also the template ID '2.16.840.1.113883.10.20.1.28'
                                       is included.
                                     
                                     Contains 1.3.6.1.4.1.19376.1.5.3.1.4.5 Problem (DYNAMIC)
                                  | 
                                 (Ent nce) | 
                              
                              
                                 
                                    
                                       
                                            | 
                                           where   [hl7:observation [hl7:templateId [@root='1.3.6.1.4.1.19376.1.5.3.1.4.5'] and hl7:templateId
                                                [@root='2.16.840.1.113883.10.20.1.28']]] | 
                                        
                                     
                                  | 
                                  | 
                              
                              
                                 hl7:entryRelationship
  | 
                                  | 
                                 0 … 1 | 
                                 R | 
                                 
                                    
                                     An optional <entryRelationship> element may be present indicating the severity of
                                       the problem. If present, this <entryRelationship> element shall contain a severity
                                       observation conforming to the Severity entry template (1.3.6.1.4.1.19376.1.5.3.1.4.1). 
                                     
                                    
                                    The related statement is made about the severity of the condition, concern, or allergy).
                                       This observation is recorded inside an <entryRelationship> element occurring in the
                                       containing entry. The containing <entry> is the subject (typeCode='SUBJ') of this
                                       new observation, which is the inverse of the normal containment structure, thus inversionInd='true'.
                                       
                                     
                                    
                                    The related statement is another event (moodCode='EVN') observing (<observation classCode='OBS'>)
                                       the severity of the (surrounding) related entry (e.g., a condition or allergy). 
                                     
                                     Contains 1.3.6.1.4.1.19376.1.5.3.1.4.1 Severity (DYNAMIC)
                                  | 
                                 (Ent nce) | 
                              
                              
                                 
                                    
                                       
                                            | 
                                           where   [hl7:observation [hl7:templateId [@root='1.3.6.1.4.1.19376.1.5.3.1.4.1'] and hl7:templateId
                                                [@root='2.16.840.1.113883.10.20.1.55']]] | 
                                        
                                     
                                  | 
                                  | 
                              
                              
                                 |   | 
                                 Example | 
                                 <!-- The encompasing condition or allergy observation --> <observation classCode="COND" moodCode="EVN">   <!-- ... -->   <entryRelationship typeCode="SUBJ" inversionInd="true">     <observation classCode="OBS" moodCode="EVN">       <templateId root="2.16.840.1.113883.10.20.1.55"/>      <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.1"/>      <code code="SEV" displayName="Severity" codeSystem="2.16.840.1.113883.5.4" codeSystemName="ActCode"/>      <text>         <reference value="#severity-2"/>      </text>      <statusCode code="completed"/>      <!-- This code is from SNOMED, according to the epSOS value set-->       <value xsi:type="CD" code="" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT"/>    </observation>  </entryRelationship>  <!-- ... --> </observation> |