PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.smart@app-launch-1.1.0
    http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris
description: Declares support for automated dicovery of OAuth2 endpoints, if a\nserver supports SMART on FHIR authorization for access. Any time a client sees\nthis extension, it must be prepared to authorize using SMART’s OAuth2-based\nprotocol.
package_name: hl7.fhir.uv.smart
derivation: constraint
name: OauthUris
type: Extension
elements:
  extension:
    index: 0
    slicing:
      slices:
        authorize:
          match: {}
          schema:
            short: URL indicating the OAuth2 "authorize" endpoint for this FHIR server.
            mustSupport: true
            _required: true
            index: 1
            extensions: {}
            elements:
              extension: {index: 2}
              url:
                pattern: {type: Uri, value: authorize}
                index: 3
              value:
                choices: [valueUri]
                index: 5
              valueUri: {type: uri, choiceOf: value, index: 6}
        token:
          match: {}
          schema:
            short: URL indicating the OAuth2 "token" endpoint for this FHIR server. Required unless the implicit grant flow is used.
            mustSupport: true
            index: 7
            extensions: {}
            elements:
              extension: {index: 8}
              url:
                pattern: {type: Uri, value: token}
                index: 9
              value:
                choices: [valueUri]
                index: 11
              valueUri: {type: uri, choiceOf: value, index: 12}
        register:
          match: {}
          schema:
            short: URL indicating the OAuth2 dynamic registration endpoint for this FHIR server, if supported.
            mustSupport: true
            index: 13
            extensions: {}
            elements:
              extension: {index: 14}
              url:
                pattern: {type: Uri, value: register}
                index: 15
              value:
                choices: [valueUri]
                index: 17
              valueUri: {type: uri, choiceOf: value, index: 18}
        manage:
          match: {}
          schema:
            short: URL where an end-user can view which applications have access to data and make adjustments to these access rights.
            mustSupport: true
            index: 19
            extensions: {}
            elements:
              extension: {index: 20}
              url:
                pattern: {type: Uri, value: manage}
                index: 21
              value:
                choices: [valueUri]
                index: 23
              valueUri: {type: uri, choiceOf: value, index: 24}
        introspect:
          match: {}
          schema:
            short: URL indicating the introspection endpoint that can be used to validate a token.
            mustSupport: true
            index: 25
            extensions: {}
            elements:
              extension: {index: 26}
              url:
                pattern: {type: Uri, value: introspect}
                index: 27
              value:
                choices: [valueUri]
                index: 29
              valueUri: {type: uri, choiceOf: value, index: 30}
        revoke:
          match: {}
          schema:
            short: URL indicating the endpoint that can be used to revoke a token.
            mustSupport: true
            index: 31
            extensions: {}
            elements:
              extension: {index: 32}
              url:
                pattern: {type: Uri, value: revoke}
                index: 33
              value:
                choices: [valueUri]
                index: 35
              valueUri: {type: uri, choiceOf: value, index: 36}
  url:
    pattern: {type: Uri, value: 'http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris'}
    index: 37
  value:
    choices: []
    index: 39
package_version: app-launch-1.1.0
extensions:
  authorize:
    url: null
    short: URL indicating the OAuth2 "authorize" endpoint for this FHIR server.
    mustSupport: true
    _required: true
    index: 1
    extensions: {}
    elements:
      extension: {index: 2}
      url:
        pattern: {type: Uri, value: authorize}
        index: 3
      value:
        choices: [valueUri]
        index: 5
      valueUri: {type: uri, choiceOf: value, index: 6}
  token:
    url: null
    short: URL indicating the OAuth2 "token" endpoint for this FHIR server. Required unless the implicit grant flow is used.
    mustSupport: true
    index: 7
    extensions: {}
    elements:
      extension: {index: 8}
      url:
        pattern: {type: Uri, value: token}
        index: 9
      value:
        choices: [valueUri]
        index: 11
      valueUri: {type: uri, choiceOf: value, index: 12}
  register:
    url: null
    short: URL indicating the OAuth2 dynamic registration endpoint for this FHIR server, if supported.
    mustSupport: true
    index: 13
    extensions: {}
    elements:
      extension: {index: 14}
      url:
        pattern: {type: Uri, value: register}
        index: 15
      value:
        choices: [valueUri]
        index: 17
      valueUri: {type: uri, choiceOf: value, index: 18}
  manage:
    url: null
    short: URL where an end-user can view which applications have access to data and make adjustments to these access rights.
    mustSupport: true
    index: 19
    extensions: {}
    elements:
      extension: {index: 20}
      url:
        pattern: {type: Uri, value: manage}
        index: 21
      value:
        choices: [valueUri]
        index: 23
      valueUri: {type: uri, choiceOf: value, index: 24}
  introspect:
    url: null
    short: URL indicating the introspection endpoint that can be used to validate a token.
    mustSupport: true
    index: 25
    extensions: {}
    elements:
      extension: {index: 26}
      url:
        pattern: {type: Uri, value: introspect}
        index: 27
      value:
        choices: [valueUri]
        index: 29
      valueUri: {type: uri, choiceOf: value, index: 30}
  revoke:
    url: null
    short: URL indicating the endpoint that can be used to revoke a token.
    mustSupport: true
    index: 31
    extensions: {}
    elements:
      extension: {index: 32}
      url:
        pattern: {type: Uri, value: revoke}
        index: 33
      value:
        choices: [valueUri]
        index: 35
      valueUri: {type: uri, choiceOf: value, index: 36}
class: extension
kind: complex-type
url: http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 1.1.0
required: [extension]