PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.davinci-pas@2.2.0-ballot
    http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-subscription
description: The profile for PAS subscription.
package_name: hl7.fhir.us.davinci-pas
derivation: constraint
name: PASSubscription
type: Subscription
elements:
  status:
    pattern: {type: code, value: active}
    type: code
    index: 0
  criteria:
    pattern: {type: string, value: 'http://hl7.org/fhir/us/davinci-pas/SubscriptionTopic/PASSubscriptionTopic'}
    type: string
    index: 1
    extensions:
      filterCriteria: {url: 'http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-filter-criteria', min: 1, max: 1, type: Extension, mustSupport: true, index: 3}
    elements:
      extension:
        index: 2
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 1
          slices:
            filterCriteria:
              match: {url: null}
              schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-filter-criteria', index: 3}
              min: 1
              max: 1
    required: [extension]
  channel:
    elements:
      type:
        pattern: {type: code, value: rest-hook}
        type: code
        index: 4
      payload:
        extensions:
          payloadContent:
            url: http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-payload-content
            type: Extension
            mustSupport: true
            index: 6
            elements:
              value:
                pattern: {type: code, value: full-resource}
                choices: [valueCode]
                type: code
                index: 8
                slicing:
                  slices:
                    valueCode:
                      match: {}
                      schema:
                        pattern: {type: code, value: full-resource}
                        choices: [valueCode]
                        type: code
                        index: 8
              valueCode:
                type: code
                pattern: {type: code, value: full-resource}
                choiceOf: value
                index: 9
                slicing:
                  slices:
                    valueCode:
                      match: {}
                      schema:
                        type: code
                        pattern: {type: code, value: full-resource}
                        choiceOf: value
                        index: 9
        elements:
          extension:
            index: 5
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: url, type: value}
              min: 1
              slices:
                payloadContent:
                  match: {url: null}
                  schema:
                    type: Extension
                    mustSupport: true
                    url: http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-payload-content
                    index: 6
                    elements:
                      value:
                        pattern: {type: code, value: full-resource}
                        choices: [valueCode]
                        type: code
                        index: 8
                        slicing:
                          slices:
                            valueCode:
                              match: {}
                              schema:
                                pattern: {type: code, value: full-resource}
                                choices: [valueCode]
                                type: code
                                index: 8
                      valueCode:
                        type: code
                        pattern: {type: code, value: full-resource}
                        choiceOf: value
                        index: 9
                        slicing:
                          slices:
                            valueCode:
                              match: {}
                              schema:
                                type: code
                                pattern: {type: code, value: full-resource}
                                choiceOf: value
                                index: 9
        required: [extension]
package_version: 2.2.0-ballot
class: profile
kind: resource
url: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-subscription
base: http://hl7.org/fhir/StructureDefinition/Subscription
version: 2.2.0-ballot