Quality Measure Implementation Guide
6.0.0-ballot - ballot United States of America 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 6.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/cqf-measures/ and changes regularly. See the Directory of published versions

Resource Profile: CQFM Test Case

Official URL: http://hl7.org/fhir/uv/cqm/StructureDefinition/test-case-cqfm Version: 4.0.0
Active as of 2024-11-19 Computable Name: CQFMTestCase

The CQFM Test Case Profile describes expectations for the definition and exchange of a measure test case, including input data and parameters, as well as expected outcome

Measure authors must be able to define and communicate test cases that include expected outcomes to allow for validation of measure behavior.

Usage:

Formal Views of Profile Content

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

This structure is derived from MeasureReport

NameFlagsCard.TypeDescription & Constraintsdoco
.. MeasureReport 0..* MeasureReport Results of a measure evaluation
... Slices for extension Content/Rules for all slices
.... testCaseDescription S 0..1 markdown What is being tested
URL: http://hl7.org/fhir/uv/cqm/StructureDefinition/cqfm-testCaseDescription
.... inputParameters S 0..1 Reference(Parameters) What parameters
URL: http://hl7.org/fhir/StructureDefinition/cqf-inputParameters
.... operation S 0..1 Reference(OperationDefinition) If an operation is not specificed, then the test case is assumed to be for $evaluate-measure.
URL: http://hl7.org/fhir/uv/cqm/StructureDefinition/cqfm-operation
.... softwaresystem S 0..* Reference(CRMI Software System Device) Extension
URL: http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-softwaresystem
... Slices for modifierExtension Content/Rules for all slices
.... modifierExtension:isTestCase S 0..1 CQFMIsTestCase Test Case?
... identifier S 0..* Identifier Additional identifier for the MeasureReport
... type S 1..1 code individual | subject-list | summary | data-collection
... measure S 1..1 canonical(Measure) What measure was calculated
... group S 0..* BackboneElement Measure results for each group
.... population S 0..* BackboneElement The populations in the group
..... code S 0..1 CodeableConcept initial-population | numerator | numerator-exclusion | denominator | denominator-exclusion | denominator-exception | measure-population | measure-population-exclusion | measure-observation
..... count S 0..1 integer Size of the population
.... measureScore S 0..1 Quantity What score this group achieved
.... stratifier S 0..* BackboneElement Stratification results
..... code S 0..* CodeableConcept What stratifier of the group
..... stratum S 0..* BackboneElement Stratum results, one for each unique value, or set of values, in the stratifier, or stratifier components
...... value S 0..1 CodeableConcept The stratum value, e.g. male
...... component S 0..* BackboneElement Stratifier component values
....... code S 1..1 CodeableConcept What stratifier component of the group
....... value S 1..1 CodeableConcept The stratum component value, e.g. male
...... population S 0..* BackboneElement Population results in this stratum
....... code S 0..1 CodeableConcept initial-population | numerator | numerator-exclusion | denominator | denominator-exclusion | denominator-exception | measure-population | measure-population-exclusion | measure-observation
....... count S 0..1 integer Size of the population
...... measureScore S 0..1 Quantity What score this stratum achieved
... evaluatedResource S 0..* Reference(Resource) What data was used to calculate the measure score

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. MeasureReport C 0..* MeasureReport Results of a measure evaluation
mrp-1: Measure Reports used for data collection SHALL NOT communicate group and score information
mrp-2: Stratifiers SHALL be either a single criteria or a set of criteria components
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension Content/Rules for all slices
.... testCaseDescription S 0..1 markdown What is being tested
URL: http://hl7.org/fhir/uv/cqm/StructureDefinition/cqfm-testCaseDescription
.... inputParameters S 0..1 Reference(Parameters) What parameters
URL: http://hl7.org/fhir/StructureDefinition/cqf-inputParameters
.... operation S 0..1 Reference(OperationDefinition) If an operation is not specificed, then the test case is assumed to be for $evaluate-measure.
URL: http://hl7.org/fhir/uv/cqm/StructureDefinition/cqfm-operation
.... softwaresystem S 0..* Reference(CRMI Software System Device) Extension
URL: http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-softwaresystem
... Slices for modifierExtension ?! 0..* Extension Extension
Slice: Unordered, Open by value:url
.... modifierExtension:isTestCase ?!S 0..1 CQFMIsTestCase Test Case?
... status ?!SΣ 1..1 code complete | pending | error
Binding: MeasureReportStatus (required): The status of the measure report.

