PackagesCanonicalsLogsProblems
    Packages
    medatixx.healthhub@1.5.0
    https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_EntryCallUri
description: 'Document-specific callback link that is stored as a clickable back-link on the created health record entry in the PVS. Allows the physician to navigate from the PVS entry directly back to the originating document in the partner system. Sub-extensions: Uri (required, fully resolved absolute https URL, max 2000 characters, no placeholders; the PVS opens it in a browser), Label (required, human-readable link text), OpenInBrowser (optional, launch mode; default interpretation: true).'
package_name: medatixx.healthhub
derivation: constraint
name: Mxx_HealthHub_EntryCallUri
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 1
      slices:
        Uri:
          match: {url: Uri}
          schema:
            short: Callback URL
            _required: true
            index: 1
            extensions: {}
            elements:
              extension: {index: 2}
              url:
                pattern: {type: Uri, value: Uri}
                index: 3
              value:
                maxLength: 2000
                constraint:
                  mxx-entrycalluri-1: {human: 'The callback URL must be an absolute https URL (the PVS opens it in a browser); http, app-launch schemes, placeholders and relative URIs are not allowed.', severity: error, expression: '$this.matches(''^https://.+'')'}
                choices: [valueUrl]
                index: 5
              valueUrl:
                type: url
                maxLength: 2000
                constraint:
                  mxx-entrycalluri-1: {human: 'The callback URL must be an absolute https URL (the PVS opens it in a browser); http, app-launch schemes, placeholders and relative URIs are not allowed.', severity: error, expression: '$this.matches(''^https://.+'')'}
                choiceOf: value
                index: 6
            required: [value, valueUrl]
        Label:
          match: {url: Label}
          schema:
            short: Link label
            _required: true
            index: 7
            extensions: {}
            elements:
              extension: {index: 8}
              url:
                pattern: {type: Uri, value: Label}
                index: 9
              value:
                choices: [valueString]
                index: 11
              valueString: {type: string, choiceOf: value, index: 12}
            required: [valueString, value]
        OpenInBrowser:
          match: {url: OpenInBrowser}
          schema:
            short: Open in browser
            index: 13
            extensions: {}
            elements:
              extension: {index: 14}
              url:
                pattern: {type: Uri, value: OpenInBrowser}
                index: 15
              value:
                choices: [valueBoolean]
                index: 17
              valueBoolean: {type: boolean, choiceOf: value, index: 18}
            required: [value, valueBoolean]
  url:
    pattern: {type: Uri, value: 'https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_EntryCallUri'}
    index: 19
  value:
    choices: []
    index: 21
package_version: 1.5.0
extensions:
  Uri:
    url: Uri
    short: Callback URL
    _required: true
    index: 1
    extensions: {}
    elements:
      extension: {index: 2}
      url:
        pattern: {type: Uri, value: Uri}
        index: 3
      value:
        maxLength: 2000
        constraint:
          mxx-entrycalluri-1: {human: 'The callback URL must be an absolute https URL (the PVS opens it in a browser); http, app-launch schemes, placeholders and relative URIs are not allowed.', severity: error, expression: '$this.matches(''^https://.+'')'}
        choices: [valueUrl]
        index: 5
      valueUrl:
        type: url
        maxLength: 2000
        constraint:
          mxx-entrycalluri-1: {human: 'The callback URL must be an absolute https URL (the PVS opens it in a browser); http, app-launch schemes, placeholders and relative URIs are not allowed.', severity: error, expression: '$this.matches(''^https://.+'')'}
        choiceOf: value
        index: 6
    required: [value, valueUrl]
  Label:
    url: Label
    short: Link label
    _required: true
    index: 7
    extensions: {}
    elements:
      extension: {index: 8}
      url:
        pattern: {type: Uri, value: Label}
        index: 9
      value:
        choices: [valueString]
        index: 11
      valueString: {type: string, choiceOf: value, index: 12}
    required: [valueString, value]
  OpenInBrowser:
    url: OpenInBrowser
    short: Open in browser
    index: 13
    extensions: {}
    elements:
      extension: {index: 14}
      url:
        pattern: {type: Uri, value: OpenInBrowser}
        index: 15
      value:
        choices: [valueBoolean]
        index: 17
      valueBoolean: {type: boolean, choiceOf: value, index: 18}
    required: [value, valueBoolean]
class: extension
kind: complex-type
url: https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_EntryCallUri
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 1.5.0
required: [extension]