http://hl7.org/fhir/StructureDefinition/cqllibrary|5.0.0

Represents a computable CQL logic library
description: Represents a computable CQL logic library
derivation: constraint
name: CQLLibrary
type: Library
elements:
  content:
    mustSupport: true
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: contentType, type: value}
      min: null
      slices:
        cqlContent:
          match: {contentType: text/cql}
          schema:
            short: CQL Content
            mustSupport: true
            _required: true
            index: 1
            elements:
              contentType:
                pattern: {type: Code, value: text/cql}
                mustSupport: true
                index: 2
              data: {mustSupport: true, index: 3}
            required: [contentType, data]
class: profile
kind: resource
url: http://hl7.org/fhir/StructureDefinition/cqllibrary
base: http://hl7.org/fhir/StructureDefinition/logiclibrary
version: 5.0.0