... type SΣC 1..1 code individual | subject-list | summary | data-collection
Binding: MeasureReportType (required): The type of the measure report.

... measure SΣ 1..1 canonical(Measure) What measure was calculated
... period Σ 1..1 Period What period the report covers
... improvementNotation ?!Σ 0..1 CodeableConcept increase | decrease
Binding: MeasureImprovementNotation (required): Observation values that indicate what change in a measurement value or score is indicative of an improvement in the measured item or scored issue.

... group SC 0..* BackboneElement Measure results for each group
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... population S 0..* BackboneElement The populations in the group
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code SΣ 0..1 CodeableConcept initial-population | numerator | numerator-exclusion | denominator | denominator-exclusion | denominator-exception | measure-population | measure-population-exclusion | measure-observation
Binding: MeasurePopulationType (extensible): The type of population (e.g. initial, numerator, denominator, etc.).

..... count S 0..1 integer Size of the population
.... measureScore SΣ 0..1 Quantity What score this group achieved
.... stratifier S 0..* BackboneElement Stratification results
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code S 0..* CodeableConcept What stratifier of the group
..... stratum S 0..* BackboneElement Stratum results, one for each unique value, or set of values, in the stratifier, or stratifier components
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... value S 0..1 CodeableConcept The stratum value, e.g. male
...... component S 0..* BackboneElement Stratifier component values
....... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
....... code S 1..1 CodeableConcept What stratifier component of the group
....... value S 1..1 CodeableConcept The stratum component value, e.g. male
...... population S 0..* BackboneElement Population results in this stratum
....... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
....... code S 0..1 CodeableConcept initial-population | numerator | numerator-exclusion | denominator | denominator-exclusion | denominator-exception | measure-population | measure-population-exclusion | measure-observation
Binding: MeasurePopulationType (extensible): The type of population (e.g. initial, numerator, denominator, etc.).

....... count S 0..1 integer Size of the population
...... measureScore S 0..1 Quantity What score this stratum achieved
... evaluatedResource S 0..* Reference(Resource) What data was used to calculate the measure score

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
MeasureReport.statusrequiredMeasureReportStatus
http://hl7.org/fhir/ValueSet/measure-report-status|4.0.1
from the FHIR Standard
MeasureReport.typerequiredMeasureReportType
http://hl7.org/fhir/ValueSet/measure-report-type|4.0.1
from the FHIR Standard
MeasureReport.improvementNotationrequiredMeasureImprovementNotation
http://hl7.org/fhir/ValueSet/measure-improvement-notation|4.0.1
from the FHIR Standard
MeasureReport.group.population.codeextensibleMeasurePopulationType
http://hl7.org/fhir/ValueSet/measure-population
from the FHIR Standard
MeasureReport.group.stratifier.stratum.population.codeextensibleMeasurePopulationType
http://hl7.org/fhir/ValueSet/measure-population
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMeasureReportIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMeasureReportIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorMeasureReportIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorMeasureReportIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMeasureReportA resource should have narrative for robust management
: text.`div`.exists()
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()
mrp-1errorMeasureReportMeasure Reports used for data collection SHALL NOT communicate group and score information
: (type != 'data-collection') or group.exists().not()
mrp-2errorMeasureReportStratifiers SHALL be either a single criteria or a set of criteria components
: group.stratifier.stratum.all(value.exists() xor component.exists())
NameFlagsCard.TypeDescription & Constraintsdoco
.. MeasureReport C 0..* MeasureReport Results of a measure evaluation
mrp-1: Measure Reports used for data collection SHALL NOT communicate group and score information
mrp-2: Stratifiers SHALL be either a single criteria or a set of criteria components
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... testCaseDescription S 0..1 markdown What is being tested
URL: http://hl7.org/fhir/uv/cqm/StructureDefinition/cqfm-testCaseDescription
.... inputParameters S 0..1 Reference(Parameters) What parameters
URL: http://hl7.org/fhir/StructureDefinition/cqf-inputParameters
.... operation S 0..1 Reference(OperationDefinition) If an operation is not specificed, then the test case is assumed to be for $evaluate-measure.
URL: http://hl7.org/fhir/uv/cqm/StructureDefinition/cqfm-operation
.... softwaresystem S 0..* Reference(CRMI Software System Device) Extension
URL: http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-softwaresystem
... Slices for modifierExtension ?! 0..* Extension Extension
Slice: Unordered, Open by value:url
.... modifierExtension:isTestCase ?!S 0..1 CQFMIsTestCase Test Case?
... identifier SΣ 0..* Identifier Additional identifier for the MeasureReport
... status ?!SΣ 1..1 code complete | pending | error
Binding: MeasureReportStatus (required): The status of the measure report.

