PackagesCanonicalsLogsProblems
    Packages
    rs/de.gematik.erezept.eu@1.0.0-rc1
    https://gematik.de/fhir/erp-eu/StructureDefinition/GEM_ERPEU_PR_PAR_GET_Prescription_Input
description: This profile defines the parameters for receiving dispense information for a prescription that was redeemed in the EU
package_name: rs/de.gematik.erezept.eu
derivation: constraint
name: GEM_ERPEU_PR_PAR_GET_Prescription_Input
type: Parameters
elements:
  meta:
    index: 0
    elements:
      profile:
        pattern: {type: canonical, value: 'https://gematik.de/fhir/erp-eu/StructureDefinition/GEM_ERPEU_PR_PAR_GET_Prescription_Input|1.5'}
        type: canonical
        index: 1
    required: [profile]
  parameter:
    mustSupport: true
    index: 2
    slicing:
      rules: closed
      discriminator:
      - {path: name, type: pattern}
      min: 1
      max: 1
      slices:
        requestData:
          match: {name: requestData}
          schema:
            _required: true
            index: 3
            elements:
              name:
                mustSupport: true
                pattern: {type: string, value: requestData}
                type: string
                index: 4
              value:
                choices: []
                index: 6
              resource: {index: 7}
              part:
                mustSupport: true
                array: true
                min: 8
                index: 8
                slicing:
                  rules: closed
                  discriminator:
                  - {path: name, type: pattern}
                  min: 8
                  slices:
                    accessCode:
                      match: {name: accessCode}
                      schema:
                        type: BackboneElement
                        mustSupport: true
                        _required: true
                        index: 24
                        elements:
                          name:
                            mustSupport: true
                            pattern: {type: string, value: accessCode}
                            type: string
                            index: 25
                          value:
                            choices: [valueIdentifier]
                            index: 27
                          valueIdentifier: {type: Identifier, choiceOf: value, index: 28}
                          resource: {index: 29}
                          part: {index: 30}
                        required: [value, valueIdentifier]
                    kvnr:
                      match: {name: kvnr}
                      schema:
                        type: BackboneElement
                        mustSupport: true
                        _required: true
                        index: 17
                        elements:
                          name:
                            mustSupport: true
                            pattern: {type: string, value: kvnr}
                            type: string
                            index: 18
                          value:
                            choices: [valueIdentifier]
                            index: 20
                          valueIdentifier: {type: Identifier, choiceOf: value, index: 21}
                          resource: {index: 22}
                          part: {index: 23}
                        required: [value, valueIdentifier]
                    practitionerRole:
                      match: {name: practitionerRole}
                      schema:
                        type: BackboneElement
                        mustSupport: true
                        _required: true
                        index: 53
                        elements:
                          name:
                            mustSupport: true
                            pattern: {type: string, value: practitionerRole}
                            type: string
                            index: 54
                          value:
                            choices: [valueCoding]
                            index: 56
                          valueCoding: {type: Coding, choiceOf: value, index: 57}
                          value[x]:
                            elements:
                              system: {mustSupport: true, index: 58}
                            required: [system]
                          resource: {index: 59}
                          part: {index: 60}
                        required: [value, valueCoding]
                    prescription-id:
                      match: {name: prescription-id}
                      schema:
                        type: BackboneElement
                        mustSupport: true
                        array: true
                        index: 39
                        elements:
                          name:
                            mustSupport: true
                            pattern: {type: string, value: prescription-id}
                            type: string
                            index: 40
                          value:
                            choices: [valueIdentifier]
                            index: 42
                          valueIdentifier: {type: Identifier, choiceOf: value, index: 43}
                          resource: {index: 44}
                          part: {index: 45}
                        required: [value, valueIdentifier]
                    practitionerName:
                      match: {name: practitionerName}
                      schema:
                        type: BackboneElement
                        mustSupport: true
                        _required: true
                        index: 46
                        elements:
                          name:
                            mustSupport: true
                            pattern: {type: string, value: practitionerName}
                            type: string
                            index: 47
                          value:
                            choices: [valueString]
                            index: 49
                          valueString: {type: string, choiceOf: value, index: 50}
                          resource: {index: 51}
                          part: {index: 52}
                        required: [value, valueString]
                    healthcare-facility-type:
                      match: {name: healthcare-facility-type}
                      schema:
                        type: BackboneElement
                        mustSupport: true
                        _required: true
                        index: 68
                        elements:
                          name:
                            mustSupport: true
                            pattern: {type: string, value: healthcare-facility-type}
                            type: string
                            index: 69
                          value:
                            choices: [valueCoding]
                            index: 71
                          valueCoding: {type: Coding, choiceOf: value, index: 72}
                          value[x]:
                            elements:
                              system: {mustSupport: true, index: 73}
                            required: [system]
                          resource: {index: 74}
                          part: {index: 75}
                        required: [value, valueCoding]
                    requesttype:
                      match: {name: requesttype}
                      schema:
                        type: BackboneElement
                        mustSupport: true
                        _required: true
                        index: 9
                        elements:
                          name:
                            mustSupport: true
                            pattern: {type: string, value: requesttype}
                            type: string
                            index: 10
                          value:
                            choices: [valueCoding]
                            index: 12
                          valueCoding: {type: Coding, choiceOf: value, index: 13}
                          value[x]:
                            elements:
                              system: {mustSupport: true, index: 14}
                            required: [system]
                          resource: {index: 15}
                          part: {index: 16}
                        required: [value, valueCoding]
                    pointOfCare:
                      match: {name: pointOfCare}
                      schema:
                        type: BackboneElement
                        mustSupport: true
                        _required: true
                        index: 61
                        elements:
                          name:
                            mustSupport: true
                            pattern: {type: string, value: pointOfCare}
                            type: string
                            index: 62
                          value:
                            choices: [valueString]
                            index: 64
                          valueString: {type: string, choiceOf: value, index: 65}
                          resource: {index: 66}
                          part: {index: 67}
                        required: [value, valueString]
                    countryCode:
                      match: {name: countryCode}
                      schema:
                        type: BackboneElement
                        mustSupport: true
                        _required: true
                        index: 31
                        elements:
                          name:
                            mustSupport: true
                            pattern: {type: string, value: countryCode}
                            type: string
                            index: 32
                          value:
                            choices: [valueCoding]
                            index: 34
                          valueCoding: {type: Coding, choiceOf: value, index: 35}
                          value[x]:
                            elements:
                              system:
                                pattern: {type: uri, value: 'urn:iso:std:iso:3166'}
                                type: uri
                                index: 36
                            required: [system]
                          resource: {index: 37}
                          part: {index: 38}
                        required: [value, valueCoding]
package_version: 1.0.0-rc1
class: profile
kind: resource
url: https://gematik.de/fhir/erp-eu/StructureDefinition/GEM_ERPEU_PR_PAR_GET_Prescription_Input
base: http://hl7.org/fhir/StructureDefinition/Parameters
version: '1.0'
required: [meta, parameter]