Quality Measure Implementation Guide (STU4)
4.0.0 - STU4 United States of America flag

This page is part of the Quality Measure STU2 for FHIR R4 Implementation Guide (v4.0.0: STU4 (v4.0.0)) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Resource Profile: CQFM Test Case

Official URL: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/test-case-cqfm Version: 4.0.0
Active as of 2019-02-13 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..*MeasureReportResults of a measure evaluation
... testCaseDescription S0..1markdownWhat is being tested
URL: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-testCaseDescription
... inputParameters S0..1Reference(Parameters)Input Parameter
URL: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-inputParameters
... operation S0..1Reference(OperationDefinition)If an operation is not specificed, then the test case is assumed to be for $evaluate-measure.
URL: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-operation
... modifierExtension:isTestCase S0..1CQFMIsTestCaseTest Case?
... identifier S0..*IdentifierAdditional identifier for the MeasureReport
... status S1..1codecomplete | pending | error
... type S1..1codeindividual | subject-list | summary | data-collection
... measure S1..1canonical(Measure)What measure was calculated
... group S0..*BackboneElementMeasure results for each group
.... population S0..*BackboneElementThe populations in the group
..... code S0..1CodeableConceptinitial-population | numerator | numerator-exclusion | denominator | denominator-exclusion | denominator-exception | measure-population | measure-population-exclusion | measure-observation
..... count S0..1integerSize of the population
.... measureScore S0..1QuantityWhat score this group achieved
.... stratifier S0..*BackboneElementStratification results
..... code S0..*CodeableConceptWhat stratifier of the group
..... stratum S0..*BackboneElementStratum results, one for each unique value, or set of values, in the stratifier, or stratifier components
...... value S0..1CodeableConceptThe stratum value, e.g. male
...... component S0..*BackboneElementStratifier component values
....... code S1..1CodeableConceptWhat stratifier component of the group
....... value S1..1CodeableConceptThe stratum component value, e.g. male
...... population S0..*BackboneElementPopulation results in this stratum
....... code S0..1CodeableConceptinitial-population | numerator | numerator-exclusion | denominator | denominator-exclusion | denominator-exception | measure-population | measure-population-exclusion | measure-observation
....... count S0..1integerSize of the population
...... measureScore S0..1QuantityWhat score this stratum achieved
... evaluatedResource S0..*Reference(Resource)What data was used to calculate the measure score

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. MeasureReport C0..*MeasureReportResults of a measure evaluation
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... testCaseDescription S0..1markdownWhat is being tested
URL: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-testCaseDescription
... inputParameters S0..1Reference(Parameters)Input Parameter
URL: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-inputParameters
... softwaresystem S0..*Reference(CQFM Device)Extension
URL: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem
... Slices for modifierExtension ?!0..*ExtensionExtension
Slice: Unordered, Open by value:url
... modifierExtension:isTestCase ?!S0..1CQFMIsTestCaseTest Case?
... identifier SΣ0..*IdentifierAdditional identifier for the MeasureReport
... status ?!SΣ1..1codecomplete | pending | error
Binding: MeasureReportStatus (required): The status of the measure report.

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

... measure SΣ1..1canonical(Measure)What measure was calculated
... period Σ1..1PeriodWhat period the report covers
... improvementNotation ?!Σ0..1CodeableConceptincrease | 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 SC0..*BackboneElementMeasure results for each group
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... population S0..*BackboneElementThe populations in the group
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... code SΣ0..1CodeableConceptinitial-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 S0..1integerSize of the population
.... measureScore SΣ0..1QuantityWhat score this group achieved
.... stratifier S0..*BackboneElementStratification results
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... code S0..*CodeableConceptWhat stratifier of the group
..... stratum S0..*BackboneElementStratum results, one for each unique value, or set of values, in the stratifier, or stratifier components
...... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
...... value S0..1CodeableConceptThe stratum value, e.g. male
...... component S0..*BackboneElementStratifier component values
....... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
....... code S1..1CodeableConceptWhat stratifier component of the group
....... value S1..1CodeableConceptThe stratum component value, e.g. male
...... population S0..*BackboneElementPopulation results in this stratum
....... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
....... code S0..1CodeableConceptinitial-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 S0..1integerSize of the population
...... measureScore S0..1QuantityWhat score this stratum achieved
... evaluatedResource S0..*Reference(Resource)What data was used to calculate the measure score

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
MeasureReport.statusrequiredMeasureReportStatus
MeasureReport.typerequiredMeasureReportType
MeasureReport.improvementNotationrequiredMeasureImprovementNotation
MeasureReport.group.population.codeextensibleMeasurePopulationType
MeasureReport.group.stratifier.stratum.population.codeextensibleMeasurePopulationType

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 C0..*MeasureReportResults of a measure evaluation
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... testCaseDescription S0..1markdownWhat is being tested
URL: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-testCaseDescription
... inputParameters S0..1Reference(Parameters)Input Parameter
URL: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-inputParameters
... operation S0..1Reference(OperationDefinition)If an operation is not specificed, then the test case is assumed to be for $evaluate-measure.
URL: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-operation
... softwaresystem S0..*Reference(CQFM Device)Extension
URL: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem
... Slices for modifierExtension ?!0..*ExtensionExtension
Slice: Unordered, Open by value:url
... modifierExtension:isTestCase ?!S0..1CQFMIsTestCaseTest Case?
... identifier SΣ0..*IdentifierAdditional identifier for the MeasureReport
... status ?!SΣ1..1codecomplete | pending | error
Binding: MeasureReportStatus (required): The status of the measure report.

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

