Implementation Guide
TIFlow - Grenzüberschreitender Datenaustausch
Version 2.0.0-ballot.2 - ballot

## : ERPEU CapabilityStatement fuer den E-Rezept-Fachdienst - XML Representation

Active as of 2026-01-08

Raw xml | Download

    <CapabilityStatement xmlns="http://hl7.org/fhir">
      <id value="ti-flow-fachdienst-server-erpeu"/>
      <meta>
        <profile
                 value="https://gematik.de/fhir/ti/StructureDefinition/ti-capability-statement"/>
      </meta>
      <text>
        <status value="extensions"/>
        <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: CapabilityStatement ti-flow-fachdienst-server-erpeu</b></p><a name="ti-flow-fachdienst-server-erpeu"> </a><a name="hcti-flow-fachdienst-server-erpeu"> </a><div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px"/><p style="margin-bottom: 0px">Profile: <a href="https://gematik.de/fhir/ti/1.4.0-ballot.1/StructureDefinition-ti-capability-statement.html">Capability Statement Profil für TI FHIR Data Service</a></p></div><h2 id="title">ERPEU CapabilityStatement fuer den E-Rezept-Fachdienst</h2><ul><li>Implementation Guide Version: 2.0.0-ballot.2 </li><li>FHIR Version: 4.0.1 </li><li>Supported Formats: <code>application/fhir+json</code>, <code>application/fhir+xml</code></li><li>Published on: 2026-01-08 </li><li>Published by: gematik GmbH </li></ul><blockquote class="impl-note"><p><strong>Note to Implementers: FHIR Capabilities</strong></p><p>Any FHIR capability may be 'allowed' by the system unless explicitly marked as 'SHALL NOT'. A few items are marked as MAY in the Implementation Guide to highlight their potential relevance to the use case.</p></blockquote><h2 id="rest">FHIR RESTful Capabilities</h2><div class="panel panel-default"><div class="panel-heading"><h3 id="mode1" class="panel-title">Mode: <code>server</code></h3></div><div class="panel-body"><div class="row"><div class="col-12"><span class="lead">Summary of System-wide Operations</span><table class="table table-condensed table-hover"><thead><tr><th>Conformance</th><th>Operation</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td><a href="OperationDefinition-GrantEUAccessPermission.html">$grant-eu-access-permission</a></td><td><div><p>Registers access code and country for EU prescription access</p>
    </div></td></tr><tr><td><b>SHALL</b></td><td><a href="OperationDefinition-ReadEUAccessPermission.html">$read-eu-access-permission</a></td><td><div><p>Reads the currently registered EU access code</p>
    </div></td></tr><tr><td><b>SHALL</b></td><td><a href="OperationDefinition-RevokeEUAccessPermission.html">$revoke-eu-access-permission</a></td><td><div><p>Revokes the currently registered EU access code</p>
    </div></td></tr><tr><td><b>SHALL</b></td><td><a href="OperationDefinition-GETPrescriptionEU.html">$get-eu-prescriptions</a></td><td><div><p>Returns prescription information for EU ePrescription workflows</p>
    </div></td></tr></tbody></table></div></div></div></div><h3 id="resourcesCap1">Capabilities by Resource/Profile</h3><h4 id="resourcesSummary1">Summary</h4><p>The summary table lists the resources that are part of this configuration, and for each resource it lists:</p><ul><li>The relevant profiles (if any)</li><li>The interactions supported by each resource (<b><span class="bg-info">R</span></b>ead, <b><span class="bg-info">S</span></b>earch, <b><span class="bg-info">U</span></b>pdate, and <b><span class="bg-info">C</span></b>reate, are always shown, while <b><span class="bg-info">VR</span></b>ead, <b><span class="bg-info">P</span></b>atch, <b><span class="bg-info">D</span></b>elete, <b><span class="bg-info">H</span></b>istory on <b><span class="bg-info">I</span></b>nstance, or <b><span class="bg-info">H</span></b>istory on <b><span class="bg-info">T</span></b>ype are only present if at least one of the resources has support for them.</li><li><span>The required, recommended, and some optional search parameters (if any). </span></li><li>The linked resources enabled for <code>_include</code></li><li>The other resources enabled for <code>_revinclude</code></li><li>The operations on the resource (if any)</li></ul><div class="table-responsive"><table class="table table-condensed table-hover"><thead><tr><th><b>Resource Type</b></th><th><b>Profile</b></th><th class="text-center"><b title="GET a resource (read interaction)">R</b></th><th class="text-center"><b title="GET all set of resources of the type (search interaction)">S</b></th><th class="text-center"><b title="PUT a new resource version (update interaction)">U</b></th><th class="text-center"><b title="PATCH a new resource version (patch interaction)">P</b></th><th class="text-center"><b title="POST a new resource (create interaction)">C</b></th><th class="text-center"><b title="DELETE a resource (delete interaction)">D</b></th><th><b title="Required and recommended search parameters">Searches</b></th><th><code><b>_include</b></code></th><th><code><b>_revinclude</b></code></th><th><b>Operations</b></th></tr></thead><tbody><tr><td><a href="#Task1-1">Task</a></td><td>Supported Profiles<br/>  <code>https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task</code></td><td class="text-center"><span title="SHALL"><b>Y</b></span></td><td class="text-center"><span title="SHALL"><b>Y</b></span></td><td class="text-center"/><td class="text-center"><span title="SHALL"><b>Y</b></span></td><td class="text-center"/><td class="text-center"/><td>_id, prescription-id, access-code, status, authored-on, accept-date, expiry-date, modified, _sort, _count, __offset</td><td/><td/><td><code>$eu-close</code></td></tr><tr><td><a href="#Consent1-2">Consent</a></td><td> </td><td class="text-center"/><td class="text-center"><span title="SHALL"><b>Y</b></span></td><td class="text-center"/><td class="text-center"/><td class="text-center"><span title="SHALL"><b>Y</b></span></td><td class="text-center"><span title="SHALL"><b>Y</b></span></td><td>category</td><td/><td/><td/></tr></tbody></table></div><hr/><div class="panel panel-default"><div class="panel-heading"><h4 id="Task1-1" class="panel-title"><span style="float: right;">Resource Conformance: SHALL </span>Task</h4></div><div class="panel-body"><div class="container"><div class="row"><div class="col-lg-4"><span class="lead">Core FHIR Resource</span><br/><a href="http://hl7.org/fhir/R4/task.html">Task</a></div><div class="col-lg-4"><span class="lead">Reference Policy</span><br/></div><div class="col-lg-4"><span class="lead">Interaction summary</span><br/><ul><li><strong>SHALL</strong> support <code>search-type</code>, <code>read</code>, <code>patch</code>.</li></ul></div></div><p/><div class="row"><div class="col-6"><span class="lead">Supported Profiles</span><p><code>https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task</code></p></div></div><p/><div class="row"><div class="col-lg-7"><span class="lead">Search Parameters</span><table class="table table-condensed table-hover"><thead><tr><th>Conformance</th><th>Parameter</th><th>Type</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/resource.html#search">_id</a></td><td><code>token</code></td><td><div><p>Task.id - Unterstützt die Suche nach der Task-ID</p>
    </div></td></tr><tr><td><b>SHALL</b></td><td>prescription-id</td><td><code>token</code></td><td><div><p>Task.identifier - Unterstützt die Suche nach der E-Rezept-ID</p>
    </div></td></tr><tr><td><b>SHALL</b></td><td>access-code</td><td><code>token</code></td><td><div><p>Task.identifier - Unterstützt die Suche nach dem Zugriffscode</p>
    </div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/task.html#search">status</a></td><td><code>token</code></td><td><div><p>Task.status - Unterstützt die Suche nach dem Status einer Task</p>
    </div></td></tr><tr><td><b>SHALL</b></td><td>authored-on</td><td><code>date</code></td><td><div><p>Task.authoredOn - Unterstützt die Suche nach dem Erstellungsdatum</p>
    </div></td></tr><tr><td><b>SHALL</b></td><td>accept-date</td><td><code>date</code></td><td><div><p>Task.extension:acceptDate.valueDate - Unterstützt die Suche nach dem Akzeptanzdatum</p>
    </div></td></tr><tr><td><b>SHALL</b></td><td>expiry-date</td><td><code>date</code></td><td><div><p>Task.extension:expiryDate.valueDate - Unterstützt die Suche nach dem Verfallsdatum</p>
    </div></td></tr><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/task.html#search">modified</a></td><td><code>date</code></td><td><div><p>Task.lastModified - Unterstützt die Suche nach dem zuletzt modifizierten Datum</p>
    </div></td></tr><tr><td><b>SHALL</b></td><td>_sort</td><td><code>string</code></td><td><div><p>Unterstützt das Sortieren nach unterstützten Task-Suchkriterien</p>
    </div></td></tr><tr><td><b>SHALL</b></td><td>_count</td><td><code>number</code></td><td><div><p>Maximale Anzahl zurückgegebener Einträge pro Seite; maximum value is 50</p>
    </div></td></tr><tr><td><b>SHALL</b></td><td>__offset</td><td><code>number</code></td><td><div><p>Nullbasierter Offset des ersten zurückgegebenen Eintrags; default is 0</p>
    </div></td></tr></tbody></table></div><div class="col-lg-5"> </div></div><div class="row"><div class="col-12"><span class="lead">Extended Operations</span><table class="table table-condensed table-hover"><thead><tr><th>Conformance</th><th>Operation</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td><a href="OperationDefinition-EUCloseOperation.html">$eu-close</a></td><td><div><p>Finishes the EU ePrescription workflow and creates a signed receipt bundle</p>
    </div></td></tr></tbody></table></div></div></div></div></div><div class="panel panel-default"><div class="panel-heading"><h4 id="Consent1-2" class="panel-title"><span style="float: right;">Resource Conformance: SHALL </span>Consent</h4></div><div class="panel-body"><div class="container"><div class="row"><div class="col-lg-4"><span class="lead">Core FHIR Resource</span><br/><a href="http://hl7.org/fhir/R4/consent.html">Consent</a></div><div class="col-lg-4"><span class="lead">Reference Policy</span><br/></div><div class="col-lg-4"><span class="lead">Interaction summary</span><br/><ul><li><strong>SHALL</strong> support <code>search-type</code>, <code>create</code>, <code>delete</code>.</li></ul></div></div><p/><p/><div class="row"><div class="col-lg-7"><span class="lead">Search Parameters</span><table class="table table-condensed table-hover"><thead><tr><th>Conformance</th><th>Parameter</th><th>Type</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td><a href="http://hl7.org/fhir/R4/consent.html#search">category</a></td><td><code>token</code></td><td><div><p>Consent.category - Unterstützt die Suche nach der Art der Einwilligung</p>
    </div></td></tr></tbody></table></div><div class="col-lg-5"> </div></div></div></div></div></div>
      </text>
      <extension
                 url="https://gematik.de/fhir/ti/StructureDefinition/extension-base-url">
        <valueString value="https://tiflow.de/rx/fhir/v1"/>
      </extension>
      <url
           value="https://gematik.de/fhir/tiflow-xborder/CapabilityStatement/ti-flow-fachdienst-server-erpeu"/>
      <version value="2.0.0-ballot.2"/>
      <title value="ERPEU CapabilityStatement fuer den E-Rezept-Fachdienst"/>
      <status value="active"/>
      <date value="2026-01-08"/>
      <publisher value="gematik GmbH"/>
      <contact>
        <name value="gematik GmbH"/>
        <telecom>
          <system value="url"/>
          <value value="https://gematik.de"/>
        </telecom>
        <telecom>
          <system value="email"/>
          <value value="erp-umsetzung@gematik.de"/>
        </telecom>
      </contact>
      <description
                   value="CapabilityStatement fuer den E-Rezept-Fachdienst (EU-Zugriff)"/>
      <jurisdiction>
        <coding>
          <system value="urn:iso:std:iso:3166"/>
          <code value="DE"/>
          <display value="Germany"/>
        </coding>
      </jurisdiction>
      <kind value="requirements"/>
      <fhirVersion value="4.0.1"/>
      <format value="application/fhir+json"/>
      <format value="application/fhir+xml"/>
      <rest>
        <mode value="server"/>
        <resource>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
            <valueCode value="SHALL"/>
          </extension>
          <type value="Task"/>
          <supportedProfile
                            value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task">
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
          </supportedProfile>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Invalid request"/>
              </extension>
              <extension url="responseType">
                <valueString value="EPAMSOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_BAD_FORMAT"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="200"/>
              </extension>
              <extension url="description">
                <valueString value="Successful operation"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Unknown search parameter"/>
              </extension>
              <extension url="responseType">
                <valueString value="EPAMSOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_PARAM_UNKNOWN"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Invalid query parameter(s)"/>
              </extension>
              <extension url="responseType">
                <valueString value="EPAMSOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_BAD_SYNTAX"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="404"/>
              </extension>
              <extension url="description">
                <valueString value="Unknown resource type"/>
              </extension>
              <extension url="responseType">
                <valueString value="EPAMSOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_UNKNOWN_TYPE"/>
              </extension>
            </extension>
            <code value="search-type"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Invalid request"/>
              </extension>
              <extension url="responseType">
                <valueString value="EPAMSOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_BAD_FORMAT"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="200"/>
              </extension>
              <extension url="description">
                <valueString value="Successful operation"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="404"/>
              </extension>
              <extension url="description">
                <valueString value="Unknown resource type"/>
              </extension>
              <extension url="responseType">
                <valueString value="EPAMSOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_UNKNOWN_TYPE"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="404"/>
              </extension>
              <extension url="description">
                <valueString value="Resource is not known"/>
              </extension>
              <extension url="responseType">
                <valueString value="EPAMSOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_RESOURCE_ID_FAIL"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="410"/>
              </extension>
              <extension url="description">
                <valueString value="Resource was deleted"/>
              </extension>
              <extension url="responseType">
                <valueString value="EPAMSOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_DELETED"/>
              </extension>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <code value="patch"/>
          </interaction>
          <versioning value="versioned-update"/>
          <readHistory value="true"/>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="_id"/>
            <definition value="http://hl7.org/fhir/SearchParameter/Resource-id"/>
            <type value="token"/>
            <documentation
                           value="Task.id - Unterstützt die Suche nach der Task-ID"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="prescription-id"/>
            <type value="token"/>
            <documentation
                           value="Task.identifier - Unterstützt die Suche nach der E-Rezept-ID"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="access-code"/>
            <type value="token"/>
            <documentation
                           value="Task.identifier - Unterstützt die Suche nach dem Zugriffscode"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="status"/>
            <definition value="http://hl7.org/fhir/SearchParameter/Task-status"/>
            <type value="token"/>
            <documentation
                           value="Task.status - Unterstützt die Suche nach dem Status einer Task"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="authored-on"/>
            <type value="date"/>
            <documentation
                           value="Task.authoredOn - Unterstützt die Suche nach dem Erstellungsdatum"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="accept-date"/>
            <type value="date"/>
            <documentation
                           value="Task.extension:acceptDate.valueDate - Unterstützt die Suche nach dem Akzeptanzdatum"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="expiry-date"/>
            <type value="date"/>
            <documentation
                           value="Task.extension:expiryDate.valueDate - Unterstützt die Suche nach dem Verfallsdatum"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="modified"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/Task-modified"/>
            <type value="date"/>
            <documentation
                           value="Task.lastModified - Unterstützt die Suche nach dem zuletzt modifizierten Datum"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="_sort"/>
            <type value="string"/>
            <documentation
                           value="Unterstützt das Sortieren nach unterstützten Task-Suchkriterien"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="_count"/>
            <type value="number"/>
            <documentation
                           value="Maximale Anzahl zurückgegebener Einträge pro Seite; maximum value is 50"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="__offset"/>
            <type value="number"/>
            <documentation
                           value="Nullbasierter Offset des ersten zurückgegebenen Eintrags; default is 0"/>
          </searchParam>
          <operation>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="FHIR Profile Validation Failed"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="SVC_VALIDATION_FAILED"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="403"/>
              </extension>
              <extension url="description">
                <valueString value="Access permission invalid"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_ACCESS_PERMISSION_INVALID"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="403"/>
              </extension>
              <extension url="description">
                <valueString value="Access role not allowed"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_AUTH_ROLE_NOT_ALLOWED"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="403"/>
              </extension>
              <extension url="description">
                <valueString value="Consent missing"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_CONSENT_MISSING"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Task status mismatch"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_TASK_STATUS_MISMATCH"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="404"/>
              </extension>
              <extension url="description">
                <valueString value="Resource is not known"/>
              </extension>
              <extension url="responseType">
                <valueString value="EPAMSOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_RESOURCE_ID_FAIL"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="410"/>
              </extension>
              <extension url="description">
                <valueString value="Resource was deleted"/>
              </extension>
              <extension url="responseType">
                <valueString value="EPAMSOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_DELETED"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Invalid request"/>
              </extension>
              <extension url="responseType">
                <valueString value="EPAMSOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_BAD_FORMAT"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="500"/>
              </extension>
              <extension url="description">
                <valueString value="Internal Server Error"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_INTERNAL_ERROR"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="408"/>
              </extension>
              <extension url="description">
                <valueString value="Timeout"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_TIMEOUT"/>
              </extension>
            </extension>
            <name value="eu-close"/>
            <definition
                        value="https://gematik.de/fhir/tiflow-xborder/OperationDefinition/EUCloseOperation"/>
            <documentation
                           value="Finishes the EU ePrescription workflow and creates a signed receipt bundle"/>
          </operation>
        </resource>
        <resource>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
            <valueCode value="SHALL"/>
          </extension>
          <type value="Consent"/>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Invalid request"/>
              </extension>
              <extension url="responseType">
                <valueString value="EPAMSOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_BAD_FORMAT"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="200"/>
              </extension>
              <extension url="description">
                <valueString value="Successful operation"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Unknown search parameter"/>
              </extension>
              <extension url="responseType">
                <valueString value="EPAMSOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_PARAM_UNKNOWN"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Invalid query parameter(s)"/>
              </extension>
              <extension url="responseType">
                <valueString value="EPAMSOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_BAD_SYNTAX"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="404"/>
              </extension>
              <extension url="description">
                <valueString value="Unknown resource type"/>
              </extension>
              <extension url="responseType">
                <valueString value="EPAMSOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_UNKNOWN_TYPE"/>
              </extension>
            </extension>
            <code value="search-type"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Invalid request"/>
              </extension>
              <extension url="responseType">
                <valueString value="EPAMSOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_BAD_FORMAT"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="201"/>
              </extension>
              <extension url="description">
                <valueString value="Resource created"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="404"/>
              </extension>
              <extension url="description">
                <valueString value="Unknown resource type"/>
              </extension>
              <extension url="responseType">
                <valueString value="EPAMSOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_UNKNOWN_TYPE"/>
              </extension>
            </extension>
            <code value="create"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Invalid request"/>
              </extension>
              <extension url="responseType">
                <valueString value="EPAMSOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_BAD_FORMAT"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="204"/>
              </extension>
              <extension url="description">
                <valueString value="Successful operation without response body"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="404"/>
              </extension>
              <extension url="description">
                <valueString value="Unknown resource type"/>
              </extension>
              <extension url="responseType">
                <valueString value="EPAMSOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_UNKNOWN_TYPE"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="404"/>
              </extension>
              <extension url="description">
                <valueString value="Resource is not known"/>
              </extension>
              <extension url="responseType">
                <valueString value="EPAMSOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_RESOURCE_ID_FAIL"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="410"/>
              </extension>
              <extension url="description">
                <valueString value="Resource was deleted"/>
              </extension>
              <extension url="responseType">
                <valueString value="EPAMSOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_DELETED"/>
              </extension>
            </extension>
            <code value="delete"/>
          </interaction>
          <versioning value="versioned-update"/>
          <readHistory value="true"/>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="category"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/Consent-category"/>
            <type value="token"/>
            <documentation
                           value="Consent.category - Unterstützt die Suche nach der Art der Einwilligung"/>
          </searchParam>
        </resource>
        <operation>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
            <valueCode value="SHALL"/>
          </extension>
          <extension
                     url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
            <extension url="statusCode">
              <valueString value="200"/>
            </extension>
            <extension url="description">
              <valueString value="Successful operation"/>
            </extension>
            <extension url="responseType">
              <valueString value="Parameters"/>
            </extension>
          </extension>
          <extension
                     url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
            <extension url="statusCode">
              <valueString value="400"/>
            </extension>
            <extension url="description">
              <valueString value="Invalid request"/>
            </extension>
            <extension url="responseType">
              <valueString value="EPAMSOperationOutcome"/>
            </extension>
            <extension url="errorCode">
              <valueString value="MSG_BAD_FORMAT"/>
            </extension>
          </extension>
          <extension
                     url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
            <extension url="statusCode">
              <valueString value="400"/>
            </extension>
            <extension url="description">
              <valueString value="Access code invalid"/>
            </extension>
            <extension url="responseType">
              <valueString value="TIFlowOperationOutcome"/>
            </extension>
            <extension url="errorCode">
              <valueString value="TIFLOW_ACCESS_CODE_INVALID"/>
            </extension>
          </extension>
          <extension
                     url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
            <extension url="statusCode">
              <valueString value="403"/>
            </extension>
            <extension url="description">
              <valueString value="Consent required"/>
            </extension>
            <extension url="responseType">
              <valueString value="TIFlowOperationOutcome"/>
            </extension>
            <extension url="errorCode">
              <valueString value="TIFLOW_CONSENT_REQUIRED"/>
            </extension>
          </extension>
          <extension
                     url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
            <extension url="statusCode">
              <valueString value="409"/>
            </extension>
            <extension url="description">
              <valueString value="Country code invalid"/>
            </extension>
            <extension url="responseType">
              <valueString value="TIFlowOperationOutcome"/>
            </extension>
            <extension url="errorCode">
              <valueString value="TIFLOW_XBORDER_COUNTRY_CODE_INVALID"/>
            </extension>
          </extension>
          <extension
                     url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
            <extension url="statusCode">
              <valueString value="403"/>
            </extension>
            <extension url="description">
              <valueString value="Access role not allowed"/>
            </extension>
            <extension url="responseType">
              <valueString value="TIFlowOperationOutcome"/>
            </extension>
            <extension url="errorCode">
              <valueString value="TIFLOW_AUTH_ROLE_NOT_ALLOWED"/>
            </extension>
          </extension>
          <name value="grant-eu-access-permission"/>
          <definition
                      value="https://gematik.de/fhir/tiflow-xborder/OperationDefinition/GrantEUAccessPermission"/>
          <documentation
                         value="Registers access code and country for EU prescription access"/>
        </operation>
        <operation>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
            <valueCode value="SHALL"/>
          </extension>
          <extension
                     url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
            <extension url="statusCode">
              <valueString value="200"/>
            </extension>
            <extension url="description">
              <valueString value="Successful operation"/>
            </extension>
            <extension url="responseType">
              <valueString value="Parameters"/>
            </extension>
          </extension>
          <extension
                     url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
            <extension url="statusCode">
              <valueString value="400"/>
            </extension>
            <extension url="description">
              <valueString value="Invalid request"/>
            </extension>
            <extension url="responseType">
              <valueString value="EPAMSOperationOutcome"/>
            </extension>
            <extension url="errorCode">
              <valueString value="MSG_BAD_FORMAT"/>
            </extension>
          </extension>
          <extension
                     url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
            <extension url="statusCode">
              <valueString value="403"/>
            </extension>
            <extension url="description">
              <valueString value="Access role not allowed"/>
            </extension>
            <extension url="responseType">
              <valueString value="TIFlowOperationOutcome"/>
            </extension>
            <extension url="errorCode">
              <valueString value="TIFLOW_AUTH_ROLE_NOT_ALLOWED"/>
            </extension>
          </extension>
          <name value="read-eu-access-permission"/>
          <definition
                      value="https://gematik.de/fhir/tiflow-xborder/OperationDefinition/ReadEUAccessPermission"/>
          <documentation value="Reads the currently registered EU access code"/>
        </operation>
        <operation>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
            <valueCode value="SHALL"/>
          </extension>
          <extension
                     url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
            <extension url="statusCode">
              <valueString value="200"/>
            </extension>
            <extension url="description">
              <valueString value="Successful operation"/>
            </extension>
          </extension>
          <extension
                     url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
            <extension url="statusCode">
              <valueString value="400"/>
            </extension>
            <extension url="description">
              <valueString value="Invalid request"/>
            </extension>
            <extension url="responseType">
              <valueString value="EPAMSOperationOutcome"/>
            </extension>
            <extension url="errorCode">
              <valueString value="MSG_BAD_FORMAT"/>
            </extension>
          </extension>
          <extension
                     url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
            <extension url="statusCode">
              <valueString value="403"/>
            </extension>
            <extension url="description">
              <valueString value="Access role not allowed"/>
            </extension>
            <extension url="responseType">
              <valueString value="TIFlowOperationOutcome"/>
            </extension>
            <extension url="errorCode">
              <valueString value="TIFLOW_AUTH_ROLE_NOT_ALLOWED"/>
            </extension>
          </extension>
          <name value="revoke-eu-access-permission"/>
          <definition
                      value="https://gematik.de/fhir/tiflow-xborder/OperationDefinition/RevokeEUAccessPermission"/>
          <documentation value="Revokes the currently registered EU access code"/>
        </operation>
        <operation>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
            <valueCode value="SHALL"/>
          </extension>
          <extension
                     url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
            <extension url="statusCode">
              <valueString value="200"/>
            </extension>
            <extension url="description">
              <valueString value="Successful operation"/>
            </extension>
            <extension url="responseType">
              <valueString value="Parameters"/>
            </extension>
          </extension>
          <extension
                     url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
            <extension url="statusCode">
              <valueString value="400"/>
            </extension>
            <extension url="description">
              <valueString value="Invalid request"/>
            </extension>
            <extension url="responseType">
              <valueString value="EPAMSOperationOutcome"/>
            </extension>
            <extension url="errorCode">
              <valueString value="MSG_BAD_FORMAT"/>
            </extension>
          </extension>
          <extension
                     url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
            <extension url="statusCode">
              <valueString value="400"/>
            </extension>
            <extension url="description">
              <valueString value="FHIR Profile Validation Failed"/>
            </extension>
            <extension url="responseType">
              <valueString value="TIFlowOperationOutcome"/>
            </extension>
            <extension url="errorCode">
              <valueString value="SVC_VALIDATION_FAILED"/>
            </extension>
          </extension>
          <extension
                     url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
            <extension url="statusCode">
              <valueString value="403"/>
            </extension>
            <extension url="description">
              <valueString value="Access permission invalid"/>
            </extension>
            <extension url="responseType">
              <valueString value="TIFlowOperationOutcome"/>
            </extension>
            <extension url="errorCode">
              <valueString value="TIFLOW_ACCESS_PERMISSION_INVALID"/>
            </extension>
          </extension>
          <extension
                     url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
            <extension url="statusCode">
              <valueString value="403"/>
            </extension>
            <extension url="description">
              <valueString value="Access role not allowed"/>
            </extension>
            <extension url="responseType">
              <valueString value="TIFlowOperationOutcome"/>
            </extension>
            <extension url="errorCode">
              <valueString value="TIFLOW_AUTH_ROLE_NOT_ALLOWED"/>
            </extension>
          </extension>
          <extension
                     url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
            <extension url="statusCode">
              <valueString value="403"/>
            </extension>
            <extension url="description">
              <valueString value="Consent required"/>
            </extension>
            <extension url="responseType">
              <valueString value="TIFlowOperationOutcome"/>
            </extension>
            <extension url="errorCode">
              <valueString value="TIFLOW_CONSENT_REQUIRED"/>
            </extension>
          </extension>
          <extension
                     url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
            <extension url="statusCode">
              <valueString value="404"/>
            </extension>
            <extension url="description">
              <valueString value="No prescriptions found"/>
            </extension>
            <extension url="responseType">
              <valueString value="TIFlowOperationOutcome"/>
            </extension>
            <extension url="errorCode">
              <valueString value="TIFLOW_XBORDER_NO_PRESCRIPTIONS_FOUND"/>
            </extension>
          </extension>
          <name value="get-eu-prescriptions"/>
          <definition
                      value="https://gematik.de/fhir/tiflow-xborder/OperationDefinition/GETPrescriptionEU"/>
          <documentation
                         value="Returns prescription information for EU ePrescription workflows"/>
        </operation>
      </rest>
    </CapabilityStatement>