PackagesCanonicalsLogsProblems
    Packages
    de.gematik.epa.medication@1.3.4
    https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement
description: Hält die Medikationsinformationen eines Eintrags in der elektronischen Medikationsliste (eML) vor und stellt das zentrale Element dar. Es wird zu Verschreibungs- und Dispensierinformationen als auch Nachträgen in der eML genutzt.
package_name: de.gematik.epa.medication
derivation: constraint
name: EPAMedicationStatement
type: MedicationStatement
elements:
  meta:
    mustSupport: true
    index: 0
    elements:
      versionId: {mustSupport: true, index: 1}
      lastUpdated: {mustSupport: true, index: 2}
  dosage:
    type: Dosage
    short: Strukturierte Dosierung/Gebrauchsanweisung
    mustSupport: true
    index: 96
    elements:
      doseAndRate:
        elements:
          dose:
            mustSupport: true
            choices: []
            index: 98
            slicing:
              slices:
                doseQuantity:
                  match: {}
                  schema:
                    choices: [doseQuantity]
                    index: 100
          doseQuantity:
            type: Quantity
            choiceOf: dose
            index: 101
            slicing:
              slices:
                doseQuantity:
                  match: {}
                  schema: {type: Quantity, choiceOf: dose, index: 101}
          dose[x]:
            elements:
              value: {mustSupport: true, index: 102}
  derivedFrom:
    type: Reference
    short: Information des Verschreibungs- und Dispensierprozesses
    mustSupport: true
    refers: ['https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense', 'https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request']
    index: 84
    elements:
      reference: {mustSupport: true, index: 85}
      identifier:
        mustSupport: true
        index: 86
        elements:
          type:
            mustSupport: true
            index: 87
            elements:
              coding:
                mustSupport: true
                index: 88
                elements:
                  system: {mustSupport: true, index: 89}
                  version: {mustSupport: true, index: 90}
                  code: {mustSupport: true, index: 91}
                  display: {mustSupport: true, index: 92}
          system: {mustSupport: true, index: 93}
          value: {mustSupport: true, index: 94}
      display: {mustSupport: true, index: 95}
  medication[x]:
    elements:
      reference: {mustSupport: true, index: 60}
      identifier:
        mustSupport: true
        index: 61
        elements:
          type:
            mustSupport: true
            index: 62
            elements:
              coding:
                mustSupport: true
                index: 63
                elements:
                  system: {mustSupport: true, index: 64}
                  version: {mustSupport: true, index: 65}
                  code: {mustSupport: true, index: 66}
                  display: {mustSupport: true, index: 67}
          system: {mustSupport: true, index: 68}
          value: {mustSupport: true, index: 69}
      display: {mustSupport: true, index: 70}
  effective[x]:
    elements:
      start:
        constraint:
          epa-datetime: {human: 'dateTime muss mindestens aus Tag, Monat und Jahr bestehen', source: 'https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement', severity: error, expression: 'toString().matches(''^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?$'')'}
        mustSupport: true
        index: 81
      end:
        constraint:
          epa-datetime: {human: 'dateTime muss mindestens aus Tag, Monat und Jahr bestehen', source: 'https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement', severity: error, expression: 'toString().matches(''^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?$'')'}
        mustSupport: true
        index: 82
  extension:
    mustSupport: true
    index: 3
    slicing:
      slices:
        context:
          match: {}
          schema:
            type: Extension
            mustSupport: true
            url: https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension
            index: 4
            elements:
              url: {mustSupport: true, index: 5}
              value:
                mustSupport: true
                choices: []
                index: 7
        rxPrescriptionProcessIdentifier:
          match: {}
          schema:
            type: Extension
            mustSupport: true
            url: https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension
            index: 8
            elements:
              url: {mustSupport: true, index: 9}
              value:
                mustSupport: true
                choices: []
                index: 11
              value[x]:
                elements:
                  type:
                    mustSupport: true
                    index: 12
                    elements:
                      coding:
                        mustSupport: true
                        index: 13
                        elements:
                          system: {mustSupport: true, index: 14}
                          version: {mustSupport: true, index: 15}
                          code: {mustSupport: true, index: 16}
                          display: {mustSupport: true, index: 17}
        processingEvent:
          match: {}
          schema:
            type: Extension
            short: Ein Ereignis, welches während eines Prozessschritts auftritt.
            mustSupport: true
            url: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medicationstatement-processing-event-extension
            index: 18
            extensions:
              event:
                url: null
                index: 20
                elements:
                  url: {mustSupport: true, index: 21}
              dateTime:
                url: null
                index: 22
                elements:
                  url: {mustSupport: true, index: 23}
            elements:
              extension:
                mustSupport: true
                index: 19
                slicing:
                  slices:
                    event:
                      match: {}
                      schema:
                        index: 20
                        elements:
                          url: {mustSupport: true, index: 21}
                    dateTime:
                      match: {}
                      schema:
                        index: 22
                        elements:
                          url: {mustSupport: true, index: 23}
              url: {mustSupport: true, index: 24}
        renderedDosageInstruction:
          match: {}
          schema:
            short: Vollständige Darstellung der Dosierungsanweisungen (generiert aus den Dosage-Elementen).
            type: Extension
            mustSupport: true
            url: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction
            index: 25
            elements:
              url: {mustSupport: true, index: 26}
              value:
                mustSupport: true
                choices: []
                index: 28
        generatedDosageInstructionsMeta:
          match: {}
          schema:
            short: Metadaten zu den generierten Dosierungsanweisungen
            type: Extension
            mustSupport: true
            url: http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta
            index: 29
            extensions:
              language:
                url: null
                index: 30
                elements:
                  url: {mustSupport: true, index: 31}
                  value:
                    mustSupport: true
                    choices: []
                    index: 33
              algorithmVersion:
                url: null
                index: 34
                elements:
                  url: {mustSupport: true, index: 35}
                  value:
                    mustSupport: true
                    choices: []
                    index: 37
            elements:
              extension:
                index: 30
                slicing:
                  slices:
                    language:
                      match: {}
                      schema:
                        index: 30
                        elements:
                          url: {mustSupport: true, index: 31}
                          value:
                            mustSupport: true
                            choices: []
                            index: 33
                    algorithmVersion:
                      match: {}
                      schema:
                        index: 34
                        elements:
                          url: {mustSupport: true, index: 35}
                          value:
                            mustSupport: true
                            choices: []
                            index: 37
              url: {mustSupport: true, index: 38}
  effectiveDateTime:
    constraint:
      epa-datetime: {human: 'dateTime muss mindestens aus Tag, Monat und Jahr bestehen', source: 'https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement', severity: error, expression: 'toString().matches(''^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?$'')'}
    type: dateTime
    mustSupport: true
    choiceOf: effective
    index: 77
    slicing:
      slices:
        effectiveDateTime:
          match: {}
          schema:
            constraint:
              epa-datetime: {human: 'dateTime muss mindestens aus Tag, Monat und Jahr bestehen', source: 'https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement', severity: error, expression: 'toString().matches(''^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?$'')'}
            type: dateTime
            mustSupport: true
            choiceOf: effective
            index: 77
          min: 0
          max: 1
  status:
    short: unknown | entered-in-error | intended
    binding: {strength: required, valueSet: 'https://gematik.de/fhir/epa-medication/ValueSet/epa-medication-statement-status-vs'}
    mustSupport: true
    index: 56
  effective:
    mustSupport: true
    choices: [effectivePeriod]
    index: 79
    slicing:
      slices:
        effectivePeriod:
          match: {}
          schema:
            mustSupport: true
            choices: [effectivePeriod]
            index: 79
          min: 0
          max: 1
  dateAsserted:
    constraint:
      epa-datetime: {human: 'dateTime muss mindestens aus Tag, Monat und Jahr bestehen', source: 'https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement', severity: error, expression: 'toString().matches(''^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?$'')'}
    mustSupport: true
    index: 83
  basedOn:
    type: Reference
    mustSupport: true
    refers: ['https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication-request', 'https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request']
    index: 39
    extensions:
      isEMP:
        url: https://gematik.de/fhir/epa-medication/StructureDefinition/is-emp-extension
        type: Extension
        mustSupport: true
        index: 41
        elements:
          url: {mustSupport: true, index: 42}
          value:
            mustSupport: true
            choices: []
            index: 44
    elements:
      extension:
        mustSupport: true
        index: 40
        slicing:
          slices:
            isEMP:
              match: {}
              schema:
                type: Extension
                mustSupport: true
                url: https://gematik.de/fhir/epa-medication/StructureDefinition/is-emp-extension
                index: 41
                elements:
                  url: {mustSupport: true, index: 42}
                  value:
                    mustSupport: true
                    choices: []
                    index: 44
      reference: {mustSupport: true, index: 45}
      identifier:
        mustSupport: true
        index: 46
        elements:
          type:
            mustSupport: true
            index: 47
            elements:
              coding:
                mustSupport: true
                index: 48
                elements:
                  system: {mustSupport: true, index: 49}
                  version: {mustSupport: true, index: 50}
                  code: {mustSupport: true, index: 51}
                  display: {mustSupport: true, index: 52}
          system: {mustSupport: true, index: 53}
          value: {mustSupport: true, index: 54}
      display: {mustSupport: true, index: 55}
  medicationReference:
    type: Reference
    short: Arzneimittel, welches diese Medikationsinformation bzw. dieses MedicationStatement näher beschreibt
    mustSupport: true
    choiceOf: medication
    refers: ['https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication']
    index: 59
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/Patient']
    index: 71
    elements:
      identifier: {type: Identifier, mustSupport: true, index: 72}
    required: [identifier]
  effectivePeriod:
    type: Period
    mustSupport: true
    choiceOf: effective
    index: 80
    slicing:
      slices:
        effectivePeriod:
          match: {}
          schema: {type: Period, mustSupport: true, choiceOf: effective, index: 80}
          min: 0
          max: 1
  medication:
    short: Arzneimittel, welches diese Medikationsinformation bzw. dieses MedicationStatement näher beschreibt
    mustSupport: true
    choices: [medicationReference]
    index: 58