... type SΣC 1..1 code individual | subject-list | summary | data-collection
Binding: MeasureReportType (required): The type of the measure report.

... measure SΣ 1..1 canonical(Measure) What measure was calculated
... subject Σ 0..1 Reference(Patient | Practitioner | PractitionerRole | Location | Device | RelatedPerson | Group) What individual(s) the report is for
... date Σ 0..1 dateTime When the report was generated
... reporter Σ 0..1 Reference(Practitioner | PractitionerRole | Location | Organization) Who is reporting the data
... period Σ 1..1 Period What period the report covers
... improvementNotation ?!Σ 0..1 CodeableConcept increase | decrease
Binding: MeasureImprovementNotation (required): Observation values that indicate what change in a measurement value or score is indicative of an improvement in the measured item or scored issue.

... group SC 0..* BackboneElement Measure results for each group
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... code Σ 0..1 CodeableConcept Meaning of the group
.... population S 0..* BackboneElement The populations in the group
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code SΣ 0..1 CodeableConcept initial-population | numerator | numerator-exclusion | denominator | denominator-exclusion | denominator-exception | measure-population | measure-population-exclusion | measure-observation
Binding: MeasurePopulationType (extensible): The type of population (e.g. initial, numerator, denominator, etc.).

..... count S 0..1 integer Size of the population
..... subjectResults 0..1 Reference(List) For subject-list reports, the subject results in this population
.... measureScore SΣ 0..1 Quantity What score this group achieved
.... stratifier S 0..* BackboneElement Stratification results
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code S 0..* CodeableConcept What stratifier of the group
..... stratum S 0..* BackboneElement Stratum results, one for each unique value, or set of values, in the stratifier, or stratifier components
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... value S 0..1 CodeableConcept The stratum value, e.g. male
...... component S 0..* BackboneElement Stratifier component values
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
....... code S 1..1 CodeableConcept What stratifier component of the group
....... value S 1..1 CodeableConcept The stratum component value, e.g. male
...... population S 0..* BackboneElement Population results in this stratum
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
....... code S 0..1 CodeableConcept initial-population | numerator | numerator-exclusion | denominator | denominator-exclusion | denominator-exception | measure-population | measure-population-exclusion | measure-observation
Binding: MeasurePopulationType (extensible): The type of population (e.g. initial, numerator, denominator, etc.).

....... count S 0..1 integer Size of the population
....... subjectResults 0..1 Reference(List) For subject-list reports, the subject results in this population
...... measureScore S 0..1 Quantity What score this stratum achieved
... evaluatedResource S 0..* Reference(Resource) What data was used to calculate the measure score

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
MeasureReport.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
MeasureReport.statusrequiredMeasureReportStatus
http://hl7.org/fhir/ValueSet/measure-report-status|4.0.1
from the FHIR Standard
MeasureReport.typerequiredMeasureReportType
http://hl7.org/fhir/ValueSet/measure-report-type|4.0.1
from the FHIR Standard
MeasureReport.improvementNotationrequiredMeasureImprovementNotation
http://hl7.org/fhir/ValueSet/measure-improvement-notation|4.0.1
from the FHIR Standard
MeasureReport.group.population.codeextensibleMeasurePopulationType
http://hl7.org/fhir/ValueSet/measure-population
from the FHIR Standard
MeasureReport.group.stratifier.stratum.population.codeextensibleMeasurePopulationType
http://hl7.org/fhir/ValueSet/measure-population
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMeasureReportIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMeasureReportIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorMeasureReportIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorMeasureReportIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMeasureReportA resource should have narrative for robust management
: text.`div`.exists()
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()
mrp-1errorMeasureReportMeasure Reports used for data collection SHALL NOT communicate group and score information
: (type != 'data-collection') or group.exists().not()
mrp-2errorMeasureReportStratifiers SHALL be either a single criteria or a set of criteria components
: group.stratifier.stratum.all(value.exists() xor component.exists())

