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: 4.0.1
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..* Extension Data Date Roller Arguments
... Slices for extension Content/Rules for all slices
.... extension:dateLastUpdated 0..1 Extension Date that datetime-valued elements were last updated
..... extension 0..0
..... url 1..1 uri "dateLastUpdated"
..... value[x] 1..1 dateTime Value of extension
.... extension:frequency 0..1 Extension How often and by what offset the dateTime values should be adjusted forward
..... extension 0..0
..... url 1..1 uri "frequency"
..... value[x] 1..1 Duration Value of extension
... url 1..1 uri "http://fhir.org/guides/cdc/opioid-cds/StructureDefinition/dataDateRoller"
... value[x] 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension Data Date Roller Arguments
... id 0..1 string Unique id for inter-element referencing
... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... extension:dateLastUpdated 0..1 Extension Date that datetime-valued elements were last updated
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "dateLastUpdated"
..... value[x] 1..1 dateTime Value of extension
.... extension:frequency 0..1 Extension How often and by what offset the dateTime values should be adjusted forward
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "frequency"
..... value[x] 1..1 Duration Value of extension
... url 1..1 uri "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..* Extension Data Date Roller Arguments
... Slices for extension Content/Rules for all slices
.... extension:dateLastUpdated 0..1 Extension Date that datetime-valued elements were last updated
..... extension 0..0
..... url 1..1 uri "dateLastUpdated"
..... value[x] 1..1 dateTime Value of extension
.... extension:frequency 0..1 Extension How often and by what offset the dateTime values should be adjusted forward
..... extension 0..0
..... url 1..1 uri "frequency"
..... value[x] 1..1 Duration Value of extension
... url 1..1 uri "http://fhir.org/guides/cdc/opioid-cds/StructureDefinition/dataDateRoller"
... value[x] 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension Data Date Roller Arguments
... id 0..1 string Unique id for inter-element referencing
... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... extension:dateLastUpdated 0..1 Extension Date that datetime-valued elements were last updated
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "dateLastUpdated"
..... value[x] 1..1 dateTime Value of extension
.... extension:frequency 0..1 Extension How often and by what offset the dateTime values should be adjusted forward
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "frequency"
..... value[x] 1..1 Duration Value of extension
... url 1..1 uri "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()