Back To Index  <<  Back To Templates

draft Template  Original Text Reference

Id 2.16.756.5.30.1.1.10.9.49
ref
hl7chcda-
Effective Date 2021‑06‑08 18:41:55
Status draft Draft Version Label 2021
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.
Label CDA‑CH V2
Classification Template type not specified
Open/Closed Open (other than defined elements are allowed)
Used by / Uses
Used by 6 transactions and 23 templates, Uses 0 templates
Used by as Name Version
cdachemed-transaction-4 Transaction draft Medication Prescription document 2018‑04‑04 15:33:29
cdachemed-transaction-9 Transaction draft Medication Treatment Plan document 2019‑12‑12 14:11:31
cdachemed-transaction-5 Transaction draft Medication Dispense document 2018‑04‑04 15:35:51
cdachemed-transaction-6 Transaction draft Pharmaceutical Advice document 2018‑04‑04 15:36:35
cdachemed-transaction-7 Transaction draft Medication List document 2018‑04‑04 15:37:19
cdachemed-transaction-8 Transaction draft Medication Card document 2018‑04‑04 15:42:50
2.16.756.5.30.1.1.10.2.1 Include draft Patient - recordTarget (2022) 2022‑02‑24 09:48:39
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.1 - structuredBody (2020) 2019‑10‑17 15:22:41
2.16.756.5.30.1.1.10.9.41 link draft Header Template Compilation Medication Dispense document (2019) 2018‑01‑08 15:56:47
2.16.756.5.30.1.1.10.1.5 link draft Medication Dispense document (2020) 2016‑05‑21
2.16.756.5.30.1.1.10.9.42 link draft Header Template Compilation Medication Card document (2019) 2019‑10‑17 13:58:45
2.16.756.5.30.1.1.10.1.3 link draft Medication Card document (2020) 2016‑05‑13
2.16.756.5.30.1.1.10.9.42 link cancelled Header Template Compilation Medication Card document (2017) 2018‑01‑08 16:20:12
2.16.756.5.30.1.1.10.9.43 link draft Header Template Compilation Pharmaceutical Advice document (2019) 2018‑01‑08 16:23:16
2.16.756.5.30.1.1.10.1.6 link draft Pharmaceutical Advice document (2020) 2016‑05‑21
2.16.756.5.30.1.1.10.9.44 link draft Header Template Compilation MedicationTreatmentPlan (2019) 2018‑01‑08 16:26:11
2.16.756.5.30.1.1.10.1.7 link draft Medication Treatment Plan document (2020) 2017‑04‑12 13:57:31
2.16.756.5.30.1.1.10.9.45 link draft Header Template Compilation Medication Prescription document (2021) 2018‑01‑08 16:28:39
2.16.756.5.30.1.1.10.1.4 link draft Medication Prescription document (2020) 2016‑05‑21
2.16.756.5.30.1.1.10.9.46 link draft Header Template Compilation Medication List document (2019) 2018‑01‑22 15:29:29
2.16.756.5.30.1.1.10.1.13 link draft Medication List document (2020) 2018‑01‑22 15:17:26
2.16.756.5.30.1.1.10.9.12 Include active Assigned Entity Compilation with id (2020) 2019‑10‑24 16:41:55
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 (2020) 2019‑01‑01 20:20:44
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.32 Include active Assigned Entity Compilation with id, name, addr, telecom, person and organization (2020) 2019‑10‑24 16:38:14
2.16.756.5.30.1.1.10.9.31 link active Performer (2020) 2018‑12‑24 19:51:04
2.16.756.5.30.1.1.10.2.46 link active Health Service - documentationOf (2019) 2019‑01‑01 20:53:33
Relationship Version: template 2.16.756.5.30.1.1.10.9.49 Original Text Reference (2018‑04‑18)
ref
hl7chcda-
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.