Seiteninhalt:
Die FHIR-Operation $eu-close beendet den E-Rezept-Workflow des unter der
Die Nachricht wird als HTTP POST an /Task/$eu-close gesendet.
$eu-close: Anforderungen an den TI-Flow-Fachdienst zur Bereitstellung der Schnittstelle.$eu-close: Anforderungen an den NCPeH-FD 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":"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-close
Input parameters Profile:<a href=\"StructureDefinition-GEM-ERPEU-PR-PAR-Close-Operation-Input.html\">GEM ERP PR EU CloseOperation Input</a>
Parameters
<table class=\"grid\">Use Name Scope Cardinality Type Binding Documentation IN requestData 1..1 Additional request information
\nIN requestData.kvnr 1..1 <a href=\"http://hl7.org/fhir/R4/datatypes.html#Identifier\">Identifier</a> IN requestData.accessCode 1..1 <a href=\"http://hl7.org/fhir/R4/datatypes.html#Identifier\">Identifier</a> IN requestData.countryCode 1..1 <a href=\"http://hl7.org/fhir/R4/datatypes.html#Coding\">Coding</a> IN requestData.practitionerName 1..1 <a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a> IN requestData.practitionerRole 1..1 <a href=\"http://hl7.org/fhir/R4/datatypes.html#Coding\">Coding</a> IN requestData.pointOfCare 1..1 <a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a> IN requestData.healthcare-facility-type 1..1 <a href=\"http://hl7.org/fhir/R4/datatypes.html#Coding\">Coding</a> IN practitionerData 1..1 <a href=\"http://hl7.org/fhir/R4/practitioner.html\">Practitioner</a> Information on the practitioner who dispensed
\nIN organizationData 1..1 <a href=\"http://hl7.org/fhir/R4/organization.html\">Organization</a> Information on the organization where the dispensation happened
\nIN practitionerRoleData 1..1 <a href=\"http://hl7.org/fhir/R4/practitionerrole.html\">PractitionerRole</a> IN rxDispensation 1..* Information on dispensed Medication(s)
\nIN rxDispensation.medicationDispense 1..1 <a href=\"http://hl7.org/fhir/R4/medicationdispense.html\">MedicationDispense</a> IN rxDispensation.medication 1..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>