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

<Bundle xmlns="http://hl7.org/fhir">
  <id value="example-searchset-medicationstatement"/>
  <type value="searchset"/>
  <total value="100"/>
  <link>
    <relation value="self"/>
    <url value="/epa/medication/api/v1/fhir/MedicationStatement?_offset=20&amp;_count=10"/>
  </link>
  <link>
    <relation value="previous"/>
    <url value="/epa/medication/api/v1/fhir/MedicationStatement?_offset=10&amp;_count=10"/>
  </link>
  <link>
    <relation value="next"/>
    <url value="/epa/medication/api/v1/fhir/MedicationStatement?_offset=30&amp;_count=10"/>
  </link>
  <entry>
    <fullUrl value="http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/b87b0908-7765-4ec0-8662-7d3daff08f6e"/>
    <resource>
      <MedicationStatement>
        <id value="b87b0908-7765-4ec0-8662-7d3daff08f6e"/>
        <meta>
          <versionId value="2"/>
          <lastUpdated value="2025-02-27T14:43:33.244Z"/>
          <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement"/>
        </meta>
        <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension">
          <valueIdentifier>
            <system value="https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier"/>
            <value value="160.100.000.000.001.39_20250227"/>
          </valueIdentifier>
        </extension>
        <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension">
          <valueCode value="PRESCRIPTION"/>
        </extension>
        <status value="unknown"/>
        <medicationReference>
          <reference value="Medication/56ca34f1-a3f3-42f7-95a2-f5a6423c2031"/>
        </medicationReference>
        <subject>
          <identifier>
            <system value="http://fhir.de/sid/gkv/kvid-10"/>
            <value value="X110411319"/>
          </identifier>
        </subject>
        <effectivePeriod>
          <start value="2025-02-27"/>
        </effectivePeriod>
        <dateAsserted value="2025-02-27"/>
        <derivedFrom>
          <reference value="MedicationRequest/7efae80a-a4d9-4e26-a1b9-92c72e79cfaa"/>
        </derivedFrom>
        <derivedFrom>
          <reference value="MedicationDispense/c0b553bd-2542-49d7-b5e1-0a770185e39f"/>
        </derivedFrom>
      </MedicationStatement>
    </resource>
    <search>
      <mode value="match"/>
    </search>
  </entry>
  <entry>
    <fullUrl value="http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/f3988023-2313-4645-bd6b-f9e37cfb6fc7"/>
    <resource>
      <MedicationStatement>
        <id value="f3988023-2313-4645-bd6b-f9e37cfb6fc7"/>
        <meta>
          <versionId value="2"/>
          <lastUpdated value="2025-05-22T14:43:34.244Z"/>
          <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement"/>
        </meta>
        <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension">
          <valueIdentifier>
            <system value="https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier"/>
            <value value="160.100.000.000.006.24_20250520"/>
          </valueIdentifier>
        </extension>
        <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension">
          <valueCode value="PRESCRIPTION"/>
        </extension>
        <status value="unknown"/>
        <medicationReference>
          <reference value="Medication/bb91cde8-0426-4f4b-a766-5d818d0605bd"/>
        </medicationReference>
        <subject>
          <identifier>
            <system value="http://fhir.de/sid/gkv/kvid-10"/>
            <value value="X110411319"/>
          </identifier>
        </subject>
        <effectivePeriod>
          <start value="2025-05-22"/>
        </effectivePeriod>
        <dateAsserted value="2025-05-22"/>
        <derivedFrom>
          <reference value="MedicationRequest/3191d752-3adf-4c7f-848d-8d43766fed72"/>
        </derivedFrom>
        <derivedFrom>
          <reference value="MedicationDispense/4e6e1623-778e-44a3-b208-8479f5339e43"/>
        </derivedFrom>
        <dosage>
          <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="2 x täglich: morgens und abends — je 1 Stück"/>
            </extension>
          </extension>
          <timing>
            <repeat>
              <frequency value="2"/>
              <period value="1"/>
              <periodUnit value="d"/>
              <when value="MORN"/>
              <when value="EVE"/>
            </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>
        </dosage>
      </MedicationStatement>
    </resource>
    <search>
      <mode value="match"/>
    </search>
  </entry>
  <entry>
    <fullUrl value="http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/1b88713c-64cc-40ad-9665-70ca5f7dfb08"/>
    <resource>
      <MedicationStatement>
        <id value="1b88713c-64cc-40ad-9665-70ca5f7dfb08"/>
        <meta>
          <versionId value="2"/>
          <lastUpdated value="2025-11-27T14:43:42.244Z"/>
          <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement"/>
        </meta>
        <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension">
          <valueIdentifier>
            <system value="https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier"/>
            <value value="160.100.000.000.002.36_20251127"/>
          </valueIdentifier>
        </extension>
        <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension">
          <valueCode value="PRESCRIPTION"/>
        </extension>
        <status value="unknown"/>
        <medicationReference>
          <reference value="Medication/ab8addbd-c4c7-48d2-bf4b-4a7c99f9fd6e"/>
        </medicationReference>
        <subject>
          <identifier>
            <system value="http://fhir.de/sid/gkv/kvid-10"/>
            <value value="X110411319"/>
          </identifier>
        </subject>
        <effectivePeriod>
          <start value="2025-11-22"/>
        </effectivePeriod>
        <dateAsserted value="2025-11-27"/>
        <derivedFrom>
          <reference value="MedicationRequest/40df19aa-40e2-4ebc-a11d-9d232dcb0f67"/>
        </derivedFrom>
        <derivedFrom>
          <reference value="MedicationDispense/3c10c1ad-1d7a-47e8-abab-00b8299b49b8"/>
        </derivedFrom>
        <dosage>
          <text value="2mal tägl. 5ml"/>
        </dosage>
      </MedicationStatement>
    </resource>
    <search>
      <mode value="match"/>
    </search>
  </entry>
  <entry>
    <fullUrl value="http://epa4all/epa/medication/api/v1/fhir/MedicationStatement/0fc1f006-5793-4501-81b6-fe3918fcfa2d"/>
    <resource>
      <MedicationStatement>
        <id value="0fc1f006-5793-4501-81b6-fe3918fcfa2d"/>
        <meta>
          <versionId value="2"/>
          <lastUpdated value="2025-12-03T14:00:00.244Z"/>
          <profile value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement"/>
        </meta>
        <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension">
          <valueIdentifier>
            <system value="https://gematik.de/fhir/epa-medication/sid/rx-prescription-process-identifier"/>
            <value value="160.100.000.000.019.82_20251202"/>
          </valueIdentifier>
        </extension>
        <extension url="https://gematik.de/fhir/epa-medication/StructureDefinition/context-extension">
          <valueCode value="PRESCRIPTION"/>
        </extension>
        <status value="unknown"/>
        <medicationReference>
          <reference value="Medication/3f0b0cb0-e8cf-4aaf-bad8-01a51619417b"/>
        </medicationReference>
        <subject>
          <identifier>
            <system value="http://fhir.de/sid/gkv/kvid-10"/>
            <value value="X110411319"/>
          </identifier>
        </subject>
        <effectivePeriod>
          <start value="2025-12-03"/>
        </effectivePeriod>
        <dateAsserted value="2025-12-02"/>
        <derivedFrom>
          <reference value="MedicationRequest/0e7f16e4-d879-4a2c-8292-41c55201bbdd"/>
        </derivedFrom>
        <derivedFrom>
          <reference value="MedicationDispense/5aeaf266-a7ee-4e9d-bcb9-3c7dde96abad"/>
        </derivedFrom>
        <dosage>
          <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>
        </dosage>
      </MedicationStatement>
    </resource>
    <search>
      <mode value="match"/>
    </search>
  </entry>
</Bundle>