PackagesCanonicalsLogsProblems
    Packages
    de.gematik.tiflow.erezept@2.0.0
    https://gematik.de/fhir/tiflow-erezept/StructureDefinition/GEM-ERPEU-PR-PAR-AccessAuthorization-Response
description: Displays Response Parameters for EU Access Authorization
package_name: de.gematik.tiflow.erezept
derivation: constraint
name: GEM_ERPEU_PR_PAR_Access_Authorization_Response
type: Parameters
elements:
  parameter:
    array: true
    min: 4
    max: 4
    index: 0
    slicing:
      rules: closed
      discriminator:
      - {path: name, type: pattern}
      min: 4
      max: 4
      slices:
        countryCode:
          match: {name: countryCode}
          schema:
            mustSupport: true
            _required: true
            index: 1
            elements:
              name:
                mustSupport: true
                pattern: {type: String, value: countryCode}
                index: 2
              value:
                choices: [valueCoding]
                index: 4
              valueCoding: {type: Coding, choiceOf: value, index: 5}
              value[x]:
                elements:
                  system:
                    pattern: {type: Uri, value: 'urn:iso:std:iso:3166'}
                    index: 6
                required: [system]
              resource: {index: 7}
            required: [valueCoding, value]
        accessCode:
          match: {name: accessCode}
          schema:
            mustSupport: true
            _required: true
            index: 8
            elements:
              name:
                mustSupport: true
                pattern: {type: String, value: accessCode}
                index: 9
              value:
                choices: [valueIdentifier]
                index: 11
              valueIdentifier: {type: Identifier, choiceOf: value, index: 12}
              resource: {index: 13}
            required: [valueIdentifier, value]
        validUntil:
          match: {name: validUntil}
          schema:
            mustSupport: true
            _required: true
            index: 14
            elements:
              name:
                mustSupport: true
                pattern: {type: String, value: validUntil}
                index: 15
              value:
                choices: [valueInstant]
                index: 17
              valueInstant: {type: instant, choiceOf: value, index: 18}
              resource: {index: 19}
            required: [valueInstant, value]
        createdAt:
          match: {name: createdAt}
          schema:
            mustSupport: true
            _required: true
            index: 20
            elements:
              name:
                mustSupport: true
                pattern: {type: String, value: createdAt}
                index: 21
              value:
                choices: [valueInstant]
                index: 23
              valueInstant: {type: instant, choiceOf: value, index: 24}
              resource: {index: 25}
            required: [valueInstant, value]
package_version: 2.0.0
class: profile
kind: resource
url: https://gematik.de/fhir/tiflow-erezept/StructureDefinition/GEM-ERPEU-PR-PAR-AccessAuthorization-Response
base: http://hl7.org/fhir/StructureDefinition/Parameters
version: 2.0.0