Implementation Guide
ePA Medication Service
Version 1.2.0-ballot.2 - draft

## : ExampleSearchsetBundleEPAMedicationRequest - XML Representation

Raw xml | Download

    <Bundle xmlns="http://hl7.org/fhir">
      <id value="example-searchset-medicationrequest"/>
      <type value="searchset"/>
      <total value="100"/>
      <link>
        <relation value="self"/>
        <url
             value="/epa/medication/api/v1/fhir/MedicationRequest?_offset=20&amp;_count=10"/>
      </link>
      <link>
        <relation value="previous"/>
        <url
             value="/epa/medication/api/v1/fhir/MedicationRequest?_offset=10&amp;_count=10"/>
      </link>
      <link>
        <relation value="next"/>
        <url
             value="/epa/medication/api/v1/fhir/MedicationRequest?_offset=30&amp;_count=10"/>
      </link>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/MedicationRequest/7efae80a-a4d9-4e26-a1b9-92c72e79cfaa"/>
        <resource>
          <MedicationRequest>
            <id value="7efae80a-a4d9-4e26-a1b9-92c72e79cfaa"/>
            <meta>
              <versionId value="2"/>
              <lastUpdated value="2025-02-27T14:43:33.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.001.39_20250227"/>
            </identifier>
            <identifier>
              <system
                      value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/>
              <value
                     value="5e36a398-8baa-43a7-8c93-4815b8fc4211_160.100.000.000.001.39"/>
            </identifier>
            <status value="completed"/>
            <intent value="filler-order"/>
            <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>
            <authoredOn value="2025-02-27"/>
            <requester>🔗
              <reference
                         value="PractitionerRole/73a551f8-d8cd-4b44-823d-ab5f8aeab1aa"/>
            </requester>
            <dispenseRequest>
              <quantity>
                <value value="1"/>
                <unit value="Packung"/>
              </quantity>
            </dispenseRequest>
          </MedicationRequest>
        </resource>
        <search>
          <mode value="match"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/MedicationRequest/3191d752-3adf-4c7f-848d-8d43766fed72"/>
        <resource>
          <MedicationRequest>
            <id value="3191d752-3adf-4c7f-848d-8d43766fed72"/>
            <meta>
              <versionId value="2"/>
              <lastUpdated value="2025-05-22T14:43:33.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.006.24_20250520"/>
            </identifier>
            <identifier>
              <system
                      value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/>
              <value
                     value="bb91cde8-0426-4f4b-a766-5d818d0605bd_160.100.000.000.006.24"/>
            </identifier>
            <status value="active"/>
            <intent value="filler-order"/>
            <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>
            <authoredOn value="2025-05-20"/>
            <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="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>
            </dosageInstruction>
            <dispenseRequest>
              <quantity>
                <value value="1"/>
                <system value="http://unitsofmeasure.org"/>
                <code value="{Package}"/>
              </quantity>
            </dispenseRequest>
            <substitution>
              <allowedBoolean value="true"/>
            </substitution>
          </MedicationRequest>
        </resource>
        <search>
          <mode value="match"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/MedicationRequest/3c10c1ad-1d7a-47e8-abab-00b8299b49b8"/>
        <resource>
          <MedicationRequest>
            <id value="40df19aa-40e2-4ebc-a11d-9d232dcb0f67"/>
            <meta>
              <versionId value="2"/>
              <lastUpdated value="2025-11-27T14:43:40.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.002.36_20251127"/>
            </identifier>
            <identifier>
              <system
                      value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/>
              <value
                     value="f4f341f8-56b2-475b-914b-b8533c34f849_160.100.000.000.002.36"/>
            </identifier>
            <status value="completed"/>
            <intent value="filler-order"/>
            <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>
            <authoredOn value="2025-11-27"/>
            <requester>🔗
              <reference
                         value="PractitionerRole/73a551f8-d8cd-4b44-823d-ab5f8aeab1aa"/>
            </requester>
            <dosageInstruction>
              <text value="2mal tägl. 5ml"/>
            </dosageInstruction>
            <dispenseRequest>
              <quantity>
                <value value="1"/>
                <unit value="Packung"/>
              </quantity>
            </dispenseRequest>
            <substitution>
              <allowedBoolean value="true"/>
            </substitution>
          </MedicationRequest>
        </resource>
        <search>
          <mode value="match"/>
        </search>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/MedicationRequest/5aeaf266-a7ee-4e9d-bcb9-3c7dde96abad"/>
        <resource>
          <MedicationRequest>
            <id value="0e7f16e4-d879-4a2c-8292-41c55201bbdd"/>
            <meta>
              <versionId value="2"/>
              <lastUpdated value="2025-12-03T14:00:00.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.019.82_20251202"/>
            </identifier>
            <identifier>
              <system
                      value="https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier"/>
              <value
                     value="b7791120-8913-47d4-acd0-9ae633f6d6c0_160.100.000.000.019.82"/>
            </identifier>
            <status value="completed"/>
            <intent value="filler-order"/>
            <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>
            <authoredOn value="2025-12-02"/>
            <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>
        </resource>
        <search>
          <mode value="match"/>
        </search>
      </entry>
    </Bundle>