Differential View

This structure is derived from MeasureReport

NameFlagsCard.TypeDescription & Constraintsdoco
.. MeasureReport 0..* MeasureReport Results of a measure evaluation
... Slices for extension Content/Rules for all slices
.... testCaseDescription S 0..1 markdown What is being tested
URL: http://hl7.org/fhir/uv/cqm/StructureDefinition/cqfm-testCaseDescription
.... inputParameters S 0..1 Reference(Parameters) What parameters
URL: http://hl7.org/fhir/StructureDefinition/cqf-inputParameters
.... operation S 0..1 Reference(OperationDefinition) If an operation is not specificed, then the test case is assumed to be for $evaluate-measure.
URL: http://hl7.org/fhir/uv/cqm/StructureDefinition/cqfm-operation
.... softwaresystem S 0..* Reference(CRMI Software System Device) Extension
URL: http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-softwaresystem
... Slices for modifierExtension Content/Rules for all slices
.... modifierExtension:isTestCase S 0..1 CQFMIsTestCase Test Case?
... identifier S 0..* Identifier Additional identifier for the MeasureReport
... type S 1..1 code individual | subject-list | summary | data-collection
... measure S 1..1 canonical(Measure) What measure was calculated
... group S 0..* BackboneElement Measure results for each group
.... population S 0..* BackboneElement The populations in the group
..... code S 0..1 CodeableConcept initial-population | numerator | numerator-exclusion | denominator | denominator-exclusion | denominator-exception | measure-population | measure-population-exclusion | measure-observation
..... count S 0..1 integer Size of the population
.... measureScore S 0..1 Quantity What score this group achieved
.... stratifier S 0..* BackboneElement Stratification results
..... code S 0..* CodeableConcept What stratifier of the group
..... stratum S 0..* BackboneElement Stratum results, one for each unique value, or set of values, in the stratifier, or stratifier components
...... value S 0..1 CodeableConcept The stratum value, e.g. male
...... component S 0..* BackboneElement Stratifier component values
....... code S 1..1 CodeableConcept What stratifier component of the group
....... value S 1..1 CodeableConcept The stratum component value, e.g. male
...... population S 0..* BackboneElement Population results in this stratum
....... code S 0..1 CodeableConcept initial-population | numerator | numerator-exclusion | denominator | denominator-exclusion | denominator-exception | measure-population | measure-population-exclusion | measure-observation
....... count S 0..1 integer Size of the population
...... measureScore S 0..1 Quantity What score this stratum achieved
... evaluatedResource S 0..* Reference(Resource) What data was used to calculate the measure score

doco Documentation for this format

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MeasureReport C 0..* MeasureReport Results of a measure evaluation
mrp-1: Measure Reports used for data collection SHALL NOT communicate group and score information
mrp-2: Stratifiers SHALL be either a single criteria or a set of criteria components
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension Content/Rules for all slices
.... testCaseDescription S 0..1 markdown What is being tested
URL: http://hl7.org/fhir/uv/cqm/StructureDefinition/cqfm-testCaseDescription
.... inputParameters S 0..1 Reference(Parameters) What parameters
URL: http://hl7.org/fhir/StructureDefinition/cqf-inputParameters
.... operation S 0..1 Reference(OperationDefinition) If an operation is not specificed, then the test case is assumed to be for $evaluate-measure.
URL: http://hl7.org/fhir/uv/cqm/StructureDefinition/cqfm-operation
.... softwaresystem S 0..* Reference(CRMI Software System Device) Extension
URL: http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-softwaresystem
... Slices for modifierExtension ?! 0..* Extension Extension
Slice: Unordered, Open by value:url
.... modifierExtension:isTestCase ?!S 0..1 CQFMIsTestCase Test Case?
... status ?!SΣ 1..1 code complete | pending | error
Binding: MeasureReportStatus (required): The status of the measure report.

... type SΣC 1..1 code individual | subject-list | summary | data-collection
Binding: MeasureReportType (required): The type of the measure report.

