2nd DSTU Draft For Comment

This page is part of the FHIR Specification (v0.4.0: DSTU 2 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R3 R2

Extension What has happened over time - Definition

URL for this extension:

http://hl7.org/fhir/ExtensionDefinition/valueset-history

Status: draft

Information on changes made to the Value Set Definition over time, and also has a contained audit trail of all such changes.

HL7

usage info: todo

Extension Content

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. extensionExtensionURL = http://hl7.org/fhir/ExtensionDefinition/valueset-history
What has happened over time: Information on changes made to the Value Set Definition over time, and also has a contained audit trail of all such changes.
Use on element: ValueSet
... name 0..1stringThe name of this set of history entries
... revision 0..*Audit of all changes for a history entry
.... date 1..1dateTimeDate the change was made
.... id 1..1stringVersion marker after the change was made
.... author 1..1stringWho made the change
.... notes 0..1stringInformation about the change

XML Template

<!-- What has happened over time -->doco

<extension xmlns="http://hl7.org/fhir"
     url="http://hl7.org/fhir/ExtensionDefinition/valueset-history" >
 <!-- from Element: extension -->
 <extension url="name"> <!-- 0..1 The name of this set of history entries --!> 
  <valueString value="[string]"/>
 </extension>
 <!-- from Element: extension -->
 <extension url="revision"> <!-- 0..* Audit of all changes for a history entry --!> 
  <!-- from Element: extension -->
  <extension url="date"> <!-- 1..1 Date the change was made --!> 
   <valueDateTime value="[dateTime]"/>
  </extension>
  <!-- from Element: extension -->
  <extension url="id"> <!-- 1..1 Version marker after the change was made --!> 
   <valueString value="[string]"/>
  </extension>
  <!-- from Element: extension -->
  <extension url="author"> <!-- 1..1 Who made the change --!> 
   <valueString value="[string]"/>
  </extension>
  <!-- from Element: extension -->
  <extension url="notes"> <!-- 0..1 Information about the change --!> 
   <valueString value="[string]"/>
  </extension>

 </extension>
 <!-- from Element: extension -->
 <extension url="date"> <!-- 1..1 Date the change was made --!> 
  <valueDateTime value="[dateTime]"/>
 </extension>
 <!-- from Element: extension -->
 <extension url="id"> <!-- 1..1 Version marker after the change was made --!> 
  <valueString value="[string]"/>
 </extension>
 <!-- from Element: extension -->
 <extension url="author"> <!-- 1..1 Who made the change --!> 
  <valueString value="[string]"/>
 </extension>
 <!-- from Element: extension -->
 <extension url="notes"> <!-- 0..1 Information about the change --!> 
  <valueString value="[string]"/>
 </extension>
</extension>

JSON Template

// extension added to existing objectdoco

  "http://hl7.org/fhir/ExtensionDefinition/valueset-history" : { // What has happened over time
    "name" : ["<string>"], //The name of this set of history entries
// value[x]: Audit of all changes for a history entry. One of these 0:
    "date" : ["<dateTime>"], // R!Date the change was made
    "id" : ["<string>"], // R!Version marker after the change was made
    "author" : ["<string>"], // R!Who made the change
    "notes" : ["<string>"], //Information about the change
  }

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. extensionExtensionURL = http://hl7.org/fhir/ExtensionDefinition/valueset-history
What has happened over time: Information on changes made to the Value Set Definition over time, and also has a contained audit trail of all such changes.
Use on element: ValueSet
... name 0..1stringThe name of this set of history entries
... revision 0..*Audit of all changes for a history entry
.... date 1..1dateTimeDate the change was made
.... id 1..1stringVersion marker after the change was made
.... author 1..1stringWho made the change
.... notes 0..1stringInformation about the change

XML Template

<!-- What has happened over time -->doco

<extension xmlns="http://hl7.org/fhir"
     url="http://hl7.org/fhir/ExtensionDefinition/valueset-history" >
 <!-- from Element: extension -->
 <extension url="name"> <!-- 0..1 The name of this set of history entries --!> 
  <valueString value="[string]"/>
 </extension>
 <!-- from Element: extension -->
 <extension url="revision"> <!-- 0..* Audit of all changes for a history entry --!> 
  <!-- from Element: extension -->
  <extension url="date"> <!-- 1..1 Date the change was made --!> 
   <valueDateTime value="[dateTime]"/>
  </extension>
  <!-- from Element: extension -->
  <extension url="id"> <!-- 1..1 Version marker after the change was made --!> 
   <valueString value="[string]"/>
  </extension>
  <!-- from Element: extension -->
  <extension url="author"> <!-- 1..1 Who made the change --!> 
   <valueString value="[string]"/>
  </extension>
  <!-- from Element: extension -->
  <extension url="notes"> <!-- 0..1 Information about the change --!> 
   <valueString value="[string]"/>
  </extension>

 </extension>
 <!-- from Element: extension -->
 <extension url="date"> <!-- 1..1 Date the change was made --!> 
  <valueDateTime value="[dateTime]"/>
 </extension>
 <!-- from Element: extension -->
 <extension url="id"> <!-- 1..1 Version marker after the change was made --!> 
  <valueString value="[string]"/>
 </extension>
 <!-- from Element: extension -->
 <extension url="author"> <!-- 1..1 Who made the change --!> 
  <valueString value="[string]"/>
 </extension>
 <!-- from Element: extension -->
 <extension url="notes"> <!-- 0..1 Information about the change --!> 
  <valueString value="[string]"/>
 </extension>
</extension>

JSON Template

to do