PackagesCanonicalsLogsProblems
    Packages
    tiplu.maia.schnittstellendefinition@1.1.3
    https://tiplu.de/fhir/maia/StructureDefinition/MaiaMedikament
description: Das vorliegende Medication-Profil im UseCase eines Medikamentes beschreibt alle verpflichtenden und optionalen Informationen, die ein Datenlieferant für Maia liefern muss.
package_name: tiplu.maia.schnittstellendefinition
derivation: constraint
name: MaiaMedikament
type: Medication
elements:
  id: {mustSupport: true, index: 0}
  code:
    mustSupport: true
    index: 1
    elements:
      coding:
        mustSupport: true
        index: 2
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: 1
          slices:
            ATC-DE:
              match: {system: 'http://fhir.de/CodeSystem/bfarm/atc'}
              schema:
                binding: {strength: required, valueSet: 'http://fhir.de/CodeSystem/bfarm/atc'}
                mustSupport: true
                pattern:
                  type: Coding
                  value: {system: 'http://fhir.de/CodeSystem/bfarm/atc'}
                _required: true
                type: Coding
                index: 3
              min: 1
              max: 1
            KundenCode:
              match: {system: 'https://tiplu.de/fhir/CodeSystem/kundencodes-med'}
              schema:
                mustSupport: true
                pattern:
                  type: Coding
                  value: {system: 'https://tiplu.de/fhir/CodeSystem/kundencodes-med'}
                type: Coding
                index: 4
                elements:
                  system:
                    pattern: {type: uri, value: 'https://tiplu.de/fhir/CodeSystem/kundencodes-med'}
                    mustSupport: true
                    type: uri
                    index: 5
                  code: {mustSupport: true, index: 6}
                required: [code, system]
    required: [coding]
  manufacturer:
    mustSupport: true
    index: 7
    elements:
      display: {mustSupport: true, index: 8}
package_version: 1.1.3
class: profile
kind: resource
url: https://tiplu.de/fhir/maia/StructureDefinition/MaiaMedikament
base: http://hl7.org/fhir/StructureDefinition/Medication
version: 1.0.0
required: [code, id]