... measure SΣ 1..1 canonical(Measure) What measure was calculated
... period Σ 1..1 Period What period the report covers
... improvementNotation ?!Σ 0..1 CodeableConcept increase | decrease
Binding: MeasureImprovementNotation (required): Observation values that indicate what change in a measurement value or score is indicative of an improvement in the measured item or scored issue.

... group SC 0..* BackboneElement Measure results for each group
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... population S 0..* BackboneElement The populations in the group
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code SΣ 0..1 CodeableConcept initial-population | numerator | numerator-exclusion | denominator | denominator-exclusion | denominator-exception | measure-population | measure-population-exclusion | measure-observation
Binding: MeasurePopulationType (extensible): The type of population (e.g. initial, numerator, denominator, etc.).

..... count S 0..1 integer Size of the population
.... measureScore SΣ 0..1 Quantity What score this group achieved
.... stratifier S 0..* BackboneElement Stratification results
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code S 0..* CodeableConcept What stratifier of the group
..... stratum S 0..* BackboneElement Stratum results, one for each unique value, or set of values, in the stratifier, or stratifier components
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... value S 0..1 CodeableConcept The stratum value, e.g. male
...... component S 0..* BackboneElement Stratifier component values
....... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
....... code S 1..1 CodeableConcept What stratifier component of the group
....... value S 1..1 CodeableConcept The stratum component value, e.g. male
...... population S 0..* BackboneElement Population results in this stratum
....... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
....... code S 0..1 CodeableConcept initial-population | numerator | numerator-exclusion | denominator | denominator-exclusion | denominator-exception | measure-population | measure-population-exclusion | measure-observation
Binding: MeasurePopulationType (extensible): The type of population (e.g. initial, numerator, denominator, etc.).

....... count S 0..1 integer Size of the population
...... measureScore S 0..1 Quantity What score this stratum achieved
... evaluatedResource S 0..* Reference(Resource) What data was used to calculate the measure score

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
MeasureReport.statusrequiredMeasureReportStatus
http://hl7.org/fhir/ValueSet/measure-report-status|4.0.1
from the FHIR Standard
MeasureReport.typerequiredMeasureReportType
http://hl7.org/fhir/ValueSet/measure-report-type|4.0.1
from the FHIR Standard
MeasureReport.improvementNotationrequiredMeasureImprovementNotation
http://hl7.org/fhir/ValueSet/measure-improvement-notation|4.0.1
from the FHIR Standard
MeasureReport.group.population.codeextensibleMeasurePopulationType
http://hl7.org/fhir/ValueSet/measure-population
from the FHIR Standard
MeasureReport.group.stratifier.stratum.population.codeextensibleMeasurePopulationType
http://hl7.org/fhir/ValueSet/measure-population
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMeasureReportIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMeasureReportIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorMeasureReportIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorMeasureReportIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMeasureReportA resource should have narrative for robust management
: text.`div`.exists()
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()
mrp-1errorMeasureReportMeasure Reports used for data collection SHALL NOT communicate group and score information
: (type != 'data-collection') or group.exists().not()
mrp-2errorMeasureReportStratifiers SHALL be either a single criteria or a set of criteria components
: group.stratifier.stratum.all(value.exists() xor component.exists())

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MeasureReport C 0..* MeasureReport Results of a measure evaluation
mrp-1: Measure Reports used for data collection SHALL NOT communicate group and score information
mrp-2: Stratifiers SHALL be either a single criteria or a set of criteria components
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... testCaseDescription S 0..1 markdown What is being tested
URL: http://hl7.org/fhir/uv/cqm/StructureDefinition/cqfm-testCaseDescription
.... inputParameters S 0..1 Reference(Parameters) What parameters
URL: http://hl7.org/fhir/StructureDefinition/cqf-inputParameters
.... operation S 0..1 Reference(OperationDefinition) If an operation is not specificed, then the test case is assumed to be for $evaluate-measure.
URL: http://hl7.org/fhir/uv/cqm/StructureDefinition/cqfm-operation
.... softwaresystem S 0..* Reference(CRMI Software System Device) Extension
URL: http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-softwaresystem
... Slices for modifierExtension ?! 0..* Extension Extension
Slice: Unordered, Open by value:url
.... modifierExtension:isTestCase ?!S 0..1 CQFMIsTestCase Test Case?
... identifier SΣ 0..* Identifier Additional identifier for the MeasureReport
... status ?!SΣ 1..1 code complete | pending | error
Binding: MeasureReportStatus (required): The status of the measure report.

