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

Represents an executable CQL logic library in translated ELM format
description: Represents an executable CQL logic library in translated ELM format
derivation: constraint
name: ELMLibrary
type: Library
elements:
  content:
    mustSupport: true
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: contentType, type: value}
      min: null
      slices:
        elmXmlContent:
          match: {contentType: application/elm+xml}
          schema:
            short: ELM XML Content
            mustSupport: true
            index: 1
            elements:
              contentType:
                pattern: {type: Code, value: application/elm+xml}
                mustSupport: true
                index: 2
              data: {mustSupport: true, index: 3}
            required: [data]
        elmJsonContent:
          match: {contentType: application/elm+json}
          schema:
            short: ELM JSON Content
            mustSupport: true
            index: 4
            elements:
              contentType:
                pattern: {type: Code, value: application/elm+json}
                mustSupport: true
                index: 5
              data: {mustSupport: true, index: 6}
            required: [data]
class: profile
kind: resource
url: http://hl7.org/fhir/StructureDefinition/elmlibrary
base: http://hl7.org/fhir/StructureDefinition/logiclibrary
version: 5.0.0