Template

Show index

Template Document Replacement - relatedDocument 2019‑01‑01 21:22:58

Id2.16.756.5.30.1.1.10.2.13
ref
hl7chcda-
Effective Date2019‑01‑01 21:22:58
Statusdraft DraftVersion Label2019
Namecdach_header_DocumentReplacementDisplay NameDocument Replacement - relatedDocument
DescriptionRelationship to another CDA-CH V2 based document that is replaced by the current one. All CDA-CH V2 derivatives, i.e. Swiss exchange formats MUST reference this template.
ContextParent nodes of template element with id 2.16.756.5.30.1.1.10.2.13
LabelCDA‑CH V2
ClassificationCDA Header Level Template
Open/ClosedOpen (other than defined elements are allowed)
Used by / Uses
Used by 8 transactions and 19 templates, Uses 0 templates
Used by as NameVersion
2.16.756.5.30.1.127.77.11.4.2Transactiondraft CDA-CH-SMCP - Social-medical care plan V2 (2018)2018‑12‑17 20:38:49
2.16.756.5.30.1.127.77.1.4.3Transactionpending CDA-CH-VACD - Immunization Administration (2018)2018‑04‑10 17:59:06
2.16.756.5.30.1.127.77.1.4.5Transactionpending CDA-CH-VACD - Immunization Recommendation Request (2018)2018‑04‑10 18:08:44
2.16.756.5.30.1.127.77.1.4.4Transactionpending CDA-CH-VACD - Immunization Certificate (2018)2018‑04‑10 18:04:10
2.16.756.5.30.1.127.77.6.4.2Transactiondraft Laboratory Report within a transplantation process2016‑05‑01
2.16.756.5.30.1.1.1.1.3.9.77.1.4.2Transactionpending CDA-CH-LREP - General Laboratory Report (2018)2018‑03‑06 18:38:46
2.16.756.5.30.1.127.77.1.4.6Transactionpending CDA-CH-VACD - Immunization Recommendation Response (2018)2018‑04‑10 18:09:59
2.16.756.5.30.1.127.77.1.4.7Transactionpending CDA-CH-VACD - Vaccination Record (2018)2018‑04‑10 18:10:49
2.16.756.5.30.1.1.10.1.8Includepending Patient Plan of Care (2013)2013‑10‑04
2.16.756.5.30.1.1.10.1.10Includeactive General Laboratory Report (2020)2020‑06‑26
2.16.756.5.30.1.1.10.1.11Includedraft Social-medical care plan V2 (2018)2017‑08‑24 18:00:03
2.16.756.5.30.1.1.10.1.15Includeactive Immunization Certificate (2020)2020‑06‑26
2.16.756.5.30.1.1.10.1.16Includeactive Immunization Administration (2020)2020‑06‑26
2.16.756.5.30.1.1.10.1.17Includeactive Immunization Recommendation Request (2020)2020‑06‑26
2.16.756.5.30.1.1.10.1.18Includeactive Immunization Recommendation Response (2020)2020‑06‑26
2.16.756.5.30.1.1.10.1.19Includeactive Vaccination Record (2020)2020‑06‑26
2.16.756.5.30.1.1.10.9.36Includeactive CDA-CH v2.0 Header Template Compilation (2017)2018‑04‑18
2.16.756.5.30.1.1.10.9.40Includepending RESP Header Template Compilation (2017)2017‑11‑20 13:35:46
2.16.756.5.30.1.1.10.9.41Includedraft Header Template Compilation Medication Dispense document (2019)2018‑01‑08 15:56:47
2.16.756.5.30.1.1.10.9.42Includecancelled Header Template Compilation Medication Card document (2017)2018‑01‑08 16:20:12
2.16.756.5.30.1.1.10.9.42Includeactive Header Template Compilation Medication Card document (2022)2019‑10‑17 13:58:45
2.16.756.5.30.1.1.10.9.43Includedraft Header Template Compilation Pharmaceutical Advice document (2019)2018‑01‑08 16:23:16
2.16.756.5.30.1.1.10.9.44Includedraft Header Template Compilation MedicationTreatmentPlan (2019)2018‑01‑08 16:26:11
2.16.756.5.30.1.1.10.9.45Includedraft Header Template Compilation Medication Prescription document (2021)2018‑01‑08 16:28:39
2.16.756.5.30.1.1.10.9.46Includedraft Header Template Compilation Medication List document (2019)2018‑01‑22 15:29:29
2.16.756.5.30.1.127.10.1.3Includedraft Laborbefund Transplantationsprozesss2017‑08‑14
2.16.756.5.30.1.139.77.1.10.3Includedraft Social-medical care plan V2 backup (2017)2018‑08‑22 12:14:58
RelationshipSpecialization: template 2.16.840.1.113883.10.12.111 CDA relatedDocument (2005‑09‑07)
ref
ad1bbr-
Example
Example
<relatedDocument typeCode="RPLC">
  <templateId root="2.16.756.5.30.1.1.10.2.13"/>  <parentDocument>
    <id root="30E19F60-3DB9-48B8-9BFD-FF04C342D0B1"/>    <setId root="452A118A-06AB-47D2-A29B-709F7F2EC6FE"/>    <versionNumber value="5"/>  </parentDocument>
</relatedDocument>
ItemDTCardConfDescriptionLabel
hl7:relatedDocument
0 … *

Relationship to another CDA-CH V2 based document that is replaced by the current one.

Notes: For correction of wrong information, a new document that replaces the earlier document MUST be created. The new document corrects previously incorrect information. This also applies to the case where information in the CDA header has been corrected (e.g., if the original document has been issued to the wrong patient). While processing the new document at the recipient, all values from the previous document MUST be interpreted as deprecated (deleted/marked as deleted/deprecated) and all values in the new document MUST be marked as valid:

  • Values that were only contained in the previous document have to be treated as deleted.
  • Values that are present in both documents are overwritten with the contents of the new document.
  • Values that are only contained in the new document are to be added.
CDA‑CH V2
@typeCode
cs1 … 1FRPLC
 Indicates that it is a relationship to another document that needs to be replaced.
hl7:templateId
II1 … 1MCDA‑CH V2
@root
uid1 … 1F2.16.756.5.30.1.1.10.2.13
hl7:parentDocument
1 … 1RRelationship to the document that needs to be replaced.CDA‑CH V2
hl7:id
II1 … 1MThe id of the document to be replaced MUST be declared.CDA‑CH V2
@root
uid1 … 1RThe id (GUID) of the document to be replaced.
@extension
st0NPNP/not present
hl7:setId
II1 … 1MThe setId of the document to be replaced MUST be declared.CDA‑CH V2
@extension
st0NPNP/not present
@root
uid1 … 1RThe setId (GUID) of the document to be replaced and MUST be identical with the content of the setId of the current document.
 Schematron assertrolered error 
 test(@root=/hl7:ClinicalDocument/hl7:setId/@root) and not(@extension) and not(/hl7:ClinicalDocument/hl7:setId/@extension) 
 MessageClinicalDocument/setId: MUST be identical to the one of the replaced document 
hl7:versionNumber
INT1 … 1MThe version number of the document to be replaced.CDA‑CH V2
 Schematron assertrolered error 
 test/hl7:ClinicalDocument/hl7:versionNumber/@value > @value 
 MessageClinicalDocument/versionNumber: MUST be higher than the one of the replaced document