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