invalid-example-history-reference-not-allowed-emp-input
type: Parameters
node role: treeRoot
resource.id:
  value: invalid-example-history-reference-not-allowed-emp-input
resource.meta:
  meta.profile:
    value: https://gematik.de/fhir/epa-medication/StructureDefinition/epa-op-add-emp-entry-input-parameters|1.3.0
    index: 0
    link: 1.3
    link: .0
parameters.parameter:
  index: 0
  parameters.parameter.name:
    value: acknowledgedChronologyId
parameters.parameter:
  index: 1
  parameters.parameter.name:
    value: medication
  parameters.parameter.part:
    index: 0
    parameters.parameter.name:
      value: reference
    parameters.parameter.value reference:
      link: https://gematik.de/fhir/epa-medication/Medication/fc7b28e8-05ac-4ac8-86d7-7677d9c6134e/_history/2
parameters.parameter:
  index: 2
  parameters.parameter.name:
    value: empEntry
  parameters.parameter.resource: MedicationRequest
    resource.meta:
      meta.profile:
        value: https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication-request|1.3.1
        index: 0
        link: 1.3
        link: .1
    domain resource.extension:
      index: 0
      extension.url:
        value: https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension
      extension.value code:
        value: EMP
    domain resource.extension:
      index: 1
      extension.url:
        value: https://gematik.de/fhir/epa-medication/StructureDefinition/reason-patient-instruction-extension
      extension.value string:
        value: akuten Behandlung von Migräneanfällen mit und ohne Aura
    domain resource.extension:
      index: 2
      extension.url:
        value: https://gematik.de/fhir/epa-medication/StructureDefinition/patient-note-extension
    domain resource.extension:
      index: 3
      extension.url:
        value: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.effectiveDosePeriod
    domain resource.extension:
      index: 4
      extension.url:
        value: https://gematik.de/fhir/epa-medication/StructureDefinition/emp-origin-medication-extension
      extension.value reference:
        link: https://gematik.de/fhir/epa-medication/Medication/87f08ba2-da7e-467e-86aa-404d9035297c
    domain resource.extension:
      index: 5
      extension.url:
        value: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction
      extension.value markdown:
        value: 1-0-0-0 Stück
    domain resource.extension:
      index: 6
      element.extension:
        index: 0
      element.extension:
        index: 1
      extension.url:
        value: http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta
    medication request.status:
      value: active
    medication request.intent:
      value: plan
    medication request.medication reference:
      link: https://gematik.de/fhir/epa-medication/Medication/87f08ba2-da7e-467e-86aa-404d9035297c
      reference.display:
        value: Sumatriptan-1a Pharma 100 mg Tabletten
    medication request.authored on:
      value: 2026-11-01
    medication request.note:
      index: 0
      annotation.text:
        value: Hinweis für den LE
    medication request.dosage instruction:
      index: 0
      dosage.dose and rate:
        index: 0

value: Bitte schützen Sie das Arzneimittel vor hohen Temperaturen und direkter Sonneneinstrahlung.

value: 2026-12-01

value: 2027-02-01

value: algorithmVersion

value: 1.0.1

value: language

value: de-DE

value: X110411319

timing.repeat.frequency:
  value: 1
timing.repeat.period:
  value: 1
timing.repeat.period unit:
  value: d
timing.repeat.when:
  value: MORN
  index: 0

quantity.value:
  value: 1
quantity.unit:
  value: Stück
quantity.system:
  value: https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT
quantity.code:
  value: 1