Back To Index  <<  Back To Templates

active Template  Narrative Text Reference

Id 2.16.756.5.30.1.1.10.9.14
ref
hl7chcda-
Effective Date 2018‑04‑18
Other versions this id:
Status active Active Version Label 2017
Name cdach_other_TextElementWithReferenceToNarrativeText Display Name Narrative Text Reference
Description
Reusable template wherever a text reference to the corresponding text in the human readable part (narrative text) is used in a CDA-CH V2 document. CDA-CH V2 derivatives, i.e. Swiss exchange formats MAY use this template by either reference or specialisation.
Label CDA‑CH V2
Classification Template type not specified
Open/Closed Open (other than defined elements are allowed)
Example
Example
<text>
  <reference value="#nartext1"/></text>
Item DT Card Conf Description Label
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 red 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 red 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"/>').