RESQ Stroke Registry Implementation Guide
0.2.0-draft - draft
RESQ Stroke Registry Implementation Guide - Local Development build (v0.2.0-draft) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: http://fhir.qualityregistry.org/StructureDefinition/averaging-window-ext | Version: 0.2.0-draft | |||
| Draft as of 2026-10-21 | Computable Name: AveragingWindowExt | |||
The look-back window an aggregated value expresses, as a whole number of UCUM time units: 30 days, 12 weeks, 6 months. Observation.effectivePeriod carries the actual calendar dates the readings were drawn from; this extension carries the nominal window so that consumers can select aggregations by window length without date arithmetic.
Context of Use
This extension may be used on the following element(s)
Observation
Usage info
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from Extension
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Extension | Averaging window | |
![]() ![]() |
0..0 | Extension | ||
![]() ![]() |
1..1 | uri | "http://fhir.qualityregistry.org/StructureDefinition/averaging-window-ext" | |
![]() ![]() |
SC | 1..1 | Duration | Length of the averaging window, for example 30 days Constraints: avw-whole-number |
![]() ![]() ![]() |
S | 1..1 | decimal | Whole number of units, for example 30 |
![]() ![]() ![]() |
0..0 | < | <= | >= | > | ad - how to understand the value | ||
![]() ![]() ![]() |
S | 1..1 | uri | System that defines coded unit form Required Pattern: http://unitsofmeasure.org |
![]() ![]() ![]() |
S | 1..1 | code | UCUM time unit, for example d, wk or mo |
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Extension | Averaging window | |
![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |
![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() |
1..1 | uri | "http://fhir.qualityregistry.org/StructureDefinition/averaging-window-ext" | |
![]() ![]() |
SC | 1..1 | Duration | Length of the averaging window, for example 30 days Constraints: avw-whole-number |
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
SΣ | 1..1 | decimal | Whole number of units, for example 30 |
![]() ![]() ![]() |
Σ | 0..1 | string | Unit representation |
![]() ![]() ![]() |
SΣC | 1..1 | uri | System that defines coded unit form Required Pattern: http://unitsofmeasure.org |
![]() ![]() ![]() |
SΣC | 1..1 | code | UCUM time unit, for example d, wk or mo |
Documentation for this format | ||||
This structure is derived from Extension
Summary
Simple Extension with the type Duration: The look-back window an aggregated value expresses, as a whole number of UCUM time units: 30 days, 12 weeks, 6 months. Observation.effectivePeriod carries the actual calendar dates the readings were drawn from; this extension carries the nominal window so that consumers can select aggregations by window length without date arithmetic.
Differential View
This structure is derived from Extension
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Extension | Averaging window | |
![]() ![]() |
0..0 | Extension | ||
![]() ![]() |
1..1 | uri | "http://fhir.qualityregistry.org/StructureDefinition/averaging-window-ext" | |
![]() ![]() |
SC | 1..1 | Duration | Length of the averaging window, for example 30 days Constraints: avw-whole-number |
![]() ![]() ![]() |
S | 1..1 | decimal | Whole number of units, for example 30 |
![]() ![]() ![]() |
0..0 | < | <= | >= | > | ad - how to understand the value | ||
![]() ![]() ![]() |
S | 1..1 | uri | System that defines coded unit form Required Pattern: http://unitsofmeasure.org |
![]() ![]() ![]() |
S | 1..1 | code | UCUM time unit, for example d, wk or mo |
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Extension | Averaging window | |
![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |
![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() |
1..1 | uri | "http://fhir.qualityregistry.org/StructureDefinition/averaging-window-ext" | |
![]() ![]() |
SC | 1..1 | Duration | Length of the averaging window, for example 30 days Constraints: avw-whole-number |
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
SΣ | 1..1 | decimal | Whole number of units, for example 30 |
![]() ![]() ![]() |
Σ | 0..1 | string | Unit representation |
![]() ![]() ![]() |
SΣC | 1..1 | uri | System that defines coded unit form Required Pattern: http://unitsofmeasure.org |
![]() ![]() ![]() |
SΣC | 1..1 | code | UCUM time unit, for example d, wk or mo |
Documentation for this format | ||||
This structure is derived from Extension
Summary
Simple Extension with the type Duration: The look-back window an aggregated value expresses, as a whole number of UCUM time units: 30 days, 12 weeks, 6 months. Observation.effectivePeriod carries the actual calendar dates the readings were drawn from; this extension carries the nominal window so that consumers can select aggregations by window length without date arithmetic.
Other representations of profile: CSV, Excel, Schematron
| Id | Grade | Path(s) | Description | Expression |
| avw-whole-number | error | Extension.value[x] | An averaging window must be a positive whole number of units. Quantity.value is a decimal in FHIR and cannot be retyped to an integer, so the whole-number requirement is stated here instead. |
value > 0 and value = value.truncate()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|