PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.sdc@4.0.0
    http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-library
description: Defines how a Library is used as a logic computable library.
package_name: hl7.fhir.uv.sdc
derivation: constraint
name: SDCLibrary
type: Library
elements:
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        versionAlgorithm:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm|5.3.0-ballot-tc1', index: 1}
          min: 0
          max: 1
  url: {mustSupport: true, index: 2}
  version: {mustSupport: true, index: 3}
  name: {mustSupport: true, index: 4}
  subject:
    mustSupport: true
    choices: []
    index: 6
  relatedArtifact:
    mustSupport: true
    index: 7
    elements:
      display: {mustSupport: true, index: 8}
      url: {mustSupport: true, index: 9}
    required: [url, display]
  content:
    mustSupport: true
    index: 10
    slicing:
      rules: open
      discriminator:
      - {path: contentType, type: value}
      min: null
      slices:
        cqlContent:
          match: {contentType: text/cql}
          schema:
            short: CQL Content
            mustSupport: true
            index: 11
            elements:
              contentType:
                mustSupport: true
                pattern: {type: Code, value: text/cql}
                index: 12
              data: {mustSupport: true, index: 13}
            required: [contentType, data]
        fhirpathContent:
          match: {contentType: text/fhirpath}
          schema:
            short: FHIRPath Content
            mustSupport: true
            index: 14
            elements:
              contentType:
                mustSupport: true
                pattern: {type: Code, value: text/fhirpath}
                index: 15
              data: {mustSupport: true, index: 16}
            required: [contentType, data]
        queryContent:
          match: {contentType: application/x-fhir-query}
          schema:
            short: Query Content
            mustSupport: true
            index: 17
            elements:
              contentType:
                mustSupport: true
                pattern: {type: Code, value: application/x-fhir-query}
                index: 18
              data: {mustSupport: true, index: 19}
            required: [contentType, data]
package_version: 4.0.0
extensions:
  versionAlgorithm: {url: 'http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm|5.3.0-ballot-tc1', min: 0, max: 1, type: Extension, mustSupport: true, index: 1}
class: profile
kind: resource
url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-library
base: http://hl7.org/fhir/StructureDefinition/cqllibrary
version: 4.0.0
required: [url, name]