PackagesCanonicalsLogsProblems
    Packages
    de.gematik.epa.medication@1.2.0-ballot.1
    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:
  category: {index: 12}
  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: 28}
  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: 24
  reasonCode: {index: 25}
  statusReason: {index: 11}
  note: {index: 27}
  extension:
    index: 3
    slicing:
      slices:
        context:
          match: {}
          schema:
            type: Extension
            mustSupport: true
            url: https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension
            index: 4
            elements:
              value:
                choices: []
                index: 6
        rxPrescriptionProcessIdentifier:
          match: {}
          schema: {type: Extension, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension', index: 7}
          min: 0
          max: 1
        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: 8}
          min: 0
  effectiveDateTime:
    type: dateTime
    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
    choiceOf: effective
    index: 21
  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: 10
  effective:
    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
    choices: [effectiveDateTime]
    index: 20
  context: {index: 18}
  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: 22
  basedOn:
    extensions:
      isEMP: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/is-emp-extension', min: 0, max: 1, type: Extension, index: 9}
    elements:
      extension:
        type: Extension
        url: https://gematik.de/fhir/epa-medication/StructureDefinition/is-emp-extension
        index: 9
        slicing:
          slices:
            isEMP:
              match: {}
              schema: {type: Extension, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/is-emp-extension', index: 9}
              min: 0
              max: 1
  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: 15
  informationSource: {index: 23}
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/Patient']
    index: 16
    elements:
      identifier: {type: Identifier, mustSupport: true, index: 17}
    required: [identifier]
  medication:
    short: Arzneimittel, welches diese Medikationsinformation bzw. dieses MedicationStatement näher beschreibt
    mustSupport: true
    choices: [medicationReference]
    index: 14
  reasonReference: {index: 26}
package_version: 1.2.0-ballot.1
extensions:
  context:
    url: https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension
    type: Extension
    mustSupport: true
    index: 4
    elements:
      value:
        choices: []
        index: 6
  rxPrescriptionProcessIdentifier: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension', min: 0, max: 1, type: Extension, index: 7}
  processingEvent: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medicationstatement-processing-event-extension', min: 0, type: Extension, short: 'Ein Ereignis, welches während eines Prozessschritts auftritt.', mustSupport: true, index: 8}
class: profile
kind: resource
url: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement
base: http://hl7.org/fhir/StructureDefinition/MedicationStatement
version: 1.2.0-ballot.1
required: [effectiveDateTime, extension, effective]