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

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

Active as of 2026-01-08

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

    <http://hl7.org/fhir/CapabilityStatement/ti-flow-fachdienst-server-erpeu> a fhir:CapabilityStatement ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:Resource.id [ fhir:value "ti-flow-fachdienst-server-erpeu"] ;
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "https://gematik.de/fhir/ti/StructureDefinition/ti-capability-statement" ;
           fhir:index 0 ;
           fhir:link <https://gematik.de/fhir/ti/StructureDefinition/ti-capability-statement>
         ]
      ] ;
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "extensions" ] ;
         fhir:Narrative.div "<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>\n</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>\n</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>\n</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>\n</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>\n</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>\n</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>\n</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>\n</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>\n</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>\n</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>\n</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>\n</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>\n</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>\n</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>\n</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>\n</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>\n</div></td></tr></tbody></table></div><div class=\"col-lg-5\"> </div></div></div></div></div></div>"
      ] ;
      fhir:DomainResource.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-base-url" ] ;
         fhir:Extension.valueString [ fhir:value "https://tiflow.de/rx/fhir/v1" ]
      ] ;
      fhir:CapabilityStatement.url [ fhir:value "https://gematik.de/fhir/tiflow-xborder/CapabilityStatement/ti-flow-fachdienst-server-erpeu"] ;
      fhir:CapabilityStatement.version [ fhir:value "2.0.0-ballot.2"] ;
      fhir:CapabilityStatement.title [ fhir:value "ERPEU CapabilityStatement fuer den E-Rezept-Fachdienst"] ;
      fhir:CapabilityStatement.status [ fhir:value "active"] ;
      fhir:CapabilityStatement.date [ fhir:value "2026-01-08"^^xsd:date] ;
      fhir:CapabilityStatement.publisher [ fhir:value "gematik GmbH"] ;
      fhir:CapabilityStatement.contact [
         fhir:index 0 ;
         fhir:ContactDetail.name [ fhir:value "gematik GmbH" ] ;
         fhir:ContactDetail.telecom [
           fhir:index 0 ;
           fhir:ContactPoint.system [ fhir:value "url" ] ;
           fhir:ContactPoint.value [ fhir:value "https://gematik.de" ]
         ], [
           fhir:index 1 ;
           fhir:ContactPoint.system [ fhir:value "email" ] ;
           fhir:ContactPoint.value [ fhir:value "erp-umsetzung@gematik.de" ]
         ]
      ] ;
      fhir:CapabilityStatement.description [ fhir:value "CapabilityStatement fuer den E-Rezept-Fachdienst (EU-Zugriff)"] ;
      fhir:CapabilityStatement.jurisdiction [
         fhir:index 0 ;
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ] ;
           fhir:Coding.code [ fhir:value "DE" ] ;
           fhir:Coding.display [ fhir:value "Germany" ]
         ]
      ] ;
      fhir:CapabilityStatement.kind [ fhir:value "requirements"] ;
      fhir:CapabilityStatement.fhirVersion [ fhir:value "4.0.1"] ;
      fhir:CapabilityStatement.format [
         fhir:value "application/fhir+json" ;
         fhir:index 0
      ], [
         fhir:value "application/fhir+xml" ;
         fhir:index 1
      ] ;
      fhir:CapabilityStatement.rest [
         fhir:index 0 ;
         fhir:CapabilityStatement.rest.mode [ fhir:value "server" ] ;
         fhir:CapabilityStatement.rest.resource [
           fhir:index 0 ;
           fhir:Element.extension [
             fhir:index 0 ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ] ;
             fhir:Extension.valueCode [ fhir:value "SHALL" ]
           ] ;
           fhir:CapabilityStatement.rest.resource.type [ fhir:value "Task" ] ;
           fhir:CapabilityStatement.rest.resource.supportedProfile [
             fhir:value "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task" ;
             fhir:index 0 ;
             fhir:link <https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task> ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL" ]
             ]
           ] ;
           fhir:CapabilityStatement.rest.resource.interaction [
             fhir:index 0 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL" ]
             ], [
               fhir:index 1 ;
               fhir:Element.extension [
                 fhir:index 0 ;
                 fhir:Extension.url [ fhir:value "statusCode" ] ;
                 fhir:Extension.valueString [ fhir:value "400" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Invalid request" ]
               ], [
                 fhir:index 2 ;
                 fhir:Extension.url [ fhir:value "responseType" ] ;
                 fhir:Extension.valueString [ fhir:value "EPAMSOperationOutcome" ]
               ], [
                 fhir:index 3 ;
                 fhir:Extension.url [ fhir:value "errorCode" ] ;
                 fhir:Extension.valueString [ fhir:value "MSG_BAD_FORMAT" ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
             ], [
               fhir:index 2 ;
               fhir:Element.extension [
                 fhir:index 0 ;
                 fhir:Extension.url [ fhir:value "statusCode" ] ;
                 fhir:Extension.valueString [ fhir:value "200" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Successful operation" ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
             ], [
               fhir:index 3 ;
               fhir:Element.extension [
                 fhir:index 0 ;
                 fhir:Extension.url [ fhir:value "statusCode" ] ;
                 fhir:Extension.valueString [ fhir:value "400" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Unknown search parameter" ]
               ], [
                 fhir:index 2 ;
                 fhir:Extension.url [ fhir:value "responseType" ] ;
                 fhir:Extension.valueString [ fhir:value "EPAMSOperationOutcome" ]
               ], [
                 fhir:index 3 ;
                 fhir:Extension.url [ fhir:value "errorCode" ] ;
                 fhir:Extension.valueString [ fhir:value "MSG_PARAM_UNKNOWN" ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
             ], [
               fhir:index 4 ;
               fhir:Element.extension [
                 fhir:index 0 ;
                 fhir:Extension.url [ fhir:value "statusCode" ] ;
                 fhir:Extension.valueString [ fhir:value "400" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Invalid query parameter(s)" ]
               ], [
                 fhir:index 2 ;
                 fhir:Extension.url [ fhir:value "responseType" ] ;
                 fhir:Extension.valueString [ fhir:value "EPAMSOperationOutcome" ]
               ], [
                 fhir:index 3 ;
                 fhir:Extension.url [ fhir:value "errorCode" ] ;
                 fhir:Extension.valueString [ fhir:value "MSG_BAD_SYNTAX" ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
             ], [
               fhir:index 5 ;
               fhir:Element.extension [
                 fhir:index 0 ;
                 fhir:Extension.url [ fhir:value "statusCode" ] ;
                 fhir:Extension.valueString [ fhir:value "404" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Unknown resource type" ]
               ], [
                 fhir:index 2 ;
                 fhir:Extension.url [ fhir:value "responseType" ] ;
                 fhir:Extension.valueString [ fhir:value "EPAMSOperationOutcome" ]
               ], [
                 fhir:index 3 ;
                 fhir:Extension.url [ fhir:value "errorCode" ] ;
                 fhir:Extension.valueString [ fhir:value "MSG_UNKNOWN_TYPE" ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
             ] ;
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ]
           ], [
             fhir:index 1 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL" ]
             ], [
               fhir:index 1 ;
               fhir:Element.extension [
                 fhir:index 0 ;
                 fhir:Extension.url [ fhir:value "statusCode" ] ;
                 fhir:Extension.valueString [ fhir:value "400" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Invalid request" ]
               ], [
                 fhir:index 2 ;
                 fhir:Extension.url [ fhir:value "responseType" ] ;
                 fhir:Extension.valueString [ fhir:value "EPAMSOperationOutcome" ]
               ], [
                 fhir:index 3 ;
                 fhir:Extension.url [ fhir:value "errorCode" ] ;
                 fhir:Extension.valueString [ fhir:value "MSG_BAD_FORMAT" ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
             ], [
               fhir:index 2 ;
               fhir:Element.extension [
                 fhir:index 0 ;
                 fhir:Extension.url [ fhir:value "statusCode" ] ;
                 fhir:Extension.valueString [ fhir:value "200" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Successful operation" ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
             ], [
               fhir:index 3 ;
               fhir:Element.extension [
                 fhir:index 0 ;
                 fhir:Extension.url [ fhir:value "statusCode" ] ;
                 fhir:Extension.valueString [ fhir:value "404" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Unknown resource type" ]
               ], [
                 fhir:index 2 ;
                 fhir:Extension.url [ fhir:value "responseType" ] ;
                 fhir:Extension.valueString [ fhir:value "EPAMSOperationOutcome" ]
               ], [
                 fhir:index 3 ;
                 fhir:Extension.url [ fhir:value "errorCode" ] ;
                 fhir:Extension.valueString [ fhir:value "MSG_UNKNOWN_TYPE" ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
             ], [
               fhir:index 4 ;
               fhir:Element.extension [
                 fhir:index 0 ;
                 fhir:Extension.url [ fhir:value "statusCode" ] ;
                 fhir:Extension.valueString [ fhir:value "404" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Resource is not known" ]
               ], [
                 fhir:index 2 ;
                 fhir:Extension.url [ fhir:value "responseType" ] ;
                 fhir:Extension.valueString [ fhir:value "EPAMSOperationOutcome" ]
               ], [
                 fhir:index 3 ;
                 fhir:Extension.url [ fhir:value "errorCode" ] ;
                 fhir:Extension.valueString [ fhir:value "MSG_RESOURCE_ID_FAIL" ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
             ], [
               fhir:index 5 ;
               fhir:Element.extension [
                 fhir:index 0 ;
                 fhir:Extension.url [ fhir:value "statusCode" ] ;
                 fhir:Extension.valueString [ fhir:value "410" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Resource was deleted" ]
               ], [
                 fhir:index 2 ;
                 fhir:Extension.url [ fhir:value "responseType" ] ;
                 fhir:Extension.valueString [ fhir:value "EPAMSOperationOutcome" ]
               ], [
                 fhir:index 3 ;
                 fhir:Extension.url [ fhir:value "errorCode" ] ;
                 fhir:Extension.valueString [ fhir:value "MSG_DELETED" ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
             ] ;
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]
           ], [
             fhir:index 2 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL" ]
             ] ;
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "patch" ]
           ] ;
           fhir:CapabilityStatement.rest.resource.versioning [ fhir:value "versioned-update" ] ;
           fhir:CapabilityStatement.rest.resource.readHistory [ fhir:value "true"^^xsd:boolean ] ;
           fhir:CapabilityStatement.rest.resource.searchParam [
             fhir:index 0 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL" ]
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_id" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/Resource-id" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/Resource-id>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Task.id - Unterstützt die Suche nach der Task-ID" ]
           ], [
             fhir:index 1 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL" ]
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "prescription-id" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Task.identifier - Unterstützt die Suche nach der E-Rezept-ID" ]
           ], [
             fhir:index 2 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL" ]
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "access-code" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Task.identifier - Unterstützt die Suche nach dem Zugriffscode" ]
           ], [
             fhir:index 3 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL" ]
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "status" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/Task-status" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/Task-status>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Task.status - Unterstützt die Suche nach dem Status einer Task" ]
           ], [
             fhir:index 4 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL" ]
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "authored-on" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Task.authoredOn - Unterstützt die Suche nach dem Erstellungsdatum" ]
           ], [
             fhir:index 5 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL" ]
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "accept-date" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Task.extension:acceptDate.valueDate - Unterstützt die Suche nach dem Akzeptanzdatum" ]
           ], [
             fhir:index 6 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL" ]
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "expiry-date" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Task.extension:expiryDate.valueDate - Unterstützt die Suche nach dem Verfallsdatum" ]
           ], [
             fhir:index 7 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL" ]
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "modified" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/Task-modified" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/Task-modified>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Task.lastModified - Unterstützt die Suche nach dem zuletzt modifizierten Datum" ]
           ], [
             fhir:index 8 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL" ]
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_sort" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Unterstützt das Sortieren nach unterstützten Task-Suchkriterien" ]
           ], [
             fhir:index 9 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL" ]
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_count" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "number" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Maximale Anzahl zurückgegebener Einträge pro Seite; maximum value is 50" ]
           ], [
             fhir:index 10 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL" ]
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "__offset" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "number" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Nullbasierter Offset des ersten zurückgegebenen Eintrags; default is 0" ]
           ] ;
           fhir:CapabilityStatement.rest.resource.operation [
             fhir:index 0 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL" ]
             ], [
               fhir:index 1 ;
               fhir:Element.extension [
                 fhir:index 0 ;
                 fhir:Extension.url [ fhir:value "statusCode" ] ;
                 fhir:Extension.valueString [ fhir:value "400" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "FHIR Profile Validation Failed" ]
               ], [
                 fhir:index 2 ;
                 fhir:Extension.url [ fhir:value "responseType" ] ;
                 fhir:Extension.valueString [ fhir:value "TIFlowOperationOutcome" ]
               ], [
                 fhir:index 3 ;
                 fhir:Extension.url [ fhir:value "errorCode" ] ;
                 fhir:Extension.valueString [ fhir:value "SVC_VALIDATION_FAILED" ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
             ], [
               fhir:index 2 ;
               fhir:Element.extension [
                 fhir:index 0 ;
                 fhir:Extension.url [ fhir:value "statusCode" ] ;
                 fhir:Extension.valueString [ fhir:value "403" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Access permission invalid" ]
               ], [
                 fhir:index 2 ;
                 fhir:Extension.url [ fhir:value "responseType" ] ;
                 fhir:Extension.valueString [ fhir:value "TIFlowOperationOutcome" ]
               ], [
                 fhir:index 3 ;
                 fhir:Extension.url [ fhir:value "errorCode" ] ;
                 fhir:Extension.valueString [ fhir:value "TIFLOW_ACCESS_PERMISSION_INVALID" ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
             ], [
               fhir:index 3 ;
               fhir:Element.extension [
                 fhir:index 0 ;
                 fhir:Extension.url [ fhir:value "statusCode" ] ;
                 fhir:Extension.valueString [ fhir:value "403" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Access role not allowed" ]
               ], [
                 fhir:index 2 ;
                 fhir:Extension.url [ fhir:value "responseType" ] ;
                 fhir:Extension.valueString [ fhir:value "TIFlowOperationOutcome" ]
               ], [
                 fhir:index 3 ;
                 fhir:Extension.url [ fhir:value "errorCode" ] ;
                 fhir:Extension.valueString [ fhir:value "TIFLOW_AUTH_ROLE_NOT_ALLOWED" ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
             ], [
               fhir:index 4 ;
               fhir:Element.extension [
                 fhir:index 0 ;
                 fhir:Extension.url [ fhir:value "statusCode" ] ;
                 fhir:Extension.valueString [ fhir:value "403" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Consent missing" ]
               ], [
                 fhir:index 2 ;
                 fhir:Extension.url [ fhir:value "responseType" ] ;
                 fhir:Extension.valueString [ fhir:value "TIFlowOperationOutcome" ]
               ], [
                 fhir:index 3 ;
                 fhir:Extension.url [ fhir:value "errorCode" ] ;
                 fhir:Extension.valueString [ fhir:value "TIFLOW_CONSENT_MISSING" ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
             ], [
               fhir:index 5 ;
               fhir:Element.extension [
                 fhir:index 0 ;
                 fhir:Extension.url [ fhir:value "statusCode" ] ;
                 fhir:Extension.valueString [ fhir:value "400" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Task status mismatch" ]
               ], [
                 fhir:index 2 ;
                 fhir:Extension.url [ fhir:value "responseType" ] ;
                 fhir:Extension.valueString [ fhir:value "TIFlowOperationOutcome" ]
               ], [
                 fhir:index 3 ;
                 fhir:Extension.url [ fhir:value "errorCode" ] ;
                 fhir:Extension.valueString [ fhir:value "TIFLOW_TASK_STATUS_MISMATCH" ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
             ], [
               fhir:index 6 ;
               fhir:Element.extension [
                 fhir:index 0 ;
                 fhir:Extension.url [ fhir:value "statusCode" ] ;
                 fhir:Extension.valueString [ fhir:value "404" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Resource is not known" ]
               ], [
                 fhir:index 2 ;
                 fhir:Extension.url [ fhir:value "responseType" ] ;
                 fhir:Extension.valueString [ fhir:value "EPAMSOperationOutcome" ]
               ], [
                 fhir:index 3 ;
                 fhir:Extension.url [ fhir:value "errorCode" ] ;
                 fhir:Extension.valueString [ fhir:value "MSG_RESOURCE_ID_FAIL" ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
             ], [
               fhir:index 7 ;
               fhir:Element.extension [
                 fhir:index 0 ;
                 fhir:Extension.url [ fhir:value "statusCode" ] ;
                 fhir:Extension.valueString [ fhir:value "410" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Resource was deleted" ]
               ], [
                 fhir:index 2 ;
                 fhir:Extension.url [ fhir:value "responseType" ] ;
                 fhir:Extension.valueString [ fhir:value "EPAMSOperationOutcome" ]
               ], [
                 fhir:index 3 ;
                 fhir:Extension.url [ fhir:value "errorCode" ] ;
                 fhir:Extension.valueString [ fhir:value "MSG_DELETED" ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
             ], [
               fhir:index 8 ;
               fhir:Element.extension [
                 fhir:index 0 ;
                 fhir:Extension.url [ fhir:value "statusCode" ] ;
                 fhir:Extension.valueString [ fhir:value "400" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Invalid request" ]
               ], [
                 fhir:index 2 ;
                 fhir:Extension.url [ fhir:value "responseType" ] ;
                 fhir:Extension.valueString [ fhir:value "EPAMSOperationOutcome" ]
               ], [
                 fhir:index 3 ;
                 fhir:Extension.url [ fhir:value "errorCode" ] ;
                 fhir:Extension.valueString [ fhir:value "MSG_BAD_FORMAT" ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
             ], [
               fhir:index 9 ;
               fhir:Element.extension [
                 fhir:index 0 ;
                 fhir:Extension.url [ fhir:value "statusCode" ] ;
                 fhir:Extension.valueString [ fhir:value "500" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Internal Server Error" ]
               ], [
                 fhir:index 2 ;
                 fhir:Extension.url [ fhir:value "responseType" ] ;
                 fhir:Extension.valueString [ fhir:value "TIFlowOperationOutcome" ]
               ], [
                 fhir:index 3 ;
                 fhir:Extension.url [ fhir:value "errorCode" ] ;
                 fhir:Extension.valueString [ fhir:value "TIFLOW_INTERNAL_ERROR" ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
             ], [
               fhir:index 10 ;
               fhir:Element.extension [
                 fhir:index 0 ;
                 fhir:Extension.url [ fhir:value "statusCode" ] ;
                 fhir:Extension.valueString [ fhir:value "408" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Timeout" ]
               ], [
                 fhir:index 2 ;
                 fhir:Extension.url [ fhir:value "responseType" ] ;
                 fhir:Extension.valueString [ fhir:value "TIFlowOperationOutcome" ]
               ], [
                 fhir:index 3 ;
                 fhir:Extension.url [ fhir:value "errorCode" ] ;
                 fhir:Extension.valueString [ fhir:value "TIFLOW_TIMEOUT" ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
             ] ;
             fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "eu-close" ] ;
             fhir:CapabilityStatement.rest.resource.operation.definition [
               fhir:value "https://gematik.de/fhir/tiflow-xborder/OperationDefinition/EUCloseOperation" ;
               fhir:link <https://gematik.de/fhir/tiflow-xborder/OperationDefinition/EUCloseOperation>
             ] ;
             fhir:CapabilityStatement.rest.resource.operation.documentation [ fhir:value "Finishes the EU ePrescription workflow and creates a signed receipt bundle" ]
           ]
         ], [
           fhir:index 1 ;
           fhir:Element.extension [
             fhir:index 0 ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ] ;
             fhir:Extension.valueCode [ fhir:value "SHALL" ]
           ] ;
           fhir:CapabilityStatement.rest.resource.type [ fhir:value "Consent" ] ;
           fhir:CapabilityStatement.rest.resource.interaction [
             fhir:index 0 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL" ]
             ], [
               fhir:index 1 ;
               fhir:Element.extension [
                 fhir:index 0 ;
                 fhir:Extension.url [ fhir:value "statusCode" ] ;
                 fhir:Extension.valueString [ fhir:value "400" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Invalid request" ]
               ], [
                 fhir:index 2 ;
                 fhir:Extension.url [ fhir:value "responseType" ] ;
                 fhir:Extension.valueString [ fhir:value "EPAMSOperationOutcome" ]
               ], [
                 fhir:index 3 ;
                 fhir:Extension.url [ fhir:value "errorCode" ] ;
                 fhir:Extension.valueString [ fhir:value "MSG_BAD_FORMAT" ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
             ], [
               fhir:index 2 ;
               fhir:Element.extension [
                 fhir:index 0 ;
                 fhir:Extension.url [ fhir:value "statusCode" ] ;
                 fhir:Extension.valueString [ fhir:value "200" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Successful operation" ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
             ], [
               fhir:index 3 ;
               fhir:Element.extension [
                 fhir:index 0 ;
                 fhir:Extension.url [ fhir:value "statusCode" ] ;
                 fhir:Extension.valueString [ fhir:value "400" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Unknown search parameter" ]
               ], [
                 fhir:index 2 ;
                 fhir:Extension.url [ fhir:value "responseType" ] ;
                 fhir:Extension.valueString [ fhir:value "EPAMSOperationOutcome" ]
               ], [
                 fhir:index 3 ;
                 fhir:Extension.url [ fhir:value "errorCode" ] ;
                 fhir:Extension.valueString [ fhir:value "MSG_PARAM_UNKNOWN" ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
             ], [
               fhir:index 4 ;
               fhir:Element.extension [
                 fhir:index 0 ;
                 fhir:Extension.url [ fhir:value "statusCode" ] ;
                 fhir:Extension.valueString [ fhir:value "400" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Invalid query parameter(s)" ]
               ], [
                 fhir:index 2 ;
                 fhir:Extension.url [ fhir:value "responseType" ] ;
                 fhir:Extension.valueString [ fhir:value "EPAMSOperationOutcome" ]
               ], [
                 fhir:index 3 ;
                 fhir:Extension.url [ fhir:value "errorCode" ] ;
                 fhir:Extension.valueString [ fhir:value "MSG_BAD_SYNTAX" ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
             ], [
               fhir:index 5 ;
               fhir:Element.extension [
                 fhir:index 0 ;
                 fhir:Extension.url [ fhir:value "statusCode" ] ;
                 fhir:Extension.valueString [ fhir:value "404" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Unknown resource type" ]
               ], [
                 fhir:index 2 ;
                 fhir:Extension.url [ fhir:value "responseType" ] ;
                 fhir:Extension.valueString [ fhir:value "EPAMSOperationOutcome" ]
               ], [
                 fhir:index 3 ;
                 fhir:Extension.url [ fhir:value "errorCode" ] ;
                 fhir:Extension.valueString [ fhir:value "MSG_UNKNOWN_TYPE" ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
             ] ;
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ]
           ], [
             fhir:index 1 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL" ]
             ], [
               fhir:index 1 ;
               fhir:Element.extension [
                 fhir:index 0 ;
                 fhir:Extension.url [ fhir:value "statusCode" ] ;
                 fhir:Extension.valueString [ fhir:value "400" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Invalid request" ]
               ], [
                 fhir:index 2 ;
                 fhir:Extension.url [ fhir:value "responseType" ] ;
                 fhir:Extension.valueString [ fhir:value "EPAMSOperationOutcome" ]
               ], [
                 fhir:index 3 ;
                 fhir:Extension.url [ fhir:value "errorCode" ] ;
                 fhir:Extension.valueString [ fhir:value "MSG_BAD_FORMAT" ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
             ], [
               fhir:index 2 ;
               fhir:Element.extension [
                 fhir:index 0 ;
                 fhir:Extension.url [ fhir:value "statusCode" ] ;
                 fhir:Extension.valueString [ fhir:value "201" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Resource created" ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
             ], [
               fhir:index 3 ;
               fhir:Element.extension [
                 fhir:index 0 ;
                 fhir:Extension.url [ fhir:value "statusCode" ] ;
                 fhir:Extension.valueString [ fhir:value "404" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Unknown resource type" ]
               ], [
                 fhir:index 2 ;
                 fhir:Extension.url [ fhir:value "responseType" ] ;
                 fhir:Extension.valueString [ fhir:value "EPAMSOperationOutcome" ]
               ], [
                 fhir:index 3 ;
                 fhir:Extension.url [ fhir:value "errorCode" ] ;
                 fhir:Extension.valueString [ fhir:value "MSG_UNKNOWN_TYPE" ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
             ] ;
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "create" ]
           ], [
             fhir:index 2 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL" ]
             ], [
               fhir:index 1 ;
               fhir:Element.extension [
                 fhir:index 0 ;
                 fhir:Extension.url [ fhir:value "statusCode" ] ;
                 fhir:Extension.valueString [ fhir:value "400" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Invalid request" ]
               ], [
                 fhir:index 2 ;
                 fhir:Extension.url [ fhir:value "responseType" ] ;
                 fhir:Extension.valueString [ fhir:value "EPAMSOperationOutcome" ]
               ], [
                 fhir:index 3 ;
                 fhir:Extension.url [ fhir:value "errorCode" ] ;
                 fhir:Extension.valueString [ fhir:value "MSG_BAD_FORMAT" ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
             ], [
               fhir:index 2 ;
               fhir:Element.extension [
                 fhir:index 0 ;
                 fhir:Extension.url [ fhir:value "statusCode" ] ;
                 fhir:Extension.valueString [ fhir:value "204" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Successful operation without response body" ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
             ], [
               fhir:index 3 ;
               fhir:Element.extension [
                 fhir:index 0 ;
                 fhir:Extension.url [ fhir:value "statusCode" ] ;
                 fhir:Extension.valueString [ fhir:value "404" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Unknown resource type" ]
               ], [
                 fhir:index 2 ;
                 fhir:Extension.url [ fhir:value "responseType" ] ;
                 fhir:Extension.valueString [ fhir:value "EPAMSOperationOutcome" ]
               ], [
                 fhir:index 3 ;
                 fhir:Extension.url [ fhir:value "errorCode" ] ;
                 fhir:Extension.valueString [ fhir:value "MSG_UNKNOWN_TYPE" ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
             ], [
               fhir:index 4 ;
               fhir:Element.extension [
                 fhir:index 0 ;
                 fhir:Extension.url [ fhir:value "statusCode" ] ;
                 fhir:Extension.valueString [ fhir:value "404" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Resource is not known" ]
               ], [
                 fhir:index 2 ;
                 fhir:Extension.url [ fhir:value "responseType" ] ;
                 fhir:Extension.valueString [ fhir:value "EPAMSOperationOutcome" ]
               ], [
                 fhir:index 3 ;
                 fhir:Extension.url [ fhir:value "errorCode" ] ;
                 fhir:Extension.valueString [ fhir:value "MSG_RESOURCE_ID_FAIL" ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
             ], [
               fhir:index 5 ;
               fhir:Element.extension [
                 fhir:index 0 ;
                 fhir:Extension.url [ fhir:value "statusCode" ] ;
                 fhir:Extension.valueString [ fhir:value "410" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Resource was deleted" ]
               ], [
                 fhir:index 2 ;
                 fhir:Extension.url [ fhir:value "responseType" ] ;
                 fhir:Extension.valueString [ fhir:value "EPAMSOperationOutcome" ]
               ], [
                 fhir:index 3 ;
                 fhir:Extension.url [ fhir:value "errorCode" ] ;
                 fhir:Extension.valueString [ fhir:value "MSG_DELETED" ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
             ] ;
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "delete" ]
           ] ;
           fhir:CapabilityStatement.rest.resource.versioning [ fhir:value "versioned-update" ] ;
           fhir:CapabilityStatement.rest.resource.readHistory [ fhir:value "true"^^xsd:boolean ] ;
           fhir:CapabilityStatement.rest.resource.searchParam [
             fhir:index 0 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL" ]
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "category" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/Consent-category" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/Consent-category>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Consent.category - Unterstützt die Suche nach der Art der Einwilligung" ]
           ]
         ] ;
         fhir:CapabilityStatement.rest.operation [
           fhir:index 0 ;
           fhir:Element.extension [
             fhir:index 0 ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ] ;
             fhir:Extension.valueCode [ fhir:value "SHALL" ]
           ], [
             fhir:index 1 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "statusCode" ] ;
               fhir:Extension.valueString [ fhir:value "200" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "Successful operation" ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "responseType" ] ;
               fhir:Extension.valueString [ fhir:value "Parameters" ]
             ] ;
             fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
           ], [
             fhir:index 2 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "statusCode" ] ;
               fhir:Extension.valueString [ fhir:value "400" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "Invalid request" ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "responseType" ] ;
               fhir:Extension.valueString [ fhir:value "EPAMSOperationOutcome" ]
             ], [
               fhir:index 3 ;
               fhir:Extension.url [ fhir:value "errorCode" ] ;
               fhir:Extension.valueString [ fhir:value "MSG_BAD_FORMAT" ]
             ] ;
             fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
           ], [
             fhir:index 3 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "statusCode" ] ;
               fhir:Extension.valueString [ fhir:value "400" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "Access code invalid" ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "responseType" ] ;
               fhir:Extension.valueString [ fhir:value "TIFlowOperationOutcome" ]
             ], [
               fhir:index 3 ;
               fhir:Extension.url [ fhir:value "errorCode" ] ;
               fhir:Extension.valueString [ fhir:value "TIFLOW_ACCESS_CODE_INVALID" ]
             ] ;
             fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
           ], [
             fhir:index 4 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "statusCode" ] ;
               fhir:Extension.valueString [ fhir:value "403" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "Consent required" ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "responseType" ] ;
               fhir:Extension.valueString [ fhir:value "TIFlowOperationOutcome" ]
             ], [
               fhir:index 3 ;
               fhir:Extension.url [ fhir:value "errorCode" ] ;
               fhir:Extension.valueString [ fhir:value "TIFLOW_CONSENT_REQUIRED" ]
             ] ;
             fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
           ], [
             fhir:index 5 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "statusCode" ] ;
               fhir:Extension.valueString [ fhir:value "409" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "Country code invalid" ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "responseType" ] ;
               fhir:Extension.valueString [ fhir:value "TIFlowOperationOutcome" ]
             ], [
               fhir:index 3 ;
               fhir:Extension.url [ fhir:value "errorCode" ] ;
               fhir:Extension.valueString [ fhir:value "TIFLOW_XBORDER_COUNTRY_CODE_INVALID" ]
             ] ;
             fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
           ], [
             fhir:index 6 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "statusCode" ] ;
               fhir:Extension.valueString [ fhir:value "403" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "Access role not allowed" ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "responseType" ] ;
               fhir:Extension.valueString [ fhir:value "TIFlowOperationOutcome" ]
             ], [
               fhir:index 3 ;
               fhir:Extension.url [ fhir:value "errorCode" ] ;
               fhir:Extension.valueString [ fhir:value "TIFLOW_AUTH_ROLE_NOT_ALLOWED" ]
             ] ;
             fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
           ] ;
           fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "grant-eu-access-permission" ] ;
           fhir:CapabilityStatement.rest.resource.operation.definition [
             fhir:value "https://gematik.de/fhir/tiflow-xborder/OperationDefinition/GrantEUAccessPermission" ;
             fhir:link <https://gematik.de/fhir/tiflow-xborder/OperationDefinition/GrantEUAccessPermission>
           ] ;
           fhir:CapabilityStatement.rest.resource.operation.documentation [ fhir:value "Registers access code and country for EU prescription access" ]
         ], [
           fhir:index 1 ;
           fhir:Element.extension [
             fhir:index 0 ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ] ;
             fhir:Extension.valueCode [ fhir:value "SHALL" ]
           ], [
             fhir:index 1 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "statusCode" ] ;
               fhir:Extension.valueString [ fhir:value "200" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "Successful operation" ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "responseType" ] ;
               fhir:Extension.valueString [ fhir:value "Parameters" ]
             ] ;
             fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
           ], [
             fhir:index 2 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "statusCode" ] ;
               fhir:Extension.valueString [ fhir:value "400" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "Invalid request" ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "responseType" ] ;
               fhir:Extension.valueString [ fhir:value "EPAMSOperationOutcome" ]
             ], [
               fhir:index 3 ;
               fhir:Extension.url [ fhir:value "errorCode" ] ;
               fhir:Extension.valueString [ fhir:value "MSG_BAD_FORMAT" ]
             ] ;
             fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
           ], [
             fhir:index 3 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "statusCode" ] ;
               fhir:Extension.valueString [ fhir:value "403" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "Access role not allowed" ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "responseType" ] ;
               fhir:Extension.valueString [ fhir:value "TIFlowOperationOutcome" ]
             ], [
               fhir:index 3 ;
               fhir:Extension.url [ fhir:value "errorCode" ] ;
               fhir:Extension.valueString [ fhir:value "TIFLOW_AUTH_ROLE_NOT_ALLOWED" ]
             ] ;
             fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
           ] ;
           fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "read-eu-access-permission" ] ;
           fhir:CapabilityStatement.rest.resource.operation.definition [
             fhir:value "https://gematik.de/fhir/tiflow-xborder/OperationDefinition/ReadEUAccessPermission" ;
             fhir:link <https://gematik.de/fhir/tiflow-xborder/OperationDefinition/ReadEUAccessPermission>
           ] ;
           fhir:CapabilityStatement.rest.resource.operation.documentation [ fhir:value "Reads the currently registered EU access code" ]
         ], [
           fhir:index 2 ;
           fhir:Element.extension [
             fhir:index 0 ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ] ;
             fhir:Extension.valueCode [ fhir:value "SHALL" ]
           ], [
             fhir:index 1 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "statusCode" ] ;
               fhir:Extension.valueString [ fhir:value "200" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "Successful operation" ]
             ] ;
             fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
           ], [
             fhir:index 2 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "statusCode" ] ;
               fhir:Extension.valueString [ fhir:value "400" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "Invalid request" ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "responseType" ] ;
               fhir:Extension.valueString [ fhir:value "EPAMSOperationOutcome" ]
             ], [
               fhir:index 3 ;
               fhir:Extension.url [ fhir:value "errorCode" ] ;
               fhir:Extension.valueString [ fhir:value "MSG_BAD_FORMAT" ]
             ] ;
             fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
           ], [
             fhir:index 3 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "statusCode" ] ;
               fhir:Extension.valueString [ fhir:value "403" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "Access role not allowed" ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "responseType" ] ;
               fhir:Extension.valueString [ fhir:value "TIFlowOperationOutcome" ]
             ], [
               fhir:index 3 ;
               fhir:Extension.url [ fhir:value "errorCode" ] ;
               fhir:Extension.valueString [ fhir:value "TIFLOW_AUTH_ROLE_NOT_ALLOWED" ]
             ] ;
             fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
           ] ;
           fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "revoke-eu-access-permission" ] ;
           fhir:CapabilityStatement.rest.resource.operation.definition [
             fhir:value "https://gematik.de/fhir/tiflow-xborder/OperationDefinition/RevokeEUAccessPermission" ;
             fhir:link <https://gematik.de/fhir/tiflow-xborder/OperationDefinition/RevokeEUAccessPermission>
           ] ;
           fhir:CapabilityStatement.rest.resource.operation.documentation [ fhir:value "Revokes the currently registered EU access code" ]
         ], [
           fhir:index 3 ;
           fhir:Element.extension [
             fhir:index 0 ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ] ;
             fhir:Extension.valueCode [ fhir:value "SHALL" ]
           ], [
             fhir:index 1 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "statusCode" ] ;
               fhir:Extension.valueString [ fhir:value "200" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "Successful operation" ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "responseType" ] ;
               fhir:Extension.valueString [ fhir:value "Parameters" ]
             ] ;
             fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
           ], [
             fhir:index 2 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "statusCode" ] ;
               fhir:Extension.valueString [ fhir:value "400" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "Invalid request" ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "responseType" ] ;
               fhir:Extension.valueString [ fhir:value "EPAMSOperationOutcome" ]
             ], [
               fhir:index 3 ;
               fhir:Extension.url [ fhir:value "errorCode" ] ;
               fhir:Extension.valueString [ fhir:value "MSG_BAD_FORMAT" ]
             ] ;
             fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
           ], [
             fhir:index 3 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "statusCode" ] ;
               fhir:Extension.valueString [ fhir:value "400" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "FHIR Profile Validation Failed" ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "responseType" ] ;
               fhir:Extension.valueString [ fhir:value "TIFlowOperationOutcome" ]
             ], [
               fhir:index 3 ;
               fhir:Extension.url [ fhir:value "errorCode" ] ;
               fhir:Extension.valueString [ fhir:value "SVC_VALIDATION_FAILED" ]
             ] ;
             fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
           ], [
             fhir:index 4 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "statusCode" ] ;
               fhir:Extension.valueString [ fhir:value "403" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "Access permission invalid" ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "responseType" ] ;
               fhir:Extension.valueString [ fhir:value "TIFlowOperationOutcome" ]
             ], [
               fhir:index 3 ;
               fhir:Extension.url [ fhir:value "errorCode" ] ;
               fhir:Extension.valueString [ fhir:value "TIFLOW_ACCESS_PERMISSION_INVALID" ]
             ] ;
             fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
           ], [
             fhir:index 5 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "statusCode" ] ;
               fhir:Extension.valueString [ fhir:value "403" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "Access role not allowed" ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "responseType" ] ;
               fhir:Extension.valueString [ fhir:value "TIFlowOperationOutcome" ]
             ], [
               fhir:index 3 ;
               fhir:Extension.url [ fhir:value "errorCode" ] ;
               fhir:Extension.valueString [ fhir:value "TIFLOW_AUTH_ROLE_NOT_ALLOWED" ]
             ] ;
             fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
           ], [
             fhir:index 6 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "statusCode" ] ;
               fhir:Extension.valueString [ fhir:value "403" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "Consent required" ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "responseType" ] ;
               fhir:Extension.valueString [ fhir:value "TIFlowOperationOutcome" ]
             ], [
               fhir:index 3 ;
               fhir:Extension.url [ fhir:value "errorCode" ] ;
               fhir:Extension.valueString [ fhir:value "TIFLOW_CONSENT_REQUIRED" ]
             ] ;
             fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
           ], [
             fhir:index 7 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "statusCode" ] ;
               fhir:Extension.valueString [ fhir:value "404" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "No prescriptions found" ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "responseType" ] ;
               fhir:Extension.valueString [ fhir:value "TIFlowOperationOutcome" ]
             ], [
               fhir:index 3 ;
               fhir:Extension.url [ fhir:value "errorCode" ] ;
               fhir:Extension.valueString [ fhir:value "TIFLOW_XBORDER_NO_PRESCRIPTIONS_FOUND" ]
             ] ;
             fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
           ] ;
           fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "get-eu-prescriptions" ] ;
           fhir:CapabilityStatement.rest.resource.operation.definition [
             fhir:value "https://gematik.de/fhir/tiflow-xborder/OperationDefinition/GETPrescriptionEU" ;
             fhir:link <https://gematik.de/fhir/tiflow-xborder/OperationDefinition/GETPrescriptionEU>
           ] ;
           fhir:CapabilityStatement.rest.resource.operation.documentation [ fhir:value "Returns prescription information for EU ePrescription workflows" ]
         ]
      ] .

    # - ontology header ------------------------------------------------------------

    <http://hl7.org/fhir/CapabilityStatement/ti-flow-fachdienst-server-erpeu.ttl> a owl:Ontology ;
      owl:imports fhir:fhir.ttl ;
      owl:versionIRI <http://build.fhir.org/CapabilityStatement/ti-flow-fachdienst-server-erpeu.ttl> .