Quality Measure Implementation Guide
3.0.0-ballot - STU 2 International flag

Quality Measure Implementation Guide, published by HL7 International / Clinical Quality Information. This guide is not an authorized publication; it is the continuous build for version 3.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-cqm/ and changes regularly. See the Directory of published versions

Data Type Profile: CQM DataType Timing

Official URL: http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-datatype-timing Version: 3.0.0-ballot
Standards status: Trial-use Maturity Level: 4 Computable Name: CQMDataTypeTiming
Other Identifiers: OID:2.16.840.1.113883.4.642.40.61.42.37

Quality Measure IG constraints on the Timing datatype used in reportingTiming.

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description Differentials, Snapshots, and other representations.

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Timing 0..* Timing(4.0.1) A timing schedule that specifies an event that may occur multiple times
Timing.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
Timing.repeat This element is included in summaries. C 1..1 Element When the event is to occur
Constraints: tim-1, tim-2, tim-4, tim-5, tim-6, tim-7, tim-8, tim-9, tim-10
Timing.repeat.frequency This element is included in summaries. 1..1 positiveInt Event occurs frequency times per period
Timing.repeat.period This element is included in summaries. 1..1 decimal Event occurs frequency times per period
Timing.repeat.periodUnit This element is included in summaries. 1..1 code s | min | h | d | wk | mo | a - unit of time (UCUM)
Binding: UnitsOfTime (required): A unit of time (units from UCUM).
Timing.repeat.timeOfDay This element must be supported. This element is included in summaries. 0..1 time Time of day for action

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Timing.repeat.periodUnit Base required UnitsOfTime 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
ele-1 error Timing, Timing.modifierExtension, Timing.repeat, Timing.repeat.frequency, Timing.repeat.period, Timing.repeat.periodUnit, Timing.repeat.timeOfDay All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error Timing.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()
tim-1 error Timing.repeat if there's a duration, there needs to be duration units duration.empty() or durationUnit.exists()
tim-2 error Timing.repeat if there's a period, there needs to be period units period.empty() or periodUnit.exists()
tim-4 error Timing.repeat duration SHALL be a non-negative value duration.exists() implies duration >= 0
tim-5 error Timing.repeat period SHALL be a non-negative value period.exists() implies period >= 0
tim-6 error Timing.repeat If there's a periodMax, there must be a period periodMax.empty() or period.exists()
tim-7 error Timing.repeat If there's a durationMax, there must be a duration durationMax.empty() or duration.exists()
tim-8 error Timing.repeat If there's a countMax, there must be a count countMax.empty() or count.exists()
tim-9 error Timing.repeat If there's an offset, there must be a when (and not C, CM, CD, CV) offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))
tim-10 error Timing.repeat If there's a timeOfDay, there cannot be a when, or vice versa timeOfDay.empty() or when.empty()

