Back To Index  <<  Back To Templates

active Template  Document Set Id and Version Number

Id 2.16.756.5.30.1.1.10.2.20
ref
hl7chcda-
Effective Date 2018‑04‑18
Status active Active Version Label 2017
Name cdach_header_DocumentSetIdAndVersionNumber Display Name Document Set Id and Version Number
Description Unity of document versions. All CDA-CH V2 derivatives, i.e. Swiss exchange formats MUST reference this template.
Label CDA‑CH V2
Classification CDA Header Level Template
Open/Closed Open (other than defined elements are allowed)
Used by / Uses
Used by 5 transactions and 10 templates, Uses 0 templates
Used by as Name Version
cdachvacd-transaction-3 Transaction pending CDA-CH-VACD - Immunization Administration (2018) 2018‑04‑10 17:59:06
cdachvacd-transaction-4 Transaction pending CDA-CH-VACD - Immunization Certificate (2018) 2018‑04‑10 18:04:10
cdachvacd-transaction-5 Transaction pending CDA-CH-VACD - Immunization Recommendation Request (2018) 2018‑04‑10 18:08:44
cdachvacd-transaction-6 Transaction pending CDA-CH-VACD - Immunization Recommendation Response (2018) 2018‑04‑10 18:09:59
cdachvacd-transaction-7 Transaction pending CDA-CH-VACD - Vaccination Record (2018) 2018‑04‑10 18:10:49
2.16.756.5.30.1.1.10.1.15 Include active Immunization Certificate (2020) 2020‑06‑26
2.16.756.5.30.1.1.10.1.15 Include rejected Immunization Certificate (2018) 2018‑04‑19
2.16.756.5.30.1.1.10.1.16 Include active Immunization Administration (2020) 2020‑06‑26
2.16.756.5.30.1.1.10.1.16 Include rejected Immunization Administration (2018) 2018‑04‑19
2.16.756.5.30.1.1.10.1.17 Include active Immunization Recommendation Request (2020) 2020‑06‑26
2.16.756.5.30.1.1.10.1.17 Include rejected Immunization Recommendation Request (2018) 2018‑04‑19
2.16.756.5.30.1.1.10.1.18 Include active Immunization Recommendation Response (2020) 2020‑06‑26
2.16.756.5.30.1.1.10.1.18 Include rejected Immunization Recommendation Response (2018) 2018‑04‑19
2.16.756.5.30.1.1.10.1.19 Include active Vaccination Record (2020) 2020‑06‑26
2.16.756.5.30.1.1.10.1.19 Include rejected Vaccination Record (2018) 2018‑04‑19
Example
Version 1
<!-- For information only (see 'Document Id' template for more information): /ClinicalDocument/id/@root="807563C2-5146-11D5-A672-00B0D022E945" (equal to setId) -->
<setId root="807563C2-5146-11D5-A672-00B0D022E945"/><versionNumber value="1"/>
Example
Version 2
<!-- For information only (see 'Document Id' template for more information): /ClinicalDocument/id/@root="FD05DCA1-14A9-4AAE-B57E-6B28E621D853" (not equal to setId)-->
<setId root="807563C2-5146-11D5-A672-00B0D022E945"/><versionNumber value="2"/>
Item DT Card Conf Description Label
hl7:setId
II 1 … 1 R The setId element MUST match the document id of the very first version of that document. It MUST remain the same for all document versions. CDA‑CH V2
@root
uid 1 … 1 R The root attribute MUST contain the setId as Globally Unique Identifier (GUID).
@extension
st 0 NP NP/not present
  Schematron assert role red error  
  test (parent::*/hl7:versionNumber[@value='1'] and @root=parent::*/hl7:id/@root and (@extension=parent::*/hl7:id/@extension or (not(@extension) and not(parent::*/hl7:id/@extension)))) or (parent::*/hl7:versionNumber[not(@value ='1')] and ((@root=parent::*/hl7:id/@root and @extension and not(@extension=parent::*/hl7:id/@extension)) or(not(@root=parent::*/hl7:id/@root))))  
  Message The setId MUST be equal with the document id for version 1 and it MUST differ for all other versions.  
hl7:versionNumber
INT.NONNEG 1 … 1 R The versionNumber element MUST contain the value 1 for the very first version of that document. For later versions, the version number MUST be increased by 1 each. CDA‑CH V2