PackagesCanonicalsLogsProblems
    Packages
    de.gematik.epa.research@1.3.1
    https://gematik.de/fhir/epa-research/StructureDefinition/epa-research-medication
description: Pseudonymisiertes Gegenstück zu EPAMedication für den ePA-Forschungsdatensatz. Identifizierende Elemente werden entfernt oder anonymisiert; nur explizit deklarierte Extensions werden aus der Quellinstanz übernommen.
package_name: de.gematik.epa.research
derivation: constraint
name: EPAResearchMedication
type: Medication
elements:
  meta:
    elements:
      source: {index: 0}
      tag:
        mustSupport: true
        index: 1
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: 1
          slices:
            TagSourceProfile:
              match: {system: 'https://gematik.de/fhir/epa-research/sid/source-profile'}
              schema:
                mustSupport: true
                _required: true
                index: 2
                elements:
                  system:
                    pattern: {type: Uri, value: 'https://gematik.de/fhir/epa-research/sid/source-profile'}
                    index: 3
                  code: {mustSupport: true, index: 4}
                required: [system, code]
    required: [tag]
  text: {index: 5}
  extension:
    index: 6
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        isVaccine:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension', index: 7}
          min: 0
          max: 1
        drugCategory:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension', index: 8}
          min: 0
          max: 1
        normSizeCode:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://fhir.de/StructureDefinition/normgroesse', index: 9}
          min: 0
          max: 1
        type:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension', index: 10}
          min: 0
          max: 1
  code:
    elements:
      coding:
        index: 11
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: value}
          min: null
          slices:
            atc-de:
              match: {}
              schema:
                index: 12
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.de/CodeSystem/bfarm/atc'}
                    index: 13
      text: {index: 14}
  status: {index: 15}
  form:
    elements:
      text: {index: 16}
  ingredient:
    elements:
      item:
        choices: []
        index: 18
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            itemCodeableConcept:
              match: {}
              schema:
                choices: [itemCodeableConcept]
                index: 20
              min: 0
              max: 1
      itemCodeableConcept:
        type: CodeableConcept
        choiceOf: item
        index: 21
        slicing:
          slices:
            itemCodeableConcept:
              match: {}
              schema: {type: CodeableConcept, choiceOf: item, index: 21}
              min: 0
              max: 1
      item[x]:
        elements:
          coding:
            index: 22
            slicing:
              rules: open
              discriminator:
              - {path: $this, type: value}
              min: null
              slices:
                atc-de:
                  match: {}
                  schema:
                    index: 23
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://fhir.de/CodeSystem/bfarm/atc'}
                        index: 24
          text: {index: 25}
package_version: 1.3.1
extensions:
  isVaccine: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 7}
  drugCategory: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 8}
  normSizeCode: {url: 'http://fhir.de/StructureDefinition/normgroesse', min: 0, max: 1, type: Extension, mustSupport: true, index: 9}
  type: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-type-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 10}
class: profile
kind: resource
url: https://gematik.de/fhir/epa-research/StructureDefinition/epa-research-medication
base: http://hl7.org/fhir/StructureDefinition/Medication
version: 1.3.1