This structure is derived from Timing

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Timing 0..* Timing(4.0.1) A timing schedule that specifies an event that may occur multiple times
Timing.repeat 1..1 Element When the event is to occur
Timing.repeat.frequency 1..1 positiveInt Event occurs frequency times per period
Timing.repeat.period 1..1 decimal Event occurs frequency times per period
Timing.repeat.periodUnit 1..1 code s | min | h | d | wk | mo | a - unit of time (UCUM)
Timing.repeat.timeOfDay This element must be supported. 0..1 time Time of day for action

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: doco
Timing 0..* Timing(4.0.1) A timing schedule that specifies an event that may occur multiple times
Timing.id 0..1 string Unique id for inter-element referencing
Timing.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
Timing.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
Timing.event This element is included in summaries. 0..* dateTime When the event occurs
Timing.repeat This element is included in summaries. C 1..1 Element When the event is to occur
Constraints: tim-1, tim-2, tim-4, tim-5, tim-6, tim-7, tim-8, tim-9, tim-10
Timing.repeat.id 0..1 string Unique id for inter-element referencing
Timing.repeat.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
Timing.repeat.bounds[x] This element is included in summaries. 0..1 Length/Range of lengths, or (Start and/or end) limits
Timing.repeat.bounds[x].boundsDuration Duration
Timing.repeat.bounds[x].boundsRange Range
Timing.repeat.bounds[x].boundsPeriod Period
Timing.repeat.count This element is included in summaries. 0..1 positiveInt Number of times to repeat
Timing.repeat.countMax This element is included in summaries. 0..1 positiveInt Maximum number of times to repeat
Timing.repeat.duration This element is included in summaries. 0..1 decimal How long when it happens
Timing.repeat.durationMax This element is included in summaries. 0..1 decimal How long when it happens (Max)
Timing.repeat.durationUnit This element is included in summaries. 0..1 code s | min | h | d | wk | mo | a - unit of time (UCUM)
Binding: UnitsOfTime (required): A unit of time (units from UCUM).
Timing.repeat.frequency This element is included in summaries. 1..1 positiveInt Event occurs frequency times per period
Timing.repeat.frequencyMax This element is included in summaries. 0..1 positiveInt Event occurs up to frequencyMax times per period
Timing.repeat.period This element is included in summaries. 1..1 decimal Event occurs frequency times per period
Timing.repeat.periodMax This element is included in summaries. 0..1 decimal Upper limit of period (3-4 hours)
Timing.repeat.periodUnit This element is included in summaries. 1..1 code s | min | h | d | wk | mo | a - unit of time (UCUM)
Binding: UnitsOfTime (required): A unit of time (units from UCUM).
Timing.repeat.dayOfWeek This element is included in summaries. 0..* code mon | tue | wed | thu | fri | sat | sun
Binding: DaysOfWeek (required)
Timing.repeat.timeOfDay This element must be supported. This element is included in summaries. 0..1 time Time of day for action
Timing.repeat.when This element is included in summaries. 0..* code Code for time period of occurrence
Binding: EventTiming (required): Real world event relating to the schedule.
Timing.repeat.offset This element is included in summaries. 0..1 unsignedInt Minutes from event (before or after)
Timing.code This element is included in summaries. 0..1 CodeableConcept BID | TID | QID | AM | PM | QD | QOD | +
Binding: TimingAbbreviation (preferred): Code for a known / defined timing pattern.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Timing.repeat.durationUnit Base required UnitsOfTime 📍4.0.1 FHIR Std.
Timing.repeat.periodUnit Base required UnitsOfTime 📍4.0.1 FHIR Std.
Timing.repeat.dayOfWeek Base required DaysOfWeek 📍4.0.1 FHIR Std.
Timing.repeat.when Base required EventTiming 📍4.0.1 FHIR Std.
Timing.code Base preferred TimingAbbreviation 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
ele-1 error Timing, Timing.extension, Timing.modifierExtension, Timing.event, Timing.repeat, Timing.repeat.extension, Timing.repeat.bounds[x], Timing.repeat.count, Timing.repeat.countMax, Timing.repeat.duration, Timing.repeat.durationMax, Timing.repeat.durationUnit, Timing.repeat.frequency, Timing.repeat.frequencyMax, Timing.repeat.period, Timing.repeat.periodMax, Timing.repeat.periodUnit, Timing.repeat.dayOfWeek, Timing.repeat.timeOfDay, Timing.repeat.when, Timing.repeat.offset, Timing.code All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error Timing.extension, Timing.modifierExtension, Timing.repeat.extension Must have either extensions or value[x], not both extension.exists() != value.exists()
tim-1 error Timing.repeat if there's a duration, there needs to be duration units duration.empty() or durationUnit.exists()
tim-2 error Timing.repeat if there's a period, there needs to be period units period.empty() or periodUnit.exists()
tim-4 error Timing.repeat duration SHALL be a non-negative value duration.exists() implies duration >= 0
tim-5 error Timing.repeat period SHALL be a non-negative value period.exists() implies period >= 0
tim-6 error Timing.repeat If there's a periodMax, there must be a period periodMax.empty() or period.exists()
tim-7 error Timing.repeat If there's a durationMax, there must be a duration durationMax.empty() or duration.exists()
tim-8 error Timing.repeat If there's a countMax, there must be a count countMax.empty() or count.exists()
tim-9 error Timing.repeat If there's an offset, there must be a when (and not C, CM, CD, CV) offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))
tim-10 error Timing.repeat If there's a timeOfDay, there cannot be a when, or vice versa timeOfDay.empty() or when.empty()

