Template

Show index

Template Narrative Text Reference 2018‑04‑18

Id2.16.756.5.30.1.1.10.9.14
ref
hl7chcda-
Effective Date2018‑04‑18
Statusactive ActiveVersion Label2017
Namecdach_other_TextElementWithReferenceToNarrativeTextDisplay NameNarrative 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.
LabelCDA‑CH V2
ClassificationTemplate type not specified
Open/ClosedOpen (other than defined elements are allowed)
Example
Example
<text>
  <reference value="#nartext1"/></text>
ItemDTCardConfDescriptionLabel
hl7:text
ED1 … 1MCDA‑CH V2
hl7:reference
TEL1 … 1MThe 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 … 1RReference to the narrative part of the section in the format '#xxx', where xxx is the ID of the corresponding element.
 Schematron assertrolered error 
 teststarts-with(@value,'#') 
 MessageThe @value attribute content MUST conform to the format '#xxx', where xxx is the ID of the corresponding <content/> element. 
 Variable letNameidvalue 
 Valuesubstring-after(@value,'#') 
 Schematron assertrolered error 
 testancestor::hl7:structuredBody//*[@ID=$idvalue] 
 MessageNo narrative text found for this reference (no content element within this document has an ID that corresponds to '<value-of select="$idvalue"/>').