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

Represents a computable representation of a model information library
description: Represents a computable representation of a model information library
derivation: constraint
name: ModelInfoLibrary
type: Library
elements:
  type:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: model-definition, system: 'http://terminology.hl7.org/CodeSystem/library-type'}
    index: 0
  content:
    mustSupport: true
    index: 1
    slicing:
      rules: open
      discriminator:
      - {path: contentType, type: value}
      min: null
      slices:
        modelInfoXmlContent:
          match: {contentType: application/xml}
          schema:
            short: ModelInfo XML Content
            mustSupport: true
            index: 2
            elements:
              contentType:
                pattern: {type: Code, value: application/xml}
                mustSupport: true
                index: 3
              data: {mustSupport: true, index: 4}
            required: [data]
        modelInfoJsonContent:
          match: {contentType: application/json}
          schema:
            short: ModelInfo JSON Content
            mustSupport: true
            index: 5
            elements:
              contentType:
                pattern: {type: Code, value: application/json}
                mustSupport: true
                index: 6
              data: {mustSupport: true, index: 7}
            required: [data]
class: profile
kind: resource
url: http://hl7.org/fhir/StructureDefinition/modelinfolibrary
base: http://hl7.org/fhir/StructureDefinition/shareablelibrary
version: 5.0.0
required: [type]