PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.ph-library@2.0.0-ballot
    http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-computable-library
description: This Library profile defines the Library that contains [Clinical Quality Language](http://cql.hl7.org/) (CQL) text, but not necessarily the compiled [Expression Logical Model](https://cql.hl7.org/elm.html) (ELM) for that CQL. It is intended to be used in environments that are capable of translating CQL to the executable ELM.
package_name: hl7.fhir.us.ph-library
derivation: constraint
name: USPublicHealthComputableLibrary
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:
                short: Required dependency
                pattern: {type: code, value: depends-on}
                mustSupport: true
                type: code
                index: 4
              display: {mustSupport: true, index: 5}
              resource: {type: canonical, mustSupport: true, index: 6}
            required: [resource]
  parameter: {mustSupport: true, index: 7}
  dataRequirement: {mustSupport: true, index: 8}
  content:
    mustSupport: true
    index: 9
    slicing:
      rules: open
      discriminator:
      - {path: contentType, type: value}
      min: 1
      slices:
        cqlContent:
          match: {contentType: text/cql}
          schema:
            short: CQL Content
            mustSupport: true
            _required: true
            index: 10
            elements:
              contentType:
                pattern: {type: code, value: text/cql}
                mustSupport: true
                type: code
                index: 11
              data: {index: 12}
            required: [contentType, data]
package_version: 2.0.0-ballot
class: profile
kind: resource
url: http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-computable-library
base: http://hl7.org/fhir/StructureDefinition/shareablelibrary
version: 2.0.0-ballot
required: [content]