... measure SΣ1..1canonical(Measure)What measure was calculated
... subject Σ0..1Reference(Patient | Practitioner | PractitionerRole | Location | Device | RelatedPerson | Group)What individual(s) the report is for
... date Σ0..1dateTimeWhen the report was generated
... reporter Σ0..1Reference(Practitioner | PractitionerRole | Location | Organization)Who is reporting the data
... period Σ1..1PeriodWhat period the report covers
... improvementNotation ?!Σ0..1CodeableConceptincrease | 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 SC0..*BackboneElementMeasure results for each group
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... code Σ0..1CodeableConceptMeaning of the group
.... population S0..*BackboneElementThe populations in the group
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... code SΣ0..1CodeableConceptinitial-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 S0..1integerSize of the population
..... subjectResults 0..1Reference(List)For subject-list reports, the subject results in this population
.... measureScore SΣ0..1QuantityWhat score this group achieved
.... stratifier S0..*BackboneElementStratification results
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... code S0..*CodeableConceptWhat stratifier of the group
..... stratum S0..*BackboneElementStratum results, one for each unique value, or set of values, in the stratifier, or stratifier components
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
...... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
...... value S0..1CodeableConceptThe stratum value, e.g. male
...... component S0..*BackboneElementStratifier component values
....... id 0..1stringUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
....... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
....... code S1..1CodeableConceptWhat stratifier component of the group
....... value S1..1CodeableConceptThe stratum component value, e.g. male
...... population S0..*BackboneElementPopulation results in this stratum
....... id 0..1stringUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
....... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
....... code S0..1CodeableConceptinitial-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 S0..1integerSize of the population
....... subjectResults 0..1Reference(List)For subject-list reports, the subject results in this population
...... measureScore S0..1QuantityWhat score this stratum achieved
... evaluatedResource S0..*Reference(Resource)What data was used to calculate the measure score

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
MeasureReport.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
MeasureReport.statusrequiredMeasureReportStatus
MeasureReport.typerequiredMeasureReportType
MeasureReport.improvementNotationrequiredMeasureImprovementNotation
MeasureReport.group.population.codeextensibleMeasurePopulationType
MeasureReport.group.stratifier.stratum.population.codeextensibleMeasurePopulationType

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..*MeasureReportResults of a measure evaluation
... testCaseDescription S0..1markdownWhat is being tested
URL: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-testCaseDescription
... inputParameters S0..1Reference(Parameters)Input Parameter
URL: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-inputParameters
... operation S0..1Reference(OperationDefinition)If an operation is not specificed, then the test case is assumed to be for $evaluate-measure.
URL: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-operation
... modifierExtension:isTestCase S0..1CQFMIsTestCaseTest Case?
... identifier S0..*IdentifierAdditional identifier for the MeasureReport
... status S1..1codecomplete | pending | error
... type S1..1codeindividual | subject-list | summary | data-collection
... measure S1..1canonical(Measure)What measure was calculated
... group S0..*BackboneElementMeasure results for each group
.... population S0..*BackboneElementThe populations in the group
..... code S0..1CodeableConceptinitial-population | numerator | numerator-exclusion | denominator | denominator-exclusion | denominator-exception | measure-population | measure-population-exclusion | measure-observation
..... count S0..1integerSize of the population
.... measureScore S0..1QuantityWhat score this group achieved
.... stratifier S0..*BackboneElementStratification results
..... code S0..*CodeableConceptWhat stratifier of the group
..... stratum S0..*BackboneElementStratum results, one for each unique value, or set of values, in the stratifier, or stratifier components
...... value S0..1CodeableConceptThe stratum value, e.g. male
...... component S0..*BackboneElementStratifier component values
....... code S1..1CodeableConceptWhat stratifier component of the group
....... value S1..1CodeableConceptThe stratum component value, e.g. male
...... population S0..*BackboneElementPopulation results in this stratum
....... code S0..1CodeableConceptinitial-population | numerator | numerator-exclusion | denominator | denominator-exclusion | denominator-exception | measure-population | measure-population-exclusion | measure-observation
....... count S0..1integerSize of the population
...... measureScore S0..1QuantityWhat score this stratum achieved
... evaluatedResource S0..*Reference(Resource)What data was used to calculate the measure score

