Seiteninhalt:
Die FHIR-Operation führt zum Schreiben einer neuen Zugriffsberechtigung. Diese Operation steht Versicherten zur Verfügung.
Die Nachricht wird als HTTP POST an /$grant-eu-access-permission gesendet.
$grant-eu-access-permission: Anforderungen an den TI-Flow-Fachdienst zur Bereitstellung der Schnittstelle.$grant-eu-access-permission: Anforderungen an das E-Rezept-FdV zur Nutzung der Schnittstelle.
{"resourceType":"CapabilityStatement","id":"ti-flow-fachdienst-server-erpeu","meta":{"profile":["https://gematik.de/fhir/ti/StructureDefinition/ti-capability-statement"]},"text":{"status":"extensions","div":"<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\">Generated Narrative: CapabilityStatement ti-flow-fachdienst-server-erpeu</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://simplifier.net/resolve?scope=de.gematik.tiflow@2.0.0-ballot.1&canonical=https://gematik.de/fhir/ti/StructureDefinition/ti-capability-statement\">Capability Statement Profil für TI FHIR Data Service</a></p></div><h2 id=\"title\">ERPEU CapabilityStatement fuer den E-Rezept-Fachdienst</h2>application/fhir+json, application/fhir+xmlNote to Implementers: FHIR Capabilities
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.
</blockquote><h2 id=\"rest\">FHIR RESTful Capabilities</h2><div class=\"panel panel-default\"><div class=\"panel-heading\"><h3 id=\"mode1\" class=\"panel-title\">Mode:server</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\">Registers access code and country for EU prescription access
\nReads the currently registered EU access code
\nRevokes the currently registered EU access code
\nReturns prescription information for EU ePrescription workflows
\nThe summary table lists the resources that are part of this configuration, and for each resource it lists:
_include_revinclude_include_revincludehttps://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task$eu-closesearch-type, read, patch.https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task
tokenTask.id - Unterstützt die Suche nach der Task-ID
\ntokenTask.identifier - Unterstützt die Suche nach der E-Rezept-ID
\ntokenTask.identifier - Unterstützt die Suche nach dem Zugriffscode
\ntokenTask.status - Unterstützt die Suche nach dem Status einer Task
\ndateTask.authoredOn - Unterstützt die Suche nach dem Erstellungsdatum
\ndateTask.extension:acceptDate.valueDate - Unterstützt die Suche nach dem Akzeptanzdatum
\ndateTask.extension:expiryDate.valueDate - Unterstützt die Suche nach dem Verfallsdatum
\ndateTask.lastModified - Unterstützt die Suche nach dem zuletzt modifizierten Datum
\nstringUnterstützt das Sortieren nach unterstützten Task-Suchkriterien
\nnumberMaximale Anzahl zurückgegebener Einträge pro Seite; maximum value is 50
\nnumberNullbasierter Offset des ersten zurückgegebenen Eintrags; default is 0
\nFinishes the EU ePrescription workflow and creates a signed receipt bundle
\nsearch-type, create, delete.tokenConsent.category - Unterstützt die Suche nach der Art der Einwilligung
\n
{"resourceType":"OperationDefinition","id":"Grant-EU-Access-Permission","text":{"status":"generated","div":"<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\">Generated Narrative: OperationDefinition Grant-EU-Access-Permission</p><a name=\"Grant-EU-Access-Permission\"> </a><a name=\"hcGrant-EU-Access-Permission\"> </a>URL: [base]/$grant-eu-access-permission
Input parameters Profile:<a href=\"StructureDefinition-GEM-ERPEU-PR-PAR-AccessAuthorization-Request.html\">GEM ERPEU PR PAR Access Authorization Request</a>
Output parameters Profile:<a href=\"StructureDefinition-GEM-ERPEU-PR-PAR-AccessAuthorization-Response.html\">GEM ERPEU PR PAR Access Authorization Response</a>
Parameters
<table class=\"grid\">Use Name Scope Cardinality Type Binding Documentation IN countryCode 1..1 <a href=\"http://hl7.org/fhir/R4/datatypes.html#Coding\">Coding</a> The country for which the patient wants to grant access.
\nIN accessCode 1..1 <a href=\"http://hl7.org/fhir/R4/datatypes.html#Identifier\">Identifier</a> The access code for that country.
\nOUT countryCode 1..1 <a href=\"http://hl7.org/fhir/R4/datatypes.html#Coding\">Coding</a> The country for which the patient wants to grant access.
\nOUT accessCode 1..1 <a href=\"http://hl7.org/fhir/R4/datatypes.html#Identifier\">Identifier</a> The access code for that country.
\nOUT validUntil 1..1 <a href=\"http://hl7.org/fhir/R4/datatypes.html#instant\">instant</a> The instant until the access code is valid.
\nOUT createdAt 1..1 <a href=\"http://hl7.org/fhir/R4/datatypes.html#instant\">instant</a> The instant when the record was created in the E-Rezept-Fachdienst.
\n </table></div>"},"url":"https://gematik.de/fhir/erp-eu/OperationDefinition/Grant_Access_PermissionOperationDefinition","version":"2.0.0-ballot.1","name":"Grant_Access_Permission","status":"draft","kind":"operation","date":"2026-05-26","publisher":"gematik GmbH","contact":[{"name":"gematik GmbH","telecom":[{"system":"url","value":"https://gematik.de"},{"system":"email","value":"erp-umsetzung@gematik.de"}]}],"description":"This operation receives the access code and the country that the patient wants to grant access to. The operation validates the country and creates registeres the Access Code.","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"DE","display":"Germany"}]}],"affectsState":true,"code":"grant-eu-access-permission","system":true,"type":false,"instance":false,"inputProfile":"https://gematik.de/fhir/tiflow-xborder/StructureDefinition/GEM-ERPEU-PR-PAR-AccessAuthorization-Request","outputProfile":"https://gematik.de/fhir/tiflow-xborder/StructureDefinition/GEM-ERPEU-PR-PAR-AccessAuthorization-Response","parameter":[{"name":"countryCode","use":"in","min":1,"max":"1","documentation":"The country for which the patient wants to grant access.","type":"Coding"},{"name":"accessCode","use":"in","min":1,"max":"1","documentation":"The access code for that country.","type":"Identifier"},{"name":"countryCode","use":"out","min":1,"max":"1","documentation":"The country for which the patient wants to grant access.","type":"Coding"},{"name":"accessCode","use":"out","min":1,"max":"1","documentation":"The access code for that country.","type":"Identifier"},{"name":"validUntil","use":"out","min":1,"max":"1","documentation":"The instant until the access code is valid.","type":"instant"},{"name":"createdAt","use":"out","min":1,"max":"1","documentation":"The instant when the record was created in the E-Rezept-Fachdienst.","type":"instant"}]}
<Parameters xmlns="http://hl7.org/fhir">
<id value="Example-EU-PermissionRequest"/>
<meta>
<profile
value="https://gematik.de/fhir/tiflow-xborder/StructureDefinition/GEM-ERPEU-PR-PAR-AccessAuthorization-Request"/>
</meta>
<parameter>
<name value="countryCode"/>
<valueCoding>
<system value="urn:iso:std:iso:3166"/>
<code value="BE"/>
</valueCoding>
</parameter>
<parameter>
<name value="accessCode"/>
<valueIdentifier>
<system
value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_EU_AccessCode"/>
<value value="ABC123"/>
</valueIdentifier>
</parameter>
</Parameters>
<Parameters xmlns="http://hl7.org/fhir">
<id value="Example-EU-PermissionResponse"/>
<meta>
<profile
value="https://gematik.de/fhir/tiflow-xborder/StructureDefinition/GEM-ERPEU-PR-PAR-AccessAuthorization-Response"/>
</meta>
<parameter>
<name value="countryCode"/>
<valueCoding>
<system value="urn:iso:std:iso:3166"/>
<code value="BE"/>
</valueCoding>
</parameter>
<parameter>
<name value="accessCode"/>
<valueIdentifier>
<system
value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_EU_AccessCode"/>
<value value="ABC123"/>
</valueIdentifier>
</parameter>
<parameter>
<name value="validUntil"/>
<valueInstant value="2025-10-01T13:12:32+02:00"/>
</parameter>
<parameter>
<name value="createdAt"/>
<valueInstant value="2025-10-01T12:12:32+02:00"/>
</parameter>
</Parameters>
<OperationOutcome xmlns="http://hl7.org/fhir">
<id value="ExampleERPEUOperationOutcomeError"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: OperationOutcome ExampleERPEUOperationOutcomeError</b></p><a name="ExampleERPEUOperationOutcomeError"> </a><a name="hcExampleERPEUOperationOutcomeError"> </a><h3>Issues</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Severity</b></td><td><b>Code</b></td><td><b>Details</b></td><td><b>Diagnostics</b></td></tr><tr><td style="display: none">*</td><td>Error</td><td>Invalid Content</td><td><span title="Codes:">countryCode is not supported</span></td><td>Expected one of approved EU country codes in requestData.countryCode</td></tr></table></div>
</text>
<issue>
<severity value="error"/>
<code value="invalid"/>
<details>
<text value="countryCode is not supported"/>
</details>
<diagnostics
value="Expected one of approved EU country codes in requestData.countryCode"/>
</issue>
</OperationOutcome>