<?xml version="1.0" encoding="UTF-8"?>

<MedicationRequest xmlns="http://hl7.org/fhir">
  <id value="08cb8487-2758-406c-999a-e23a05e63c0b"/>
  <meta>
    <versionId value="2"/>
    <lastUpdated value="2025-09-08T14:50:01.244Z"/>
    <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request"/>
  </meta>
  <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension">
    <extension url="indicator">
      <valueBoolean value="false"/>
    </extension>
  </extension>
  <identifier>
    <system value="https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier"/>
    <value value="160.100.000.000.011.09_20250906"/>
  </identifier>
  <identifier>
    <system value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/>
    <value value="59b9fa64-4ca1-4bd2-8388-652d0fec32b2_160.100.000.000.011.09"/>
  </identifier>
  <status value="completed"/>
  <intent value="filler-order"/>
  <medicationReference>
    <reference value="Medication/19549515-60a8-4e1c-b86a-49518053fe9f"/>
  </medicationReference>
  <subject>
    <identifier>
      <system value="http://fhir.de/sid/gkv/kvid-10"/>
      <value value="X110411319"/>
    </identifier>
  </subject>
  <authoredOn value="2025-09-06"/>
  <requester>
    <reference value="PractitionerRole/73a551f8-d8cd-4b44-823d-ab5f8aeab1aa"/>
  </requester>
  <dosageInstruction>
    <extension url="http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructions">
      <extension url="algorithm">
        <valueCoding>
          <system value="http://ig.fhir.de/igs/medication/CodeSystem/DosageTextAlgorithm"/>
          <version value="1.0.0"/>
          <code value="GematikDosageTextGenerator"/>
        </valueCoding>
      </extension>
      <extension url="algorithmVersion">
        <valueString value="1.0.0"/>
      </extension>
      <extension url="language">
        <valueCode value="de-DE"/>
      </extension>
      <extension url="text">
        <valueString value="täglich: morgens — je 1 Stück"/>
      </extension>
    </extension>
    <timing>
      <repeat>
        <frequency value="1"/>
        <period value="1"/>
        <periodUnit value="d"/>
        <when value="MORN"/>
      </repeat>
    </timing>
    <doseAndRate>
      <doseQuantity>
        <value value="1"/>
        <unit value="Stück"/>
        <system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_BMP_DOSIEREINHEIT"/>
        <code value="1"/>
      </doseQuantity>
    </doseAndRate>
  </dosageInstruction>
  <dispenseRequest>
    <quantity>
      <value value="1"/>
      <unit value="Packung"/>
    </quantity>
  </dispenseRequest>
  <substitution>
    <allowedBoolean value="true"/>
  </substitution>
</MedicationRequest>