Back To Index  <<  Back To Templates

ref Template  Original Text Reference

Id 2.16.756.5.30.1.1.10.9.49
ref
hl7chcda-
Effective Date 2018‑04‑18
Status active Active Version Label 2017
Name cdach_other_OriginalTextElementWithReferenceToNarrativeText Display Name Original Text Reference
Description
Reusable template wherever a original 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.
Context Pathname
Label CDA‑CH V2
Classification Template type not specified
Open/Closed Open (other than defined elements are allowed)
Used by / Uses
Used by 0 transactions and 22 templates, Uses 0 templates
Used by as Name Version
2.16.756.5.30.1.1.10.2.1 Include active Patient - recordTarget (2017) 2018‑04‑18
2.16.756.5.30.1.1.10.9.36 link active CDA-CH v2.0 Header Template Compilation (2017) 2018‑04‑18
2.16.756.5.30.1.1.10.1.9 link active CDA-CH v2.0 - structuredBody (2017) 2018‑04‑18
2.16.756.5.30.1.1.10.9.41 link pending Header Template Compilation Medication Dispense document (2017) 2018‑01‑08 15:56:47
2.16.756.5.30.1.1.10.1.5 link pending Medication Dispense document (2017) 2016‑05‑21
2.16.756.5.30.1.1.10.9.42 link pending Header Template Compilation Medication Card document (2017) 2018‑01‑08 16:20:12
2.16.756.5.30.1.1.10.1.3 link pending Medication Card document (2017) 2016‑05‑13
2.16.756.5.30.1.1.10.9.43 link pending Header Template Compilation Pharmaceutical Advice document (2017) 2018‑01‑08 16:23:16
2.16.756.5.30.1.1.10.1.6 link pending Pharmaceutical Advice document (2017) 2016‑05‑21
2.16.756.5.30.1.1.10.9.44 link pending Header Template Compilation MedicationTreatmentPlan (2017) 2018‑01‑08 16:26:11
2.16.756.5.30.1.1.10.1.7 link pending Medication Treatment Plan document (2017) 2017‑04‑12 13:57:31
2.16.756.5.30.1.1.10.9.45 link pending Header Template Compilation Medication Prescription document (2017) 2018‑01‑08 16:28:39
2.16.756.5.30.1.1.10.1.4 link pending Medication Prescription document (2017) 2016‑05‑21
2.16.756.5.30.1.1.10.9.46 link pending Header Template Compilation Medication List document (2017) 2018‑01‑22 15:29:29
2.16.756.5.30.1.1.10.1.13 link pending Medication List document (2017) 2018‑01‑22 15:17:26
2.16.756.5.30.1.1.10.9.12 Include active Assigned Entity Compilation with id (2017) 2018‑04‑18
2.16.756.5.30.1.1.10.2.5 link active Legal Authenticator (2017) 2018‑04‑18
2.16.756.5.30.1.1.10.2.6 link active Authenticator (2017) 2018‑04‑18
2.16.756.5.30.1.1.10.2.7 link active Data Enterer (2017) 2018‑04‑18
2.16.756.5.30.1.1.10.9.31 Include active Performer (2017) 2018‑04‑18
2.16.756.5.30.1.1.10.2.46 link active Health Service - documentationOf (2017) 2018‑04‑18
2.16.756.5.30.1.1.10.9.32 Include active Assigned Entity Compilation with id, name, addr, telecom, person and organization (2017) 2018‑04‑18
Example
Example
<originalText>
  demo  <reference value="#nartext1"/></originalText>
Item DT Card Conf Description Label
hl7:originalText
ED 0 … 1 C 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"/>').  
  Schematron assert role red error  
  test parent::*/text()=ancestor::hl7:structuredBody//*[@ID=$idvalue]/text()  
  Message The originalText content MUST be identical to the narrative text for this reference.