hl7:observation
  | 
                                  | 
                                  | 
                                  | 
                                  | 
                                 IHE PCC TF2 Rev.11, 6.3.4.38 | 
                              
                              
                                 @classCode
  | 
                                 cs | 
                                 0 … 1 | 
                                 F | 
                                 OBS | 
                              
                              
                                 @moodCode
  | 
                                 cs | 
                                 1 … 1 | 
                                 F | 
                                 EVN | 
                              
                              
                                 hl7:templateId
  | 
                                 II | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 IHE PCC TF2 Rev.11, 6.3.4.38 | 
                              
                              
                                 @root
  | 
                                 uid | 
                                 1 … 1 | 
                                 F | 
                                 2.16.756.5.30.1.1.10.4.117 | 
                              
                              
                                 hl7:templateId
  | 
                                 II | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 IHE PCC TF2 Rev.11, 6.3.4.38 | 
                              
                              
                                 @root
  | 
                                 uid | 
                                 1 … 1 | 
                                 F | 
                                 2.16.756.5.30.1.1.10.4.75 | 
                              
                              
                                 hl7:templateId
  | 
                                 II | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 IHE PCC TF2 Rev.11, 6.3.4.38 | 
                              
                              
                                 @root
  | 
                                 uid | 
                                 1 … 1 | 
                                 F | 
                                 1.3.6.1.4.1.19376.1.5.3.1.1.12.3.1 | 
                              
                              
                                 hl7:templateId
  | 
                                 II | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 IHE PCC TF2 Rev.11, 6.3.4.38 | 
                              
                              
                                 @root
  | 
                                 uid | 
                                 1 … 1 | 
                                 F | 
                                 1.3.6.1.4.1.19376.1.5.3.1.4.13 | 
                              
                              
                                 hl7:id
  | 
                                 II | 
                                 1 … 1 | 
                                 M | 
                                 The ID for this item. | 
                                 IHE PCC TF2 Rev.11, 6.3.4.38 | 
                              
                              
                                 @root
  | 
                                 uid | 
                                 1 … 1 | 
                                 R | 
                                 MUST contain the OID of the system that issued the ID. OIDs of code systems, which
                                    are published in the public OID registry for the Swiss health care system (oid.refdata.ch)
                                    are REQUIRED. Others are NOT ALLOWED.
                                  | 
                              
                              
                                 @extension
  | 
                                 st | 
                                 0 … 1 | 
                                   | 
                                 Contains the ID itself. The ID MUST be unique within the system that issued the ID. | 
                              
                              
                                 hl7:code
  | 
                                 CD | 
                                 1 … 1 | 
                                 R | 
                                  | 
                                 IHE PCC TF2 Rev.11, 6.3.4.38 | 
                              
                              
                                 @code
  | 
                                 cs | 
                                 1 … 1 | 
                                 F | 
                                 38208-5 | 
                              
                              
                                 @codeSystem
  | 
                                 oid | 
                                 1 … 1 | 
                                 F | 
                                 2.16.840.1.113883.6.1 | 
                              
                              
                                 @codeSystemName
  | 
                                 st | 
                                 1 … 1 | 
                                 F | 
                                 LOINC | 
                              
                              
                                 @displayName
  | 
                                 st | 
                                 1 … 1 | 
                                 F | 
                                 Pain severity | 
                              
                              
                                 | Included | 
                                 1 … 1 | 
                                  | 
                                  from 2.16.756.5.30.1.1.10.9.14 Narrative Text Reference (DYNAMIC) The human-readable text MUST be generated automatically from the structured information
                                    of this element. The text element MUST contain the reference to the corresponding
                                    text in the human readable part, ONLY.
                                  | 
                              
                              
                                 hl7:text
  | 
                                 ED | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 CDA‑CH V2 | 
                              
                              
                                 hl7:reference
  | 
                                 TEL | 
                                 1 … 1 | 
                                 M | 
                                 The reference to the corresponding text in the human readable part must be specified
                                    by reference to content[@ID]: reference[@value='#xxx']
                                  | 
                                 CDA‑CH V2 | 
                              
                              
                                 @value
  | 
                                  | 
                                 1 … 1 | 
                                 R | 
                                 Reference to the narrative part of the section in the format '#xxx', where xxx is
                                    the ID of the corresponding 
                                     element.
                                  | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 starts-with(@value,'#') | 
                                   | 
                              
                              
                                 |   | 
                                 Message | 
                                 The @value attribute content MUST conform to the format '#xxx', where xxx is the ID
                                       of the corresponding <content/> element. | 
                                   | 
                              
                              
                                 |   | 
                                 Variable let | 
                                 Name | 
                                 idvalue | 
                                   | 
                              
                              
                                 |   | 
                                 Value | 
                                 substring-after(@value,'#') | 
                                   | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 ancestor::hl7:structuredBody//*[@ID=$idvalue] | 
                                   | 
                              
                              
                                 |   | 
                                 Message | 
                                 No narrative text found for this reference (no content element within this document
                                       has an ID that corresponds to '<value-of select="$idvalue"/>'). | 
                                   | 
                              
                              
                                 hl7:statusCode
  | 
                                 CS | 
                                 1 … 1 | 
                                 M | 
                                 
                                    
                                     The statusCode shall be set to 'completed' for all observations. 
                                    
                                  | 
                                 IHE PCC TF2 Rev.11, 6.3.4.38 | 
                              
                              
                                 |   | 
                                 CONF | 
                                 
                                    
                                  | 
                              
                              
                                 hl7:effectiveTime
  | 
                                 TS.CH.TZ | 
                                 0 … 1 | 
                                 C | 
                                 Date or timestamp of the finding (physiologically relevant time of this observation). | 
                                 IHE PCC TF2 Rev.11, 6.3.4.38 | 
                              
                              
                                 @nullFlavor
  | 
                                 cs | 
                                 1 … 1 | 
                                 F | 
                                 NA | 
                              
                              
                                 hl7:value
  | 
                                 CO | 
                                 1 … * | 
                                 R | 
                                  | 
                                 IHE PCC TF2 Rev.11, 6.3.4.38 | 
                              
                              
                                 @nullFlavor
  | 
                                 cs | 
                                 1 … 1 | 
                                 F | 
                                 NA |