Templates

Show index

Template Document Replacement - relatedDocument 2018‑04‑18

Id2.16.756.5.30.1.1.10.2.13
ref
hl7chcda-
Effective Date2018‑04‑18
Statusactive ActiveVersion Label2017
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)
RelationshipVersion: template 2.16.756.5.30.1.1.10.2.13 (2016‑05‑18)
ref
hl7chcda-

Specialization: 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:id/@root) and not(@extension) and not(/hl7:ClinicalDocument/hl7:id/@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@value > /hl7:ClinicalDocument/hl7:versionNumber/@value 
 MessageClinicalDocument/versionNumber: MUST be higher than the one of the replaced document 

Template <CDA-CH-REPL> 2016‑05‑18

Id2.16.756.5.30.1.1.10.2.13
ref
hl7chcda-
Effective Date2016‑05‑18
Statusretired RetiredVersion Label2016
NameCDA_CH_REPLDisplay Name<CDA-CH-REPL>
Description
(de-CH) Für die Korrektur falsch übermittelter Werte MUSS ein neues Dokument erstellt werden, welches das frühere Dokument ersetzt. Dies gilt ebenfalls für den Fall, dass Daten im CDA Header korrigiert wurden (z.B. wenn das ursprüngliche Dokument für den falschen Patienten ausgestellt worden ist).
Beim Verarbeiten des neuen Dokuments MÜSSEN beim Empfänger sämtliche Werte aus dem zu ersetzenden Dokument als veraltet interpretiert (gelöscht oder als gelöscht resp. veraltet markiert) und alle Werte im neuen Dokument als gültig markiert werden.
  • Werte, die nur im alten Dokument enthalten waren, gelten als gelöscht.
  • Werte, die in beiden Dokumenten vorhanden sind, werden mit dem Inhalt des neuen Dokuments überschrieben.
  • Werte, die nur im neuen Dokument enthalten sind, werden neu erfasst.
ClassificationCDA Header Level Template
Open/ClosedOpen (other than defined elements are allowed)
RelationshipSpecialization: template 2.16.840.1.113883.10.12.111 CDA relatedDocument (2005‑09‑07)
ref
ad1bbr-

Specialization: template 2.16.756.5.30.1.1.10.2.9 (2009‑01‑27)
ref
hl7chcda-
ItemDTCardConfDescriptionLabel
hl7:relatedDocument
0 … *(de-CH) Beziehung zu einem anderen Dokument.CDA_dotsREPL
@typeCode
cs1 … 1FRPLC
 (de-CH) Gibt an, dass es sich um eine Beziehung zu einem anderen Dokument handelt, welches ersetzt werden soll.
hl7:parentDocument
1 … 1R(de-CH) Beziehung zum Dokument, dass ersetzt werden soll.CDA_dotsREPL
hl7:id
II1 … 1M(de-CH) Die Dokumenten-Id des zu ersetzenden Dokuments MUSS angegeben werden.CDA_dotsREPL
@extension
st1 … 1R(de-CH) MUSS die Dokumenten-Id des zu ersetzenden Dokuments enthalten.
@root
uid1 … 1R(de-CH) MUSS die gleiche OID wie bei der Dokumenten-Id im zu ersetzenden Dokument enthalten.
hl7:setId
II1 … 1M(de-CH) MUSS die Set-Id des zu ersetzenden Dokuments enthalten.CDA_dotsREPL
@extension
st1 … 1R(de-CH) MUSS die Set-Id des zu ersetzenden Dokuments enthalten und identisch sein mit der Set-Id des aktuellen Dokuments.
@root
uid1 … 1R(de-CH) MUSS die OID der Set-Id des zu ersetzenden Dokuments enthalten und identisch sein mit der OID bei der Set-Id des aktuellen Dokuments.
 Schematron assertrolered error 
 test(@root=/ClinicalDocument/id/@root) and (@extension=/ClinicalDocument/id/@extension) 
 MessageClinicalDocument/setId: MUST be identical to the one of the replaced document 
hl7:versionNumber
INT1 … 1M(de-CH) MUSS die Versionsnummer des zu ersetzenden Dokuments enthalten.CDA_dotsREPL
 Schematron assertrolered error 
 test@value > /ClinicalDocument/versionNumber/@value 
 MessageClinicalDocument/versionNumber: MUST be higher than the one of the replaced document