doco Documentation for this format

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MeasureReport C0..*MeasureReportResults of a measure evaluation
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... testCaseDescription S0..1markdownWhat is being tested
URL: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-testCaseDescription
... inputParameters S0..1Reference(Parameters)Input Parameter
URL: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-inputParameters
... softwaresystem S0..*Reference(CQFM Device)Extension
URL: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem
... Slices for modifierExtension ?!0..*ExtensionExtension
Slice: Unordered, Open by value:url
... modifierExtension:isTestCase ?!S0..1CQFMIsTestCaseTest Case?
... identifier SΣ0..*IdentifierAdditional identifier for the MeasureReport
... status ?!SΣ1..1codecomplete | pending | error
Binding: MeasureReportStatus (required): The status of the measure report.

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

... measure SΣ1..1canonical(Measure)What measure was calculated
... period Σ1..1PeriodWhat period the report covers
... improvementNotation ?!Σ0..1CodeableConceptincrease | 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 SC0..*BackboneElementMeasure results for each group
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... population S0..*BackboneElementThe populations in the group
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... code SΣ0..1CodeableConceptinitial-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 S0..1integerSize of the population
.... measureScore SΣ0..1QuantityWhat score this group achieved
.... stratifier S0..*BackboneElementStratification results
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... code S0..*CodeableConceptWhat stratifier of the group
..... stratum S0..*BackboneElementStratum results, one for each unique value, or set of values, in the stratifier, or stratifier components
...... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
...... value S0..1CodeableConceptThe stratum value, e.g. male
...... component S0..*BackboneElementStratifier component values
....... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
....... code S1..1CodeableConceptWhat stratifier component of the group
....... value S1..1CodeableConceptThe stratum component value, e.g. male
...... population S0..*BackboneElementPopulation results in this stratum
....... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
....... code S0..1CodeableConceptinitial-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 S0..1integerSize of the population
...... measureScore S0..1QuantityWhat score this stratum achieved
... evaluatedResource S0..*Reference(Resource)What data was used to calculate the measure score

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
MeasureReport.statusrequiredMeasureReportStatus
MeasureReport.typerequiredMeasureReportType
MeasureReport.improvementNotationrequiredMeasureImprovementNotation
MeasureReport.group.population.codeextensibleMeasurePopulationType
MeasureReport.group.stratifier.stratum.population.codeextensibleMeasurePopulationType

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 C0..*MeasureReportResults of a measure evaluation
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... testCaseDescription S0..1markdownWhat is being tested
URL: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-testCaseDescription
... inputParameters S0..1Reference(Parameters)Input Parameter
URL: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-inputParameters
... operation S0..1Reference(OperationDefinition)If an operation is not specificed, then the test case is assumed to be for $evaluate-measure.
URL: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-operation
... softwaresystem S0..*Reference(CQFM Device)Extension
URL: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem
... Slices for modifierExtension ?!0..*ExtensionExtension
Slice: Unordered, Open by value:url
... modifierExtension:isTestCase ?!S0..1CQFMIsTestCaseTest Case?
... identifier SΣ0..*IdentifierAdditional identifier for the MeasureReport
... status ?!SΣ1..1codecomplete | pending | error
Binding: MeasureReportStatus (required): The status of the measure report.

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

... measure SΣ1..1canonical(Measure)What measure was calculated
... subject Σ0..1Reference(Patient | Practitioner | PractitionerRole | Location | Device | RelatedPerson | Group)What individual(s) the report is for
... date Σ0..1dateTimeWhen the report was generated
... reporter Σ0..1Reference(Practitioner | PractitionerRole | Location | Organization)Who is reporting the data
... period Σ1..1PeriodWhat period the report covers
... improvementNotation ?!Σ0..1CodeableConceptincrease | 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 SC0..*BackboneElementMeasure results for each group
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... code Σ0..1CodeableConceptMeaning of the group
.... population S0..*BackboneElementThe populations in the group
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... code SΣ0..1CodeableConceptinitial-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 S0..1integerSize of the population
..... subjectResults 0..1Reference(List)For subject-list reports, the subject results in this population
.... measureScore SΣ0..1QuantityWhat score this group achieved
.... stratifier S0..*BackboneElementStratification results
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... code S0..*CodeableConceptWhat stratifier of the group
..... stratum S0..*BackboneElementStratum results, one for each unique value, or set of values, in the stratifier, or stratifier components
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
...... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
...... value S0..1CodeableConceptThe stratum value, e.g. male
...... component S0..*BackboneElementStratifier component values
....... id 0..1stringUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
....... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
....... code S1..1CodeableConceptWhat stratifier component of the group
....... value S1..1CodeableConceptThe stratum component value, e.g. male
...... population S0..*BackboneElementPopulation results in this stratum
....... id 0..1stringUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
....... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
....... code S0..1CodeableConceptinitial-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 S0..1integerSize of the population
....... subjectResults 0..1Reference(List)For subject-list reports, the subject results in this population
...... measureScore S0..1QuantityWhat score this stratum achieved
... evaluatedResource S0..*Reference(Resource)What data was used to calculate the measure score

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
MeasureReport.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
MeasureReport.statusrequiredMeasureReportStatus
MeasureReport.typerequiredMeasureReportType
MeasureReport.improvementNotationrequiredMeasureImprovementNotation
MeasureReport.group.population.codeextensibleMeasurePopulationType
MeasureReport.group.stratifier.stratum.population.codeextensibleMeasurePopulationType

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