This structure is derived from Timing

Summary

Mandatory: 4 elements
Must-Support: 1 element

Maturity: 4

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Timing 0..* Timing(4.0.1) A timing schedule that specifies an event that may occur multiple times
Timing.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
Timing.repeat This element is included in summaries. C 1..1 Element When the event is to occur
Constraints: tim-1, tim-2, tim-4, tim-5, tim-6, tim-7, tim-8, tim-9, tim-10
Timing.repeat.frequency This element is included in summaries. 1..1 positiveInt Event occurs frequency times per period
Timing.repeat.period This element is included in summaries. 1..1 decimal Event occurs frequency times per period
Timing.repeat.periodUnit This element is included in summaries. 1..1 code s | min | h | d | wk | mo | a - unit of time (UCUM)
Binding: UnitsOfTime (required): A unit of time (units from UCUM).
Timing.repeat.timeOfDay This element must be supported. This element is included in summaries. 0..1 time Time of day for action

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Timing.repeat.periodUnit Base required UnitsOfTime 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
ele-1 error Timing, Timing.modifierExtension, Timing.repeat, Timing.repeat.frequency, Timing.repeat.period, Timing.repeat.periodUnit, Timing.repeat.timeOfDay All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error Timing.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()
tim-1 error Timing.repeat if there's a duration, there needs to be duration units duration.empty() or durationUnit.exists()
tim-2 error Timing.repeat if there's a period, there needs to be period units period.empty() or periodUnit.exists()
tim-4 error Timing.repeat duration SHALL be a non-negative value duration.exists() implies duration >= 0
tim-5 error Timing.repeat period SHALL be a non-negative value period.exists() implies period >= 0
tim-6 error Timing.repeat If there's a periodMax, there must be a period periodMax.empty() or period.exists()
tim-7 error Timing.repeat If there's a durationMax, there must be a duration durationMax.empty() or duration.exists()
tim-8 error Timing.repeat If there's a countMax, there must be a count countMax.empty() or count.exists()
tim-9 error Timing.repeat If there's an offset, there must be a when (and not C, CM, CD, CV) offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))
tim-10 error Timing.repeat If there's a timeOfDay, there cannot be a when, or vice versa timeOfDay.empty() or when.empty()

Differential View

This structure is derived from Timing

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Timing 0..* Timing(4.0.1) A timing schedule that specifies an event that may occur multiple times
Timing.repeat 1..1 Element When the event is to occur
Timing.repeat.frequency 1..1 positiveInt Event occurs frequency times per period
Timing.repeat.period 1..1 decimal Event occurs frequency times per period
Timing.repeat.periodUnit 1..1 code s | min | h | d | wk | mo | a - unit of time (UCUM)
Timing.repeat.timeOfDay This element must be supported. 0..1 time Time of day for action

doco Documentation for this format

