Release 4

Extension: activityStatusDate

Vocabulary Work Group Maturity Level: 1InformativeUse Context: Any

URL for this extension:

http://hl7.org/fhir/StructureDefinition/valueset-activityStatusDate

Status: draft. Extension maintained by: HL7

The date when the associated Value Set Definition Version activity status is in effect.

Comment:

When the Activity Status is set to “Active”, the Activity Status Date defines the Effective Date which is the date-time the Value Set Definition Version becomes active. When the Activity Status is set to “Inactive”, the Activity Status Date is the date-time when the Value Set Definition version becomes Inactive. This cycle may happen multiple times. The specified time is expected to be one second after midnight UTC of the Activity Status Date. The date may be in the future.

It is strongly encouraged that the Activity Status be set such that no more than one Value Set Definition Version for a single Value Set Identifier can have an Activity Status of ACTIVE at the same time within a single realm. In cases where this is not true, evaluation of the alignment of a Value Set Expansion Code Set to a specific Value Set Definition, as referenced in a CD, will be problematic.

Changes to this element should never result in a new Value Set Definition Version.

Context of Use: Use on Element ID ValueSet

Extension Content

Summary

NameFlagsCard.TypeDescription & Constraintsdoco
.. activityStatusDate0..1dateURL = http://hl7.org/fhir/StructureDefinition/valueset-activityStatusDate
activityStatusDate: The date when the associated Value Set Definition Version activity status is in effect.


Use on Element ID ValueSet

doco Documentation for this format

Full Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. extension0..1ExtensionURL = http://hl7.org/fhir/StructureDefinition/valueset-activityStatusDate
activityStatusDate: The date when the associated Value Set Definition Version activity status is in effect.


Use on Element ID ValueSet
... extension I0..0
... url 1..1uri"http://hl7.org/fhir/StructureDefinition/valueset-activityStatusDate"
... value[x] I1..1dateValue of extension

doco Documentation for this format

XML Template

<!-- activityStatusDate -->doco

<extension xmlns="http://hl7.org/fhir"
     url="http://hl7.org/fhir/StructureDefinition/valueset-activityStatusDate" >
  <!-- from Element: extension -->
 <valueDate value="[date]"/><!-- ?? 1..1 Value of extension -->
</extension>

JSON Template

{ // activityStatusDate
  // from Element: extension
    "extension" : [ //  sliced by value:url  in the specified order, Open ]
    "url" : "http://hl7.org/fhir/StructureDefinition/valueset-activityStatusDate", // R! 
    "valueDate" : "<date>" // C? R! Value of extension
  }

Summary

NameFlagsCard.TypeDescription & Constraintsdoco
.. activityStatusDate0..1dateURL = http://hl7.org/fhir/StructureDefinition/valueset-activityStatusDate
activityStatusDate: The date when the associated Value Set Definition Version activity status is in effect.


Use on Element ID ValueSet

doco Documentation for this format

Full Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. extension0..1ExtensionURL = http://hl7.org/fhir/StructureDefinition/valueset-activityStatusDate
activityStatusDate: The date when the associated Value Set Definition Version activity status is in effect.


Use on Element ID ValueSet
... extension I0..0
... url 1..1uri"http://hl7.org/fhir/StructureDefinition/valueset-activityStatusDate"
... value[x] I1..1dateValue of extension

doco Documentation for this format

XML Template

<!-- activityStatusDate -->doco

<extension xmlns="http://hl7.org/fhir"
     url="http://hl7.org/fhir/StructureDefinition/valueset-activityStatusDate" >
  <!-- from Element: extension -->
 <valueDate value="[date]"/><!-- ?? 1..1 Value of extension -->
</extension>

JSON Template

{ // activityStatusDate
  // from Element: extension
    "extension" : [ //  sliced by value:url  in the specified order, Open ]
    "url" : "http://hl7.org/fhir/StructureDefinition/valueset-activityStatusDate", // R! 
    "valueDate" : "<date>" // C? R! Value of extension
  }

 

Constraints

  • ele-1: All FHIR elements must have a @value or children (xpath: @value|f:*|h:div)
  • ext-1: Must have either extensions or value[x], not both (xpath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')]))
  • ele-1: On Extension.extension: All FHIR elements must have a @value or children (xpath on Extension.extension: @value|f:*|h:div)
  • ext-1: On Extension.extension: Must have either extensions or value[x], not both (xpath on Extension.extension: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")]))
  • ele-1: On Extension.value[x]: All FHIR elements must have a @value or children (xpath on Extension.value[x]: @value|f:*|h:div)