PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.cqfmeasures@2.0.0
    http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/measure-cqfm
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, 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
        populationBasis:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis', index: 3}
          min: 1
          max: 1
        allocation:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-allocation', index: 4}
          min: 0
          max: 1
        softwaresystem:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem', index: 5}
          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: 6
  scoring: {mustSupport: true, index: 7}
  type: {mustSupport: true, array: true, min: 1, index: 8}
  improvementNotation: {short: increase | decrease, mustSupport: true, index: 9}
  group:
    mustSupport: true
    array: true
    min: 1
    index: 10
    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: 11
      population:
        mustSupport: true
        array: true
        min: 1
        index: 12
        elements:
          id: {mustSupport: true, index: 13}
          code: {mustSupport: true, index: 14}
          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: 15
        required: [id, code]
      stratifier:
        mustSupport: true
        index: 16
        elements:
          id: {mustSupport: true, index: 17}
          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: 18
        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: 19
    elements:
      id: {mustSupport: true, index: 20}
    required: [id]
package_version: 2.0.0
extensions:
  comment: {url: 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-artifactComment', min: 0, type: Extension, mustSupport: true, index: 2}
  populationBasis: {url: 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis', min: 1, max: 1, type: Extension, mustSupport: true, index: 3}
  allocation: {url: 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-allocation', min: 0, max: 1, type: Extension, mustSupport: true, index: 4}
  softwaresystem: {url: 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem', min: 0, type: Extension, mustSupport: true, index: 5}
class: profile
kind: resource
url: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/measure-cqfm
base: http://hl7.org/fhir/StructureDefinition/shareablemeasure
version: 2.0.0
required: [scoring, improvementNotation, group, type, meta, library]