PackagesCanonicalsLogsProblems
    Packages
    de.gematik.dev.epa.medication@1.1.0-alpha.4
    https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-add-amts-allergy-intolerance-out-parameters
description: EPA Operation Add AAMTS-rZI Allergy Intolerance Output-Parameters
package_name: de.gematik.dev.epa.medication
derivation: constraint
name: EPAOpAddAMTSAllergyIntoleranceOutParameters
type: Parameters
elements:
  parameter:
    index: 0
    slicing:
      rules: closed
      discriminator:
      - {path: name, type: pattern}
      min: 1
      slices:
        allergyIntolerance:
          match: {name: allergyIntolerance}
          schema:
            array: true
            min: 1
            _required: true
            index: 1
            elements:
              name:
                mustSupport: true
                pattern: {type: String, value: allergyIntolerance}
                index: 2
              part:
                mustSupport: true
                array: true
                min: 1
                max: 2
                index: 3
                slicing:
                  rules: closed
                  discriminator:
                  - {path: name, type: pattern}
                  min: 1
                  max: 2
                  slices:
                    allergyIntolerance:
                      match: {name: allergyIntolerance}
                      schema:
                        type: BackboneElement
                        index: 4
                        elements:
                          name:
                            pattern: {type: String, value: allergyIntolerance}
                            index: 5
                          value:
                            choices: []
                            index: 7
                          resource: {type: AllergyIntolerance, index: 8}
                          part: {index: 9}
                        required: [resource]
                    operationOutcome:
                      match: {name: operationOutcome}
                      schema:
                        type: BackboneElement
                        _required: true
                        index: 10
                        elements:
                          name:
                            mustSupport: true
                            pattern: {type: String, value: operationOutcome}
                            index: 11
                          value:
                            choices: []
                            index: 13
                          resource: {type: OperationOutcome, index: 14}
                          part: {index: 15}
                        required: [resource]
            required: [part]
package_version: 1.1.0-alpha.4
class: profile
kind: resource
url: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-add-amts-allergy-intolerance-out-parameters
base: http://hl7.org/fhir/StructureDefinition/Parameters
version: 1.0.2-rc1
required: [parameter]