PackagesCanonicalsLogsProblems
    Packages
    de.abda.eRezeptAbgabedaten@1.0.0
    http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Zusatzattribute
description: null
package_name: de.abda.eRezeptAbgabedaten
derivation: constraint
name: DAV_EX_ERP_Zusatzattribute
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        ZusatzattributWunscharzneimittel:
          match: {url: ZusatzattributWunscharzneimittel}
          schema:
            short: Dokumentation, dass ein Wunscharzneimittel gemäß § 15 des Rahmenvertrags nach § 129 SGB V abgegeben wurde.
            mustSupport: true
            index: 96
            extensions:
              Gruppe:
                url: Gruppe
                _required: true
                index: 98
                elements:
                  url:
                    pattern: {type: Uri, value: Gruppe}
                    index: 99
                  value:
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '6', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                    choices: [valueCodeableConcept]
                    index: 101
                  valueCodeableConcept:
                    type: CodeableConcept
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '6', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                    choiceOf: value
                    index: 102
                required: [value, valueCodeableConcept]
              Schluessel:
                url: Schluessel
                _required: true
                index: 103
                elements:
                  url:
                    pattern: {type: Uri, value: Schluessel}
                    index: 104
                  value:
                    pattern: {type: Boolean, value: true}
                    choices: [valueBoolean]
                    index: 106
                  valueBoolean:
                    type: boolean
                    pattern: {type: Boolean, value: true}
                    choiceOf: value
                    index: 107
                required: [value, valueBoolean]
            elements:
              extension:
                index: 97
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    Gruppe:
                      match: {url: Gruppe}
                      schema:
                        _required: true
                        index: 98
                        elements:
                          url:
                            pattern: {type: Uri, value: Gruppe}
                            index: 99
                          value:
                            pattern:
                              type: CodeableConcept
                              value:
                                coding:
                                - {code: '6', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                            choices: [valueCodeableConcept]
                            index: 101
                          valueCodeableConcept:
                            type: CodeableConcept
                            pattern:
                              type: CodeableConcept
                              value:
                                coding:
                                - {code: '6', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                            choiceOf: value
                            index: 102
                        required: [value, valueCodeableConcept]
                    Schluessel:
                      match: {url: Schluessel}
                      schema:
                        _required: true
                        index: 103
                        elements:
                          url:
                            pattern: {type: Uri, value: Schluessel}
                            index: 104
                          value:
                            pattern: {type: Boolean, value: true}
                            choices: [valueBoolean]
                            index: 106
                          valueBoolean:
                            type: boolean
                            pattern: {type: Boolean, value: true}
                            choiceOf: value
                            index: 107
                        required: [value, valueBoolean]
              url:
                pattern: {type: Uri, value: ZusatzattributWunscharzneimittel}
                index: 108
              value:
                choices: []
                index: 110
        ZusatzattributEinzelimportierteFAM:
          match: {url: ZusatzattributEinzelimportierteFAM}
          schema:
            short: Dokumentation, dass ein einzeln importiertes Fertigarzneimittel nach § 73 Abs. 3 AMG abgegeben wurde.
            mustSupport: true
            index: 156
            extensions:
              Gruppe:
                url: Gruppe
                _required: true
                index: 158
                elements:
                  url:
                    pattern: {type: Uri, value: Gruppe}
                    index: 159
                  value:
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '10', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                    choices: [valueCodeableConcept]
                    index: 161
                  valueCodeableConcept:
                    type: CodeableConcept
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '10', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                    choiceOf: value
                    index: 162
                required: [value, valueCodeableConcept]
              Schluessel:
                url: Schluessel
                _required: true
                index: 163
                elements:
                  url:
                    pattern: {type: Uri, value: Schluessel}
                    index: 164
                  value:
                    pattern: {type: Boolean, value: true}
                    choices: [valueBoolean]
                    index: 166
                  valueBoolean:
                    type: boolean
                    pattern: {type: Boolean, value: true}
                    choiceOf: value
                    index: 167
                required: [value, valueBoolean]
              DokumentationFreitext:
                url: DokumentationFreitext
                short: Dokumentation Apotheke
                _required: true
                index: 168
                elements:
                  url:
                    pattern: {type: Uri, value: DokumentationFreitext}
                    index: 169
                  value:
                    maxLength: 1000
                    choices: [valueString]
                    index: 171
                  valueString: {type: string, maxLength: 1000, choiceOf: value, index: 172}
                required: [valueString, value]
            elements:
              extension:
                index: 157
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    Gruppe:
                      match: {url: Gruppe}
                      schema:
                        _required: true
                        index: 158
                        elements:
                          url:
                            pattern: {type: Uri, value: Gruppe}
                            index: 159
                          value:
                            pattern:
                              type: CodeableConcept
                              value:
                                coding:
                                - {code: '10', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                            choices: [valueCodeableConcept]
                            index: 161
                          valueCodeableConcept:
                            type: CodeableConcept
                            pattern:
                              type: CodeableConcept
                              value:
                                coding:
                                - {code: '10', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                            choiceOf: value
                            index: 162
                        required: [value, valueCodeableConcept]
                    Schluessel:
                      match: {url: Schluessel}
                      schema:
                        _required: true
                        index: 163
                        elements:
                          url:
                            pattern: {type: Uri, value: Schluessel}
                            index: 164
                          value:
                            pattern: {type: Boolean, value: true}
                            choices: [valueBoolean]
                            index: 166
                          valueBoolean:
                            type: boolean
                            pattern: {type: Boolean, value: true}
                            choiceOf: value
                            index: 167
                        required: [value, valueBoolean]
                    DokumentationFreitext:
                      match: {url: DokumentationFreitext}
                      schema:
                        short: Dokumentation Apotheke
                        _required: true
                        index: 168
                        elements:
                          url:
                            pattern: {type: Uri, value: DokumentationFreitext}
                            index: 169
                          value:
                            maxLength: 1000
                            choices: [valueString]
                            index: 171
                          valueString: {type: string, maxLength: 1000, choiceOf: value, index: 172}
                        required: [valueString, value]
              url:
                pattern: {type: Uri, value: ZusatzattributEinzelimportierteFAM}
                index: 173
              value:
                choices: []
                index: 175
        ZusatzattributAbgabeNoctu:
          match: {url: ZusatzattributAbgabeNoctu}
          schema:
            short: Dokumentation, dass die Abgabe im Notdienst erfolgt ist.
            mustSupport: true
            index: 176
            extensions:
              DatumUhrzeit:
                url: DatumUhrzeit
                short: Datum und Uhrzeit der Inanspruchnahme des Notdienstes
                _required: true
                index: 178
                elements:
                  url:
                    pattern: {type: Uri, value: DatumUhrzeit}
                    index: 179
                  value:
                    choices: [valueDateTime]
                    index: 181
                  valueDateTime: {type: dateTime, choiceOf: value, index: 182}
                required: [valueDateTime, value]
              Gruppe:
                url: Gruppe
                _required: true
                index: 183
                elements:
                  url:
                    pattern: {type: Uri, value: Gruppe}
                    index: 184
                  value:
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '11', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                    choices: [valueCodeableConcept]
                    index: 186
                  valueCodeableConcept:
                    type: CodeableConcept
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '11', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                    choiceOf: value
                    index: 187
                required: [value, valueCodeableConcept]
              Schluessel:
                url: Schluessel
                _required: true
                index: 188
                elements:
                  url:
                    pattern: {type: Uri, value: Schluessel}
                    index: 189
                  value:
                    pattern: {type: Boolean, value: true}
                    choices: [valueBoolean]
                    index: 191
                  valueBoolean:
                    type: boolean
                    pattern: {type: Boolean, value: true}
                    choiceOf: value
                    index: 192
                required: [value, valueBoolean]
            elements:
              extension:
                index: 177
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    DatumUhrzeit:
                      match: {url: DatumUhrzeit}
                      schema:
                        short: Datum und Uhrzeit der Inanspruchnahme des Notdienstes
                        _required: true
                        index: 178
                        elements:
                          url:
                            pattern: {type: Uri, value: DatumUhrzeit}
                            index: 179
                          value:
                            choices: [valueDateTime]
                            index: 181
                          valueDateTime: {type: dateTime, choiceOf: value, index: 182}
                        required: [valueDateTime, value]
                    Gruppe:
                      match: {url: Gruppe}
                      schema:
                        _required: true
                        index: 183
                        elements:
                          url:
                            pattern: {type: Uri, value: Gruppe}
                            index: 184
                          value:
                            pattern:
                              type: CodeableConcept
                              value:
                                coding:
                                - {code: '11', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                            choices: [valueCodeableConcept]
                            index: 186
                          valueCodeableConcept:
                            type: CodeableConcept
                            pattern:
                              type: CodeableConcept
                              value:
                                coding:
                                - {code: '11', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                            choiceOf: value
                            index: 187
                        required: [value, valueCodeableConcept]
                    Schluessel:
                      match: {url: Schluessel}
                      schema:
                        _required: true
                        index: 188
                        elements:
                          url:
                            pattern: {type: Uri, value: Schluessel}
                            index: 189
                          value:
                            pattern: {type: Boolean, value: true}
                            choices: [valueBoolean]
                            index: 191
                          valueBoolean:
                            type: boolean
                            pattern: {type: Boolean, value: true}
                            choiceOf: value
                            index: 192
                        required: [value, valueBoolean]
              url:
                pattern: {type: Uri, value: ZusatzattributAbgabeNoctu}
                index: 193
              value:
                choices: []
                index: 195
        ZusatzattributZusaetzlicheAbgabeangaben:
          match: {url: ZusatzattributZusaetzlicheAbgabeangaben}
          schema:
            short: Dokumentation zusätzlicher Angaben zur Abgabe
            mustSupport: true
            index: 196
            extensions:
              Gruppe:
                url: Gruppe
                _required: true
                index: 198
                elements:
                  url:
                    pattern: {type: Uri, value: Gruppe}
                    index: 199
                  value:
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '12', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                    choices: [valueCodeableConcept]
                    index: 201
                  valueCodeableConcept:
                    type: CodeableConcept
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '12', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                    choiceOf: value
                    index: 202
                required: [value, valueCodeableConcept]
              Schluessel:
                url: Schluessel
                _required: true
                index: 203
                elements:
                  url:
                    pattern: {type: Uri, value: Schluessel}
                    index: 204
                  value:
                    pattern: {type: Boolean, value: true}
                    choices: [valueBoolean]
                    index: 206
                  valueBoolean:
                    type: boolean
                    pattern: {type: Boolean, value: true}
                    choiceOf: value
                    index: 207
                required: [value, valueBoolean]
              DokumentationFreitext:
                url: DokumentationFreitext
                short: Dokumentation Apotheke
                _required: true
                index: 208
                elements:
                  url:
                    pattern: {type: Uri, value: DokumentationFreitext}
                    index: 209
                  value:
                    choices: [valueString]
                    index: 211
                  valueString: {type: string, choiceOf: value, index: 212}
                required: [valueString, value]
            elements:
              extension:
                index: 197
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    Gruppe:
                      match: {url: Gruppe}
                      schema:
                        _required: true
                        index: 198
                        elements:
                          url:
                            pattern: {type: Uri, value: Gruppe}
                            index: 199
                          value:
                            pattern:
                              type: CodeableConcept
                              value:
                                coding:
                                - {code: '12', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                            choices: [valueCodeableConcept]
                            index: 201
                          valueCodeableConcept:
                            type: CodeableConcept
                            pattern:
                              type: CodeableConcept
                              value:
                                coding:
                                - {code: '12', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                            choiceOf: value
                            index: 202
                        required: [value, valueCodeableConcept]
                    Schluessel:
                      match: {url: Schluessel}
                      schema:
                        _required: true
                        index: 203
                        elements:
                          url:
                            pattern: {type: Uri, value: Schluessel}
                            index: 204
                          value:
                            pattern: {type: Boolean, value: true}
                            choices: [valueBoolean]
                            index: 206
                          valueBoolean:
                            type: boolean
                            pattern: {type: Boolean, value: true}
                            choiceOf: value
                            index: 207
                        required: [value, valueBoolean]
                    DokumentationFreitext:
                      match: {url: DokumentationFreitext}
                      schema:
                        short: Dokumentation Apotheke
                        _required: true
                        index: 208
                        elements:
                          url:
                            pattern: {type: Uri, value: DokumentationFreitext}
                            index: 209
                          value:
                            choices: [valueString]
                            index: 211
                          valueString: {type: string, choiceOf: value, index: 212}
                        required: [valueString, value]
              url:
                pattern: {type: Uri, value: ZusatzattributZusaetzlicheAbgabeangaben}
                index: 213
              value:
                choices: []
                index: 215
        ZusatzattributMehrkostenuebernahme:
          match: {url: ZusatzattributMehrkostenuebernahme}
          schema:
            short: Dokumentation, dass die Mehrkosten (Apothekenverkaufspreis minus Festbetrag) durch die Krankenkasse zu tragen sind.
            mustSupport: true
            index: 81
            extensions:
              Gruppe:
                url: Gruppe
                _required: true
                index: 83
                elements:
                  url:
                    pattern: {type: Uri, value: Gruppe}
                    index: 84
                  value:
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '5', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                    choices: [valueCodeableConcept]
                    index: 86
                  valueCodeableConcept:
                    type: CodeableConcept
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '5', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                    choiceOf: value
                    index: 87
                required: [value, valueCodeableConcept]
              Schluessel:
                url: Schluessel
                _required: true
                index: 88
                elements:
                  url:
                    pattern: {type: Uri, value: Schluessel}
                    index: 89
                  value:
                    choices: [valueCodeableConcept]
                    index: 91
                  valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 92}
                required: [value, valueCodeableConcept]
            elements:
              extension:
                index: 82
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    Gruppe:
                      match: {url: Gruppe}
                      schema:
                        _required: true
                        index: 83
                        elements:
                          url:
                            pattern: {type: Uri, value: Gruppe}
                            index: 84
                          value:
                            pattern:
                              type: CodeableConcept
                              value:
                                coding:
                                - {code: '5', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                            choices: [valueCodeableConcept]
                            index: 86
                          valueCodeableConcept:
                            type: CodeableConcept
                            pattern:
                              type: CodeableConcept
                              value:
                                coding:
                                - {code: '5', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                            choiceOf: value
                            index: 87
                        required: [value, valueCodeableConcept]
                    Schluessel:
                      match: {url: Schluessel}
                      schema:
                        _required: true
                        index: 88
                        elements:
                          url:
                            pattern: {type: Uri, value: Schluessel}
                            index: 89
                          value:
                            choices: [valueCodeableConcept]
                            index: 91
                          valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 92}
                        required: [value, valueCodeableConcept]
              url:
                pattern: {type: Uri, value: ZusatzattributMehrkostenuebernahme}
                index: 93
              value:
                choices: []
                index: 95
        ZusatzattributGruppeTarifkennzeichen:
          match: {url: ZusatzattributGruppeTarifkennzeichen}
          schema:
            short: Dokumentation zu besonderen bilateralen Preisvereinbarungen
            mustSupport: true
            index: 241
            extensions:
              Gruppe:
                url: Gruppe
                _required: true
                index: 243
                elements:
                  url:
                    pattern: {type: Uri, value: Gruppe}
                    index: 244
                  value:
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '14', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                    choices: [valueCodeableConcept]
                    index: 246
                  valueCodeableConcept:
                    type: CodeableConcept
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '14', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                    choiceOf: value
                    index: 247
                required: [value, valueCodeableConcept]
              Schluessel:
                url: Schluessel
                _required: true
                index: 248
                elements:
                  url:
                    pattern: {type: Uri, value: Schluessel}
                    index: 249
                  value:
                    pattern: {type: Boolean, value: true}
                    choices: [valueBoolean]
                    index: 251
                  valueBoolean:
                    type: boolean
                    pattern: {type: Boolean, value: true}
                    choiceOf: value
                    index: 252
                required: [value, valueBoolean]
              Tarifkennzeichen:
                url: Tarifkennzeichen
                short: Tarifkennzeichen
                _required: true
                index: 253
                elements:
                  url:
                    pattern: {type: Uri, value: Tarifkennzeichen}
                    index: 254
                  value:
                    choices: [valueCodeableConcept]
                    index: 256
                  valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 257}
                required: [value, valueCodeableConcept]
              KennzeichenSondertarif:
                url: KennzeichenSondertarif
                short: Kennzeichen für Sondertarif
                _required: true
                index: 258
                elements:
                  url:
                    pattern: {type: Uri, value: KennzeichenSondertarif}
                    index: 259
                  value:
                    constraint:
                      EX-Zusatzattribute-1: {human: KennzeichenSondertarif ist immer 3-stellig, source: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Zusatzattribute', severity: error, expression: 'matches(''^\\d{3}$'')'}
                    choices: [valueString]
                    index: 261
                  valueString:
                    type: string
                    constraint:
                      EX-Zusatzattribute-1: {human: KennzeichenSondertarif ist immer 3-stellig, source: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Zusatzattribute', severity: error, expression: 'matches(''^\\d{3}$'')'}
                    choiceOf: value
                    index: 262
                required: [valueString, value]
            elements:
              extension:
                index: 242
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    Gruppe:
                      match: {url: Gruppe}
                      schema:
                        _required: true
                        index: 243
                        elements:
                          url:
                            pattern: {type: Uri, value: Gruppe}
                            index: 244
                          value:
                            pattern:
                              type: CodeableConcept
                              value:
                                coding:
                                - {code: '14', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                            choices: [valueCodeableConcept]
                            index: 246
                          valueCodeableConcept:
                            type: CodeableConcept
                            pattern:
                              type: CodeableConcept
                              value:
                                coding:
                                - {code: '14', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                            choiceOf: value
                            index: 247
                        required: [value, valueCodeableConcept]
                    Schluessel:
                      match: {url: Schluessel}
                      schema:
                        _required: true
                        index: 248
                        elements:
                          url:
                            pattern: {type: Uri, value: Schluessel}
                            index: 249
                          value:
                            pattern: {type: Boolean, value: true}
                            choices: [valueBoolean]
                            index: 251
                          valueBoolean:
                            type: boolean
                            pattern: {type: Boolean, value: true}
                            choiceOf: value
                            index: 252
                        required: [value, valueBoolean]
                    Tarifkennzeichen:
                      match: {url: Tarifkennzeichen}
                      schema:
                        short: Tarifkennzeichen
                        _required: true
                        index: 253
                        elements:
                          url:
                            pattern: {type: Uri, value: Tarifkennzeichen}
                            index: 254
                          value:
                            choices: [valueCodeableConcept]
                            index: 256
                          valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 257}
                        required: [value, valueCodeableConcept]
                    KennzeichenSondertarif:
                      match: {url: KennzeichenSondertarif}
                      schema:
                        short: Kennzeichen für Sondertarif
                        _required: true
                        index: 258
                        elements:
                          url:
                            pattern: {type: Uri, value: KennzeichenSondertarif}
                            index: 259
                          value:
                            constraint:
                              EX-Zusatzattribute-1: {human: KennzeichenSondertarif ist immer 3-stellig, source: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Zusatzattribute', severity: error, expression: 'matches(''^\\d{3}$'')'}
                            choices: [valueString]
                            index: 261
                          valueString:
                            type: string
                            constraint:
                              EX-Zusatzattribute-1: {human: KennzeichenSondertarif ist immer 3-stellig, source: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Zusatzattribute', severity: error, expression: 'matches(''^\\d{3}$'')'}
                            choiceOf: value
                            index: 262
                        required: [valueString, value]
              url:
                pattern: {type: Uri, value: ZusatzattributGruppeTarifkennzeichen}
                index: 263
              value:
                choices: []
                index: 265
        ZusatzattributErsatzverordnung:
          match: {url: ZusatzattributErsatzverordnung}
          schema:
            short: Dokumentation, dass die Abgabe aufgrund einer Ersatzverordnung nach § 31 Absatz 3 Satz 7 SGB V erfolgt ist.
            mustSupport: true
            index: 126
            extensions:
              Gruppe:
                url: Gruppe
                _required: true
                index: 128
                elements:
                  url:
                    pattern: {type: Uri, value: Gruppe}
                    index: 129
                  value:
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '8', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                    choices: [valueCodeableConcept]
                    index: 131
                  valueCodeableConcept:
                    type: CodeableConcept
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '8', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                    choiceOf: value
                    index: 132
                required: [value, valueCodeableConcept]
              Schluessel:
                url: Schluessel
                _required: true
                index: 133
                elements:
                  url:
                    pattern: {type: Uri, value: Schluessel}
                    index: 134
                  value:
                    pattern: {type: Boolean, value: true}
                    choices: [valueBoolean]
                    index: 136
                  valueBoolean:
                    type: boolean
                    pattern: {type: Boolean, value: true}
                    choiceOf: value
                    index: 137
                required: [value, valueBoolean]
            elements:
              extension:
                index: 127
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    Gruppe:
                      match: {url: Gruppe}
                      schema:
                        _required: true
                        index: 128
                        elements:
                          url:
                            pattern: {type: Uri, value: Gruppe}
                            index: 129
                          value:
                            pattern:
                              type: CodeableConcept
                              value:
                                coding:
                                - {code: '8', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                            choices: [valueCodeableConcept]
                            index: 131
                          valueCodeableConcept:
                            type: CodeableConcept
                            pattern:
                              type: CodeableConcept
                              value:
                                coding:
                                - {code: '8', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                            choiceOf: value
                            index: 132
                        required: [value, valueCodeableConcept]
                    Schluessel:
                      match: {url: Schluessel}
                      schema:
                        _required: true
                        index: 133
                        elements:
                          url:
                            pattern: {type: Uri, value: Schluessel}
                            index: 134
                          value:
                            pattern: {type: Boolean, value: true}
                            choices: [valueBoolean]
                            index: 136
                          valueBoolean:
                            type: boolean
                            pattern: {type: Boolean, value: true}
                            choiceOf: value
                            index: 137
                        required: [value, valueBoolean]
              url:
                pattern: {type: Uri, value: ZusatzattributErsatzverordnung}
                index: 138
              value:
                choices: []
                index: 140
        ZusatzattributKuenstlicheBefruchtung:
          match: {url: ZusatzattributKuenstlicheBefruchtung}
          schema:
            short: Dokumentation, dass die Abgabe aufgrund einer Verordnung zur künstlichen Befruchtung erfolgt ist.
            mustSupport: true
            index: 141
            extensions:
              Gruppe:
                url: Gruppe
                _required: true
                index: 143
                elements:
                  url:
                    pattern: {type: Uri, value: Gruppe}
                    index: 144
                  value:
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '9', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                    choices: [valueCodeableConcept]
                    index: 146
                  valueCodeableConcept:
                    type: CodeableConcept
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '9', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                    choiceOf: value
                    index: 147
                required: [value, valueCodeableConcept]
              Schluessel:
                url: Schluessel
                _required: true
                index: 148
                elements:
                  url:
                    pattern: {type: Uri, value: Schluessel}
                    index: 149
                  value:
                    pattern: {type: Boolean, value: true}
                    choices: [valueBoolean]
                    index: 151
                  valueBoolean:
                    type: boolean
                    pattern: {type: Boolean, value: true}
                    choiceOf: value
                    index: 152
                required: [value, valueBoolean]
            elements:
              extension:
                index: 142
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    Gruppe:
                      match: {url: Gruppe}
                      schema:
                        _required: true
                        index: 143
                        elements:
                          url:
                            pattern: {type: Uri, value: Gruppe}
                            index: 144
                          value:
                            pattern:
                              type: CodeableConcept
                              value:
                                coding:
                                - {code: '9', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                            choices: [valueCodeableConcept]
                            index: 146
                          valueCodeableConcept:
                            type: CodeableConcept
                            pattern:
                              type: CodeableConcept
                              value:
                                coding:
                                - {code: '9', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                            choiceOf: value
                            index: 147
                        required: [value, valueCodeableConcept]
                    Schluessel:
                      match: {url: Schluessel}
                      schema:
                        _required: true
                        index: 148
                        elements:
                          url:
                            pattern: {type: Uri, value: Schluessel}
                            index: 149
                          value:
                            pattern: {type: Boolean, value: true}
                            choices: [valueBoolean]
                            index: 151
                          valueBoolean:
                            type: boolean
                            pattern: {type: Boolean, value: true}
                            choiceOf: value
                            index: 152
                        required: [value, valueBoolean]
              url:
                pattern: {type: Uri, value: ZusatzattributKuenstlicheBefruchtung}
                index: 153
              value:
                choices: []
                index: 155
        ZusatzattributWirkstoffverordnung:
          match: {url: ZusatzattributWirkstoffverordnung}
          schema:
            short: Dokumentation, dass die Abgabe aufgrund einer Wirkstoffverordnung erfolgt ist.
            mustSupport: true
            index: 111
            extensions:
              Gruppe:
                url: Gruppe
                _required: true
                index: 113
                elements:
                  url:
                    pattern: {type: Uri, value: Gruppe}
                    index: 114
                  value:
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '7', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                    choices: [valueCodeableConcept]
                    index: 116
                  valueCodeableConcept:
                    type: CodeableConcept
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '7', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                    choiceOf: value
                    index: 117
                required: [value, valueCodeableConcept]
              Schluessel:
                url: Schluessel
                _required: true
                index: 118
                elements:
                  url:
                    pattern: {type: Uri, value: Schluessel}
                    index: 119
                  value:
                    pattern: {type: Boolean, value: true}
                    choices: [valueBoolean]
                    index: 121
                  valueBoolean:
                    type: boolean
                    pattern: {type: Boolean, value: true}
                    choiceOf: value
                    index: 122
                required: [value, valueBoolean]
            elements:
              extension:
                index: 112
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    Gruppe:
                      match: {url: Gruppe}
                      schema:
                        _required: true
                        index: 113
                        elements:
                          url:
                            pattern: {type: Uri, value: Gruppe}
                            index: 114
                          value:
                            pattern:
                              type: CodeableConcept
                              value:
                                coding:
                                - {code: '7', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                            choices: [valueCodeableConcept]
                            index: 116
                          valueCodeableConcept:
                            type: CodeableConcept
                            pattern:
                              type: CodeableConcept
                              value:
                                coding:
                                - {code: '7', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                            choiceOf: value
                            index: 117
                        required: [value, valueCodeableConcept]
                    Schluessel:
                      match: {url: Schluessel}
                      schema:
                        _required: true
                        index: 118
                        elements:
                          url:
                            pattern: {type: Uri, value: Schluessel}
                            index: 119
                          value:
                            pattern: {type: Boolean, value: true}
                            choices: [valueBoolean]
                            index: 121
                          valueBoolean:
                            type: boolean
                            pattern: {type: Boolean, value: true}
                            choiceOf: value
                            index: 122
                        required: [value, valueBoolean]
              url:
                pattern: {type: Uri, value: ZusatzattributWirkstoffverordnung}
                index: 123
              value:
                choices: []
                index: 125
        ZusatzattributFAM:
          match: {url: ZusatzattributFAM}
          schema:
            short: Zusatzattribute Fertigarzneimittel
            mustSupport: true
            index: 1
            extensions:
              Markt:
                url: Markt
                short: Dokumentation, welchem Markt das abgegebene Arzneimittel zuzuordnen ist.
                _required: true
                index: 3
                extensions:
                  Gruppe:
                    url: Gruppe
                    _required: true
                    index: 5
                    elements:
                      url:
                        pattern: {type: Uri, value: Gruppe}
                        index: 6
                      value:
                        pattern:
                          type: CodeableConcept
                          value:
                            coding:
                            - {code: '1', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                        choices: [valueCodeableConcept]
                        index: 8
                      valueCodeableConcept:
                        type: CodeableConcept
                        pattern:
                          type: CodeableConcept
                          value:
                            coding:
                            - {code: '1', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                        choiceOf: value
                        index: 9
                    required: [value, valueCodeableConcept]
                  Schluessel:
                    url: Schluessel
                    _required: true
                    index: 10
                    elements:
                      url:
                        pattern: {type: Uri, value: Schluessel}
                        index: 11
                      value:
                        choices: [valueCodeableConcept]
                        index: 13
                      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 14}
                    required: [value, valueCodeableConcept]
                elements:
                  extension:
                    index: 4
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        Gruppe:
                          match: {url: Gruppe}
                          schema:
                            _required: true
                            index: 5
                            elements:
                              url:
                                pattern: {type: Uri, value: Gruppe}
                                index: 6
                              value:
                                pattern:
                                  type: CodeableConcept
                                  value:
                                    coding:
                                    - {code: '1', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                                choices: [valueCodeableConcept]
                                index: 8
                              valueCodeableConcept:
                                type: CodeableConcept
                                pattern:
                                  type: CodeableConcept
                                  value:
                                    coding:
                                    - {code: '1', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                                choiceOf: value
                                index: 9
                            required: [value, valueCodeableConcept]
                        Schluessel:
                          match: {url: Schluessel}
                          schema:
                            _required: true
                            index: 10
                            elements:
                              url:
                                pattern: {type: Uri, value: Schluessel}
                                index: 11
                              value:
                                choices: [valueCodeableConcept]
                                index: 13
                              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 14}
                            required: [value, valueCodeableConcept]
                  url:
                    pattern: {type: Uri, value: Markt}
                    index: 15
                  value:
                    choices: []
                    index: 17
              Rabattvertragserfuellung:
                url: Rabattvertragserfuellung
                short: Dokumentation, ob beim abgegebenen Arzneimittel ein Rabattvertrag eingehalten wurde.
                constraint:
                  Rabattvertragserfuellung-1: {human: DokumentationFreitext Pflichtangabe bei Schlüssel = 4, source: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Zusatzattribute', severity: error, expression: extension('Schluessel').valueCodeableConcept.coding.code.matches('4') implies (extension('DokumentationFreitext').valueString.length() > 0)}
                _required: true
                index: 18
                extensions:
                  Gruppe:
                    url: Gruppe
                    _required: true
                    index: 20
                    elements:
                      url:
                        pattern: {type: Uri, value: Gruppe}
                        index: 21
                      value:
                        pattern:
                          type: CodeableConcept
                          value:
                            coding:
                            - {code: '2', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                        choices: [valueCodeableConcept]
                        index: 23
                      valueCodeableConcept:
                        type: CodeableConcept
                        pattern:
                          type: CodeableConcept
                          value:
                            coding:
                            - {code: '2', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                        choiceOf: value
                        index: 24
                    required: [value, valueCodeableConcept]
                  Schluessel:
                    url: Schluessel
                    _required: true
                    index: 25
                    elements:
                      url:
                        pattern: {type: Uri, value: Schluessel}
                        index: 26
                      value:
                        choices: [valueCodeableConcept]
                        index: 28
                      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 29}
                    required: [value, valueCodeableConcept]
                  DokumentationFreitext:
                    url: DokumentationFreitext
                    short: Dokumentation Apotheke
                    index: 30
                    elements:
                      url:
                        pattern: {type: Uri, value: DokumentationFreitext}
                        index: 31
                      value:
                        choices: [valueString]
                        index: 33
                      valueString: {type: string, choiceOf: value, index: 34}
                    required: [valueString, value]
                elements:
                  extension:
                    index: 19
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        Gruppe:
                          match: {url: Gruppe}
                          schema:
                            _required: true
                            index: 20
                            elements:
                              url:
                                pattern: {type: Uri, value: Gruppe}
                                index: 21
                              value:
                                pattern:
                                  type: CodeableConcept
                                  value:
                                    coding:
                                    - {code: '2', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                                choices: [valueCodeableConcept]
                                index: 23
                              valueCodeableConcept:
                                type: CodeableConcept
                                pattern:
                                  type: CodeableConcept
                                  value:
                                    coding:
                                    - {code: '2', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                                choiceOf: value
                                index: 24
                            required: [value, valueCodeableConcept]
                        Schluessel:
                          match: {url: Schluessel}
                          schema:
                            _required: true
                            index: 25
                            elements:
                              url:
                                pattern: {type: Uri, value: Schluessel}
                                index: 26
                              value:
                                choices: [valueCodeableConcept]
                                index: 28
                              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 29}
                            required: [value, valueCodeableConcept]
                        DokumentationFreitext:
                          match: {url: DokumentationFreitext}
                          schema:
                            short: Dokumentation Apotheke
                            index: 30
                            elements:
                              url:
                                pattern: {type: Uri, value: DokumentationFreitext}
                                index: 31
                              value:
                                choices: [valueString]
                                index: 33
                              valueString: {type: string, choiceOf: value, index: 34}
                            required: [valueString, value]
                  url:
                    pattern: {type: Uri, value: Rabattvertragserfuellung}
                    index: 35
                  value:
                    choices: []
                    index: 37
              PreisguenstigesFAM:
                url: PreisguenstigesFAM
                short: Dokumentation, ob ein preisguenstiges Arzneimittel nach den Vorgaben des Rahmenvertrags nach § 129 SGB V abgegeben wurde.
                constraint:
                  PreisguenstigesFAM-1: {human: DokumentationFreitext Pflichtangabe bei Schlüssel = 4, source: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Zusatzattribute', severity: error, expression: extension('Schluessel').valueCodeableConcept.coding.code.matches('4') implies (extension('DokumentationFreitext').valueString.length() > 0)}
                _required: true
                index: 38
                extensions:
                  Gruppe:
                    url: Gruppe
                    _required: true
                    index: 40
                    elements:
                      url:
                        pattern: {type: Uri, value: Gruppe}
                        index: 41
                      value:
                        pattern:
                          type: CodeableConcept
                          value:
                            coding:
                            - {code: '3', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                        choices: [valueCodeableConcept]
                        index: 43
                      valueCodeableConcept:
                        type: CodeableConcept
                        pattern:
                          type: CodeableConcept
                          value:
                            coding:
                            - {code: '3', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                        choiceOf: value
                        index: 44
                    required: [value, valueCodeableConcept]
                  Schluessel:
                    url: Schluessel
                    _required: true
                    index: 45
                    elements:
                      url:
                        pattern: {type: Uri, value: Schluessel}
                        index: 46
                      value:
                        choices: [valueCodeableConcept]
                        index: 48
                      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 49}
                    required: [value, valueCodeableConcept]
                  DokumentationFreitext:
                    url: DokumentationFreitext
                    short: Dokumentation Apotheke
                    index: 50
                    elements:
                      url:
                        pattern: {type: Uri, value: DokumentationFreitext}
                        index: 51
                      value:
                        choices: [valueString]
                        index: 53
                      valueString: {type: string, choiceOf: value, index: 54}
                    required: [valueString, value]
                elements:
                  extension:
                    index: 39
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        Gruppe:
                          match: {url: Gruppe}
                          schema:
                            _required: true
                            index: 40
                            elements:
                              url:
                                pattern: {type: Uri, value: Gruppe}
                                index: 41
                              value:
                                pattern:
                                  type: CodeableConcept
                                  value:
                                    coding:
                                    - {code: '3', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                                choices: [valueCodeableConcept]
                                index: 43
                              valueCodeableConcept:
                                type: CodeableConcept
                                pattern:
                                  type: CodeableConcept
                                  value:
                                    coding:
                                    - {code: '3', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                                choiceOf: value
                                index: 44
                            required: [value, valueCodeableConcept]
                        Schluessel:
                          match: {url: Schluessel}
                          schema:
                            _required: true
                            index: 45
                            elements:
                              url:
                                pattern: {type: Uri, value: Schluessel}
                                index: 46
                              value:
                                choices: [valueCodeableConcept]
                                index: 48
                              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 49}
                            required: [value, valueCodeableConcept]
                        DokumentationFreitext:
                          match: {url: DokumentationFreitext}
                          schema:
                            short: Dokumentation Apotheke
                            index: 50
                            elements:
                              url:
                                pattern: {type: Uri, value: DokumentationFreitext}
                                index: 51
                              value:
                                choices: [valueString]
                                index: 53
                              valueString: {type: string, choiceOf: value, index: 54}
                            required: [valueString, value]
                  url:
                    pattern: {type: Uri, value: PreisguenstigesFAM}
                    index: 55
                  value:
                    choices: []
                    index: 57
              ImportFAM:
                url: ImportFAM
                short: Dokumentation, ob ein Import-Arzneimittel im importrelevanten Markt gemäß Rahmenvertrag § 129 SGB V abgegeben wurde.
                constraint:
                  ImportFAM-1: {human: DokumentationFreitext Pflichtangabe bei Schlüssel = 4, source: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Zusatzattribute', severity: error, expression: extension('Schluessel').valueCodeableConcept.coding.code.matches('4') implies (extension('DokumentationFreitext').valueString.length() > 0)}
                _required: true
                index: 58
                extensions:
                  Gruppe:
                    url: Gruppe
                    _required: true
                    index: 60
                    elements:
                      url:
                        pattern: {type: Uri, value: Gruppe}
                        index: 61
                      value:
                        pattern:
                          type: CodeableConcept
                          value:
                            coding:
                            - {code: '4', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                        choices: [valueCodeableConcept]
                        index: 63
                      valueCodeableConcept:
                        type: CodeableConcept
                        pattern:
                          type: CodeableConcept
                          value:
                            coding:
                            - {code: '4', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                        choiceOf: value
                        index: 64
                    required: [value, valueCodeableConcept]
                  Schluessel:
                    url: Schluessel
                    _required: true
                    index: 65
                    elements:
                      url:
                        pattern: {type: Uri, value: Schluessel}
                        index: 66
                      value:
                        choices: [valueCodeableConcept]
                        index: 68
                      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 69}
                    required: [value, valueCodeableConcept]
                  DokumentationFreitext:
                    url: DokumentationFreitext
                    short: Dokumentation Apotheke
                    index: 70
                    elements:
                      url:
                        pattern: {type: Uri, value: DokumentationFreitext}
                        index: 71
                      value:
                        choices: [valueString]
                        index: 73
                      valueString: {type: string, choiceOf: value, index: 74}
                    required: [valueString, value]
                elements:
                  extension:
                    index: 59
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        Gruppe:
                          match: {url: Gruppe}
                          schema:
                            _required: true
                            index: 60
                            elements:
                              url:
                                pattern: {type: Uri, value: Gruppe}
                                index: 61
                              value:
                                pattern:
                                  type: CodeableConcept
                                  value:
                                    coding:
                                    - {code: '4', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                                choices: [valueCodeableConcept]
                                index: 63
                              valueCodeableConcept:
                                type: CodeableConcept
                                pattern:
                                  type: CodeableConcept
                                  value:
                                    coding:
                                    - {code: '4', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                                choiceOf: value
                                index: 64
                            required: [value, valueCodeableConcept]
                        Schluessel:
                          match: {url: Schluessel}
                          schema:
                            _required: true
                            index: 65
                            elements:
                              url:
                                pattern: {type: Uri, value: Schluessel}
                                index: 66
                              value:
                                choices: [valueCodeableConcept]
                                index: 68
                              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 69}
                            required: [value, valueCodeableConcept]
                        DokumentationFreitext:
                          match: {url: DokumentationFreitext}
                          schema:
                            short: Dokumentation Apotheke
                            index: 70
                            elements:
                              url:
                                pattern: {type: Uri, value: DokumentationFreitext}
                                index: 71
                              value:
                                choices: [valueString]
                                index: 73
                              valueString: {type: string, choiceOf: value, index: 74}
                            required: [valueString, value]
                  url:
                    pattern: {type: Uri, value: ImportFAM}
                    index: 75
                  value:
                    choices: []
                    index: 77
            elements:
              extension:
                index: 2
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    Markt:
                      match: {url: Markt}
                      schema:
                        short: Dokumentation, welchem Markt das abgegebene Arzneimittel zuzuordnen ist.
                        _required: true
                        index: 3
                        extensions:
                          Gruppe:
                            url: Gruppe
                            _required: true
                            index: 5
                            elements:
                              url:
                                pattern: {type: Uri, value: Gruppe}
                                index: 6
                              value:
                                pattern:
                                  type: CodeableConcept
                                  value:
                                    coding:
                                    - {code: '1', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                                choices: [valueCodeableConcept]
                                index: 8
                              valueCodeableConcept:
                                type: CodeableConcept
                                pattern:
                                  type: CodeableConcept
                                  value:
                                    coding:
                                    - {code: '1', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                                choiceOf: value
                                index: 9
                            required: [value, valueCodeableConcept]
                          Schluessel:
                            url: Schluessel
                            _required: true
                            index: 10
                            elements:
                              url:
                                pattern: {type: Uri, value: Schluessel}
                                index: 11
                              value:
                                choices: [valueCodeableConcept]
                                index: 13
                              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 14}
                            required: [value, valueCodeableConcept]
                        elements:
                          extension:
                            index: 4
                            slicing:
                              rules: open
                              discriminator:
                              - {path: url, type: value}
                              min: null
                              slices:
                                Gruppe:
                                  match: {url: Gruppe}
                                  schema:
                                    _required: true
                                    index: 5
                                    elements:
                                      url:
                                        pattern: {type: Uri, value: Gruppe}
                                        index: 6
                                      value:
                                        pattern:
                                          type: CodeableConcept
                                          value:
                                            coding:
                                            - {code: '1', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                                        choices: [valueCodeableConcept]
                                        index: 8
                                      valueCodeableConcept:
                                        type: CodeableConcept
                                        pattern:
                                          type: CodeableConcept
                                          value:
                                            coding:
                                            - {code: '1', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                                        choiceOf: value
                                        index: 9
                                    required: [value, valueCodeableConcept]
                                Schluessel:
                                  match: {url: Schluessel}
                                  schema:
                                    _required: true
                                    index: 10
                                    elements:
                                      url:
                                        pattern: {type: Uri, value: Schluessel}
                                        index: 11
                                      value:
                                        choices: [valueCodeableConcept]
                                        index: 13
                                      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 14}
                                    required: [value, valueCodeableConcept]
                          url:
                            pattern: {type: Uri, value: Markt}
                            index: 15
                          value:
                            choices: []
                            index: 17
                    Rabattvertragserfuellung:
                      match: {url: Rabattvertragserfuellung}
                      schema:
                        short: Dokumentation, ob beim abgegebenen Arzneimittel ein Rabattvertrag eingehalten wurde.
                        constraint:
                          Rabattvertragserfuellung-1: {human: DokumentationFreitext Pflichtangabe bei Schlüssel = 4, source: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Zusatzattribute', severity: error, expression: extension('Schluessel').valueCodeableConcept.coding.code.matches('4') implies (extension('DokumentationFreitext').valueString.length() > 0)}
                        _required: true
                        index: 18
                        extensions:
                          Gruppe:
                            url: Gruppe
                            _required: true
                            index: 20
                            elements:
                              url:
                                pattern: {type: Uri, value: Gruppe}
                                index: 21
                              value:
                                pattern:
                                  type: CodeableConcept
                                  value:
                                    coding:
                                    - {code: '2', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                                choices: [valueCodeableConcept]
                                index: 23
                              valueCodeableConcept:
                                type: CodeableConcept
                                pattern:
                                  type: CodeableConcept
                                  value:
                                    coding:
                                    - {code: '2', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                                choiceOf: value
                                index: 24
                            required: [value, valueCodeableConcept]
                          Schluessel:
                            url: Schluessel
                            _required: true
                            index: 25
                            elements:
                              url:
                                pattern: {type: Uri, value: Schluessel}
                                index: 26
                              value:
                                choices: [valueCodeableConcept]
                                index: 28
                              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 29}
                            required: [value, valueCodeableConcept]
                          DokumentationFreitext:
                            url: DokumentationFreitext
                            short: Dokumentation Apotheke
                            index: 30
                            elements:
                              url:
                                pattern: {type: Uri, value: DokumentationFreitext}
                                index: 31
                              value:
                                choices: [valueString]
                                index: 33
                              valueString: {type: string, choiceOf: value, index: 34}
                            required: [valueString, value]
                        elements:
                          extension:
                            index: 19
                            slicing:
                              rules: open
                              discriminator:
                              - {path: url, type: value}
                              min: null
                              slices:
                                Gruppe:
                                  match: {url: Gruppe}
                                  schema:
                                    _required: true
                                    index: 20
                                    elements:
                                      url:
                                        pattern: {type: Uri, value: Gruppe}
                                        index: 21
                                      value:
                                        pattern:
                                          type: CodeableConcept
                                          value:
                                            coding:
                                            - {code: '2', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                                        choices: [valueCodeableConcept]
                                        index: 23
                                      valueCodeableConcept:
                                        type: CodeableConcept
                                        pattern:
                                          type: CodeableConcept
                                          value:
                                            coding:
                                            - {code: '2', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                                        choiceOf: value
                                        index: 24
                                    required: [value, valueCodeableConcept]
                                Schluessel:
                                  match: {url: Schluessel}
                                  schema:
                                    _required: true
                                    index: 25
                                    elements:
                                      url:
                                        pattern: {type: Uri, value: Schluessel}
                                        index: 26
                                      value:
                                        choices: [valueCodeableConcept]
                                        index: 28
                                      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 29}
                                    required: [value, valueCodeableConcept]
                                DokumentationFreitext:
                                  match: {url: DokumentationFreitext}
                                  schema:
                                    short: Dokumentation Apotheke
                                    index: 30
                                    elements:
                                      url:
                                        pattern: {type: Uri, value: DokumentationFreitext}
                                        index: 31
                                      value:
                                        choices: [valueString]
                                        index: 33
                                      valueString: {type: string, choiceOf: value, index: 34}
                                    required: [valueString, value]
                          url:
                            pattern: {type: Uri, value: Rabattvertragserfuellung}
                            index: 35
                          value:
                            choices: []
                            index: 37
                    PreisguenstigesFAM:
                      match: {url: PreisguenstigesFAM}
                      schema:
                        short: Dokumentation, ob ein preisguenstiges Arzneimittel nach den Vorgaben des Rahmenvertrags nach § 129 SGB V abgegeben wurde.
                        constraint:
                          PreisguenstigesFAM-1: {human: DokumentationFreitext Pflichtangabe bei Schlüssel = 4, source: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Zusatzattribute', severity: error, expression: extension('Schluessel').valueCodeableConcept.coding.code.matches('4') implies (extension('DokumentationFreitext').valueString.length() > 0)}
                        _required: true
                        index: 38
                        extensions:
                          Gruppe:
                            url: Gruppe
                            _required: true
                            index: 40
                            elements:
                              url:
                                pattern: {type: Uri, value: Gruppe}
                                index: 41
                              value:
                                pattern:
                                  type: CodeableConcept
                                  value:
                                    coding:
                                    - {code: '3', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                                choices: [valueCodeableConcept]
                                index: 43
                              valueCodeableConcept:
                                type: CodeableConcept
                                pattern:
                                  type: CodeableConcept
                                  value:
                                    coding:
                                    - {code: '3', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                                choiceOf: value
                                index: 44
                            required: [value, valueCodeableConcept]
                          Schluessel:
                            url: Schluessel
                            _required: true
                            index: 45
                            elements:
                              url:
                                pattern: {type: Uri, value: Schluessel}
                                index: 46
                              value:
                                choices: [valueCodeableConcept]
                                index: 48
                              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 49}
                            required: [value, valueCodeableConcept]
                          DokumentationFreitext:
                            url: DokumentationFreitext
                            short: Dokumentation Apotheke
                            index: 50
                            elements:
                              url:
                                pattern: {type: Uri, value: DokumentationFreitext}
                                index: 51
                              value:
                                choices: [valueString]
                                index: 53
                              valueString: {type: string, choiceOf: value, index: 54}
                            required: [valueString, value]
                        elements:
                          extension:
                            index: 39
                            slicing:
                              rules: open
                              discriminator:
                              - {path: url, type: value}
                              min: null
                              slices:
                                Gruppe:
                                  match: {url: Gruppe}
                                  schema:
                                    _required: true
                                    index: 40
                                    elements:
                                      url:
                                        pattern: {type: Uri, value: Gruppe}
                                        index: 41
                                      value:
                                        pattern:
                                          type: CodeableConcept
                                          value:
                                            coding:
                                            - {code: '3', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                                        choices: [valueCodeableConcept]
                                        index: 43
                                      valueCodeableConcept:
                                        type: CodeableConcept
                                        pattern:
                                          type: CodeableConcept
                                          value:
                                            coding:
                                            - {code: '3', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                                        choiceOf: value
                                        index: 44
                                    required: [value, valueCodeableConcept]
                                Schluessel:
                                  match: {url: Schluessel}
                                  schema:
                                    _required: true
                                    index: 45
                                    elements:
                                      url:
                                        pattern: {type: Uri, value: Schluessel}
                                        index: 46
                                      value:
                                        choices: [valueCodeableConcept]
                                        index: 48
                                      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 49}
                                    required: [value, valueCodeableConcept]
                                DokumentationFreitext:
                                  match: {url: DokumentationFreitext}
                                  schema:
                                    short: Dokumentation Apotheke
                                    index: 50
                                    elements:
                                      url:
                                        pattern: {type: Uri, value: DokumentationFreitext}
                                        index: 51
                                      value:
                                        choices: [valueString]
                                        index: 53
                                      valueString: {type: string, choiceOf: value, index: 54}
                                    required: [valueString, value]
                          url:
                            pattern: {type: Uri, value: PreisguenstigesFAM}
                            index: 55
                          value:
                            choices: []
                            index: 57
                    ImportFAM:
                      match: {url: ImportFAM}
                      schema:
                        short: Dokumentation, ob ein Import-Arzneimittel im importrelevanten Markt gemäß Rahmenvertrag § 129 SGB V abgegeben wurde.
                        constraint:
                          ImportFAM-1: {human: DokumentationFreitext Pflichtangabe bei Schlüssel = 4, source: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Zusatzattribute', severity: error, expression: extension('Schluessel').valueCodeableConcept.coding.code.matches('4') implies (extension('DokumentationFreitext').valueString.length() > 0)}
                        _required: true
                        index: 58
                        extensions:
                          Gruppe:
                            url: Gruppe
                            _required: true
                            index: 60
                            elements:
                              url:
                                pattern: {type: Uri, value: Gruppe}
                                index: 61
                              value:
                                pattern:
                                  type: CodeableConcept
                                  value:
                                    coding:
                                    - {code: '4', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                                choices: [valueCodeableConcept]
                                index: 63
                              valueCodeableConcept:
                                type: CodeableConcept
                                pattern:
                                  type: CodeableConcept
                                  value:
                                    coding:
                                    - {code: '4', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                                choiceOf: value
                                index: 64
                            required: [value, valueCodeableConcept]
                          Schluessel:
                            url: Schluessel
                            _required: true
                            index: 65
                            elements:
                              url:
                                pattern: {type: Uri, value: Schluessel}
                                index: 66
                              value:
                                choices: [valueCodeableConcept]
                                index: 68
                              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 69}
                            required: [value, valueCodeableConcept]
                          DokumentationFreitext:
                            url: DokumentationFreitext
                            short: Dokumentation Apotheke
                            index: 70
                            elements:
                              url:
                                pattern: {type: Uri, value: DokumentationFreitext}
                                index: 71
                              value:
                                choices: [valueString]
                                index: 73
                              valueString: {type: string, choiceOf: value, index: 74}
                            required: [valueString, value]
                        elements:
                          extension:
                            index: 59
                            slicing:
                              rules: open
                              discriminator:
                              - {path: url, type: value}
                              min: null
                              slices:
                                Gruppe:
                                  match: {url: Gruppe}
                                  schema:
                                    _required: true
                                    index: 60
                                    elements:
                                      url:
                                        pattern: {type: Uri, value: Gruppe}
                                        index: 61
                                      value:
                                        pattern:
                                          type: CodeableConcept
                                          value:
                                            coding:
                                            - {code: '4', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                                        choices: [valueCodeableConcept]
                                        index: 63
                                      valueCodeableConcept:
                                        type: CodeableConcept
                                        pattern:
                                          type: CodeableConcept
                                          value:
                                            coding:
                                            - {code: '4', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                                        choiceOf: value
                                        index: 64
                                    required: [value, valueCodeableConcept]
                                Schluessel:
                                  match: {url: Schluessel}
                                  schema:
                                    _required: true
                                    index: 65
                                    elements:
                                      url:
                                        pattern: {type: Uri, value: Schluessel}
                                        index: 66
                                      value:
                                        choices: [valueCodeableConcept]
                                        index: 68
                                      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 69}
                                    required: [value, valueCodeableConcept]
                                DokumentationFreitext:
                                  match: {url: DokumentationFreitext}
                                  schema:
                                    short: Dokumentation Apotheke
                                    index: 70
                                    elements:
                                      url:
                                        pattern: {type: Uri, value: DokumentationFreitext}
                                        index: 71
                                      value:
                                        choices: [valueString]
                                        index: 73
                                      valueString: {type: string, choiceOf: value, index: 74}
                                    required: [valueString, value]
                          url:
                            pattern: {type: Uri, value: ImportFAM}
                            index: 75
                          value:
                            choices: []
                            index: 77
              url:
                pattern: {type: Uri, value: ZusatzattributFAM}
                index: 78
              value:
                choices: []
                index: 80
        ZusatzattributGruppeFuerGenehmigung:
          match: {url: ZusatzattributGruppeFuerGenehmigung}
          schema:
            short: Dokumentation einer Genehmigung
            mustSupport: true
            index: 216
            extensions:
              Gruppe:
                url: Gruppe
                _required: true
                index: 218
                elements:
                  url:
                    pattern: {type: Uri, value: Gruppe}
                    index: 219
                  value:
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '13', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                    choices: [valueCodeableConcept]
                    index: 221
                  valueCodeableConcept:
                    type: CodeableConcept
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '13', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                    choiceOf: value
                    index: 222
                required: [value, valueCodeableConcept]
              Schluessel:
                url: Schluessel
                _required: true
                index: 223
                elements:
                  url:
                    pattern: {type: Uri, value: Schluessel}
                    index: 224
                  value:
                    pattern: {type: Boolean, value: true}
                    choices: [valueBoolean]
                    index: 226
                  valueBoolean:
                    type: boolean
                    pattern: {type: Boolean, value: true}
                    choiceOf: value
                    index: 227
                required: [value, valueBoolean]
              DokumentationFreitext:
                url: DokumentationFreitext
                short: Dokumentation Apotheke
                _required: true
                index: 228
                elements:
                  url:
                    pattern: {type: Uri, value: DokumentationFreitext}
                    index: 229
                  value:
                    choices: [valueString]
                    index: 231
                  valueString: {type: string, choiceOf: value, index: 232}
                required: [valueString, value]
              Datum:
                url: Datum
                short: Datum der Genehmigung
                _required: true
                index: 233
                elements:
                  url:
                    pattern: {type: Uri, value: Datum}
                    index: 234
                  value:
                    choices: [valueDate]
                    index: 236
                  valueDate: {type: date, choiceOf: value, index: 237}
                required: [value, valueDate]
            elements:
              extension:
                index: 217
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    Gruppe:
                      match: {url: Gruppe}
                      schema:
                        _required: true
                        index: 218
                        elements:
                          url:
                            pattern: {type: Uri, value: Gruppe}
                            index: 219
                          value:
                            pattern:
                              type: CodeableConcept
                              value:
                                coding:
                                - {code: '13', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                            choices: [valueCodeableConcept]
                            index: 221
                          valueCodeableConcept:
                            type: CodeableConcept
                            pattern:
                              type: CodeableConcept
                              value:
                                coding:
                                - {code: '13', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                            choiceOf: value
                            index: 222
                        required: [value, valueCodeableConcept]
                    Schluessel:
                      match: {url: Schluessel}
                      schema:
                        _required: true
                        index: 223
                        elements:
                          url:
                            pattern: {type: Uri, value: Schluessel}
                            index: 224
                          value:
                            pattern: {type: Boolean, value: true}
                            choices: [valueBoolean]
                            index: 226
                          valueBoolean:
                            type: boolean
                            pattern: {type: Boolean, value: true}
                            choiceOf: value
                            index: 227
                        required: [value, valueBoolean]
                    DokumentationFreitext:
                      match: {url: DokumentationFreitext}
                      schema:
                        short: Dokumentation Apotheke
                        _required: true
                        index: 228
                        elements:
                          url:
                            pattern: {type: Uri, value: DokumentationFreitext}
                            index: 229
                          value:
                            choices: [valueString]
                            index: 231
                          valueString: {type: string, choiceOf: value, index: 232}
                        required: [valueString, value]
                    Datum:
                      match: {url: Datum}
                      schema:
                        short: Datum der Genehmigung
                        _required: true
                        index: 233
                        elements:
                          url:
                            pattern: {type: Uri, value: Datum}
                            index: 234
                          value:
                            choices: [valueDate]
                            index: 236
                          valueDate: {type: date, choiceOf: value, index: 237}
                        required: [value, valueDate]
              url:
                pattern: {type: Uri, value: ZusatzattributGruppeFuerGenehmigung}
                index: 238
              value:
                choices: []
                index: 240
  url:
    pattern: {type: Uri, value: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Zusatzattribute'}
    index: 266
  value:
    choices: []
    index: 268
package_version: 1.0.0
extensions:
  ZusatzattributWunscharzneimittel:
    url: ZusatzattributWunscharzneimittel
    short: Dokumentation, dass ein Wunscharzneimittel gemäß § 15 des Rahmenvertrags nach § 129 SGB V abgegeben wurde.
    mustSupport: true
    index: 96
    extensions:
      Gruppe:
        url: Gruppe
        _required: true
        index: 98
        elements:
          url:
            pattern: {type: Uri, value: Gruppe}
            index: 99
          value:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: '6', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
            choices: [valueCodeableConcept]
            index: 101
          valueCodeableConcept:
            type: CodeableConcept
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: '6', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
            choiceOf: value
            index: 102
        required: [value, valueCodeableConcept]
      Schluessel:
        url: Schluessel
        _required: true
        index: 103
        elements:
          url:
            pattern: {type: Uri, value: Schluessel}
            index: 104
          value:
            pattern: {type: Boolean, value: true}
            choices: [valueBoolean]
            index: 106
          valueBoolean:
            type: boolean
            pattern: {type: Boolean, value: true}
            choiceOf: value
            index: 107
        required: [value, valueBoolean]
    elements:
      extension:
        index: 97
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            Gruppe:
              match: {url: Gruppe}
              schema:
                _required: true
                index: 98
                elements:
                  url:
                    pattern: {type: Uri, value: Gruppe}
                    index: 99
                  value:
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '6', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                    choices: [valueCodeableConcept]
                    index: 101
                  valueCodeableConcept:
                    type: CodeableConcept
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '6', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                    choiceOf: value
                    index: 102
                required: [value, valueCodeableConcept]
            Schluessel:
              match: {url: Schluessel}
              schema:
                _required: true
                index: 103
                elements:
                  url:
                    pattern: {type: Uri, value: Schluessel}
                    index: 104
                  value:
                    pattern: {type: Boolean, value: true}
                    choices: [valueBoolean]
                    index: 106
                  valueBoolean:
                    type: boolean
                    pattern: {type: Boolean, value: true}
                    choiceOf: value
                    index: 107
                required: [value, valueBoolean]
      url:
        pattern: {type: Uri, value: ZusatzattributWunscharzneimittel}
        index: 108
      value:
        choices: []
        index: 110
  ZusatzattributEinzelimportierteFAM:
    url: ZusatzattributEinzelimportierteFAM
    short: Dokumentation, dass ein einzeln importiertes Fertigarzneimittel nach § 73 Abs. 3 AMG abgegeben wurde.
    mustSupport: true
    index: 156
    extensions:
      Gruppe:
        url: Gruppe
        _required: true
        index: 158
        elements:
          url:
            pattern: {type: Uri, value: Gruppe}
            index: 159
          value:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: '10', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
            choices: [valueCodeableConcept]
            index: 161
          valueCodeableConcept:
            type: CodeableConcept
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: '10', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
            choiceOf: value
            index: 162
        required: [value, valueCodeableConcept]
      Schluessel:
        url: Schluessel
        _required: true
        index: 163
        elements:
          url:
            pattern: {type: Uri, value: Schluessel}
            index: 164
          value:
            pattern: {type: Boolean, value: true}
            choices: [valueBoolean]
            index: 166
          valueBoolean:
            type: boolean
            pattern: {type: Boolean, value: true}
            choiceOf: value
            index: 167
        required: [value, valueBoolean]
      DokumentationFreitext:
        url: DokumentationFreitext
        short: Dokumentation Apotheke
        _required: true
        index: 168
        elements:
          url:
            pattern: {type: Uri, value: DokumentationFreitext}
            index: 169
          value:
            maxLength: 1000
            choices: [valueString]
            index: 171
          valueString: {type: string, maxLength: 1000, choiceOf: value, index: 172}
        required: [valueString, value]
    elements:
      extension:
        index: 157
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            Gruppe:
              match: {url: Gruppe}
              schema:
                _required: true
                index: 158
                elements:
                  url:
                    pattern: {type: Uri, value: Gruppe}
                    index: 159
                  value:
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '10', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                    choices: [valueCodeableConcept]
                    index: 161
                  valueCodeableConcept:
                    type: CodeableConcept
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '10', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                    choiceOf: value
                    index: 162
                required: [value, valueCodeableConcept]
            Schluessel:
              match: {url: Schluessel}
              schema:
                _required: true
                index: 163
                elements:
                  url:
                    pattern: {type: Uri, value: Schluessel}
                    index: 164
                  value:
                    pattern: {type: Boolean, value: true}
                    choices: [valueBoolean]
                    index: 166
                  valueBoolean:
                    type: boolean
                    pattern: {type: Boolean, value: true}
                    choiceOf: value
                    index: 167
                required: [value, valueBoolean]
            DokumentationFreitext:
              match: {url: DokumentationFreitext}
              schema:
                short: Dokumentation Apotheke
                _required: true
                index: 168
                elements:
                  url:
                    pattern: {type: Uri, value: DokumentationFreitext}
                    index: 169
                  value:
                    maxLength: 1000
                    choices: [valueString]
                    index: 171
                  valueString: {type: string, maxLength: 1000, choiceOf: value, index: 172}
                required: [valueString, value]
      url:
        pattern: {type: Uri, value: ZusatzattributEinzelimportierteFAM}
        index: 173
      value:
        choices: []
        index: 175
  ZusatzattributAbgabeNoctu:
    url: ZusatzattributAbgabeNoctu
    short: Dokumentation, dass die Abgabe im Notdienst erfolgt ist.
    mustSupport: true
    index: 176
    extensions:
      DatumUhrzeit:
        url: DatumUhrzeit
        short: Datum und Uhrzeit der Inanspruchnahme des Notdienstes
        _required: true
        index: 178
        elements:
          url:
            pattern: {type: Uri, value: DatumUhrzeit}
            index: 179
          value:
            choices: [valueDateTime]
            index: 181
          valueDateTime: {type: dateTime, choiceOf: value, index: 182}
        required: [valueDateTime, value]
      Gruppe:
        url: Gruppe
        _required: true
        index: 183
        elements:
          url:
            pattern: {type: Uri, value: Gruppe}
            index: 184
          value:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: '11', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
            choices: [valueCodeableConcept]
            index: 186
          valueCodeableConcept:
            type: CodeableConcept
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: '11', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
            choiceOf: value
            index: 187
        required: [value, valueCodeableConcept]
      Schluessel:
        url: Schluessel
        _required: true
        index: 188
        elements:
          url:
            pattern: {type: Uri, value: Schluessel}
            index: 189
          value:
            pattern: {type: Boolean, value: true}
            choices: [valueBoolean]
            index: 191
          valueBoolean:
            type: boolean
            pattern: {type: Boolean, value: true}
            choiceOf: value
            index: 192
        required: [value, valueBoolean]
    elements:
      extension:
        index: 177
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            DatumUhrzeit:
              match: {url: DatumUhrzeit}
              schema:
                short: Datum und Uhrzeit der Inanspruchnahme des Notdienstes
                _required: true
                index: 178
                elements:
                  url:
                    pattern: {type: Uri, value: DatumUhrzeit}
                    index: 179
                  value:
                    choices: [valueDateTime]
                    index: 181
                  valueDateTime: {type: dateTime, choiceOf: value, index: 182}
                required: [valueDateTime, value]
            Gruppe:
              match: {url: Gruppe}
              schema:
                _required: true
                index: 183
                elements:
                  url:
                    pattern: {type: Uri, value: Gruppe}
                    index: 184
                  value:
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '11', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                    choices: [valueCodeableConcept]
                    index: 186
                  valueCodeableConcept:
                    type: CodeableConcept
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '11', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                    choiceOf: value
                    index: 187
                required: [value, valueCodeableConcept]
            Schluessel:
              match: {url: Schluessel}
              schema:
                _required: true
                index: 188
                elements:
                  url:
                    pattern: {type: Uri, value: Schluessel}
                    index: 189
                  value:
                    pattern: {type: Boolean, value: true}
                    choices: [valueBoolean]
                    index: 191
                  valueBoolean:
                    type: boolean
                    pattern: {type: Boolean, value: true}
                    choiceOf: value
                    index: 192
                required: [value, valueBoolean]
      url:
        pattern: {type: Uri, value: ZusatzattributAbgabeNoctu}
        index: 193
      value:
        choices: []
        index: 195
  ZusatzattributZusaetzlicheAbgabeangaben:
    url: ZusatzattributZusaetzlicheAbgabeangaben
    short: Dokumentation zusätzlicher Angaben zur Abgabe
    mustSupport: true
    index: 196
    extensions:
      Gruppe:
        url: Gruppe
        _required: true
        index: 198
        elements:
          url:
            pattern: {type: Uri, value: Gruppe}
            index: 199
          value:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: '12', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
            choices: [valueCodeableConcept]
            index: 201
          valueCodeableConcept:
            type: CodeableConcept
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: '12', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
            choiceOf: value
            index: 202
        required: [value, valueCodeableConcept]
      Schluessel:
        url: Schluessel
        _required: true
        index: 203
        elements:
          url:
            pattern: {type: Uri, value: Schluessel}
            index: 204
          value:
            pattern: {type: Boolean, value: true}
            choices: [valueBoolean]
            index: 206
          valueBoolean:
            type: boolean
            pattern: {type: Boolean, value: true}
            choiceOf: value
            index: 207
        required: [value, valueBoolean]
      DokumentationFreitext:
        url: DokumentationFreitext
        short: Dokumentation Apotheke
        _required: true
        index: 208
        elements:
          url:
            pattern: {type: Uri, value: DokumentationFreitext}
            index: 209
          value:
            choices: [valueString]
            index: 211
          valueString: {type: string, choiceOf: value, index: 212}
        required: [valueString, value]
    elements:
      extension:
        index: 197
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            Gruppe:
              match: {url: Gruppe}
              schema:
                _required: true
                index: 198
                elements:
                  url:
                    pattern: {type: Uri, value: Gruppe}
                    index: 199
                  value:
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '12', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                    choices: [valueCodeableConcept]
                    index: 201
                  valueCodeableConcept:
                    type: CodeableConcept
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '12', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                    choiceOf: value
                    index: 202
                required: [value, valueCodeableConcept]
            Schluessel:
              match: {url: Schluessel}
              schema:
                _required: true
                index: 203
                elements:
                  url:
                    pattern: {type: Uri, value: Schluessel}
                    index: 204
                  value:
                    pattern: {type: Boolean, value: true}
                    choices: [valueBoolean]
                    index: 206
                  valueBoolean:
                    type: boolean
                    pattern: {type: Boolean, value: true}
                    choiceOf: value
                    index: 207
                required: [value, valueBoolean]
            DokumentationFreitext:
              match: {url: DokumentationFreitext}
              schema:
                short: Dokumentation Apotheke
                _required: true
                index: 208
                elements:
                  url:
                    pattern: {type: Uri, value: DokumentationFreitext}
                    index: 209
                  value:
                    choices: [valueString]
                    index: 211
                  valueString: {type: string, choiceOf: value, index: 212}
                required: [valueString, value]
      url:
        pattern: {type: Uri, value: ZusatzattributZusaetzlicheAbgabeangaben}
        index: 213
      value:
        choices: []
        index: 215
  ZusatzattributMehrkostenuebernahme:
    url: ZusatzattributMehrkostenuebernahme
    short: Dokumentation, dass die Mehrkosten (Apothekenverkaufspreis minus Festbetrag) durch die Krankenkasse zu tragen sind.
    mustSupport: true
    index: 81
    extensions:
      Gruppe:
        url: Gruppe
        _required: true
        index: 83
        elements:
          url:
            pattern: {type: Uri, value: Gruppe}
            index: 84
          value:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: '5', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
            choices: [valueCodeableConcept]
            index: 86
          valueCodeableConcept:
            type: CodeableConcept
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: '5', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
            choiceOf: value
            index: 87
        required: [value, valueCodeableConcept]
      Schluessel:
        url: Schluessel
        _required: true
        index: 88
        elements:
          url:
            pattern: {type: Uri, value: Schluessel}
            index: 89
          value:
            choices: [valueCodeableConcept]
            index: 91
          valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 92}
        required: [value, valueCodeableConcept]
    elements:
      extension:
        index: 82
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            Gruppe:
              match: {url: Gruppe}
              schema:
                _required: true
                index: 83
                elements:
                  url:
                    pattern: {type: Uri, value: Gruppe}
                    index: 84
                  value:
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '5', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                    choices: [valueCodeableConcept]
                    index: 86
                  valueCodeableConcept:
                    type: CodeableConcept
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '5', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                    choiceOf: value
                    index: 87
                required: [value, valueCodeableConcept]
            Schluessel:
              match: {url: Schluessel}
              schema:
                _required: true
                index: 88
                elements:
                  url:
                    pattern: {type: Uri, value: Schluessel}
                    index: 89
                  value:
                    choices: [valueCodeableConcept]
                    index: 91
                  valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 92}
                required: [value, valueCodeableConcept]
      url:
        pattern: {type: Uri, value: ZusatzattributMehrkostenuebernahme}
        index: 93
      value:
        choices: []
        index: 95
  ZusatzattributGruppeTarifkennzeichen:
    url: ZusatzattributGruppeTarifkennzeichen
    short: Dokumentation zu besonderen bilateralen Preisvereinbarungen
    mustSupport: true
    index: 241
    extensions:
      Gruppe:
        url: Gruppe
        _required: true
        index: 243
        elements:
          url:
            pattern: {type: Uri, value: Gruppe}
            index: 244
          value:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: '14', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
            choices: [valueCodeableConcept]
            index: 246
          valueCodeableConcept:
            type: CodeableConcept
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: '14', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
            choiceOf: value
            index: 247
        required: [value, valueCodeableConcept]
      Schluessel:
        url: Schluessel
        _required: true
        index: 248
        elements:
          url:
            pattern: {type: Uri, value: Schluessel}
            index: 249
          value:
            pattern: {type: Boolean, value: true}
            choices: [valueBoolean]
            index: 251
          valueBoolean:
            type: boolean
            pattern: {type: Boolean, value: true}
            choiceOf: value
            index: 252
        required: [value, valueBoolean]
      Tarifkennzeichen:
        url: Tarifkennzeichen
        short: Tarifkennzeichen
        _required: true
        index: 253
        elements:
          url:
            pattern: {type: Uri, value: Tarifkennzeichen}
            index: 254
          value:
            choices: [valueCodeableConcept]
            index: 256
          valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 257}
        required: [value, valueCodeableConcept]
      KennzeichenSondertarif:
        url: KennzeichenSondertarif
        short: Kennzeichen für Sondertarif
        _required: true
        index: 258
        elements:
          url:
            pattern: {type: Uri, value: KennzeichenSondertarif}
            index: 259
          value:
            constraint:
              EX-Zusatzattribute-1: {human: KennzeichenSondertarif ist immer 3-stellig, source: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Zusatzattribute', severity: error, expression: 'matches(''^\\d{3}$'')'}
            choices: [valueString]
            index: 261
          valueString:
            type: string
            constraint:
              EX-Zusatzattribute-1: {human: KennzeichenSondertarif ist immer 3-stellig, source: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Zusatzattribute', severity: error, expression: 'matches(''^\\d{3}$'')'}
            choiceOf: value
            index: 262
        required: [valueString, value]
    elements:
      extension:
        index: 242
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            Gruppe:
              match: {url: Gruppe}
              schema:
                _required: true
                index: 243
                elements:
                  url:
                    pattern: {type: Uri, value: Gruppe}
                    index: 244
                  value:
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '14', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                    choices: [valueCodeableConcept]
                    index: 246
                  valueCodeableConcept:
                    type: CodeableConcept
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '14', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                    choiceOf: value
                    index: 247
                required: [value, valueCodeableConcept]
            Schluessel:
              match: {url: Schluessel}
              schema:
                _required: true
                index: 248
                elements:
                  url:
                    pattern: {type: Uri, value: Schluessel}
                    index: 249
                  value:
                    pattern: {type: Boolean, value: true}
                    choices: [valueBoolean]
                    index: 251
                  valueBoolean:
                    type: boolean
                    pattern: {type: Boolean, value: true}
                    choiceOf: value
                    index: 252
                required: [value, valueBoolean]
            Tarifkennzeichen:
              match: {url: Tarifkennzeichen}
              schema:
                short: Tarifkennzeichen
                _required: true
                index: 253
                elements:
                  url:
                    pattern: {type: Uri, value: Tarifkennzeichen}
                    index: 254
                  value:
                    choices: [valueCodeableConcept]
                    index: 256
                  valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 257}
                required: [value, valueCodeableConcept]
            KennzeichenSondertarif:
              match: {url: KennzeichenSondertarif}
              schema:
                short: Kennzeichen für Sondertarif
                _required: true
                index: 258
                elements:
                  url:
                    pattern: {type: Uri, value: KennzeichenSondertarif}
                    index: 259
                  value:
                    constraint:
                      EX-Zusatzattribute-1: {human: KennzeichenSondertarif ist immer 3-stellig, source: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Zusatzattribute', severity: error, expression: 'matches(''^\\d{3}$'')'}
                    choices: [valueString]
                    index: 261
                  valueString:
                    type: string
                    constraint:
                      EX-Zusatzattribute-1: {human: KennzeichenSondertarif ist immer 3-stellig, source: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Zusatzattribute', severity: error, expression: 'matches(''^\\d{3}$'')'}
                    choiceOf: value
                    index: 262
                required: [valueString, value]
      url:
        pattern: {type: Uri, value: ZusatzattributGruppeTarifkennzeichen}
        index: 263
      value:
        choices: []
        index: 265
  ZusatzattributErsatzverordnung:
    url: ZusatzattributErsatzverordnung
    short: Dokumentation, dass die Abgabe aufgrund einer Ersatzverordnung nach § 31 Absatz 3 Satz 7 SGB V erfolgt ist.
    mustSupport: true
    index: 126
    extensions:
      Gruppe:
        url: Gruppe
        _required: true
        index: 128
        elements:
          url:
            pattern: {type: Uri, value: Gruppe}
            index: 129
          value:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: '8', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
            choices: [valueCodeableConcept]
            index: 131
          valueCodeableConcept:
            type: CodeableConcept
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: '8', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
            choiceOf: value
            index: 132
        required: [value, valueCodeableConcept]
      Schluessel:
        url: Schluessel
        _required: true
        index: 133
        elements:
          url:
            pattern: {type: Uri, value: Schluessel}
            index: 134
          value:
            pattern: {type: Boolean, value: true}
            choices: [valueBoolean]
            index: 136
          valueBoolean:
            type: boolean
            pattern: {type: Boolean, value: true}
            choiceOf: value
            index: 137
        required: [value, valueBoolean]
    elements:
      extension:
        index: 127
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            Gruppe:
              match: {url: Gruppe}
              schema:
                _required: true
                index: 128
                elements:
                  url:
                    pattern: {type: Uri, value: Gruppe}
                    index: 129
                  value:
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '8', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                    choices: [valueCodeableConcept]
                    index: 131
                  valueCodeableConcept:
                    type: CodeableConcept
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '8', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                    choiceOf: value
                    index: 132
                required: [value, valueCodeableConcept]
            Schluessel:
              match: {url: Schluessel}
              schema:
                _required: true
                index: 133
                elements:
                  url:
                    pattern: {type: Uri, value: Schluessel}
                    index: 134
                  value:
                    pattern: {type: Boolean, value: true}
                    choices: [valueBoolean]
                    index: 136
                  valueBoolean:
                    type: boolean
                    pattern: {type: Boolean, value: true}
                    choiceOf: value
                    index: 137
                required: [value, valueBoolean]
      url:
        pattern: {type: Uri, value: ZusatzattributErsatzverordnung}
        index: 138
      value:
        choices: []
        index: 140
  ZusatzattributKuenstlicheBefruchtung:
    url: ZusatzattributKuenstlicheBefruchtung
    short: Dokumentation, dass die Abgabe aufgrund einer Verordnung zur künstlichen Befruchtung erfolgt ist.
    mustSupport: true
    index: 141
    extensions:
      Gruppe:
        url: Gruppe
        _required: true
        index: 143
        elements:
          url:
            pattern: {type: Uri, value: Gruppe}
            index: 144
          value:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: '9', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
            choices: [valueCodeableConcept]
            index: 146
          valueCodeableConcept:
            type: CodeableConcept
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: '9', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
            choiceOf: value
            index: 147
        required: [value, valueCodeableConcept]
      Schluessel:
        url: Schluessel
        _required: true
        index: 148
        elements:
          url:
            pattern: {type: Uri, value: Schluessel}
            index: 149
          value:
            pattern: {type: Boolean, value: true}
            choices: [valueBoolean]
            index: 151
          valueBoolean:
            type: boolean
            pattern: {type: Boolean, value: true}
            choiceOf: value
            index: 152
        required: [value, valueBoolean]
    elements:
      extension:
        index: 142
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            Gruppe:
              match: {url: Gruppe}
              schema:
                _required: true
                index: 143
                elements:
                  url:
                    pattern: {type: Uri, value: Gruppe}
                    index: 144
                  value:
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '9', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                    choices: [valueCodeableConcept]
                    index: 146
                  valueCodeableConcept:
                    type: CodeableConcept
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '9', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                    choiceOf: value
                    index: 147
                required: [value, valueCodeableConcept]
            Schluessel:
              match: {url: Schluessel}
              schema:
                _required: true
                index: 148
                elements:
                  url:
                    pattern: {type: Uri, value: Schluessel}
                    index: 149
                  value:
                    pattern: {type: Boolean, value: true}
                    choices: [valueBoolean]
                    index: 151
                  valueBoolean:
                    type: boolean
                    pattern: {type: Boolean, value: true}
                    choiceOf: value
                    index: 152
                required: [value, valueBoolean]
      url:
        pattern: {type: Uri, value: ZusatzattributKuenstlicheBefruchtung}
        index: 153
      value:
        choices: []
        index: 155
  ZusatzattributWirkstoffverordnung:
    url: ZusatzattributWirkstoffverordnung
    short: Dokumentation, dass die Abgabe aufgrund einer Wirkstoffverordnung erfolgt ist.
    mustSupport: true
    index: 111
    extensions:
      Gruppe:
        url: Gruppe
        _required: true
        index: 113
        elements:
          url:
            pattern: {type: Uri, value: Gruppe}
            index: 114
          value:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: '7', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
            choices: [valueCodeableConcept]
            index: 116
          valueCodeableConcept:
            type: CodeableConcept
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: '7', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
            choiceOf: value
            index: 117
        required: [value, valueCodeableConcept]
      Schluessel:
        url: Schluessel
        _required: true
        index: 118
        elements:
          url:
            pattern: {type: Uri, value: Schluessel}
            index: 119
          value:
            pattern: {type: Boolean, value: true}
            choices: [valueBoolean]
            index: 121
          valueBoolean:
            type: boolean
            pattern: {type: Boolean, value: true}
            choiceOf: value
            index: 122
        required: [value, valueBoolean]
    elements:
      extension:
        index: 112
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            Gruppe:
              match: {url: Gruppe}
              schema:
                _required: true
                index: 113
                elements:
                  url:
                    pattern: {type: Uri, value: Gruppe}
                    index: 114
                  value:
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '7', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                    choices: [valueCodeableConcept]
                    index: 116
                  valueCodeableConcept:
                    type: CodeableConcept
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '7', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                    choiceOf: value
                    index: 117
                required: [value, valueCodeableConcept]
            Schluessel:
              match: {url: Schluessel}
              schema:
                _required: true
                index: 118
                elements:
                  url:
                    pattern: {type: Uri, value: Schluessel}
                    index: 119
                  value:
                    pattern: {type: Boolean, value: true}
                    choices: [valueBoolean]
                    index: 121
                  valueBoolean:
                    type: boolean
                    pattern: {type: Boolean, value: true}
                    choiceOf: value
                    index: 122
                required: [value, valueBoolean]
      url:
        pattern: {type: Uri, value: ZusatzattributWirkstoffverordnung}
        index: 123
      value:
        choices: []
        index: 125
  ZusatzattributFAM:
    url: ZusatzattributFAM
    short: Zusatzattribute Fertigarzneimittel
    mustSupport: true
    index: 1
    extensions:
      Markt:
        url: Markt
        short: Dokumentation, welchem Markt das abgegebene Arzneimittel zuzuordnen ist.
        _required: true
        index: 3
        extensions:
          Gruppe:
            url: Gruppe
            _required: true
            index: 5
            elements:
              url:
                pattern: {type: Uri, value: Gruppe}
                index: 6
              value:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: '1', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                choices: [valueCodeableConcept]
                index: 8
              valueCodeableConcept:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: '1', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                choiceOf: value
                index: 9
            required: [value, valueCodeableConcept]
          Schluessel:
            url: Schluessel
            _required: true
            index: 10
            elements:
              url:
                pattern: {type: Uri, value: Schluessel}
                index: 11
              value:
                choices: [valueCodeableConcept]
                index: 13
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 14}
            required: [value, valueCodeableConcept]
        elements:
          extension:
            index: 4
            slicing:
              rules: open
              discriminator:
              - {path: url, type: value}
              min: null
              slices:
                Gruppe:
                  match: {url: Gruppe}
                  schema:
                    _required: true
                    index: 5
                    elements:
                      url:
                        pattern: {type: Uri, value: Gruppe}
                        index: 6
                      value:
                        pattern:
                          type: CodeableConcept
                          value:
                            coding:
                            - {code: '1', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                        choices: [valueCodeableConcept]
                        index: 8
                      valueCodeableConcept:
                        type: CodeableConcept
                        pattern:
                          type: CodeableConcept
                          value:
                            coding:
                            - {code: '1', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                        choiceOf: value
                        index: 9
                    required: [value, valueCodeableConcept]
                Schluessel:
                  match: {url: Schluessel}
                  schema:
                    _required: true
                    index: 10
                    elements:
                      url:
                        pattern: {type: Uri, value: Schluessel}
                        index: 11
                      value:
                        choices: [valueCodeableConcept]
                        index: 13
                      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 14}
                    required: [value, valueCodeableConcept]
          url:
            pattern: {type: Uri, value: Markt}
            index: 15
          value:
            choices: []
            index: 17
      Rabattvertragserfuellung:
        url: Rabattvertragserfuellung
        short: Dokumentation, ob beim abgegebenen Arzneimittel ein Rabattvertrag eingehalten wurde.
        constraint:
          Rabattvertragserfuellung-1: {human: DokumentationFreitext Pflichtangabe bei Schlüssel = 4, source: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Zusatzattribute', severity: error, expression: extension('Schluessel').valueCodeableConcept.coding.code.matches('4') implies (extension('DokumentationFreitext').valueString.length() > 0)}
        _required: true
        index: 18
        extensions:
          Gruppe:
            url: Gruppe
            _required: true
            index: 20
            elements:
              url:
                pattern: {type: Uri, value: Gruppe}
                index: 21
              value:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: '2', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                choices: [valueCodeableConcept]
                index: 23
              valueCodeableConcept:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: '2', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                choiceOf: value
                index: 24
            required: [value, valueCodeableConcept]
          Schluessel:
            url: Schluessel
            _required: true
            index: 25
            elements:
              url:
                pattern: {type: Uri, value: Schluessel}
                index: 26
              value:
                choices: [valueCodeableConcept]
                index: 28
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 29}
            required: [value, valueCodeableConcept]
          DokumentationFreitext:
            url: DokumentationFreitext
            short: Dokumentation Apotheke
            index: 30
            elements:
              url:
                pattern: {type: Uri, value: DokumentationFreitext}
                index: 31
              value:
                choices: [valueString]
                index: 33
              valueString: {type: string, choiceOf: value, index: 34}
            required: [valueString, value]
        elements:
          extension:
            index: 19
            slicing:
              rules: open
              discriminator:
              - {path: url, type: value}
              min: null
              slices:
                Gruppe:
                  match: {url: Gruppe}
                  schema:
                    _required: true
                    index: 20
                    elements:
                      url:
                        pattern: {type: Uri, value: Gruppe}
                        index: 21
                      value:
                        pattern:
                          type: CodeableConcept
                          value:
                            coding:
                            - {code: '2', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                        choices: [valueCodeableConcept]
                        index: 23
                      valueCodeableConcept:
                        type: CodeableConcept
                        pattern:
                          type: CodeableConcept
                          value:
                            coding:
                            - {code: '2', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                        choiceOf: value
                        index: 24
                    required: [value, valueCodeableConcept]
                Schluessel:
                  match: {url: Schluessel}
                  schema:
                    _required: true
                    index: 25
                    elements:
                      url:
                        pattern: {type: Uri, value: Schluessel}
                        index: 26
                      value:
                        choices: [valueCodeableConcept]
                        index: 28
                      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 29}
                    required: [value, valueCodeableConcept]
                DokumentationFreitext:
                  match: {url: DokumentationFreitext}
                  schema:
                    short: Dokumentation Apotheke
                    index: 30
                    elements:
                      url:
                        pattern: {type: Uri, value: DokumentationFreitext}
                        index: 31
                      value:
                        choices: [valueString]
                        index: 33
                      valueString: {type: string, choiceOf: value, index: 34}
                    required: [valueString, value]
          url:
            pattern: {type: Uri, value: Rabattvertragserfuellung}
            index: 35
          value:
            choices: []
            index: 37
      PreisguenstigesFAM:
        url: PreisguenstigesFAM
        short: Dokumentation, ob ein preisguenstiges Arzneimittel nach den Vorgaben des Rahmenvertrags nach § 129 SGB V abgegeben wurde.
        constraint:
          PreisguenstigesFAM-1: {human: DokumentationFreitext Pflichtangabe bei Schlüssel = 4, source: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Zusatzattribute', severity: error, expression: extension('Schluessel').valueCodeableConcept.coding.code.matches('4') implies (extension('DokumentationFreitext').valueString.length() > 0)}
        _required: true
        index: 38
        extensions:
          Gruppe:
            url: Gruppe
            _required: true
            index: 40
            elements:
              url:
                pattern: {type: Uri, value: Gruppe}
                index: 41
              value:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: '3', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                choices: [valueCodeableConcept]
                index: 43
              valueCodeableConcept:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: '3', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                choiceOf: value
                index: 44
            required: [value, valueCodeableConcept]
          Schluessel:
            url: Schluessel
            _required: true
            index: 45
            elements:
              url:
                pattern: {type: Uri, value: Schluessel}
                index: 46
              value:
                choices: [valueCodeableConcept]
                index: 48
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 49}
            required: [value, valueCodeableConcept]
          DokumentationFreitext:
            url: DokumentationFreitext
            short: Dokumentation Apotheke
            index: 50
            elements:
              url:
                pattern: {type: Uri, value: DokumentationFreitext}
                index: 51
              value:
                choices: [valueString]
                index: 53
              valueString: {type: string, choiceOf: value, index: 54}
            required: [valueString, value]
        elements:
          extension:
            index: 39
            slicing:
              rules: open
              discriminator:
              - {path: url, type: value}
              min: null
              slices:
                Gruppe:
                  match: {url: Gruppe}
                  schema:
                    _required: true
                    index: 40
                    elements:
                      url:
                        pattern: {type: Uri, value: Gruppe}
                        index: 41
                      value:
                        pattern:
                          type: CodeableConcept
                          value:
                            coding:
                            - {code: '3', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                        choices: [valueCodeableConcept]
                        index: 43
                      valueCodeableConcept:
                        type: CodeableConcept
                        pattern:
                          type: CodeableConcept
                          value:
                            coding:
                            - {code: '3', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                        choiceOf: value
                        index: 44
                    required: [value, valueCodeableConcept]
                Schluessel:
                  match: {url: Schluessel}
                  schema:
                    _required: true
                    index: 45
                    elements:
                      url:
                        pattern: {type: Uri, value: Schluessel}
                        index: 46
                      value:
                        choices: [valueCodeableConcept]
                        index: 48
                      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 49}
                    required: [value, valueCodeableConcept]
                DokumentationFreitext:
                  match: {url: DokumentationFreitext}
                  schema:
                    short: Dokumentation Apotheke
                    index: 50
                    elements:
                      url:
                        pattern: {type: Uri, value: DokumentationFreitext}
                        index: 51
                      value:
                        choices: [valueString]
                        index: 53
                      valueString: {type: string, choiceOf: value, index: 54}
                    required: [valueString, value]
          url:
            pattern: {type: Uri, value: PreisguenstigesFAM}
            index: 55
          value:
            choices: []
            index: 57
      ImportFAM:
        url: ImportFAM
        short: Dokumentation, ob ein Import-Arzneimittel im importrelevanten Markt gemäß Rahmenvertrag § 129 SGB V abgegeben wurde.
        constraint:
          ImportFAM-1: {human: DokumentationFreitext Pflichtangabe bei Schlüssel = 4, source: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Zusatzattribute', severity: error, expression: extension('Schluessel').valueCodeableConcept.coding.code.matches('4') implies (extension('DokumentationFreitext').valueString.length() > 0)}
        _required: true
        index: 58
        extensions:
          Gruppe:
            url: Gruppe
            _required: true
            index: 60
            elements:
              url:
                pattern: {type: Uri, value: Gruppe}
                index: 61
              value:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: '4', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                choices: [valueCodeableConcept]
                index: 63
              valueCodeableConcept:
                type: CodeableConcept
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: '4', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                choiceOf: value
                index: 64
            required: [value, valueCodeableConcept]
          Schluessel:
            url: Schluessel
            _required: true
            index: 65
            elements:
              url:
                pattern: {type: Uri, value: Schluessel}
                index: 66
              value:
                choices: [valueCodeableConcept]
                index: 68
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 69}
            required: [value, valueCodeableConcept]
          DokumentationFreitext:
            url: DokumentationFreitext
            short: Dokumentation Apotheke
            index: 70
            elements:
              url:
                pattern: {type: Uri, value: DokumentationFreitext}
                index: 71
              value:
                choices: [valueString]
                index: 73
              valueString: {type: string, choiceOf: value, index: 74}
            required: [valueString, value]
        elements:
          extension:
            index: 59
            slicing:
              rules: open
              discriminator:
              - {path: url, type: value}
              min: null
              slices:
                Gruppe:
                  match: {url: Gruppe}
                  schema:
                    _required: true
                    index: 60
                    elements:
                      url:
                        pattern: {type: Uri, value: Gruppe}
                        index: 61
                      value:
                        pattern:
                          type: CodeableConcept
                          value:
                            coding:
                            - {code: '4', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                        choices: [valueCodeableConcept]
                        index: 63
                      valueCodeableConcept:
                        type: CodeableConcept
                        pattern:
                          type: CodeableConcept
                          value:
                            coding:
                            - {code: '4', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                        choiceOf: value
                        index: 64
                    required: [value, valueCodeableConcept]
                Schluessel:
                  match: {url: Schluessel}
                  schema:
                    _required: true
                    index: 65
                    elements:
                      url:
                        pattern: {type: Uri, value: Schluessel}
                        index: 66
                      value:
                        choices: [valueCodeableConcept]
                        index: 68
                      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 69}
                    required: [value, valueCodeableConcept]
                DokumentationFreitext:
                  match: {url: DokumentationFreitext}
                  schema:
                    short: Dokumentation Apotheke
                    index: 70
                    elements:
                      url:
                        pattern: {type: Uri, value: DokumentationFreitext}
                        index: 71
                      value:
                        choices: [valueString]
                        index: 73
                      valueString: {type: string, choiceOf: value, index: 74}
                    required: [valueString, value]
          url:
            pattern: {type: Uri, value: ImportFAM}
            index: 75
          value:
            choices: []
            index: 77
    elements:
      extension:
        index: 2
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            Markt:
              match: {url: Markt}
              schema:
                short: Dokumentation, welchem Markt das abgegebene Arzneimittel zuzuordnen ist.
                _required: true
                index: 3
                extensions:
                  Gruppe:
                    url: Gruppe
                    _required: true
                    index: 5
                    elements:
                      url:
                        pattern: {type: Uri, value: Gruppe}
                        index: 6
                      value:
                        pattern:
                          type: CodeableConcept
                          value:
                            coding:
                            - {code: '1', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                        choices: [valueCodeableConcept]
                        index: 8
                      valueCodeableConcept:
                        type: CodeableConcept
                        pattern:
                          type: CodeableConcept
                          value:
                            coding:
                            - {code: '1', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                        choiceOf: value
                        index: 9
                    required: [value, valueCodeableConcept]
                  Schluessel:
                    url: Schluessel
                    _required: true
                    index: 10
                    elements:
                      url:
                        pattern: {type: Uri, value: Schluessel}
                        index: 11
                      value:
                        choices: [valueCodeableConcept]
                        index: 13
                      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 14}
                    required: [value, valueCodeableConcept]
                elements:
                  extension:
                    index: 4
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        Gruppe:
                          match: {url: Gruppe}
                          schema:
                            _required: true
                            index: 5
                            elements:
                              url:
                                pattern: {type: Uri, value: Gruppe}
                                index: 6
                              value:
                                pattern:
                                  type: CodeableConcept
                                  value:
                                    coding:
                                    - {code: '1', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                                choices: [valueCodeableConcept]
                                index: 8
                              valueCodeableConcept:
                                type: CodeableConcept
                                pattern:
                                  type: CodeableConcept
                                  value:
                                    coding:
                                    - {code: '1', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                                choiceOf: value
                                index: 9
                            required: [value, valueCodeableConcept]
                        Schluessel:
                          match: {url: Schluessel}
                          schema:
                            _required: true
                            index: 10
                            elements:
                              url:
                                pattern: {type: Uri, value: Schluessel}
                                index: 11
                              value:
                                choices: [valueCodeableConcept]
                                index: 13
                              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 14}
                            required: [value, valueCodeableConcept]
                  url:
                    pattern: {type: Uri, value: Markt}
                    index: 15
                  value:
                    choices: []
                    index: 17
            Rabattvertragserfuellung:
              match: {url: Rabattvertragserfuellung}
              schema:
                short: Dokumentation, ob beim abgegebenen Arzneimittel ein Rabattvertrag eingehalten wurde.
                constraint:
                  Rabattvertragserfuellung-1: {human: DokumentationFreitext Pflichtangabe bei Schlüssel = 4, source: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Zusatzattribute', severity: error, expression: extension('Schluessel').valueCodeableConcept.coding.code.matches('4') implies (extension('DokumentationFreitext').valueString.length() > 0)}
                _required: true
                index: 18
                extensions:
                  Gruppe:
                    url: Gruppe
                    _required: true
                    index: 20
                    elements:
                      url:
                        pattern: {type: Uri, value: Gruppe}
                        index: 21
                      value:
                        pattern:
                          type: CodeableConcept
                          value:
                            coding:
                            - {code: '2', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                        choices: [valueCodeableConcept]
                        index: 23
                      valueCodeableConcept:
                        type: CodeableConcept
                        pattern:
                          type: CodeableConcept
                          value:
                            coding:
                            - {code: '2', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                        choiceOf: value
                        index: 24
                    required: [value, valueCodeableConcept]
                  Schluessel:
                    url: Schluessel
                    _required: true
                    index: 25
                    elements:
                      url:
                        pattern: {type: Uri, value: Schluessel}
                        index: 26
                      value:
                        choices: [valueCodeableConcept]
                        index: 28
                      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 29}
                    required: [value, valueCodeableConcept]
                  DokumentationFreitext:
                    url: DokumentationFreitext
                    short: Dokumentation Apotheke
                    index: 30
                    elements:
                      url:
                        pattern: {type: Uri, value: DokumentationFreitext}
                        index: 31
                      value:
                        choices: [valueString]
                        index: 33
                      valueString: {type: string, choiceOf: value, index: 34}
                    required: [valueString, value]
                elements:
                  extension:
                    index: 19
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        Gruppe:
                          match: {url: Gruppe}
                          schema:
                            _required: true
                            index: 20
                            elements:
                              url:
                                pattern: {type: Uri, value: Gruppe}
                                index: 21
                              value:
                                pattern:
                                  type: CodeableConcept
                                  value:
                                    coding:
                                    - {code: '2', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                                choices: [valueCodeableConcept]
                                index: 23
                              valueCodeableConcept:
                                type: CodeableConcept
                                pattern:
                                  type: CodeableConcept
                                  value:
                                    coding:
                                    - {code: '2', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                                choiceOf: value
                                index: 24
                            required: [value, valueCodeableConcept]
                        Schluessel:
                          match: {url: Schluessel}
                          schema:
                            _required: true
                            index: 25
                            elements:
                              url:
                                pattern: {type: Uri, value: Schluessel}
                                index: 26
                              value:
                                choices: [valueCodeableConcept]
                                index: 28
                              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 29}
                            required: [value, valueCodeableConcept]
                        DokumentationFreitext:
                          match: {url: DokumentationFreitext}
                          schema:
                            short: Dokumentation Apotheke
                            index: 30
                            elements:
                              url:
                                pattern: {type: Uri, value: DokumentationFreitext}
                                index: 31
                              value:
                                choices: [valueString]
                                index: 33
                              valueString: {type: string, choiceOf: value, index: 34}
                            required: [valueString, value]
                  url:
                    pattern: {type: Uri, value: Rabattvertragserfuellung}
                    index: 35
                  value:
                    choices: []
                    index: 37
            PreisguenstigesFAM:
              match: {url: PreisguenstigesFAM}
              schema:
                short: Dokumentation, ob ein preisguenstiges Arzneimittel nach den Vorgaben des Rahmenvertrags nach § 129 SGB V abgegeben wurde.
                constraint:
                  PreisguenstigesFAM-1: {human: DokumentationFreitext Pflichtangabe bei Schlüssel = 4, source: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Zusatzattribute', severity: error, expression: extension('Schluessel').valueCodeableConcept.coding.code.matches('4') implies (extension('DokumentationFreitext').valueString.length() > 0)}
                _required: true
                index: 38
                extensions:
                  Gruppe:
                    url: Gruppe
                    _required: true
                    index: 40
                    elements:
                      url:
                        pattern: {type: Uri, value: Gruppe}
                        index: 41
                      value:
                        pattern:
                          type: CodeableConcept
                          value:
                            coding:
                            - {code: '3', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                        choices: [valueCodeableConcept]
                        index: 43
                      valueCodeableConcept:
                        type: CodeableConcept
                        pattern:
                          type: CodeableConcept
                          value:
                            coding:
                            - {code: '3', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                        choiceOf: value
                        index: 44
                    required: [value, valueCodeableConcept]
                  Schluessel:
                    url: Schluessel
                    _required: true
                    index: 45
                    elements:
                      url:
                        pattern: {type: Uri, value: Schluessel}
                        index: 46
                      value:
                        choices: [valueCodeableConcept]
                        index: 48
                      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 49}
                    required: [value, valueCodeableConcept]
                  DokumentationFreitext:
                    url: DokumentationFreitext
                    short: Dokumentation Apotheke
                    index: 50
                    elements:
                      url:
                        pattern: {type: Uri, value: DokumentationFreitext}
                        index: 51
                      value:
                        choices: [valueString]
                        index: 53
                      valueString: {type: string, choiceOf: value, index: 54}
                    required: [valueString, value]
                elements:
                  extension:
                    index: 39
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        Gruppe:
                          match: {url: Gruppe}
                          schema:
                            _required: true
                            index: 40
                            elements:
                              url:
                                pattern: {type: Uri, value: Gruppe}
                                index: 41
                              value:
                                pattern:
                                  type: CodeableConcept
                                  value:
                                    coding:
                                    - {code: '3', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                                choices: [valueCodeableConcept]
                                index: 43
                              valueCodeableConcept:
                                type: CodeableConcept
                                pattern:
                                  type: CodeableConcept
                                  value:
                                    coding:
                                    - {code: '3', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                                choiceOf: value
                                index: 44
                            required: [value, valueCodeableConcept]
                        Schluessel:
                          match: {url: Schluessel}
                          schema:
                            _required: true
                            index: 45
                            elements:
                              url:
                                pattern: {type: Uri, value: Schluessel}
                                index: 46
                              value:
                                choices: [valueCodeableConcept]
                                index: 48
                              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 49}
                            required: [value, valueCodeableConcept]
                        DokumentationFreitext:
                          match: {url: DokumentationFreitext}
                          schema:
                            short: Dokumentation Apotheke
                            index: 50
                            elements:
                              url:
                                pattern: {type: Uri, value: DokumentationFreitext}
                                index: 51
                              value:
                                choices: [valueString]
                                index: 53
                              valueString: {type: string, choiceOf: value, index: 54}
                            required: [valueString, value]
                  url:
                    pattern: {type: Uri, value: PreisguenstigesFAM}
                    index: 55
                  value:
                    choices: []
                    index: 57
            ImportFAM:
              match: {url: ImportFAM}
              schema:
                short: Dokumentation, ob ein Import-Arzneimittel im importrelevanten Markt gemäß Rahmenvertrag § 129 SGB V abgegeben wurde.
                constraint:
                  ImportFAM-1: {human: DokumentationFreitext Pflichtangabe bei Schlüssel = 4, source: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Zusatzattribute', severity: error, expression: extension('Schluessel').valueCodeableConcept.coding.code.matches('4') implies (extension('DokumentationFreitext').valueString.length() > 0)}
                _required: true
                index: 58
                extensions:
                  Gruppe:
                    url: Gruppe
                    _required: true
                    index: 60
                    elements:
                      url:
                        pattern: {type: Uri, value: Gruppe}
                        index: 61
                      value:
                        pattern:
                          type: CodeableConcept
                          value:
                            coding:
                            - {code: '4', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                        choices: [valueCodeableConcept]
                        index: 63
                      valueCodeableConcept:
                        type: CodeableConcept
                        pattern:
                          type: CodeableConcept
                          value:
                            coding:
                            - {code: '4', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                        choiceOf: value
                        index: 64
                    required: [value, valueCodeableConcept]
                  Schluessel:
                    url: Schluessel
                    _required: true
                    index: 65
                    elements:
                      url:
                        pattern: {type: Uri, value: Schluessel}
                        index: 66
                      value:
                        choices: [valueCodeableConcept]
                        index: 68
                      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 69}
                    required: [value, valueCodeableConcept]
                  DokumentationFreitext:
                    url: DokumentationFreitext
                    short: Dokumentation Apotheke
                    index: 70
                    elements:
                      url:
                        pattern: {type: Uri, value: DokumentationFreitext}
                        index: 71
                      value:
                        choices: [valueString]
                        index: 73
                      valueString: {type: string, choiceOf: value, index: 74}
                    required: [valueString, value]
                elements:
                  extension:
                    index: 59
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        Gruppe:
                          match: {url: Gruppe}
                          schema:
                            _required: true
                            index: 60
                            elements:
                              url:
                                pattern: {type: Uri, value: Gruppe}
                                index: 61
                              value:
                                pattern:
                                  type: CodeableConcept
                                  value:
                                    coding:
                                    - {code: '4', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                                choices: [valueCodeableConcept]
                                index: 63
                              valueCodeableConcept:
                                type: CodeableConcept
                                pattern:
                                  type: CodeableConcept
                                  value:
                                    coding:
                                    - {code: '4', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                                choiceOf: value
                                index: 64
                            required: [value, valueCodeableConcept]
                        Schluessel:
                          match: {url: Schluessel}
                          schema:
                            _required: true
                            index: 65
                            elements:
                              url:
                                pattern: {type: Uri, value: Schluessel}
                                index: 66
                              value:
                                choices: [valueCodeableConcept]
                                index: 68
                              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 69}
                            required: [value, valueCodeableConcept]
                        DokumentationFreitext:
                          match: {url: DokumentationFreitext}
                          schema:
                            short: Dokumentation Apotheke
                            index: 70
                            elements:
                              url:
                                pattern: {type: Uri, value: DokumentationFreitext}
                                index: 71
                              value:
                                choices: [valueString]
                                index: 73
                              valueString: {type: string, choiceOf: value, index: 74}
                            required: [valueString, value]
                  url:
                    pattern: {type: Uri, value: ImportFAM}
                    index: 75
                  value:
                    choices: []
                    index: 77
      url:
        pattern: {type: Uri, value: ZusatzattributFAM}
        index: 78
      value:
        choices: []
        index: 80
  ZusatzattributGruppeFuerGenehmigung:
    url: ZusatzattributGruppeFuerGenehmigung
    short: Dokumentation einer Genehmigung
    mustSupport: true
    index: 216
    extensions:
      Gruppe:
        url: Gruppe
        _required: true
        index: 218
        elements:
          url:
            pattern: {type: Uri, value: Gruppe}
            index: 219
          value:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: '13', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
            choices: [valueCodeableConcept]
            index: 221
          valueCodeableConcept:
            type: CodeableConcept
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: '13', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
            choiceOf: value
            index: 222
        required: [value, valueCodeableConcept]
      Schluessel:
        url: Schluessel
        _required: true
        index: 223
        elements:
          url:
            pattern: {type: Uri, value: Schluessel}
            index: 224
          value:
            pattern: {type: Boolean, value: true}
            choices: [valueBoolean]
            index: 226
          valueBoolean:
            type: boolean
            pattern: {type: Boolean, value: true}
            choiceOf: value
            index: 227
        required: [value, valueBoolean]
      DokumentationFreitext:
        url: DokumentationFreitext
        short: Dokumentation Apotheke
        _required: true
        index: 228
        elements:
          url:
            pattern: {type: Uri, value: DokumentationFreitext}
            index: 229
          value:
            choices: [valueString]
            index: 231
          valueString: {type: string, choiceOf: value, index: 232}
        required: [valueString, value]
      Datum:
        url: Datum
        short: Datum der Genehmigung
        _required: true
        index: 233
        elements:
          url:
            pattern: {type: Uri, value: Datum}
            index: 234
          value:
            choices: [valueDate]
            index: 236
          valueDate: {type: date, choiceOf: value, index: 237}
        required: [value, valueDate]
    elements:
      extension:
        index: 217
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            Gruppe:
              match: {url: Gruppe}
              schema:
                _required: true
                index: 218
                elements:
                  url:
                    pattern: {type: Uri, value: Gruppe}
                    index: 219
                  value:
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '13', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                    choices: [valueCodeableConcept]
                    index: 221
                  valueCodeableConcept:
                    type: CodeableConcept
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: '13', system: 'http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe'}
                    choiceOf: value
                    index: 222
                required: [value, valueCodeableConcept]
            Schluessel:
              match: {url: Schluessel}
              schema:
                _required: true
                index: 223
                elements:
                  url:
                    pattern: {type: Uri, value: Schluessel}
                    index: 224
                  value:
                    pattern: {type: Boolean, value: true}
                    choices: [valueBoolean]
                    index: 226
                  valueBoolean:
                    type: boolean
                    pattern: {type: Boolean, value: true}
                    choiceOf: value
                    index: 227
                required: [value, valueBoolean]
            DokumentationFreitext:
              match: {url: DokumentationFreitext}
              schema:
                short: Dokumentation Apotheke
                _required: true
                index: 228
                elements:
                  url:
                    pattern: {type: Uri, value: DokumentationFreitext}
                    index: 229
                  value:
                    choices: [valueString]
                    index: 231
                  valueString: {type: string, choiceOf: value, index: 232}
                required: [valueString, value]
            Datum:
              match: {url: Datum}
              schema:
                short: Datum der Genehmigung
                _required: true
                index: 233
                elements:
                  url:
                    pattern: {type: Uri, value: Datum}
                    index: 234
                  value:
                    choices: [valueDate]
                    index: 236
                  valueDate: {type: date, choiceOf: value, index: 237}
                required: [value, valueDate]
      url:
        pattern: {type: Uri, value: ZusatzattributGruppeFuerGenehmigung}
        index: 238
      value:
        choices: []
        index: 240
class: extension
kind: complex-type
url: http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Zusatzattribute
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 1.0.0