PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.cqfmeasures@1.0.0
    http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/measure-cqfm
description: The CQFM Measure Profile describes a shareable, published measure resource that can be used to define an electronic clinical quality measure
package_name: hl7.fhir.us.cqfmeasures
derivation: constraint
name: CQFMMeasure
type: Measure
elements:
  description: {mustSupport: true, index: 10}
  definition:
    mustSupport: false
    array: true
    index: 32
    extensions:
      definitionTerm: {url: h, min: 1, max: 1, type: Extension, mustSupport: false, index: 33}
    elements:
      extension:
        type: Extension
        mustSupport: false
        url: h
        index: 33
        slicing:
          slices:
            definitionTerm:
              match: {}
              schema: {type: Extension, mustSupport: false, url: h, index: 33}
              min: 1
              max: 1
  date: {mustSupport: true, index: 8}
  group:
    mustSupport: true
    array: true
    min: 1
    index: 34
    elements:
      identifier:
        constraint:
          '2': {human: 'Group identifiers SHOULD use the convention: "group-", where  corresponds with the group naming convention for the criteria within the group', severity: warning, expression: value.startsWith('group-')}
        mustSupport: true
        index: 35
      population:
        mustSupport: true
        array: true
        min: 1
        index: 36
        elements:
          identifier: {mustSupport: true, index: 37}
          code: {mustSupport: true, index: 38}
          criteria:
            constraint:
              '3': {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: 39
        required: [identifier, code]
      stratifier:
        mustSupport: true
        index: 40
        elements:
          identifier: {mustSupport: true, index: 41}
          criteria:
            constraint:
              '4': {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: 42
        required: [identifier]
    required: [population]
  publisher: {mustSupport: true, index: 9}
  approvalDate: {mustSupport: true, index: 13}
  disclaimer: {mustSupport: true, index: 27}
  jurisdiction: {mustSupport: true, index: 19}
  purpose: {mustSupport: true, index: 11}
  name: {mustSupport: true, index: 6}
  useContext: {mustSupport: true, index: 18}
  copyright: {mustSupport: true, index: 23}
  type: {mustSupport: true, array: true, min: 1, index: 29}
  topic: {mustSupport: true, index: 20}
  title: {mustSupport: true, index: 7}
  supplementalData:
    constraint:
      '5': {human: Supplemental data SHALL use either criteria or path, severity: warning, expression: criteria.exists() or path.exists()}
    mustSupport: true
    index: 43
    elements:
      identifier: {mustSupport: true, index: 44}
    required: [identifier]
  library:
    constraint:
      '1': {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: library.exists()}
    refers: ['http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/library-cqfm']
    type: Reference
    mustSupport: true
    index: 26
  extension:
    type: Extension
    mustSupport: true
    url: h
    index: 0
    slicing:
      slices:
        comment:
          match: {}
          schema: {type: Extension, mustSupport: true, url: h, index: 0}
          min: 0
        populationBasis:
          match: {}
          schema: {type: Extension, mustSupport: true, url: h, index: 1}
          min: 1
          max: 1
        allocation:
          match: {}
          schema: {type: Extension, mustSupport: false, url: h, index: 2}
          min: 0
          max: 1
  usage: {mustSupport: true, index: 12}
  rationale: {mustSupport: false, index: 30}
  contributor: {mustSupport: true, index: 21}
  url: {mustSupport: true, index: 3}
  identifier: {mustSupport: true, array: true, min: 1, index: 4}
  lastReviewDate: {mustSupport: true, index: 14}
  scoring: {mustSupport: true, index: 28}
  version: {mustSupport: true, index: 5}
  relatedArtifact:
    mustSupport: true
    index: 24
    extensions:
      isPrimaryCitation: {url: h, min: 0, max: 1, type: Extension, mustSupport: false, index: 25}
    elements:
      extension:
        type: Extension
        mustSupport: false
        url: h
        index: 25
        slicing:
          slices:
            isPrimaryCitation:
              match: {}
              schema: {type: Extension, mustSupport: false, url: h, index: 25}
              min: 0
              max: 1
  contact: {mustSupport: true, array: true, min: 1, index: 22}
  improvementNotation: {short: increase | decrease, mustSupport: true, index: 31}
  effectivePeriod:
    mustSupport: true
    index: 15
    extensions:
      anchor: {url: h, min: 0, max: 1, type: Extension, mustSupport: true, index: 16}
      duration: {url: h, min: 0, max: 1, type: Extension, mustSupport: true, index: 17}
    elements:
      extension:
        type: Extension
        mustSupport: true
        url: h
        index: 16
        slicing:
          slices:
            anchor:
              match: {}
              schema: {type: Extension, mustSupport: true, url: h, index: 16}
              min: 0
              max: 1
            duration:
              match: {}
              schema: {type: Extension, mustSupport: true, url: h, index: 17}
              min: 0
              max: 1
package_version: 1.0.0
extensions:
  comment: {url: h, min: 0, type: Extension, mustSupport: true, index: 0}
  populationBasis: {url: h, min: 1, max: 1, type: Extension, mustSupport: true, index: 1}
  allocation: {url: h, min: 0, max: 1, type: Extension, mustSupport: false, index: 2}
class: profile
kind: resource
url: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/measure-cqfm
base: http://hl7.org/fhir/StructureDefinition/Measure
version: 1.0.0
required: [url, scoring, improvementNotation, group, approvalDate, name, identifier, title, type, publisher, version, library, date, lastReviewDate, contact, description]