PackagesCanonicalsLogsProblems
    Packages
    ks.workinprogress@0.0.1-sample
    http://infoway-inforoute.ca/fhir/StructureDefinition/auth-scopes
description: null
package_name: ks.workinprogress
derivation: constraint
name: CAAuthScopes
type: Extension
elements:
  extension:
    array: true
    min: 2
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 2
      slices:
        entitlement:
          match: {url: entitlement}
          schema:
            type: Extension
            short: entitlement source
            _required: true
            index: 1
            elements:
              url:
                type: uri
                pattern: {type: uri, value: entitlement}
                index: 2
              value:
                short: entitlement source
                choices: [valueString]
                index: 4
              valueString: {type: string, short: entitlement source, choiceOf: value, index: 5}
            required: [url, value, valueString]
        scope:
          match: {url: scope}
          schema:
            type: Extension
            short: auth scope
            _required: true
            index: 6
            elements:
              url:
                type: uri
                pattern: {type: uri, value: scope}
                index: 7
              value:
                choices: [valueString]
                index: 9
              valueString: {type: string, choiceOf: value, index: 10}
            required: [url, value, valueString]
  url:
    pattern: {type: uri, value: 'http://infoway-inforoute.ca/fhir/StructureDefinition/auth-scopes'}
    type: uri
    index: 11
  value:
    choices: []
    index: 13
package_version: 0.0.1-sample
extensions:
  entitlement:
    url: entitlement
    type: Extension
    short: entitlement source
    _required: true
    index: 1
    elements:
      url:
        type: uri
        pattern: {type: uri, value: entitlement}
        index: 2
      value:
        short: entitlement source
        choices: [valueString]
        index: 4
      valueString: {type: string, short: entitlement source, choiceOf: value, index: 5}
    required: [url, value, valueString]
  scope:
    url: scope
    type: Extension
    short: auth scope
    _required: true
    index: 6
    elements:
      url:
        type: uri
        pattern: {type: uri, value: scope}
        index: 7
      value:
        choices: [valueString]
        index: 9
      valueString: {type: string, choiceOf: value, index: 10}
    required: [url, value, valueString]
class: extension
kind: complex-type
url: http://infoway-inforoute.ca/fhir/StructureDefinition/auth-scopes
base: http://hl7.org/fhir/StructureDefinition/Extension
version: null
required: [url]