PackagesCanonicalsLogsProblems
    Packages
    fhir.cdc.opioid-cds@2022.1.1
    http://fhir.org/guides/cdc/opioid-cds/StructureDefinition/dataDateRoller
description: Declares the DateLastUpdated and Frequency arguments to be used by the Data Date Roller for maintaining/rolling test data dates to keep them from going stale.
package_name: fhir.cdc.opioid-cds
derivation: constraint
name: DataDateRollerExtension
type: Extension
elements:
  extension:
    type: Extension
    short: Date that datetime-valued elements were last updated
    index: 0
    slicing:
      slices:
        dateLastUpdated:
          match: {}
          schema:
            type: Extension
            short: Date that datetime-valued elements were last updated
            index: 0
            extensions: {}
            elements:
              extension: {index: 1}
              url:
                type: uri
                pattern: {type: Uri, value: dateLastUpdated}
                index: 2
              value:
                choices: [valueDateTime]
                index: 4
              valueDateTime: {type: dateTime, choiceOf: value, index: 5}
            required: [valueDateTime, value]
        frequency:
          match: {}
          schema:
            type: Extension
            short: How often and by what offset the dateTime values should be adjusted forward
            index: 6
            extensions: {}
            elements:
              extension: {index: 7}
              url:
                type: uri
                pattern: {type: Uri, value: frequency}
                index: 8
              value:
                choices: [valueDuration]
                index: 10
              valueDuration: {type: Duration, choiceOf: value, index: 11}
            required: [value, valueDuration]
  url:
    pattern: {type: Uri, value: 'http://fhir.org/guides/cdc/opioid-cds/StructureDefinition/dataDateRoller'}
    index: 12
  value:
    choices: []
    index: 14
package_version: 2022.1.1
extensions:
  dateLastUpdated:
    url: null
    type: Extension
    short: Date that datetime-valued elements were last updated
    index: 0
    extensions: {}
    elements:
      extension: {index: 1}
      url:
        type: uri
        pattern: {type: Uri, value: dateLastUpdated}
        index: 2
      value:
        choices: [valueDateTime]
        index: 4
      valueDateTime: {type: dateTime, choiceOf: value, index: 5}
    required: [valueDateTime, value]
  frequency:
    url: null
    type: Extension
    short: How often and by what offset the dateTime values should be adjusted forward
    index: 6
    extensions: {}
    elements:
      extension: {index: 7}
      url:
        type: uri
        pattern: {type: Uri, value: frequency}
        index: 8
      value:
        choices: [valueDuration]
        index: 10
      valueDuration: {type: Duration, choiceOf: value, index: 11}
    required: [value, valueDuration]
class: extension
kind: complex-type
url: http://fhir.org/guides/cdc/opioid-cds/StructureDefinition/dataDateRoller
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 4.0.1