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.4.10 Include pending Device - participant Containment (2017) 2017‑06‑21
2.16.756.5.30.1.1.10.4.17 link pending Laboratory Isolate Organizer (2017) 2017‑06‑21
2.16.756.5.30.1.1.10.4.4 link draft Laboratory Report Data Processing Entry (2017) 2018‑07‑14 12:26:38
2.16.756.5.30.1.1.10.3.3 link pending Laboratory Speciality Section - coded (2017) 2017‑06‑21
2.16.756.5.30.1.1.10.1.10 link pending General Laboratory Report (2018) 2018‑04‑19
2.16.756.5.30.1.1.10.3.5 link pending Laboratory Report Item Section - coded (2017) 2017‑06‑21
2.16.756.5.30.1.1.10.4.4 link pending Laboratory Report Data Processing Entry (2017) 2017‑06‑21
2.16.756.5.30.1.1.10.4.19 link pending Laboratory Battery Organizer (2017) 2017‑06‑21
2.16.756.5.30.1.1.10.4.3 link pending Laboratory Observation (2017) 2017‑06‑21
notice Circular reference found with 2.16.756.5.30.1.1.10.4.3, please check
2.16.756.5.30.1.1.10.4.11 link pending Specimen Collection (2017) 2017‑06‑21
notice Circular reference found with 2.16.756.5.30.1.1.10.4.11, please check
2.16.756.5.30.1.1.10.4.85 link pending Laboratory Isolate Organizer - Pathogen Detection (2018) 2018‑04‑19
2.16.756.5.30.1.1.10.4.87 link pending Laboratory Battery Organizer - Antibiogram (2018) 2018‑04‑19
2.16.756.5.30.1.1.10.4.5 Include pending Non-Human Subject - subject Containment (2017) 2017‑06‑21
2.16.756.5.30.1.1.10.4.6 Include pending Human Patient with Non-Human Subject - subject Containment (2017) 2017‑06‑21
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.7 link active Data Enterer (2017) 2018‑04‑18
2.16.756.5.30.1.1.10.9.17 Include active Assigned Entity Compilation with name, addr and telecom (2017) 2018‑04‑18
2.16.756.5.30.1.1.10.4.7 link pending Laboratory Performer - performer Containment (2017) 2017‑06‑21
2.16.756.5.30.1.1.10.2.28 link pending Laboratory Performer - documentationOf (2017) 2017‑06‑21
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.