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 1.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
Official URL: http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/test-case-cqfm | Version: 4.0.0 | |||
Active as of 2024-12-10 | 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:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from MeasureReport
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
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/cqfmeasures/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/cqfmeasures/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 |
status | S | 1..1 | code | complete | pending | error |
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 |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MeasureReport | C | 0..* | MeasureReport | Results of a measure evaluation dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-5: If a resource is contained in another resource, it SHALL NOT have a security label dom-6: A resource should have narrative for robust management 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 ele-1: All FHIR elements must have a @value or children |
Slices for extension | Content/Rules for all slices | |||
testCaseDescription | S | 0..1 | markdown | What is being tested URL: http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-testCaseDescription ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
inputParameters | S | 0..1 | Reference(Parameters) | What parameters URL: http://hl7.org/fhir/StructureDefinition/cqf-inputParameters ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
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/cqfmeasures/StructureDefinition/cqfm-operation ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
softwaresystem | S | 0..* | Reference(CRMI Software System Device) | Extension URL: http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-softwaresystem ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
Slices for modifierExtension | ?! | 0..* | Extension | Extension Slice: Unordered, Open by value:url ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
modifierExtension:isTestCase | ?!S | 0..1 | CQFMIsTestCase | Test Case? ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
identifier | SΣ | 0..* | Identifier | Additional identifier for the MeasureReport ele-1: All FHIR elements must have a @value or children |
status | ?!SΣ | 1..1 | code | complete | pending | error Binding: MeasureReportStatus (required): The status of the measure report. ele-1: All FHIR elements must have a @value or children |
type | SΣC | 1..1 | code | individual | subject-list | summary | data-collection Binding: MeasureReportType (required): The type of the measure report. ele-1: All FHIR elements must have a @value or children |
measure | SΣ | 1..1 | canonical(Measure) | What measure was calculated ele-1: All FHIR elements must have a @value or children |
period | Σ | 1..1 | Period | What period the report covers ele-1: All FHIR elements must have a @value or children |
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. ele-1: All FHIR elements must have a @value or children |
group | SC | 0..* | BackboneElement | Measure results for each group ele-1: All FHIR elements must have a @value or children |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
population | S | 0..* | BackboneElement | The populations in the group ele-1: All FHIR elements must have a @value or children |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
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.). ele-1: All FHIR elements must have a @value or children |
count | S | 0..1 | integer | Size of the population ele-1: All FHIR elements must have a @value or children |
measureScore | SΣ | 0..1 | Quantity | What score this group achieved ele-1: All FHIR elements must have a @value or children |
stratifier | S | 0..* | BackboneElement | Stratification results ele-1: All FHIR elements must have a @value or children |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
code | S | 0..* | CodeableConcept | What stratifier of the group ele-1: All FHIR elements must have a @value or children |
stratum | S | 0..* | BackboneElement | Stratum results, one for each unique value, or set of values, in the stratifier, or stratifier components ele-1: All FHIR elements must have a @value or children |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
value | S | 0..1 | CodeableConcept | The stratum value, e.g. male ele-1: All FHIR elements must have a @value or children |
component | S | 0..* | BackboneElement | Stratifier component values ele-1: All FHIR elements must have a @value or children |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
code | S | 1..1 | CodeableConcept | What stratifier component of the group ele-1: All FHIR elements must have a @value or children |
value | S | 1..1 | CodeableConcept | The stratum component value, e.g. male ele-1: All FHIR elements must have a @value or children |
population | S | 0..* | BackboneElement | Population results in this stratum ele-1: All FHIR elements must have a @value or children |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
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.). ele-1: All FHIR elements must have a @value or children |
count | S | 0..1 | integer | Size of the population ele-1: All FHIR elements must have a @value or children |
measureScore | S | 0..1 | Quantity | What score this stratum achieved ele-1: All FHIR elements must have a @value or children |
evaluatedResource | S | 0..* | Reference(Resource) | What data was used to calculate the measure score ele-1: All FHIR elements must have a @value or children |
Documentation for this format |
Path | Conformance | ValueSet | URI |
MeasureReport.status | required | MeasureReportStatushttp://hl7.org/fhir/ValueSet/measure-report-status|4.0.1 from the FHIR Standard | |
MeasureReport.type | required | MeasureReportTypehttp://hl7.org/fhir/ValueSet/measure-report-type|4.0.1 from the FHIR Standard | |
MeasureReport.improvementNotation | required | MeasureImprovementNotationhttp://hl7.org/fhir/ValueSet/measure-improvement-notation|4.0.1 from the FHIR Standard | |
MeasureReport.group.population.code | extensible | MeasurePopulationTypehttp://hl7.org/fhir/ValueSet/measure-population from the FHIR Standard | |
MeasureReport.group.stratifier.stratum.population.code | extensible | MeasurePopulationTypehttp://hl7.org/fhir/ValueSet/measure-population from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | MeasureReport | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | MeasureReport | If 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-4 | error | MeasureReport | If 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-5 | error | MeasureReport | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | MeasureReport | A resource should have narrative for robust management : text.`div`.exists() | |
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() | |
mrp-1 | error | MeasureReport | Measure Reports used for data collection SHALL NOT communicate group and score information : (type != 'data-collection') or group.exists().not() | |
mrp-2 | error | MeasureReport | Stratifiers SHALL be either a single criteria or a set of criteria components : group.stratifier.stratum.all(value.exists() xor component.exists()) |
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
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 | ||||
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
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/cqfmeasures/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/cqfmeasures/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 | ||||
Documentation for this format |
Path | Conformance | ValueSet | URI | |||
MeasureReport.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languages from the FHIR Standard
| ||||
MeasureReport.status | required | MeasureReportStatushttp://hl7.org/fhir/ValueSet/measure-report-status|4.0.1 from the FHIR Standard | ||||
MeasureReport.type | required | MeasureReportTypehttp://hl7.org/fhir/ValueSet/measure-report-type|4.0.1 from the FHIR Standard | ||||
MeasureReport.improvementNotation | required | MeasureImprovementNotationhttp://hl7.org/fhir/ValueSet/measure-improvement-notation|4.0.1 from the FHIR Standard | ||||
MeasureReport.group.population.code | extensible | MeasurePopulationTypehttp://hl7.org/fhir/ValueSet/measure-population from the FHIR Standard | ||||
MeasureReport.group.stratifier.stratum.population.code | extensible | MeasurePopulationTypehttp://hl7.org/fhir/ValueSet/measure-population from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | MeasureReport | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | MeasureReport | If 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-4 | error | MeasureReport | If 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-5 | error | MeasureReport | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | MeasureReport | A resource should have narrative for robust management : text.`div`.exists() | |
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() | |
mrp-1 | error | MeasureReport | Measure Reports used for data collection SHALL NOT communicate group and score information : (type != 'data-collection') or group.exists().not() | |
mrp-2 | error | MeasureReport | Stratifiers SHALL be either a single criteria or a set of criteria components : group.stratifier.stratum.all(value.exists() xor component.exists()) |
This structure is derived from MeasureReport
Summary
Mandatory: 1 element
Must-Support: 26 elements
Extensions
This structure refers to these extensions:
Differential View
This structure is derived from MeasureReport
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
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/cqfmeasures/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/cqfmeasures/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 |
status | S | 1..1 | code | complete | pending | error |
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 |
Documentation for this format |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MeasureReport | C | 0..* | MeasureReport | Results of a measure evaluation dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-5: If a resource is contained in another resource, it SHALL NOT have a security label dom-6: A resource should have narrative for robust management 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 ele-1: All FHIR elements must have a @value or children |
Slices for extension | Content/Rules for all slices | |||
testCaseDescription | S | 0..1 | markdown | What is being tested URL: http://hl7.org/fhir/uv/cqfmeasures/StructureDefinition/cqfm-testCaseDescription ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
inputParameters | S | 0..1 | Reference(Parameters) | What parameters URL: http://hl7.org/fhir/StructureDefinition/cqf-inputParameters ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
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/cqfmeasures/StructureDefinition/cqfm-operation ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
softwaresystem | S | 0..* | Reference(CRMI Software System Device) | Extension URL: http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-softwaresystem ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
Slices for modifierExtension | ?! | 0..* | Extension | Extension Slice: Unordered, Open by value:url ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
modifierExtension:isTestCase | ?!S | 0..1 | CQFMIsTestCase | Test Case? ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
identifier | SΣ | 0..* | Identifier | Additional identifier for the MeasureReport ele-1: All FHIR elements must have a @value or children |
status | ?!SΣ | 1..1 | code | complete | pending | error Binding: MeasureReportStatus (required): The status of the measure report. ele-1: All FHIR elements must have a @value or children |
type | SΣC | 1..1 | code | individual | subject-list | summary | data-collection Binding: MeasureReportType (required): The type of the measure report. ele-1: All FHIR elements must have a @value or children |
measure | SΣ | 1..1 | canonical(Measure) | What measure was calculated ele-1: All FHIR elements must have a @value or children |
period | Σ | 1..1 | Period | What period the report covers ele-1: All FHIR elements must have a @value or children |
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. ele-1: All FHIR elements must have a @value or children |
group | SC | 0..* | BackboneElement | Measure results for each group ele-1: All FHIR elements must have a @value or children |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
population | S | 0..* | BackboneElement | The populations in the group ele-1: All FHIR elements must have a @value or children |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
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.). ele-1: All FHIR elements must have a @value or children |
count | S | 0..1 | integer | Size of the population ele-1: All FHIR elements must have a @value or children |
measureScore | SΣ | 0..1 | Quantity | What score this group achieved ele-1: All FHIR elements must have a @value or children |
stratifier | S | 0..* | BackboneElement | Stratification results ele-1: All FHIR elements must have a @value or children |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
code | S | 0..* | CodeableConcept | What stratifier of the group ele-1: All FHIR elements must have a @value or children |
stratum | S | 0..* | BackboneElement | Stratum results, one for each unique value, or set of values, in the stratifier, or stratifier components ele-1: All FHIR elements must have a @value or children |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
value | S | 0..1 | CodeableConcept | The stratum value, e.g. male ele-1: All FHIR elements must have a @value or children |
component | S | 0..* | BackboneElement | Stratifier component values ele-1: All FHIR elements must have a @value or children |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
code | S | 1..1 | CodeableConcept | What stratifier component of the group ele-1: All FHIR elements must have a @value or children |
value | S | 1..1 | CodeableConcept | The stratum component value, e.g. male ele-1: All FHIR elements must have a @value or children |
population | S | 0..* | BackboneElement | Population results in this stratum ele-1: All FHIR elements must have a @value or children |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
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.). ele-1: All FHIR elements must have a @value or children |
count | S | 0..1 | integer | Size of the population ele-1: All FHIR elements must have a @value or children |
measureScore | S | 0..1 | Quantity | What score this stratum achieved ele-1: All FHIR elements must have a @value or children |
evaluatedResource | S | 0..* | Reference(Resource) | What data was used to calculate the measure score ele-1: All FHIR elements must have a @value or children |
Documentation for this format |
Path | Conformance | ValueSet | URI |
MeasureReport.status | required | MeasureReportStatushttp://hl7.org/fhir/ValueSet/measure-report-status|4.0.1 from the FHIR Standard | |
MeasureReport.type | required | MeasureReportTypehttp://hl7.org/fhir/ValueSet/measure-report-type|4.0.1 from the FHIR Standard | |
MeasureReport.improvementNotation | required | MeasureImprovementNotationhttp://hl7.org/fhir/ValueSet/measure-improvement-notation|4.0.1 from the FHIR Standard | |
MeasureReport.group.population.code | extensible | MeasurePopulationTypehttp://hl7.org/fhir/ValueSet/measure-population from the FHIR Standard | |
MeasureReport.group.stratifier.stratum.population.code | extensible | MeasurePopulationTypehttp://hl7.org/fhir/ValueSet/measure-population from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | MeasureReport | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | MeasureReport | If 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-4 | error | MeasureReport | If 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-5 | error | MeasureReport | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | MeasureReport | A resource should have narrative for robust management : text.`div`.exists() | |
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() | |
mrp-1 | error | MeasureReport | Measure Reports used for data collection SHALL NOT communicate group and score information : (type != 'data-collection') or group.exists().not() | |
mrp-2 | error | MeasureReport | Stratifiers SHALL be either a single criteria or a set of criteria components : group.stratifier.stratum.all(value.exists() xor component.exists()) |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
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 | ||||
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
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/cqfmeasures/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/cqfmeasures/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 | ||||
Documentation for this format |
Path | Conformance | ValueSet | URI | |||
MeasureReport.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languages from the FHIR Standard
| ||||
MeasureReport.status | required | MeasureReportStatushttp://hl7.org/fhir/ValueSet/measure-report-status|4.0.1 from the FHIR Standard | ||||
MeasureReport.type | required | MeasureReportTypehttp://hl7.org/fhir/ValueSet/measure-report-type|4.0.1 from the FHIR Standard | ||||
MeasureReport.improvementNotation | required | MeasureImprovementNotationhttp://hl7.org/fhir/ValueSet/measure-improvement-notation|4.0.1 from the FHIR Standard | ||||
MeasureReport.group.population.code | extensible | MeasurePopulationTypehttp://hl7.org/fhir/ValueSet/measure-population from the FHIR Standard | ||||
MeasureReport.group.stratifier.stratum.population.code | extensible | MeasurePopulationTypehttp://hl7.org/fhir/ValueSet/measure-population from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | MeasureReport | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | MeasureReport | If 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-4 | error | MeasureReport | If 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-5 | error | MeasureReport | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | MeasureReport | A resource should have narrative for robust management : text.`div`.exists() | |
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() | |
mrp-1 | error | MeasureReport | Measure Reports used for data collection SHALL NOT communicate group and score information : (type != 'data-collection') or group.exists().not() | |
mrp-2 | error | MeasureReport | Stratifiers SHALL be either a single criteria or a set of criteria components : group.stratifier.stratum.all(value.exists() xor component.exists()) |
This structure is derived from MeasureReport
Summary
Mandatory: 1 element
Must-Support: 26 elements
Extensions
This structure refers to these extensions:
Other representations of profile: CSV, Excel, Schematron