description: The CQFM Measure Profile describes minimum expectations for defining an electronic Clinical Quality Measure (eCQM) package_name: hl7.fhir.us.cqfmeasures derivation: constraint name: CQFMMeasure type: Measure elements: meta: mustSupport: true index: 0 elements: profile: {mustSupport: true, array: true, min: 1, index: 1} required: [profile] extension: type: Extension mustSupport: true url: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-artifactComment index: 2 slicing: slices: comment: match: {} schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-artifactComment', index: 2} min: 0 allocation: match: {} schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-allocation', index: 3} min: 0 max: 1 softwaresystem: match: {} schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem', index: 4} min: 0 library: constraint: cqm-2: {human: Measures utilizing CQL SHALL reference one and only one CQL library (and that referenced library MUST be the primary library for the measure), severity: warning, expression: exists()} mustSupport: true index: 5 scoring: {mustSupport: true, index: 6} type: {mustSupport: true, array: true, min: 1, index: 7} improvementNotation: {short: increase | decrease, mustSupport: true, index: 8} group: mustSupport: true array: true index: 9 elements: id: constraint: cqm-3: {human: 'Group identifiers SHOULD use the convention: "group-[group number]", where [group number] corresponds with the group naming convention for the criteria within the group', severity: warning, expression: value.startsWith('group-')} mustSupport: true index: 10 population: mustSupport: true array: true min: 1 index: 11 elements: id: {mustSupport: true, index: 12} code: {mustSupport: true, index: 13} criteria: constraint: cqm-4: {human: Group population criteria SHOULD be simple expression names found within the primary library for the measure. The criteria SHOULD NOT include a namespace., severity: warning, expression: value.startsWith(library).not()} mustSupport: true index: 14 required: [id, code] stratifier: mustSupport: true index: 15 elements: id: {mustSupport: true, index: 16} criteria: constraint: cqm-5: {human: Group stratifier criteria SHOULD be simple expression names found within the primary library for the measure. The criteria SHOULD NOT include a namespace., severity: warning, expression: value.startsWith(library).not()} mustSupport: true index: 17 required: [id] required: [population] supplementalData: constraint: cqm-6: {human: Supplemental data SHALL use either criteria or path, severity: warning, expression: criteria.exists() or path.exists()} mustSupport: true index: 18 elements: id: {mustSupport: true, index: 19} required: [id] package_version: 2.1.0 extensions: comment: {url: 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-artifactComment', min: 0, type: Extension, mustSupport: true, index: 2} allocation: {url: 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-allocation', min: 0, max: 1, type: Extension, mustSupport: true, index: 3} softwaresystem: {url: 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem', min: 0, type: Extension, mustSupport: true, index: 4} class: profile kind: resource url: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/measure-cqfm base: http://hl7.org/fhir/StructureDefinition/shareablemeasure version: 2.1.0 required: [scoring, improvementNotation, type, meta]