Snapshot ViewView

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Timing 0..* Timing(4.0.1) A timing schedule that specifies an event that may occur multiple times
Timing.id 0..1 string Unique id for inter-element referencing
Timing.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
Timing.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
Timing.event This element is included in summaries. 0..* dateTime When the event occurs
Timing.repeat This element is included in summaries. C 1..1 Element When the event is to occur
Constraints: tim-1, tim-2, tim-4, tim-5, tim-6, tim-7, tim-8, tim-9, tim-10
Timing.repeat.id 0..1 string Unique id for inter-element referencing
Timing.repeat.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
Timing.repeat.bounds[x] This element is included in summaries. 0..1 Length/Range of lengths, or (Start and/or end) limits
Timing.repeat.bounds[x].boundsDuration Duration
Timing.repeat.bounds[x].boundsRange Range
Timing.repeat.bounds[x].boundsPeriod Period
Timing.repeat.count This element is included in summaries. 0..1 positiveInt Number of times to repeat
Timing.repeat.countMax This element is included in summaries. 0..1 positiveInt Maximum number of times to repeat
Timing.repeat.duration This element is included in summaries. 0..1 decimal How long when it happens
Timing.repeat.durationMax This element is included in summaries. 0..1 decimal How long when it happens (Max)
Timing.repeat.durationUnit This element is included in summaries. 0..1 code s | min | h | d | wk | mo | a - unit of time (UCUM)
Binding: UnitsOfTime (required): A unit of time (units from UCUM).
Timing.repeat.frequency This element is included in summaries. 1..1 positiveInt Event occurs frequency times per period
Timing.repeat.frequencyMax This element is included in summaries. 0..1 positiveInt Event occurs up to frequencyMax times per period
Timing.repeat.period This element is included in summaries. 1..1 decimal Event occurs frequency times per period
Timing.repeat.periodMax This element is included in summaries. 0..1 decimal Upper limit of period (3-4 hours)
Timing.repeat.periodUnit This element is included in summaries. 1..1 code s | min | h | d | wk | mo | a - unit of time (UCUM)
Binding: UnitsOfTime (required): A unit of time (units from UCUM).
Timing.repeat.dayOfWeek This element is included in summaries. 0..* code mon | tue | wed | thu | fri | sat | sun
Binding: DaysOfWeek (required)
Timing.repeat.timeOfDay This element must be supported. This element is included in summaries. 0..1 time Time of day for action
Timing.repeat.when This element is included in summaries. 0..* code Code for time period of occurrence
Binding: EventTiming (required): Real world event relating to the schedule.
Timing.repeat.offset This element is included in summaries. 0..1 unsignedInt Minutes from event (before or after)
Timing.code This element is included in summaries. 0..1 CodeableConcept BID | TID | QID | AM | PM | QD | QOD | +
Binding: TimingAbbreviation (preferred): Code for a known / defined timing pattern.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Timing.repeat.durationUnit Base required UnitsOfTime 📍4.0.1 FHIR Std.
Timing.repeat.periodUnit Base required UnitsOfTime 📍4.0.1 FHIR Std.
Timing.repeat.dayOfWeek Base required DaysOfWeek 📍4.0.1 FHIR Std.
Timing.repeat.when Base required EventTiming 📍4.0.1 FHIR Std.
Timing.code Base preferred TimingAbbreviation 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
ele-1 error Timing, Timing.extension, Timing.modifierExtension, Timing.event, Timing.repeat, Timing.repeat.extension, Timing.repeat.bounds[x], Timing.repeat.count, Timing.repeat.countMax, Timing.repeat.duration, Timing.repeat.durationMax, Timing.repeat.durationUnit, Timing.repeat.frequency, Timing.repeat.frequencyMax, Timing.repeat.period, Timing.repeat.periodMax, Timing.repeat.periodUnit, Timing.repeat.dayOfWeek, Timing.repeat.timeOfDay, Timing.repeat.when, Timing.repeat.offset, Timing.code All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error Timing.extension, Timing.modifierExtension, Timing.repeat.extension Must have either extensions or value[x], not both extension.exists() != value.exists()
tim-1 error Timing.repeat if there's a duration, there needs to be duration units duration.empty() or durationUnit.exists()
tim-2 error Timing.repeat if there's a period, there needs to be period units period.empty() or periodUnit.exists()
tim-4 error Timing.repeat duration SHALL be a non-negative value duration.exists() implies duration >= 0
tim-5 error Timing.repeat period SHALL be a non-negative value period.exists() implies period >= 0
tim-6 error Timing.repeat If there's a periodMax, there must be a period periodMax.empty() or period.exists()
tim-7 error Timing.repeat If there's a durationMax, there must be a duration durationMax.empty() or duration.exists()
tim-8 error Timing.repeat If there's a countMax, there must be a count countMax.empty() or count.exists()
tim-9 error Timing.repeat If there's an offset, there must be a when (and not C, CM, CD, CV) offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))
tim-10 error Timing.repeat If there's a timeOfDay, there cannot be a when, or vice versa timeOfDay.empty() or when.empty()

This structure is derived from Timing

Summary

Mandatory: 4 elements
Must-Support: 1 element

Maturity: 4

 

Other representations of profile: CSV, Excel, Schematron