Back To Index << Back To Templates

# Template Original Text Reference

Id | 2.16.756.5.30.1.1.10.9.49 | Effective Date | 2021‑06‑08 18:41:55
Status | 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 | Medication Prescription document | 2018‑04‑04 15:33:29
cdachemed-transaction-9 | Transaction | Medication Treatment Plan document | 2019‑12‑12 14:11:31
cdachemed-transaction-5 | Transaction | Medication Dispense document | 2018‑04‑04 15:35:51
cdachemed-transaction-6 | Transaction | Pharmaceutical Advice document | 2018‑04‑04 15:36:35
cdachemed-transaction-7 | Transaction | Medication List document | 2018‑04‑04 15:37:19
cdachemed-transaction-8 | Transaction | Medication Card document (2022) | 2018‑04‑04 15:42:50
2.16.756.5.30.1.1.10.2.1 | Include | Patient - recordTarget (2022) | 2022‑06‑21 13:45:28
2.16.756.5.30.1.1.10.9.36 |  | CDA-CH v2.0 Header Template Compilation (2017) | 2018‑04‑18
2.16.756.5.30.1.1.10.1.9 |  | CDA-CH v2.1 - structuredBody (2020) | 2019‑10‑17 15:22:41
2.16.756.5.30.1.1.10.9.41 |  | Header Template Compilation Medication Dispense document (2019) | 2018‑01‑08 15:56:47
2.16.756.5.30.1.1.10.1.5 |  | Medication Dispense document (2020) | 2016‑05‑21
2.16.756.5.30.1.1.10.9.42 |  | Header Template Compilation Medication Card document (2022) | 2019‑10‑17 13:58:45
2.16.756.5.30.1.1.10.1.3 |  | Medication Card document (2022) | 2016‑05‑13
2.16.756.5.30.1.1.10.9.42 |  | Header Template Compilation Medication Card document (2017) | 2018‑01‑08 16:20:12
2.16.756.5.30.1.1.10.9.43 |  | Header Template Compilation Pharmaceutical Advice document (2019) | 2018‑01‑08 16:23:16
2.16.756.5.30.1.1.10.1.6 |  | Pharmaceutical Advice document (2020) | 2016‑05‑21
2.16.756.5.30.1.1.10.9.44 |  | Header Template Compilation MedicationTreatmentPlan (2019) | 2018‑01‑08 16:26:11
2.16.756.5.30.1.1.10.1.7 |  | Medication Treatment Plan document (2020) | 2017‑04‑12 13:57:31
2.16.756.5.30.1.1.10.9.45 |  | Header Template Compilation Medication Prescription document (2021) | 2018‑01‑08 16:28:39
2.16.756.5.30.1.1.10.1.4 |  | Medication Prescription document (2020) | 2016‑05‑21
2.16.756.5.30.1.1.10.9.46 |  | Header Template Compilation Medication List document (2019) | 2018‑01‑22 15:29:29
2.16.756.5.30.1.1.10.1.13 |  | Medication List document (2020) | 2018‑01‑22 15:17:26
2.16.756.5.30.1.1.10.9.12 | Include | Assigned Entity Compilation with id (2020) | 2019‑10‑24 16:41:55
2.16.756.5.30.1.1.10.2.5 |  | Legal Authenticator (2017) | 2018‑04‑18
2.16.756.5.30.1.1.10.2.6 |  | Authenticator (2020) | 2019‑01‑01 20:20:44
2.16.756.5.30.1.1.10.2.7 |  | Data Enterer (2017) | 2018‑04‑18
2.16.756.5.30.1.1.10.9.32 | Include | 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 |  | Performer (2020) | 2018‑12‑24 19:51:04
2.16.756.5.30.1.1.10.2.46 |  | 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 | 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 | 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 | error |
| test | parent::*/text()=ancestor::hl7:structuredBody//*[@ID=$idvalue]/text() |
| Message | The originalText content MUST be identical to the narrative text for this reference. |