Implementation Guide
Telematikinfrastruktur (TI) Common
Version 1.1.1 - release

## : Example History Bundle - XML Representation

Raw xml | Download

    <Bundle xmlns="http://hl7.org/fhir">
      <id value="example-history-bundle"/>
      <type value="history"/>
      <total value="2"/>
      <link>
        <relation value="self"/>
        <url
             value="/epa/medication/api/v1/fhir/MedicationDispense/4e6e1623-778e-44a3-b208-8479f5339e43/_history"/>
      </link>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/MedicationDispense/4e6e1623-778e-44a3-b208-8479f5339e43"/>
        <request>
          <method value="DELETE"/>
          <url
               value="MedicationDispense/4e6e1623-778e-44a3-b208-8479f5339e43/_history/2"/>
        </request>
        <response>
          <status value="200 OK"/>
          <lastModified value="2025-08-22T15:00:00.000Z"/>
        </response>
      </entry>
      <entry>
        <fullUrl
                 value="http://epa4all/epa/medication/api/v1/fhir/MedicationDispense/4e6e1623-778e-44a3-b208-8479f5339e43"/>
        <resource>
          <MedicationDispense>
            <id value="4e6e1623-778e-44a3-b208-8479f5339e43"/>
            <meta>
              <versionId value="1"/>
              <lastUpdated value="2025-08-22T14:43:33.244Z"/>
              <profile
                       value="https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"/>
            </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="162.153.303.257.459_20250301"/>
              </valueIdentifier>
            </extension>
            <status value="completed"/>
            <medicationReference>
              <reference value="Medication/16e5611a-911c-4c0e-a705-43b0e4e79cf6"/>
            </medicationReference>
            <subject>
              <identifier>
                <system value="http://fhir.de/sid/gkv/kvid-10"/>
                <value value="X110411319"/>
              </identifier>
            </subject>
            <performer>
              <actor>
                <reference
                           value="Organization/a2ce62fc-1f29-4759-863e-1a1ca7f9669e"/>
              </actor>
            </performer>
            <authorizingPrescription>
              <reference
                         value="MedicationRequest/f434862b-9bf8-414d-8b94-5eaa0b4bbf01"/>
            </authorizingPrescription>
            <whenHandedOver value="2025-08-22"/>
            <dosageInstruction>
              <text value="1-0-0-0"/>
            </dosageInstruction>
            <substitution>
              <wasSubstituted value="false"/>
            </substitution>
          </MedicationDispense>
        </resource>
        <request>
          <method value="POST"/>
          <url
               value="MedicationDispense/4e6e1623-778e-44a3-b208-8479f5339e43/_history/1"/>
        </request>
        <response>
          <status value="201 Created"/>
          <lastModified value="2025-08-22T14:43:33.244Z"/>
        </response>
      </entry>
    </Bundle>