PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.cpg@1.0.0
    http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-computablelibrary
description: The computable library profile sets the minimum expectations for a computable CQL library
package_name: hl7.fhir.uv.cpg
derivation: constraint
name: CPGComputableLibrary
type: Library
elements:
  subject:
    mustSupport: true
    choices: []
    index: 1
  relatedArtifact:
    mustSupport: true
    index: 2
    slicing:
      rules: open
      discriminator:
      - {path: type, type: value}
      min: null
      slices:
        dependency:
          match: {type: depends-on}
          schema:
            mustSupport: true
            array: true
            index: 3
            elements:
              type:
                type: code
                pattern: {type: Code, value: depends-on}
                mustSupport: true
                index: 4
              resource: {type: canonical, mustSupport: true, index: 5}
            required: [resource]
  parameter: {mustSupport: true, index: 6}
  dataRequirement: {mustSupport: true, index: 7}
  content:
    mustSupport: true
    index: 8
    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: 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: 1.0.0
class: profile
kind: resource
url: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-computablelibrary
base: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-shareablelibrary
version: 1.0.0