TIFlow - Grenzüberschreitender Datenaustausch
Version 2.0.0-ballot.1 - ci-build

## Operation API: Abgabe von E-Rezepten im EU-Ausland

Die FHIR-Operation $eu-close beendet den E-Rezept-Workflow des unter der geführten Tasks und speichert die von der europäischen Apotheke übermittelten Dispensierinformationen für den Versicherten. Diese Operation steht ausschließlich dem NCPeH-FD zur Verfügung.

### Nachricht

Die Nachricht wird als HTTP `POST` an `/Task/$eu-close` gesendet.

### Anforderungen an Schnittstelle

- Server Anforderungen zu `$eu-close`: Anforderungen an den TI-Flow-Fachdienst zur Bereitstellung der Schnittstelle.
- NCPeH Anforderungen zu `$eu-close`: Anforderungen an den NCPeH-FD zur Nutzung der Schnittstelle.

### API Beschreibung

    			{"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>Implementation Guide Version: 2.0.0-ballot.1 FHIR Version: 4.0.1 Supported Formats: application/fhir+json, application/fhir+xmlPublished on: 2026-01-08 Published by: gematik GmbH <blockquote class=\"impl-note\">Note to Implementers: FHIR CapabilitiesAny 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\">ConformanceOperationDocumentationSHALL<a href=\"OperationDefinition-Grant-EU-Access-Permission.html\">$grant-eu-access-permission</a>Registers access code and country for EU prescription access\nSHALL<a href=\"OperationDefinition-Read-EU-Access-Permission.html\">$read-eu-access-permission</a>Reads the currently registered EU access code\nSHALL<a href=\"OperationDefinition-Revoke-EU-Access-Permission.html\">$revoke-eu-access-permission</a>Revokes the currently registered EU access code\nSHALL<a href=\"OperationDefinition-GET-Prescription-EU.html\">$get-eu-prescriptions</a>Returns prescription information for EU ePrescription workflows\n</table></div></div></div></div><h3 id=\"resourcesCap1\">Capabilities by Resource/Profile</h3><h4 id=\"resourcesSummary1\">Summary</h4>The summary table lists the resources that are part of this configuration, and for each resource it lists:The relevant profiles (if any)The interactions supported by each resource (<span class=\"bg-info\">R</span>ead, <span class=\"bg-info\">S</span>earch, <span class=\"bg-info\">U</span>pdate, and <span class=\"bg-info\">C</span>reate, are always shown, while <span class=\"bg-info\">VR</span>ead, <span class=\"bg-info\">P</span>atch, <span class=\"bg-info\">D</span>elete, <span class=\"bg-info\">H</span>istory on <span class=\"bg-info\">I</span>nstance, or <span class=\"bg-info\">H</span>istory on <span class=\"bg-info\">T</span>ype are only present if at least one of the resources has support for them.The required, recommended, and some optional search parameters (if any). The linked resources enabled for _includeThe other resources enabled for _revincludeThe operations on the resource (if any)<div class=\"table-responsive\"><table class=\"table table-condensed table-hover\">Resource TypeProfile<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><b title=\"Required and recommended search parameters\">Searches</b>_include_revincludeOperations<a href=\"#Task1-1\">Task</a>Supported Profiles
    \u00a0\u00a0https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task<td class=\"text-center\"><span title=\"SHALL\">Y</span></td><td class=\"text-center\"><span title=\"SHALL\">Y</span></td><td class=\"text-center\"/><td class=\"text-center\"><span title=\"SHALL\">Y</span></td><td class=\"text-center\"/><td class=\"text-center\"/>_id, prescription-id, access-code, status, authored-on, accept-date, expiry-date, modified, _sort, _count, __offset$eu-close<a href=\"#Consent1-2\">Consent</a>\u00a0<td class=\"text-center\"/><td class=\"text-center\"><span title=\"SHALL\">Y</span></td><td class=\"text-center\"/><td class=\"text-center\"/><td class=\"text-center\"><span title=\"SHALL\">Y</span></td><td class=\"text-center\"><span title=\"SHALL\">Y</span></td>category</table></div><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>
    <a href=\"http://hl7.org/fhir/R4/task.html\">Task</a></div><div class=\"col-lg-4\"><span class=\"lead\">Reference Policy</span>
    </div><div class=\"col-lg-4\"><span class=\"lead\">Interaction summary</span>
    SHALL support search-type, read, patch.</div></div><div class=\"row\"><div class=\"col-6\"><span class=\"lead\">Supported Profiles</span>https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task</div></div><div class=\"row\"><div class=\"col-lg-7\"><span class=\"lead\">Search Parameters</span><table class=\"table table-condensed table-hover\">ConformanceParameterTypeDocumentationSHALL<a href=\"http://hl7.org/fhir/R4/resource.html#search\">_id</a>tokenTask.id - Unterstützt die Suche nach der Task-ID\nSHALLprescription-idtokenTask.identifier - Unterstützt die Suche nach der E-Rezept-ID\nSHALLaccess-codetokenTask.identifier - Unterstützt die Suche nach dem Zugriffscode\nSHALL<a href=\"http://hl7.org/fhir/R4/task.html#search\">status</a>tokenTask.status - Unterstützt die Suche nach dem Status einer Task\nSHALLauthored-ondateTask.authoredOn - Unterstützt die Suche nach dem Erstellungsdatum\nSHALLaccept-datedateTask.extension:acceptDate.valueDate - Unterstützt die Suche nach dem Akzeptanzdatum\nSHALLexpiry-datedateTask.extension:expiryDate.valueDate - Unterstützt die Suche nach dem Verfallsdatum\nSHALL<a href=\"http://hl7.org/fhir/R4/task.html#search\">modified</a>dateTask.lastModified - Unterstützt die Suche nach dem zuletzt modifizierten Datum\nSHALL_sortstringUnterstützt das Sortieren nach unterstützten Task-Suchkriterien\nSHALL_countnumberMaximale Anzahl zurückgegebener Einträge pro Seite; maximum value is 50\nSHALL__offsetnumberNullbasierter Offset des ersten zurückgegebenen Eintrags; default is 0\n</table></div><div class=\"col-lg-5\">\u00a0</div></div><div class=\"row\"><div class=\"col-12\"><span class=\"lead\">Extended Operations</span><table class=\"table table-condensed table-hover\">ConformanceOperationDocumentationSHALL<a href=\"OperationDefinition-EUCloseOperation.html\">$eu-close</a>Finishes the EU ePrescription workflow and creates a signed receipt bundle\n</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>
    <a href=\"http://hl7.org/fhir/R4/consent.html\">Consent</a></div><div class=\"col-lg-4\"><span class=\"lead\">Reference Policy</span>
    </div><div class=\"col-lg-4\"><span class=\"lead\">Interaction summary</span>
    SHALL support search-type, create, delete.</div></div><div class=\"row\"><div class=\"col-lg-7\"><span class=\"lead\">Search Parameters</span><table class=\"table table-condensed table-hover\">ConformanceParameterTypeDocumentationSHALL<a href=\"http://hl7.org/fhir/R4/consent.html#search\">category</a>tokenConsent.category - Unterstützt die Suche nach der Art der Einwilligung\n</table></div><div class=\"col-lg-5\">\u00a0</div></div></div></div></div></div>"},"extension":[{"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-base-url","valueString":"https://tiflow.de"}],"url":"https://gematik.de/fhir/tiflow-xborder/CapabilityStatement/ti-flow-fachdienst-server-erpeu","version":"2.0.0-ballot.1","title":"ERPEU CapabilityStatement fuer den E-Rezept-Fachdienst","status":"active","date":"2026-01-08","publisher":"gematik GmbH","contact":[{"name":"gematik GmbH","telecom":[{"system":"url","value":"https://gematik.de"},{"system":"email","value":"erp-umsetzung@gematik.de"}]}],"description":"CapabilityStatement fuer den E-Rezept-Fachdienst (EU-Zugriff)","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"DE","display":"Germany"}]}],"kind":"requirements","fhirVersion":"4.0.1","format":["application/fhir+json","application/fhir+xml"],"rest":[{"mode":"server","resource":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"type":"Task","supportedProfile":["https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task"],"_supportedProfile":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]}],"interaction":[{"extension":[{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"408"},{"url":"description","valueString":"Request timeout"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_TIMEOUT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"500"},{"url":"description","valueString":"Internal server error"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_INTERNAL_ERROR"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Unknown search parameter"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_PARAM_UNKNOWN"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid query parameter(s)"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_SYNTAX"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"search-type"},{"extension":[{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"408"},{"url":"description","valueString":"Request timeout"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_TIMEOUT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"500"},{"url":"description","valueString":"Internal server error"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_INTERNAL_ERROR"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Resource is not known"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_RESOURCE_ID_FAIL"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"410"},{"url":"description","valueString":"Resource was deleted"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_DELETED"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"read"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"code":"patch"}],"versioning":"versioned-update","readHistory":true,"searchParam":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"_id","definition":"http://hl7.org/fhir/SearchParameter/Resource-id","type":"token","documentation":"Task.id - Unterstützt die Suche nach der Task-ID"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"prescription-id","type":"token","documentation":"Task.identifier - Unterstützt die Suche nach der E-Rezept-ID"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"access-code","type":"token","documentation":"Task.identifier - Unterstützt die Suche nach dem Zugriffscode"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"status","definition":"http://hl7.org/fhir/SearchParameter/Task-status","type":"token","documentation":"Task.status - Unterstützt die Suche nach dem Status einer Task"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"authored-on","type":"date","documentation":"Task.authoredOn - Unterstützt die Suche nach dem Erstellungsdatum"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"accept-date","type":"date","documentation":"Task.extension:acceptDate.valueDate - Unterstützt die Suche nach dem Akzeptanzdatum"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"expiry-date","type":"date","documentation":"Task.extension:expiryDate.valueDate - Unterstützt die Suche nach dem Verfallsdatum"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"modified","definition":"http://hl7.org/fhir/SearchParameter/Task-modified","type":"date","documentation":"Task.lastModified - Unterstützt die Suche nach dem zuletzt modifizierten Datum"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"_sort","type":"string","documentation":"Unterstützt das Sortieren nach unterstützten Task-Suchkriterien"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"_count","type":"number","documentation":"Maximale Anzahl zurückgegebener Einträge pro Seite; maximum value is 50"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"__offset","type":"number","documentation":"Nullbasierter Offset des ersten zurückgegebenen Eintrags; default is 0"}],"operation":[{"extension":[{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"FHIR Profile Validation Failed"},{"url":"responseType","valueString":"TIFlowOperationOutcome"},{"url":"errorCode","valueString":"SVC_VALIDATION_FAILED"}],"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"403"},{"url":"description","valueString":"Access permission invalid"},{"url":"responseType","valueString":"TIFlowOperationOutcome"},{"url":"errorCode","valueString":"TIFLOW_ACCESS_PERMISSION_INVALID"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"403"},{"url":"description","valueString":"Access role not allowed"},{"url":"responseType","valueString":"TIFlowOperationOutcome"},{"url":"errorCode","valueString":"TIFLOW_AUTH_ROLE_NOT_ALLOWED"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"403"},{"url":"description","valueString":"Consent missing"},{"url":"responseType","valueString":"TIFlowOperationOutcome"},{"url":"errorCode","valueString":"TIFLOW_CONSENT_MISSING"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Task status mismatch"},{"url":"responseType","valueString":"TIFlowOperationOutcome"},{"url":"errorCode","valueString":"TIFLOW_TASK_STATUS_MISMATCH"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Resource is not known"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_RESOURCE_ID_FAIL"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"410"},{"url":"description","valueString":"Resource was deleted"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_DELETED"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"408"},{"url":"description","valueString":"Request timeout"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_TIMEOUT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"500"},{"url":"description","valueString":"Internal server error"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_INTERNAL_ERROR"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"name":"eu-close","definition":"https://gematik.de/fhir/erp-eu/OperationDefinition/EUCloseOperationDefinition","documentation":"Finishes the EU ePrescription workflow and creates a signed receipt bundle"}]},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"type":"Consent","interaction":[{"extension":[{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"408"},{"url":"description","valueString":"Request timeout"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_TIMEOUT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"500"},{"url":"description","valueString":"Internal server error"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_INTERNAL_ERROR"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Unknown search parameter"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_PARAM_UNKNOWN"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid query parameter(s)"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_SYNTAX"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"search-type"},{"extension":[{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"408"},{"url":"description","valueString":"Request timeout"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_TIMEOUT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"500"},{"url":"description","valueString":"Internal server error"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_INTERNAL_ERROR"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"201"},{"url":"description","valueString":"Resource created"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"create"},{"extension":[{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"408"},{"url":"description","valueString":"Request timeout"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_TIMEOUT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"500"},{"url":"description","valueString":"Internal server error"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_INTERNAL_ERROR"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"204"},{"url":"description","valueString":"Successful operation without response body"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Unknown resource type"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_UNKNOWN_TYPE"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"Resource is not known"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_RESOURCE_ID_FAIL"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"410"},{"url":"description","valueString":"Resource was deleted"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_DELETED"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"code":"delete"}],"versioning":"versioned-update","readHistory":true,"searchParam":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}],"name":"category","definition":"http://hl7.org/fhir/SearchParameter/Consent-category","type":"token","documentation":"Consent.category - Unterstützt die Suche nach der Art der Einwilligung"}]}],"operation":[{"extension":[{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"},{"url":"responseType","valueString":"Parameters"}],"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"408"},{"url":"description","valueString":"Request timeout"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_TIMEOUT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"500"},{"url":"description","valueString":"Internal server error"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_INTERNAL_ERROR"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Access code invalid"},{"url":"responseType","valueString":"TIFlowOperationOutcome"},{"url":"errorCode","valueString":"TIFLOW_ACCESS_CODE_INVALID"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"403"},{"url":"description","valueString":"Consent required"},{"url":"responseType","valueString":"TIFlowOperationOutcome"},{"url":"errorCode","valueString":"TIFLOW_CONSENT_REQUIRED"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"409"},{"url":"description","valueString":"Country code invalid"},{"url":"responseType","valueString":"TIFlowOperationOutcome"},{"url":"errorCode","valueString":"TIFLOW_XBORDER_COUNTRY_CODE_INVALID"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"403"},{"url":"description","valueString":"Access role not allowed"},{"url":"responseType","valueString":"TIFlowOperationOutcome"},{"url":"errorCode","valueString":"TIFLOW_AUTH_ROLE_NOT_ALLOWED"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"name":"grant-eu-access-permission","definition":"https://gematik.de/fhir/erp-eu/OperationDefinition/Grant_Access_PermissionOperationDefinition","documentation":"Registers access code and country for EU prescription access"},{"extension":[{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"},{"url":"responseType","valueString":"Parameters"}],"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"408"},{"url":"description","valueString":"Request timeout"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_TIMEOUT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"500"},{"url":"description","valueString":"Internal server error"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_INTERNAL_ERROR"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"403"},{"url":"description","valueString":"Access role not allowed"},{"url":"responseType","valueString":"TIFlowOperationOutcome"},{"url":"errorCode","valueString":"TIFLOW_AUTH_ROLE_NOT_ALLOWED"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"name":"read-eu-access-permission","definition":"https://gematik.de/fhir/erp-eu/OperationDefinition/Read_Access_PermissionOperationDefinition","documentation":"Reads the currently registered EU access code"},{"extension":[{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"}],"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"408"},{"url":"description","valueString":"Request timeout"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_TIMEOUT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"500"},{"url":"description","valueString":"Internal server error"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_INTERNAL_ERROR"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"403"},{"url":"description","valueString":"Access role not allowed"},{"url":"responseType","valueString":"TIFlowOperationOutcome"},{"url":"errorCode","valueString":"TIFLOW_AUTH_ROLE_NOT_ALLOWED"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"name":"revoke-eu-access-permission","definition":"https://gematik.de/fhir/erp-eu/OperationDefinition/Revoke_Access_PermissionOperationDefinition","documentation":"Revokes the currently registered EU access code"},{"extension":[{"extension":[{"url":"statusCode","valueString":"200"},{"url":"description","valueString":"Successful operation"},{"url":"responseType","valueString":"Parameters"}],"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"Invalid request"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_BAD_FORMAT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"408"},{"url":"description","valueString":"Request timeout"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_TIMEOUT"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"500"},{"url":"description","valueString":"Internal server error"},{"url":"responseType","valueString":"EPAMSOperationOutcome"},{"url":"errorCode","valueString":"MSG_INTERNAL_ERROR"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"400"},{"url":"description","valueString":"FHIR Profile Validation Failed"},{"url":"responseType","valueString":"TIFlowOperationOutcome"},{"url":"errorCode","valueString":"SVC_VALIDATION_FAILED"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"403"},{"url":"description","valueString":"Access permission invalid"},{"url":"responseType","valueString":"TIFlowOperationOutcome"},{"url":"errorCode","valueString":"TIFLOW_ACCESS_PERMISSION_INVALID"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"403"},{"url":"description","valueString":"Access role not allowed"},{"url":"responseType","valueString":"TIFlowOperationOutcome"},{"url":"errorCode","valueString":"TIFLOW_AUTH_ROLE_NOT_ALLOWED"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"403"},{"url":"description","valueString":"Consent required"},{"url":"responseType","valueString":"TIFlowOperationOutcome"},{"url":"errorCode","valueString":"TIFLOW_CONSENT_REQUIRED"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"},{"extension":[{"url":"statusCode","valueString":"404"},{"url":"description","valueString":"No prescriptions found"},{"url":"responseType","valueString":"TIFlowOperationOutcome"},{"url":"errorCode","valueString":"TIFLOW_XBORDER_NO_PRESCRIPTIONS_FOUND"}],"url":"https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info"}],"name":"get-eu-prescriptions","definition":"https://gematik.de/fhir/erp-eu/OperationDefinition/GET-Prescription-EUOperationDefinition","documentation":"Returns prescription information for EU ePrescription workflows"}]}]}

###

    			{"resourceType":"OperationDefinition","id":"EUCloseOperation","text":{"status":"generated","div":"<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\">Generated Narrative: OperationDefinition EUCloseOperation</p><a name=\"EUCloseOperation\"> </a><a name=\"hcEUCloseOperation\"> </a>URL: [base]/Task/[id]/$eu-closeInput parameters Profile:<a href=\"StructureDefinition-GEM-ERPEU-PR-PAR-Close-Operation-Input.html\">GEM ERP PR EU CloseOperation Input</a>Parameters<table class=\"grid\">UseNameScopeCardinalityTypeBindingDocumentationINrequestData1..1Additional request information\nINrequestData.kvnr1..1<a href=\"http://hl7.org/fhir/R4/datatypes.html#Identifier\">Identifier</a>INrequestData.accessCode1..1<a href=\"http://hl7.org/fhir/R4/datatypes.html#Identifier\">Identifier</a>INrequestData.countryCode1..1<a href=\"http://hl7.org/fhir/R4/datatypes.html#Coding\">Coding</a>INrequestData.practitionerName1..1<a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a>INrequestData.practitionerRole1..1<a href=\"http://hl7.org/fhir/R4/datatypes.html#Coding\">Coding</a>INrequestData.pointOfCare1..1<a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a>INrequestData.healthcare-facility-type1..1<a href=\"http://hl7.org/fhir/R4/datatypes.html#Coding\">Coding</a>INpractitionerData1..1<a href=\"http://hl7.org/fhir/R4/practitioner.html\">Practitioner</a>Information on the practitioner who dispensed\nINorganizationData1..1<a href=\"http://hl7.org/fhir/R4/organization.html\">Organization</a>Information on the organization where the dispensation happened\nINpractitionerRoleData1..1<a href=\"http://hl7.org/fhir/R4/practitionerrole.html\">PractitionerRole</a>INrxDispensation1..*Information on dispensed Medication(s)\nINrxDispensation.medicationDispense1..1<a href=\"http://hl7.org/fhir/R4/medicationdispense.html\">MedicationDispense</a>INrxDispensation.medication1..1<a href=\"http://hl7.org/fhir/R4/medication.html\">Medication</a></table></div>"},"url":"https://gematik.de/fhir/erp-eu/OperationDefinition/EUCloseOperationDefinition","version":"2.0.0-ballot.1","name":"EUClose","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":"The operation $close finishes the e-prescription workflow and creates a receipt. The Output of this operation is a signed Bundle, to be used for further financial processing. The status of the Task then changes into #completed","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"DE","display":"Germany"}]}],"code":"eu-close","resource":["Task"],"system":false,"type":false,"instance":true,"inputProfile":"https://gematik.de/fhir/tiflow-xborder/StructureDefinition/GEM-ERPEU-PR-PAR-Close-Operation-Input","parameter":[{"name":"requestData","use":"in","min":1,"max":"1","documentation":"Additional request information","part":[{"name":"kvnr","use":"in","min":1,"max":"1","type":"Identifier"},{"name":"accessCode","use":"in","min":1,"max":"1","type":"Identifier"},{"name":"countryCode","use":"in","min":1,"max":"1","type":"Coding"},{"name":"practitionerName","use":"in","min":1,"max":"1","type":"string"},{"name":"practitionerRole","use":"in","min":1,"max":"1","type":"Coding"},{"name":"pointOfCare","use":"in","min":1,"max":"1","type":"string"},{"name":"healthcare-facility-type","use":"in","min":1,"max":"1","type":"Coding"}]},{"name":"practitionerData","use":"in","min":1,"max":"1","documentation":"Information on the practitioner who dispensed","type":"Practitioner"},{"name":"organizationData","use":"in","min":1,"max":"1","documentation":"Information on the organization where the dispensation happened","type":"Organization"},{"name":"practitionerRoleData","use":"in","min":1,"max":"1","type":"PractitionerRole"},{"name":"rxDispensation","use":"in","min":1,"max":"*","documentation":"Information on dispensed Medication(s)","part":[{"name":"medicationDispense","use":"in","min":1,"max":"1","type":"MedicationDispense"},{"name":"medication","use":"in","min":1,"max":"1","type":"Medication"}]}]}

    <Parameters xmlns="http://hl7.org/fhir">
      <id value="ExampleEUCloseInputParameters"/>
      <meta>
        <profile
                 value="https://gematik.de/fhir/tiflow-xborder/StructureDefinition/GEM-ERPEU-PR-PAR-Close-Operation-Input"/>
      </meta>
      <parameter>
        <name value="rxDispensation"/>
        <part>
          <name value="medicationDispense"/>
          <resource>
            <MedicationDispense>
              <id value="Example-MedicationDispense-EU"/>
              <meta>
                <profile
                         value="https://gematik.de/fhir/tiflow-xborder/StructureDefinition/GEM-ERPEU-PR-MedicationDispense"/>
              </meta>
              <identifier>
                <system
                        value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId"/>
                <value value="160.000.033.491.280.78"/>
              </identifier>
              <status value="completed"/>
              <medicationReference>🔗
                <reference value="Medication/SumatripanMedication"/>
              </medicationReference>
              <subject>
                <identifier>
                  <system value="http://fhir.de/sid/gkv/kvid-10"/>
                  <value value="X123456789"/>
                </identifier>
              </subject>
              <performer>
                <actor>🔗
                  <reference
                             value="PractitionerRole/Example-EU-PractitionerRole"/>
                </actor>
              </performer>
              <quantity>
                <value value="2"/>
                <unit value="pkg"/>
              </quantity>
              <whenHandedOver value="2026-10-01"/>
            </MedicationDispense>
          </resource>
        </part>
        <part>
          <name value="medication"/>
          <resource>
            <Medication>
              <id value="SumatripanMedication"/>
              <meta>
                <profile
                         value="https://gematik.de/fhir/tiflow-xborder/StructureDefinition/GEM-ERPEU-PR-Medication"/>
              </meta>
              <extension
                         url="https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension">
                <valueCoding>
                  <system
                          value="https://gematik.de/fhir/epa-medication/CodeSystem/epa-drug-category-cs"/>
                  <code value="00"/>
                </valueCoding>
              </extension>
              <extension
                         url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension">
                <valueBoolean value="false"/>
              </extension>
              <extension url="http://fhir.de/StructureDefinition/normgroesse">
                <valueCode value="N1"/>
              </extension>
              <code>
                <coding>
                  <system value="http://fhir.de/CodeSystem/ifa/pzn"/>
                  <code value="06313728"/>
                </coding>
                <text value="Sumatriptan-1a Pharma 100 mg Tabletten"/>
              </code>
              <form>
                <coding>
                  <system
                          value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM"/>
                  <code value="TAB"/>
                </coding>
              </form>
              <amount>
                <numerator>
                  <extension
                             url="https://gematik.de/fhir/epa-medication/StructureDefinition/medication-total-quantity-formulation-extension">
                    <valueString value="20"/>
                  </extension>
                  <value value="20"/>
                  <unit value="St"/>
                </numerator>
                <denominator>
                  <value value="1"/>
                </denominator>
              </amount>
              <batch>
                <lotNumber value="1234567890"/>
              </batch>
            </Medication>
          </resource>
        </part>
      </parameter>
      <parameter>
        <name value="requestData"/>
        <part>
          <name value="kvnr"/>
          <valueIdentifier>
            <system value="http://fhir.de/sid/gkv/kvid-10"/>
            <value value="X123456789"/>
          </valueIdentifier>
        </part>
        <part>
          <name value="accessCode"/>
          <valueIdentifier>
            <system
                    value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_EU_AccessCode"/>
            <value value="ABC123"/>
          </valueIdentifier>
        </part>
        <part>
          <name value="countryCode"/>
          <valueCoding>
            <system value="urn:iso:std:iso:3166"/>
            <code value="BE"/>
          </valueCoding>
        </part>
        <part>
          <name value="practitionerName"/>
          <valueString value="Sanches"/>
        </part>
        <part>
          <name value="practitionerRole"/>
          <valueCoding>
            <system value="urn:oid:2.16.840.1.113883.2.9.6.2.7"/>
            <code value="2262"/>
            <display value="Pharmacists"/>
          </valueCoding>
        </part>
        <part>
          <name value="pointOfCare"/>
          <valueString value="Super Pharmacia"/>
        </part>
        <part>
          <name value="healthcare-facility-type"/>
          <valueCoding>
            <system
                    value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/>
            <code value="1.2.276.0.76.4.54"/>
            <display value="Öffentliche Apotheke"/>
          </valueCoding>
        </part>
      </parameter>
      <parameter>
        <name value="practitionerData"/>
        <resource>
          <Practitioner>
            <id value="Example-EU-Practitioner"/>
            <meta>
              <profile
                       value="https://gematik.de/fhir/tiflow-xborder/StructureDefinition/GEM-ERPEU-PR-Practitioner"/>
            </meta>
            <identifier>
              <value value="EU-1234567890"/>
            </identifier>
            <name>
              <text value="Pedro Sanches"/>
              <family value="Sanches"/>
              <given value="Pedro"/>
            </name>
          </Practitioner>
        </resource>
      </parameter>
      <parameter>
        <name value="organizationData"/>
        <resource>
          <Organization>
            <id value="Example-EU-Organization"/>
            <meta>
              <profile
                       value="https://gematik.de/fhir/tiflow-xborder/StructureDefinition/GEM-ERPEU-PR-Organization"/>
            </meta>
            <identifier>
              <value value="1234567890"/>
            </identifier>
            <identifier>
              <value value="EU-136ad69f"/>
            </identifier>
            <type>
              <coding>
                <system
                        value="https://gematik.de/fhir/directory/CodeSystem/OrganizationProfessionOID"/>
                <code value="1.2.276.0.76.4.54"/>
                <display value="Öffentliche Apotheke"/>
              </coding>
            </type>
            <name value="Pharmacia de Santa Maria"/>
            <address>
              <line value="Rua da Alegria, 123"/>
              <city value="Lisbon"/>
              <state value="Estremadura"/>
              <postalCode value="1234-567"/>
              <country value="Portugal"/>
            </address>
          </Organization>
        </resource>
      </parameter>
      <parameter>
        <name value="practitionerRoleData"/>
        <resource>
          <PractitionerRole>
            <id value="Example-EU-PractitionerRole"/>
            <meta>
              <profile
                       value="https://gematik.de/fhir/tiflow-xborder/StructureDefinition/GEM-ERPEU-PR-PractitionerRole"/>
            </meta>
            <practitioner>🔗
              <reference value="Practitioner/Example-EU-Practitioner"/>
            </practitioner>
            <organization>🔗
              <reference value="Organization/Example-EU-Organization"/>
            </organization>
          </PractitionerRole>
        </resource>
      </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>