PackagesCanonicalsLogsProblems
    Packages
    io.health-samurai.core.r3@0.2601.0
    http://aidbox.app/StructureDefinition/aidboxtopicdestination-fhir-native-topic-based-subscription
description: FHIR native topic-based subscription profile for AidboxTopicDestination.
package_name: io.health-samurai.core.r3
derivation: constraint
name: aidboxtopicdestination-fhir-native-topic-based-subscription
type: AidboxTopicDestination
elements:
  kind:
    pattern: {type: String, value: fhir-native-topic-based-subscription}
    index: 0
  parameter:
    index: 1
    slicing:
      rules: closed
      discriminator:
      - {path: name, type: pattern}
      min: 1
      slices:
        subscription-specification-version:
          match: {name: subscription-specification-version}
          schema:
            _required: true
            index: 2
            elements:
              name:
                pattern: {type: String, value: subscription-specification-version}
                index: 3
              value:
                constraint:
                  enum-sub-spec-version: {human: 'subscription-specification-version must be one of: ''R4-backported'', ''R5'', ''R4B-backported''', severity: error, expression: '%context.subsetOf(''R4-backported'' | ''R5'' | ''R4B-backported'')'}
                choices: [valueString]
                index: 5
              valueString:
                type: string
                constraint:
                  enum-sub-spec-version: {human: 'subscription-specification-version must be one of: ''R4-backported'', ''R5'', ''R4B-backported''', severity: error, expression: '%context.subsetOf(''R4-backported'' | ''R5'' | ''R4B-backported'')'}
                choiceOf: value
                index: 6
              resource: {index: 7}
              part: {index: 8}
            required: [valueString, value]
        fhir-topic:
          match: {name: fhir-topic}
          schema:
            _required: true
            index: 9
            elements:
              name:
                pattern: {type: String, value: fhir-topic}
                index: 10
              value:
                choices: [valueCanonical]
                index: 12
              valueCanonical: {type: canonical, choiceOf: value, index: 13}
              resource: {index: 14}
              part: {index: 15}
            required: [valueCanonical, value]
        keep-events-for-period:
          match: {name: keep-events-for-period}
          schema:
            short: Time in seconds for which to store events. During this period, events will be available with the $events operation. If not specified, events will be stored indefinitely.
            index: 16
            elements:
              name:
                pattern: {type: String, value: keep-events-for-period}
                index: 17
              value:
                choices: [valueUnsignedInt]
                index: 19
              valueUnsignedInt: {type: unsignedInt, choiceOf: value, index: 20}
              resource: {index: 21}
              part: {index: 22}
            required: [value, valueUnsignedInt]
        number-of-deliverer:
          match: {name: number-of-deliverer}
          schema:
            short: Number of parallel senders which will handle subscriptions for the topic. Default is 4.
            index: 23
            elements:
              name:
                pattern: {type: String, value: number-of-deliverer}
                index: 24
              value:
                choices: [valueUnsignedInt]
                index: 26
              valueUnsignedInt: {type: unsignedInt, choiceOf: value, index: 27}
              resource: {index: 28}
              part: {index: 29}
            required: [value, valueUnsignedInt]
package_version: 0.2601.0
class: profile
kind: resource
url: http://aidbox.app/StructureDefinition/aidboxtopicdestination-fhir-native-topic-based-subscription
base: http://health-samurai.io/fhir/core/StructureDefinition/AidboxTopicDestination
version: 0.2601.0
required: [parameter]