2022 CDC Clinical Practice Guideline for Prescribing Opioids Implementation Guide
2022.1.0 - CI Build

2022 CDC Clinical Practice Guideline for Prescribing Opioids Implementation Guide, published by Centers for Disease Control and Prevention (CDC). This guide is not an authorized publication; it is the continuous build for version 2022.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/cqframework/opioid-cds-r4/ and changes regularly. See the Directory of published versions

Extension: DataDateRollerExtension

Official URL: http://fhir.org/guides/cdc/opioid-cds/StructureDefinition/dataDateRoller Version: 2022.1.0
Draft as of 2022-04-20 Computable Name: DataDateRollerExtension

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.

Context of Use

This extension may be used on the following element(s):

  • Element ID Resource

Usage info

Usage:

Formal Views of Extension Content

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

This structure is derived from Extension

Summary

Complex Extension: 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.

  • dateLastUpdated: dateTime: The date that datetime-valued elements of the resource were last updated.
  • frequency: Duration: Frequency is used to specify how often the dateTime-valued elements within the resource should have their values updated and also, the offset or duration by which they should be adjusted forward. The determination for when to update the values and by how much should be made by comparing the current dateTime to the value of dateLastUpdated. If the duration specified by frequency has elapsed since the dateLastUpdated value, then the dateTime-valued elements within the resource should all be updated - their value incremented by the duration specified in the frequency value.

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionData Date Roller Arguments
... extension:dateLastUpdated 0..1ExtensionDate that datetime-valued elements were last updated
.... extension 0..0
.... url 1..1uri"dateLastUpdated"
.... value[x] 1..1dateTimeValue of extension
... extension:frequency 0..1ExtensionHow often and by what offset the dateTime values should be adjusted forward
.... extension 0..0
.... url 1..1uri"frequency"
.... value[x] 1..1DurationValue of extension
... url 1..1uri"http://fhir.org/guides/cdc/opioid-cds/StructureDefinition/dataDateRoller"

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionData Date Roller Arguments
... id 0..1stringUnique id for inter-element referencing
... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... extension:dateLastUpdated 0..1ExtensionDate that datetime-valued elements were last updated
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"dateLastUpdated"
.... value[x] 1..1dateTimeValue of extension
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"frequency"
.... value[x] 1..1DurationValue of extension
... url 1..1uri"http://fhir.org/guides/cdc/opioid-cds/StructureDefinition/dataDateRoller"

doco Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: 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.

  • dateLastUpdated: dateTime: The date that datetime-valued elements of the resource were last updated.
  • frequency: Duration: Frequency is used to specify how often the dateTime-valued elements within the resource should have their values updated and also, the offset or duration by which they should be adjusted forward. The determination for when to update the values and by how much should be made by comparing the current dateTime to the value of dateLastUpdated. If the duration specified by frequency has elapsed since the dateLastUpdated value, then the dateTime-valued elements within the resource should all be updated - their value incremented by the duration specified in the frequency value.

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionData Date Roller Arguments
... extension:dateLastUpdated 0..1ExtensionDate that datetime-valued elements were last updated
.... extension 0..0
.... url 1..1uri"dateLastUpdated"
.... value[x] 1..1dateTimeValue of extension
... extension:frequency 0..1ExtensionHow often and by what offset the dateTime values should be adjusted forward
.... extension 0..0
.... url 1..1uri"frequency"
.... value[x] 1..1DurationValue of extension
... url 1..1uri"http://fhir.org/guides/cdc/opioid-cds/StructureDefinition/dataDateRoller"

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionData Date Roller Arguments
... id 0..1stringUnique id for inter-element referencing
... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... extension:dateLastUpdated 0..1ExtensionDate that datetime-valued elements were last updated
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"dateLastUpdated"
.... value[x] 1..1dateTimeValue of extension
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"frequency"
.... value[x] 1..1DurationValue of extension
... url 1..1uri"http://fhir.org/guides/cdc/opioid-cds/StructureDefinition/dataDateRoller"

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()