PackagesCanonicalsLogsProblems
    Packages
    de.gematik.erezept@workflow.r4-1.5.0-beta5
    https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_EU_Access
description: Access Profile for EU Prescriptions
package_name: de.gematik.erezept
derivation: constraint
name: GEM_ERP_PR_EU_Access
type: Basic
elements:
  identifier:
    index: 0
    slicing:
      rules: closed
      description: Identifier for Access Profile
      discriminator:
      - {path: system, type: value}
      min: 1
      slices:
        euAccessCode:
          match: {system: null}
          schema: {type: Identifier, _required: true, index: 1}
          min: 1
          max: 1
  code:
    elements:
      coding:
        array: true
        min: 2
        index: 2
        slicing:
          rules: closed
          description: code.coding for Access Profile
          discriminator:
          - {path: system, type: value}
          min: 2
          slices:
            countryCode:
              match: {system: 'urn:iso:std:iso:3166'}
              schema:
                binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/country'}
                _required: true
                index: 3
                elements:
                  system:
                    pattern: {type: Uri, value: 'urn:iso:std:iso:3166'}
                    index: 4
                required: [system]
            workflowBasicIdentifier:
              match: {system: null}
              schema:
                _required: true
                index: 5
                elements:
                  code:
                    pattern: {type: Code, value: eu-access}
                    index: 6
  subject:
    elements:
      identifier: {type: Identifier, mustSupport: true, index: 7}
    required: [identifier]
  created: {mustSupport: true, index: 8}
package_version: workflow.r4-1.5.0-beta5
class: profile
kind: resource
url: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_EU_Access
base: http://hl7.org/fhir/StructureDefinition/Basic
version: '1.5'
required: [identifier]