... type SΣC 1..1 code individual | subject-list | summary | data-collection
Binding: MeasureReportType (required): The type of the measure report.

... measure SΣ 1..1 canonical(Measure) What measure was calculated
... subject Σ 0..1 Reference(Patient | Practitioner | PractitionerRole | Location | Device | RelatedPerson | Group) What individual(s) the report is for
... date Σ 0..1 dateTime When the report was generated
... reporter Σ 0..1 Reference(Practitioner | PractitionerRole | Location | Organization) Who is reporting the data
... period Σ 1..1 Period What period the report covers
... improvementNotation ?!Σ 0..1 CodeableConcept increase | decrease
Binding: MeasureImprovementNotation (required): Observation values that indicate what change in a measurement value or score is indicative of an improvement in the measured item or scored issue.

... group SC 0..* BackboneElement Measure results for each group
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... code Σ 0..1 CodeableConcept Meaning of the group
.... population S 0..* BackboneElement The populations in the group
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code SΣ 0..1 CodeableConcept initial-population | numerator | numerator-exclusion | denominator | denominator-exclusion | denominator-exception | measure-population | measure-population-exclusion | measure-observation
Binding: MeasurePopulationType (extensible): The type of population (e.g. initial, numerator, denominator, etc.).

..... count S 0..1 integer Size of the population
..... subjectResults 0..1 Reference(List) For subject-list reports, the subject results in this population
.... measureScore SΣ 0..1 Quantity What score this group achieved
.... stratifier S 0..* BackboneElement Stratification results
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code S 0..* CodeableConcept What stratifier of the group
..... stratum S 0..* BackboneElement Stratum results, one for each unique value, or set of values, in the stratifier, or stratifier components
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... value S 0..1 CodeableConcept The stratum value, e.g. male
...... component S 0..* BackboneElement Stratifier component values
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
....... code S 1..1 CodeableConcept What stratifier component of the group
....... value S 1..1 CodeableConcept The stratum component value, e.g. male
...... population S 0..* BackboneElement Population results in this stratum
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
....... code S 0..1 CodeableConcept initial-population | numerator | numerator-exclusion | denominator | denominator-exclusion | denominator-exception | measure-population | measure-population-exclusion | measure-observation
Binding: MeasurePopulationType (extensible): The type of population (e.g. initial, numerator, denominator, etc.).

....... count S 0..1 integer Size of the population
....... subjectResults 0..1 Reference(List) For subject-list reports, the subject results in this population
...... measureScore S 0..1 Quantity What score this stratum achieved
... evaluatedResource S 0..* Reference(Resource) What data was used to calculate the measure score

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
MeasureReport.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
MeasureReport.statusrequiredMeasureReportStatus
http://hl7.org/fhir/ValueSet/measure-report-status|4.0.1
from the FHIR Standard
MeasureReport.typerequiredMeasureReportType
http://hl7.org/fhir/ValueSet/measure-report-type|4.0.1
from the FHIR Standard
MeasureReport.improvementNotationrequiredMeasureImprovementNotation
http://hl7.org/fhir/ValueSet/measure-improvement-notation|4.0.1
from the FHIR Standard
MeasureReport.group.population.codeextensibleMeasurePopulationType
http://hl7.org/fhir/ValueSet/measure-population
from the FHIR Standard
MeasureReport.group.stratifier.stratum.population.codeextensibleMeasurePopulationType
http://hl7.org/fhir/ValueSet/measure-population
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMeasureReportIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMeasureReportIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorMeasureReportIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorMeasureReportIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMeasureReportA resource should have narrative for robust management
: text.`div`.exists()
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()
mrp-1errorMeasureReportMeasure Reports used for data collection SHALL NOT communicate group and score information
: (type != 'data-collection') or group.exists().not()
mrp-2errorMeasureReportStratifiers SHALL be either a single criteria or a set of criteria components
: group.stratifier.stratum.all(value.exists() xor component.exists())

 

Other representations of profile: CSV, Excel, Schematron