package_version: 1.3.4
extensions:
  context:
    url: https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension
    type: Extension
    mustSupport: true
    index: 4
    elements:
      url: {mustSupport: true, index: 5}
      value:
        mustSupport: true
        choices: []
        index: 7
  rxPrescriptionProcessIdentifier:
    url: https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension
    type: Extension
    mustSupport: true
    index: 8
    elements:
      url: {mustSupport: true, index: 9}
      value:
        mustSupport: true
        choices: []
        index: 11
      value[x]:
        elements:
          type:
            mustSupport: true
            index: 12
            elements:
              coding:
                mustSupport: true
                index: 13
                elements:
                  system: {mustSupport: true, index: 14}
                  version: {mustSupport: true, index: 15}
                  code: {mustSupport: true, index: 16}
                  display: {mustSupport: true, index: 17}
  processingEvent:
    url: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medicationstatement-processing-event-extension
    type: Extension
    short: Ein Ereignis, welches während eines Prozessschritts auftritt.
    mustSupport: true
    index: 18
    extensions:
      event:
        url: null
        index: 20
        elements:
          url: {mustSupport: true, index: 21}
      dateTime:
        url: null
        index: 22
        elements:
          url: {mustSupport: true, index: 23}
    elements:
      extension:
        mustSupport: true
        index: 19
        slicing:
          slices:
            event:
              match: {}
              schema:
                index: 20
                elements:
                  url: {mustSupport: true, index: 21}
            dateTime:
              match: {}
              schema:
                index: 22
                elements:
                  url: {mustSupport: true, index: 23}
      url: {mustSupport: true, index: 24}
  renderedDosageInstruction:
    url: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction
    short: Vollständige Darstellung der Dosierungsanweisungen (generiert aus den Dosage-Elementen).
    type: Extension
    mustSupport: true
    index: 25
    elements:
      url: {mustSupport: true, index: 26}
      value:
        mustSupport: true
        choices: []
        index: 28
  generatedDosageInstructionsMeta:
    url: http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta
    short: Metadaten zu den generierten Dosierungsanweisungen
    type: Extension
    mustSupport: true
    index: 29
    extensions:
      language:
        url: null
        index: 30
        elements:
          url: {mustSupport: true, index: 31}
          value:
            mustSupport: true
            choices: []
            index: 33
      algorithmVersion:
        url: null
        index: 34
        elements:
          url: {mustSupport: true, index: 35}
          value:
            mustSupport: true
            choices: []
            index: 37
    elements:
      extension:
        index: 30
        slicing:
          slices:
            language:
              match: {}
              schema:
                index: 30
                elements:
                  url: {mustSupport: true, index: 31}
                  value:
                    mustSupport: true
                    choices: []
                    index: 33
            algorithmVersion:
              match: {}
              schema:
                index: 34
                elements:
                  url: {mustSupport: true, index: 35}
                  value:
                    mustSupport: true
                    choices: []
                    index: 37
      url: {mustSupport: true, index: 38}
class: profile
kind: resource
url: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement
base: http://hl7.org/fhir/StructureDefinition/MedicationStatement
version: 1.3.2
required: [extension]