This page is part of the Quality Measure STU2 for FHIR R4 Implementation Guide (v5.0.0-ballot: STU5 (v5.0.0) Ballot 1) based on FHIR (HL7® FHIR® Standard) R4. The current version which supersedes this version is 4.0.0. For a full list of available versions, see the Directory of published versions
Official URL: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/test-case-cqfm | Version: 5.0.0-ballot | |||
Active as of 2023-12-15 | 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 | |
testCaseDescription | S | 0..1 | markdown | What is being tested URL: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-testCaseDescription |
inputParameters | S | 0..1 | Reference(Parameters) | Input Parameter URL: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-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/us/cqfmeasures/StructureDefinition/cqfm-operation |
softwaresystem | S | 0..* | Reference(CQFM Device) | Extension URL: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem |
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 |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
testCaseDescription | S | 0..1 | markdown | What is being tested URL: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-testCaseDescription |
inputParameters | S | 0..1 | Reference(Parameters) | Input Parameter URL: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-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/us/cqfmeasures/StructureDefinition/cqfm-operation |
softwaresystem | S | 0..* | Reference(CQFM Device) | Extension URL: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-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 |
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 |
Documentation for this format |
Path | Conformance | ValueSet |
MeasureReport.status | required | MeasureReportStatus |
MeasureReport.type | required | MeasureReportType |
MeasureReport.improvementNotation | required | MeasureImprovementNotation |
MeasureReport.group.population.code | extensible | MeasurePopulationType |
MeasureReport.group.stratifier.stratum.population.code | extensible | MeasurePopulationType |
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 | ||||
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/us/cqfmeasures/StructureDefinition/cqfm-testCaseDescription | ||||
inputParameters | S | 0..1 | Reference(Parameters) | Input Parameter URL: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-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/us/cqfmeasures/StructureDefinition/cqfm-operation | ||||
softwaresystem | S | 0..* | Reference(CQFM Device) | Extension URL: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-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 | ||||
MeasureReport.language | preferred | CommonLanguages
| ||||
MeasureReport.status | required | MeasureReportStatus | ||||
MeasureReport.type | required | MeasureReportType | ||||
MeasureReport.improvementNotation | required | MeasureImprovementNotation | ||||
MeasureReport.group.population.code | extensible | MeasurePopulationType | ||||
MeasureReport.group.stratifier.stratum.population.code | extensible | MeasurePopulationType |
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 | |
testCaseDescription | S | 0..1 | markdown | What is being tested URL: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-testCaseDescription |
inputParameters | S | 0..1 | Reference(Parameters) | Input Parameter URL: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-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/us/cqfmeasures/StructureDefinition/cqfm-operation |
softwaresystem | S | 0..* | Reference(CQFM Device) | Extension URL: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem |
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 |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
testCaseDescription | S | 0..1 | markdown | What is being tested URL: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-testCaseDescription |
inputParameters | S | 0..1 | Reference(Parameters) | Input Parameter URL: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-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/us/cqfmeasures/StructureDefinition/cqfm-operation |
softwaresystem | S | 0..* | Reference(CQFM Device) | Extension URL: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-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 |
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 |
Documentation for this format |
Path | Conformance | ValueSet |
MeasureReport.status | required | MeasureReportStatus |
MeasureReport.type | required | MeasureReportType |
MeasureReport.improvementNotation | required | MeasureImprovementNotation |
MeasureReport.group.population.code | extensible | MeasurePopulationType |
MeasureReport.group.stratifier.stratum.population.code | extensible | MeasurePopulationType |
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 | ||||
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/us/cqfmeasures/StructureDefinition/cqfm-testCaseDescription | ||||
inputParameters | S | 0..1 | Reference(Parameters) | Input Parameter URL: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-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/us/cqfmeasures/StructureDefinition/cqfm-operation | ||||
softwaresystem | S | 0..* | Reference(CQFM Device) | Extension URL: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-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 | ||||
MeasureReport.language | preferred | CommonLanguages
| ||||
MeasureReport.status | required | MeasureReportStatus | ||||
MeasureReport.type | required | MeasureReportType | ||||
MeasureReport.improvementNotation | required | MeasureImprovementNotation | ||||
MeasureReport.group.population.code | extensible | MeasurePopulationType | ||||
MeasureReport.group.stratifier.stratum.population.code | extensible | MeasurePopulationType |
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