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

The logic library profile sets the minimum expectations for computable and/or executable libraries, including support for terminology and dependency declaration, parameters, and data requirements
description: The logic library profile sets the minimum expectations for computable and/or executable libraries, including support for terminology and dependency declaration, parameters, and data requirements
derivation: constraint
name: LogicLibrary
type: Library
elements:
  extension:
    mustSupport: true
    array: true
    index: 0
    slicing:
      slices:
        directReferenceCode:
          match: {}
          schema: {mustSupport: true, array: true, index: 0}
          min: 0
  type:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: module-definition, system: 'http://terminology.hl7.org/CodeSystem/library-type'}
    index: 1
  subject:
    mustSupport: true
    choices: []
    index: 3
  relatedArtifact:
    mustSupport: true
    index: 4
    slicing:
      rules: open
      discriminator:
      - {path: type, type: value}
      min: null
      slices:
        dependency:
          match: {type: depends-on}
          schema:
            mustSupport: true
            array: true
            index: 5
            elements:
              type:
                pattern: {type: Code, value: depends-on}
                mustSupport: true
                index: 6
              resource: {mustSupport: true, index: 7}
            required: [resource]
  parameter: {mustSupport: true, index: 8}
  dataRequirement: {mustSupport: true, index: 9}
  content:
    mustSupport: true
    index: 10
    elements:
      contentType: {mustSupport: true, index: 11}
      data: {mustSupport: true, index: 12}
extensions:
  directReferenceCode: {url: null, min: 0, mustSupport: true, array: true, index: 0}
class: profile
kind: resource
url: http://hl7.org/fhir/StructureDefinition/logiclibrary
base: http://hl7.org/fhir/StructureDefinition/shareablelibrary
version: 5.0.0
required: [type]