PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.cqfmeasures@5.0.0-ballot
    http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/computable-library-cqfm
description: The CQFM Computable Library profile defines the must support elements for a computable library used to support eCQM logic
package_name: hl7.fhir.us.cqfmeasures
derivation: constraint
name: CQFMComputableLibrary
type: Library
elements:
  extension:
    type: Extension
    mustSupport: true
    url: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode
    index: 0
    slicing:
      slices:
        directReferenceCode:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode', index: 0}
          min: 0
        cqfm-cqlOptions:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-cqlOptions', index: 1}
          min: 0
          max: 1
  subject:
    mustSupport: true
    choices: []
    index: 3
  relatedArtifact: {short: Dependencies used by the artifact, mustSupport: true, index: 4}
  parameter: {mustSupport: true, index: 5}
  dataRequirement:
    mustSupport: true
    index: 6
    extensions:
      fhirQueryPattern: {url: 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-fhirQueryPattern', min: 0, type: Extension, mustSupport: false, index: 7}
    elements:
      extension:
        type: Extension
        mustSupport: false
        url: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-fhirQueryPattern
        index: 7
        slicing:
          slices:
            fhirQueryPattern:
              match: {}
              schema: {type: Extension, mustSupport: false, url: 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-fhirQueryPattern', index: 7}
              min: 0
  content:
    mustSupport: false
    index: 8
    slicing:
      rules: open
      discriminator:
      - {path: contentType, type: value}
      min: null
      slices:
        cqlContent:
          match: {contentType: text/cql}
          schema:
            mustSupport: true
            _required: true
            index: 9
            elements:
              contentType:
                type: code
                pattern: {type: Code, value: text/cql}
                mustSupport: true
                index: 10
              data: {mustSupport: true, index: 11}
            required: [contentType, data]
package_version: 5.0.0-ballot
extensions:
  directReferenceCode: {url: 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode', min: 0, type: Extension, mustSupport: true, index: 0}
  cqfm-cqlOptions: {url: 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-cqlOptions', min: 0, max: 1, type: Extension, mustSupport: true, index: 1}
class: profile
kind: resource
url: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/computable-library-cqfm
base: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/library-cqfm
version: 5.0.0-ballot