Implementation Guide
ePA Medication Service
Version 1.3.5 - release

## : EPA CapabilityStatement für den Medication Service - TTL Representation

Active as of 2026-03-20

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/epa-medication-service-server> a fhir:CapabilityStatement ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:Resource.id [ fhir:value "epa-medication-service-server"] ;
      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.extension [
         fhir:index 0 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "name" ] ;
           fhir:Extension.valueString [ fhir:value "X-Request-ID" ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "type" ] ;
           fhir:Extension.valueString [ fhir:value "string" ]
         ], [
           fhir:index 2 ;
           fhir:Extension.url [ fhir:value "description" ] ;
           fhir:Extension.valueString [ fhir:value "UUID of the request message" ]
         ], [
           fhir:index 3 ;
           fhir:Extension.url [ fhir:value "format" ] ;
           fhir:Extension.valueString [ fhir:value "uuid" ]
         ], [
           fhir:index 4 ;
           fhir:Extension.url [ fhir:value "required" ] ;
           fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]
         ] ;
         fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-header" ]
      ], [
         fhir:index 1 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "name" ] ;
           fhir:Extension.valueString [ fhir:value "x-insurantid" ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "type" ] ;
           fhir:Extension.valueString [ fhir:value "string" ]
         ], [
           fhir:index 2 ;
           fhir:Extension.url [ fhir:value "description" ] ;
           fhir:Extension.valueString [ fhir:value "Health Record Identifier" ]
         ], [
           fhir:index 3 ;
           fhir:Extension.url [ fhir:value "pattern" ] ;
           fhir:Extension.valueString [ fhir:value "^[A-Z]{1}\\d{9}$" ]
         ], [
           fhir:index 4 ;
           fhir:Extension.url [ fhir:value "required" ] ;
           fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]
         ] ;
         fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-header" ]
      ], [
         fhir:index 2 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "name" ] ;
           fhir:Extension.valueString [ fhir:value "x-useragent" ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "type" ] ;
           fhir:Extension.valueString [ fhir:value "string" ]
         ], [
           fhir:index 2 ;
           fhir:Extension.url [ fhir:value "description" ] ;
           fhir:Extension.valueString [ fhir:value "user agent information" ]
         ], [
           fhir:index 3 ;
           fhir:Extension.url [ fhir:value "pattern" ] ;
           fhir:Extension.valueString [ fhir:value "^[a-zA-Z0-9]{20}\\/[a-zA-Z0-9\\-\\.]{1,15}$" ]
         ], [
           fhir:index 4 ;
           fhir:Extension.url [ fhir:value "required" ] ;
           fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]
         ] ;
         fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-header" ]
      ], [
         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 "Requestor not authorized (no user session with valid ID-Token available)" ]
         ], [
           fhir:index 2 ;
           fhir:Extension.url [ fhir:value "responseType" ] ;
           fhir:Extension.valueString [ fhir:value "application/json" ]
         ], [
           fhir:index 3 ;
           fhir:Extension.url [ fhir:value "errorCode" ] ;
           fhir:Extension.valueString [ fhir:value "invalAuth" ]
         ] ;
         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 "Requestor has no valid entitlement" ]
         ], [
           fhir:index 2 ;
           fhir:Extension.url [ fhir:value "responseType" ] ;
           fhir:Extension.valueString [ fhir:value "application/json" ]
         ], [
           fhir:index 3 ;
           fhir:Extension.url [ fhir:value "errorCode" ] ;
           fhir:Extension.valueString [ fhir:value "notEntitled" ]
         ] ;
         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 "Requestor role is not in the list of allowed user groups" ]
         ], [
           fhir:index 2 ;
           fhir:Extension.url [ fhir:value "responseType" ] ;
           fhir:Extension.valueString [ fhir:value "application/json" ]
         ], [
           fhir:index 3 ;
           fhir:Extension.url [ fhir:value "errorCode" ] ;
           fhir:Extension.valueString [ fhir:value "invalidOid" ]
         ] ;
         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 "Device registration does not exist (if requestor role is oid_versicherter only)" ]
         ], [
           fhir:index 2 ;
           fhir:Extension.url [ fhir:value "responseType" ] ;
           fhir:Extension.valueString [ fhir:value "application/json" ]
         ], [
           fhir:index 3 ;
           fhir:Extension.url [ fhir:value "errorCode" ] ;
           fhir:Extension.valueString [ fhir:value "unregisteredDevice" ]
         ] ;
         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 "Health record is in state UNKNOWN or INITIALIZED" ]
         ], [
           fhir:index 2 ;
           fhir:Extension.url [ fhir:value "responseType" ] ;
           fhir:Extension.valueString [ fhir:value "application/json" ]
         ], [
           fhir:index 3 ;
           fhir:Extension.url [ fhir:value "errorCode" ] ;
           fhir:Extension.valueString [ fhir:value "noHealthRecord" ]
         ] ;
         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 "409" ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "description" ] ;
           fhir:Extension.valueString [ fhir:value "Request conflicts with the current state of the health record" ]
         ], [
           fhir:index 2 ;
           fhir:Extension.url [ fhir:value "responseType" ] ;
           fhir:Extension.valueString [ fhir:value "application/json" ]
         ], [
           fhir:index 3 ;
           fhir:Extension.url [ fhir:value "errorCode" ] ;
           fhir:Extension.valueString [ fhir:value "statusMismatch" ]
         ] ;
         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 "Any other error" ]
         ], [
           fhir:index 2 ;
           fhir:Extension.url [ fhir:value "responseType" ] ;
           fhir:Extension.valueString [ fhir:value "application/json" ]
         ], [
           fhir:index 3 ;
           fhir:Extension.url [ fhir:value "errorCode" ] ;
           fhir:Extension.valueString [ fhir:value "internalError" ]
         ] ;
         fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
      ], [
         fhir:index 10 ;
         fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-base-url" ] ;
         fhir:Extension.valueString [ fhir:value "http://epa4all/epa/medication/api/v1/fhir" ]
      ], [
         fhir:index 11 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "statusCode" ] ;
           fhir:Extension.valueString [ fhir:value "423" ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "description" ] ;
           fhir:Extension.valueString [ fhir:value "If the insurant objected to the medication process or objected to the submission of prescription and dispensation data into the ePA system, the Medication Service is locked." ]
         ], [
           fhir:index 2 ;
           fhir:Extension.url [ fhir:value "responseType" ] ;
           fhir:Extension.valueString [ fhir:value "application/json" ]
         ], [
           fhir:index 3 ;
           fhir:Extension.url [ fhir:value "errorCode" ] ;
           fhir:Extension.valueString [ fhir:value "locked" ]
         ] ;
         fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
      ] ;
      fhir:CapabilityStatement.url [ fhir:value "https://gematik.de/fhir/epa-medication/CapabilityStatement/epa-medication-service-server"] ;
      fhir:CapabilityStatement.version [ fhir:value "1.3.2"] ;
      fhir:CapabilityStatement.name [ fhir:value "EPAMedicationServiceServer"] ;
      fhir:CapabilityStatement.title [ fhir:value "EPA CapabilityStatement für den Medication Service"] ;
      fhir:CapabilityStatement.status [ fhir:value "active"] ;
      fhir:CapabilityStatement.date [ fhir:value "2026-03-20"^^xsd:date] ;
      fhir:CapabilityStatement.publisher [ fhir:value "gematik GmbH"] ;
      fhir:CapabilityStatement.contact [
         fhir:index 0 ;
         fhir:ContactDetail.telecom [
           fhir:index 0 ;
           fhir:ContactPoint.system [ fhir:value "url" ] ;
           fhir:ContactPoint.value [ fhir:value "https://www.gematik.de" ]
         ]
      ] ;
      fhir:CapabilityStatement.description [ fhir:value "EPA CapabilityStatement für den Medication Service"] ;
      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:CapabilityStatement.copyright [ fhir:value "gematik GmbH / Dieser Implementation Guide ist lizenziert unter [Apache License](./license.html), Version 2.0."] ;
      fhir:CapabilityStatement.kind [ fhir:value "requirements"] ;
      fhir:CapabilityStatement.imports [
         fhir:value "https://gematik.de/fhir/epa/CapabilityStatement/epa-basic-server" ;
         fhir:index 0 ;
         fhir:link <https://gematik.de/fhir/epa/CapabilityStatement/epa-basic-server> ;
         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.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 "Medication" ] ;
           fhir:CapabilityStatement.rest.resource.supportedProfile [
             fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ;
             fhir:index 0 ;
             fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication> ;
             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:value "https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication" ;
             fhir:index 1 ;
             fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication> ;
             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:value "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pharmaceutical-product" ;
             fhir:index 2 ;
             fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pharmaceutical-product> ;
             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:value "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pzn-ingredient" ;
             fhir:index 3 ;
             fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-pzn-ingredient> ;
             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 "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 "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 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 "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 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 "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 "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 "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 "history-type" ]
           ], [
             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 "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 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: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 "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 "history-instance" ]
           ], [
             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: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 "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 "vread" ]
           ] ;
           fhir:CapabilityStatement.rest.resource.versioning [ fhir:value "versioned-update" ] ;
           fhir:CapabilityStatement.rest.resource.readHistory [ fhir:value "true"^^xsd:boolean ] ;
           fhir:CapabilityStatement.rest.resource.searchRevInclude [
             fhir:value "MedicationRequest:medication" ;
             fhir:index 0
           ], [
             fhir:value "MedicationDispense:medication" ;
             fhir:index 1
           ], [
             fhir:value "MedicationStatement:medication" ;
             fhir:index 2
           ] ;
           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 "Resource.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 "_lastUpdated" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/Resource-lastUpdated" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/Resource-lastUpdated>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Resource.meta.lastUpdated" ]
           ], [
             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 "_has" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Return resources linked to by the given target" ]
           ], [
             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 "identifier" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/clinical-identifier" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/clinical-identifier>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Medication.identifier" ]
           ], [
             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 "code" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/clinical-code" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/clinical-code>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Medication.code" ]
           ], [
             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 "status" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/Medication-status" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/Medication-status>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Medication.status" ]
           ], [
             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 "ingredient-code" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/Medication-ingredient-code" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/Medication-ingredient-code>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Medication.ingredient.item as CodeableConcept" ]
           ], [
             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 "rx-prescription" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "https://gematik.de/fhir/epa-medication/SearchParameter/rx-prescription-process-sp" ;
               fhir:link <https://gematik.de/fhir/epa-medication/SearchParameter/rx-prescription-process-sp>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Medication.extension" ]
           ], [
             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 "context" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "https://gematik.de/fhir/epa-medication/SearchParameter/context-sp" ;
               fhir:link <https://gematik.de/fhir/epa-medication/SearchParameter/context-sp>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Medication.extension:context" ]
           ]
         ], [
           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 "MedicationRequest" ] ;
           fhir:CapabilityStatement.rest.resource.supportedProfile [
             fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ;
             fhir:index 0 ;
             fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request> ;
             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:value "https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication-request" ;
             fhir:index 1 ;
             fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/emp-medication-request> ;
             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 "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 "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 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 "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 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 "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 "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 "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 "history-type" ]
           ], [
             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 "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 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: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 "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 "history-instance" ]
           ], [
             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: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 "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 "vread" ]
           ] ;
           fhir:CapabilityStatement.rest.resource.versioning [ fhir:value "versioned-update" ] ;
           fhir:CapabilityStatement.rest.resource.readHistory [ fhir:value "true"^^xsd:boolean ] ;
           fhir:CapabilityStatement.rest.resource.searchInclude [
             fhir:value "MedicationRequest:medication" ;
             fhir:index 0
           ], [
             fhir:value "MedicationRequest:requester" ;
             fhir:index 1
           ], [
             fhir:value "MedicationRequest:activity" ;
             fhir:index 2
           ] ;
           fhir:CapabilityStatement.rest.resource.searchRevInclude [
             fhir:value "MedicationDispense:prescription" ;
             fhir:index 0
           ], [
             fhir:value "MedicationStatement:derived-from" ;
             fhir:index 1
           ] ;
           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 "Resource.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 "_lastUpdated" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/Resource-lastUpdated" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/Resource-lastUpdated>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Resource.meta.lastUpdated" ]
           ], [
             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 "_has" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Return resources linked to by the given target" ]
           ], [
             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 "identifier" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/clinical-identifier" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/clinical-identifier>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "MedicationRequest.identifier" ]
           ], [
             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 "authoredon" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/MedicationRequest-authoredon" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/MedicationRequest-authoredon>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "MedicationRequest.authoredOn" ]
           ], [
             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 "intent" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/MedicationRequest-intent" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/MedicationRequest-intent>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "MedicationRequest.intent" ]
           ], [
             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 "status" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/medications-status" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/medications-status>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "MedicationRequest.status" ]
           ], [
             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 "requester" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/MedicationRequest-requester" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/MedicationRequest-requester>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "MedicationRequest.requester" ]
           ], [
             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 "medication" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/medications-medication" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/medications-medication>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "MedicationRequest.medication as Reference" ]
           ], [
             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 "context" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "https://gematik.de/fhir/epa-medication/SearchParameter/context-sp" ;
               fhir:link <https://gematik.de/fhir/epa-medication/SearchParameter/context-sp>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "MedicationRequest.extension:context" ]
           ], [
             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 "activity" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "https://gematik.de/fhir/epa-medication/SearchParameter/medication-statement-activity-sp" ;
               fhir:link <https://gematik.de/fhir/epa-medication/SearchParameter/medication-statement-activity-sp>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "MedicationRequest.extension:activity" ]
           ], [
             fhir:index 11 ;
             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 "effective-dose-period" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "https://gematik.de/fhir/epa-medication/SearchParameter/medicationrequest-effective-dose-period-sp" ;
               fhir:link <https://gematik.de/fhir/epa-medication/SearchParameter/medicationrequest-effective-dose-period-sp>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "MedicationRequest.extension:effectiveDosePeriod" ]
           ]
         ], [
           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.type [ fhir:value "MedicationDispense" ] ;
           fhir:CapabilityStatement.rest.resource.supportedProfile [
             fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" ;
             fhir:index 0 ;
             fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense> ;
             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 "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 "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 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 "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 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 "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 "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 "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 "history-type" ]
           ], [
             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 "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 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: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 "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 "history-instance" ]
           ], [
             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: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 "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 "vread" ]
           ] ;
           fhir:CapabilityStatement.rest.resource.versioning [ fhir:value "versioned-update" ] ;
           fhir:CapabilityStatement.rest.resource.readHistory [ fhir:value "true"^^xsd:boolean ] ;
           fhir:CapabilityStatement.rest.resource.searchInclude [
             fhir:value "MedicationDispense:medication" ;
             fhir:index 0
           ], [
             fhir:value "MedicationDispense:performer" ;
             fhir:index 1
           ], [
             fhir:value "MedicationDispense:prescription" ;
             fhir:index 2
           ] ;
           fhir:CapabilityStatement.rest.resource.searchRevInclude [
             fhir:value "MedicationStatement:derived-from" ;
             fhir:index 0
           ] ;
           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 "Resource.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 "_lastUpdated" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/Resource-lastUpdated" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/Resource-lastUpdated>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Resource.meta.lastUpdated" ]
           ], [
             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 "_has" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Return resources linked to by the given target" ]
           ], [
             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 "identifier" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/clinical-identifier" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/clinical-identifier>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "MedicationDispense.identifier" ]
           ], [
             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 "whenhandedover" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/MedicationDispense-whenhandedover" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/MedicationDispense-whenhandedover>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "MedicationDispense.whenHandedOver" ]
           ], [
             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 "prescription" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/medications-prescription" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/medications-prescription>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "MedicationDispense.authorizingPrescription" ]
           ], [
             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 "performer" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/MedicationDispense-performer" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/MedicationDispense-performer>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "MedicationDispense.performer.actor" ]
           ], [
             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 "status" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/medications-status" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/medications-status>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "MedicationDispense.status" ]
           ], [
             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 "medication" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/medications-medication" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/medications-medication>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "MedicationDispense.medication as Reference" ]
           ], [
             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 "rx-prescription" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "https://gematik.de/fhir/epa-medication/SearchParameter/rx-prescription-process-sp" ;
               fhir:link <https://gematik.de/fhir/epa-medication/SearchParameter/rx-prescription-process-sp>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "MedicationDispense.extension" ]
           ]
         ], [
           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.type [ fhir:value "MedicationStatement" ] ;
           fhir:CapabilityStatement.rest.resource.supportedProfile [
             fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement" ;
             fhir:index 0 ;
             fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-statement> ;
             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 "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 "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 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 "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 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 "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 "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 "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 "history-type" ]
           ], [
             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 "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 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: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 "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 "history-instance" ]
           ], [
             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: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 "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 "vread" ]
           ] ;
           fhir:CapabilityStatement.rest.resource.versioning [ fhir:value "versioned-update" ] ;
           fhir:CapabilityStatement.rest.resource.readHistory [ fhir:value "true"^^xsd:boolean ] ;
           fhir:CapabilityStatement.rest.resource.searchInclude [
             fhir:value "MedicationStatement:medication" ;
             fhir:index 0
           ], [
             fhir:value "MedicationStatement:derived-from" ;
             fhir:index 1
           ], [
             fhir:value "MedicationStatement:based-on-emp" ;
             fhir:index 2
           ] ;
           fhir:CapabilityStatement.rest.resource.searchRevInclude [
             fhir:value "Provenance:target" ;
             fhir:index 0
           ] ;
           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 "Resource.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 "_lastUpdated" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/Resource-lastUpdated" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/Resource-lastUpdated>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Resource.meta.lastUpdated" ]
           ], [
             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 "_has" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Return resources linked to by the given target" ]
           ], [
             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 "medication" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/medications-medication" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/medications-medication>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "MedicationStatement.medication as Reference" ]
           ], [
             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 "status" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/medications-status" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/medications-status>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "MedicationStatement.status" ]
           ], [
             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 "effective" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/MedicationStatement-effective" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/MedicationStatement-effective>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "MedicationStatement.effective" ]
           ], [
             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 "rx-prescription" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "https://gematik.de/fhir/epa-medication/SearchParameter/rx-prescription-process-sp" ;
               fhir:link <https://gematik.de/fhir/epa-medication/SearchParameter/rx-prescription-process-sp>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Medication.extension" ]
           ], [
             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 "derived-from" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "https://gematik.de/fhir/epa-medication/SearchParameter/derived-from-sp" ;
               fhir:link <https://gematik.de/fhir/epa-medication/SearchParameter/derived-from-sp>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "MedicationStatement.derivedFrom as Reference" ]
           ], [
             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 "context" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "https://gematik.de/fhir/epa-medication/SearchParameter/context-sp" ;
               fhir:link <https://gematik.de/fhir/epa-medication/SearchParameter/context-sp>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "MedicationStatement.extension:context" ]
           ], [
             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 "based-on-emp" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "https://gematik.de/fhir/epa-medication/SearchParameter/based-on-emp-sp" ;
               fhir:link <https://gematik.de/fhir/epa-medication/SearchParameter/based-on-emp-sp>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "MedicationStatement.basedOn mit Extension:is-emp = true" ]
           ] ;
           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 "name" ] ;
                 fhir:Extension.valueString [ fhir:value "X-Requesting-Organization" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "type" ] ;
                 fhir:Extension.valueString [ fhir:value "string" ]
               ], [
                 fhir:index 2 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Base64 encoded FHIR Organization resource in JSON format used to identify the originator of the request" ]
               ], [
                 fhir:index 3 ;
                 fhir:Extension.url [ fhir:value "format" ] ;
                 fhir:Extension.valueString [ fhir:value "base64(fhir+json:Organization)" ]
               ], [
                 fhir:index 4 ;
                 fhir:Extension.url [ fhir:value "required" ] ;
                 fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-header" ]
             ], [
               fhir:index 2 ;
               fhir:Element.extension [
                 fhir:index 0 ;
                 fhir:Extension.url [ fhir:value "statusCode" ] ;
                 fhir:Extension.valueString [ fhir:value "431" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Requesting Organization Header exceeds maximum size" ]
               ], [
                 fhir:index 2 ;
                 fhir:Extension.url [ fhir:value "responseType" ] ;
                 fhir:Extension.valueString [ fhir:value "application/json" ]
               ], [
                 fhir:index 3 ;
                 fhir:Extension.url [ fhir:value "errorCode" ] ;
                 fhir:Extension.valueString [ fhir:value "SVC_ORG_HEADER_TOO_LARGE" ]
               ] ;
               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 "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 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 "ID-Token or Insurant-ID mismatch" ]
               ], [
                 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 "SVC_IDENTITY_MISMATCH" ]
               ] ;
               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 "422" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Profile mismatch in header Organization" ]
               ], [
                 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 "SVC_ORG_HEADER_PROFILE_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 "422" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Invalid Data Structure in Medication Service" ]
               ], [
                 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 "MEDSVC_NO_VALID_STRUCTURE" ]
               ] ;
               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 "400" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Invalid dosage structure or content" ]
               ], [
                 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 "MEDSVC_DOSAGE_INVALID" ]
               ] ;
               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 "Parameter with wrong status" ]
               ], [
                 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 "MEDSVC_STATUS_INVALID" ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
             ] ;
             fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "add-eml-entry" ] ;
             fhir:CapabilityStatement.rest.resource.operation.definition [
               fhir:value "https://gematik.de/fhir/epa-medication/OperationDefinition/add-eml-entry-op" ;
               fhir:link <https://gematik.de/fhir/epa-medication/OperationDefinition/add-eml-entry-op>
             ]
           ], [
             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 "name" ] ;
                 fhir:Extension.valueString [ fhir:value "X-Requesting-Organization" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "type" ] ;
                 fhir:Extension.valueString [ fhir:value "string" ]
               ], [
                 fhir:index 2 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Base64 encoded FHIR Organization resource in JSON format used to identify the originator of the request" ]
               ], [
                 fhir:index 3 ;
                 fhir:Extension.url [ fhir:value "format" ] ;
                 fhir:Extension.valueString [ fhir:value "base64(fhir+json:Organization)" ]
               ], [
                 fhir:index 4 ;
                 fhir:Extension.url [ fhir:value "required" ] ;
                 fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-header" ]
             ], [
               fhir:index 2 ;
               fhir:Element.extension [
                 fhir:index 0 ;
                 fhir:Extension.url [ fhir:value "statusCode" ] ;
                 fhir:Extension.valueString [ fhir:value "431" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Requesting Organization Header exceeds maximum size" ]
               ], [
                 fhir:index 2 ;
                 fhir:Extension.url [ fhir:value "responseType" ] ;
                 fhir:Extension.valueString [ fhir:value "application/json" ]
               ], [
                 fhir:index 3 ;
                 fhir:Extension.url [ fhir:value "errorCode" ] ;
                 fhir:Extension.valueString [ fhir:value "SVC_ORG_HEADER_TOO_LARGE" ]
               ] ;
               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 "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 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 "ID-Token or Insurant-ID mismatch" ]
               ], [
                 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 "SVC_IDENTITY_MISMATCH" ]
               ] ;
               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 "422" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Profile mismatch in header Organization" ]
               ], [
                 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 "SVC_ORG_HEADER_PROFILE_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 "405" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Operation %s not allowed for resource %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_OP_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 "cancel-eml-entry" ] ;
             fhir:CapabilityStatement.rest.resource.operation.definition [
               fhir:value "https://gematik.de/fhir/epa-medication/OperationDefinition/cancel-eml-entry-op" ;
               fhir:link <https://gematik.de/fhir/epa-medication/OperationDefinition/cancel-eml-entry-op>
             ]
           ], [
             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 "name" ] ;
                 fhir:Extension.valueString [ fhir:value "X-Requesting-Organization" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "type" ] ;
                 fhir:Extension.valueString [ fhir:value "string" ]
               ], [
                 fhir:index 2 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Base64 encoded FHIR Organization resource in JSON format used to identify the originator of the request" ]
               ], [
                 fhir:index 3 ;
                 fhir:Extension.url [ fhir:value "format" ] ;
                 fhir:Extension.valueString [ fhir:value "base64(fhir+json:Organization)" ]
               ], [
                 fhir:index 4 ;
                 fhir:Extension.url [ fhir:value "required" ] ;
                 fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-header" ]
             ], [
               fhir:index 2 ;
               fhir:Element.extension [
                 fhir:index 0 ;
                 fhir:Extension.url [ fhir:value "statusCode" ] ;
                 fhir:Extension.valueString [ fhir:value "431" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Requesting Organization Header exceeds maximum size" ]
               ], [
                 fhir:index 2 ;
                 fhir:Extension.url [ fhir:value "responseType" ] ;
                 fhir:Extension.valueString [ fhir:value "application/json" ]
               ], [
                 fhir:index 3 ;
                 fhir:Extension.url [ fhir:value "errorCode" ] ;
                 fhir:Extension.valueString [ fhir:value "SVC_ORG_HEADER_TOO_LARGE" ]
               ] ;
               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 "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 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 "ID-Token or Insurant-ID mismatch" ]
               ], [
                 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 "SVC_IDENTITY_MISMATCH" ]
               ] ;
               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 "422" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Profile mismatch in header Organization" ]
               ], [
                 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 "SVC_ORG_HEADER_PROFILE_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 "422" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Invalid Data Structure in Medication Service" ]
               ], [
                 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 "MEDSVC_NO_VALID_STRUCTURE" ]
               ] ;
               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 "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 8 ;
               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 9 ;
               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 "Parameter with wrong status" ]
               ], [
                 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 "MEDSVC_STATUS_INVALID" ]
               ] ;
               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 "400" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "MedicationStatement could not be linked to an eMP-Entry successfully" ]
               ], [
                 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 "LINKING_NOT_SUCCESSFUL" ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
             ], [
               fhir:index 11 ;
               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 "Already linked to another instance" ]
               ], [
                 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 "MEDSVC_ALREADY_LINKED" ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
             ], [
               fhir:index 12 ;
               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 "Mismatch between acknowledged and current eMP chronology ID" ]
               ], [
                 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 "MEDSVC_EMP_CHRONOLOGY_ID_MISMATCH" ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
             ] ;
             fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "link-emp" ] ;
             fhir:CapabilityStatement.rest.resource.operation.definition [
               fhir:value "https://gematik.de/fhir/epa-medication/OperationDefinition/link-emp-op" ;
               fhir:link <https://gematik.de/fhir/epa-medication/OperationDefinition/link-emp-op>
             ]
           ], [
             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 "name" ] ;
                 fhir:Extension.valueString [ fhir:value "X-Requesting-Organization" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "type" ] ;
                 fhir:Extension.valueString [ fhir:value "string" ]
               ], [
                 fhir:index 2 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Base64 encoded FHIR Organization resource in JSON format used to identify the originator of the request" ]
               ], [
                 fhir:index 3 ;
                 fhir:Extension.url [ fhir:value "format" ] ;
                 fhir:Extension.valueString [ fhir:value "base64(fhir+json:Organization)" ]
               ], [
                 fhir:index 4 ;
                 fhir:Extension.url [ fhir:value "required" ] ;
                 fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-header" ]
             ], [
               fhir:index 2 ;
               fhir:Element.extension [
                 fhir:index 0 ;
                 fhir:Extension.url [ fhir:value "statusCode" ] ;
                 fhir:Extension.valueString [ fhir:value "431" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Requesting Organization Header exceeds maximum size" ]
               ], [
                 fhir:index 2 ;
                 fhir:Extension.url [ fhir:value "responseType" ] ;
                 fhir:Extension.valueString [ fhir:value "application/json" ]
               ], [
                 fhir:index 3 ;
                 fhir:Extension.url [ fhir:value "errorCode" ] ;
                 fhir:Extension.valueString [ fhir:value "SVC_ORG_HEADER_TOO_LARGE" ]
               ] ;
               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 "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 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 "ID-Token or Insurant-ID mismatch" ]
               ], [
                 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 "SVC_IDENTITY_MISMATCH" ]
               ] ;
               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 "422" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Profile mismatch in header Organization" ]
               ], [
                 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 "SVC_ORG_HEADER_PROFILE_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 "422" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Invalid Data Structure in Medication Service" ]
               ], [
                 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 "MEDSVC_NO_VALID_STRUCTURE" ]
               ] ;
               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 "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 8 ;
               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 9 ;
               fhir:Element.extension [
                 fhir:index 0 ;
                 fhir:Extension.url [ fhir:value "statusCode" ] ;
                 fhir:Extension.valueString [ fhir:value "405" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "Operation %s not allowed for resource %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_OP_NOT_ALLOWED" ]
               ] ;
               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 "400" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "description" ] ;
                 fhir:Extension.valueString [ fhir:value "MedicationStatement could not be unlinked from an eMP-Entry successfully" ]
               ], [
                 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 "UNLINKING_NOT_SUCCESSFUL" ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
             ], [
               fhir:index 11 ;
               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 "Mismatch between acknowledged and current eMP chronology ID" ]
               ], [
                 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 "MEDSVC_EMP_CHRONOLOGY_ID_MISMATCH" ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
             ] ;
             fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "unlink-emp" ] ;
             fhir:CapabilityStatement.rest.resource.operation.definition [
               fhir:value "https://gematik.de/fhir/epa-medication/OperationDefinition/unlink-emp-op" ;
               fhir:link <https://gematik.de/fhir/epa-medication/OperationDefinition/unlink-emp-op>
             ]
           ]
         ], [
           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.type [ fhir:value "Organization" ] ;
           fhir:CapabilityStatement.rest.resource.supportedProfile [
             fhir:value "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ;
             fhir:index 0 ;
             fhir:link <https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory> ;
             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:value "https://gematik.de/fhir/ti/StructureDefinition/ti-organization" ;
             fhir:index 1 ;
             fhir:link <https://gematik.de/fhir/ti/StructureDefinition/ti-organization> ;
             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 "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 "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 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 "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 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 "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 "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 "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 "history-type" ]
           ], [
             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 "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 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: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 "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 "history-instance" ]
           ], [
             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: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 "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 "vread" ]
           ] ;
           fhir:CapabilityStatement.rest.resource.versioning [ fhir:value "versioned-update" ] ;
           fhir:CapabilityStatement.rest.resource.readHistory [ fhir:value "true"^^xsd:boolean ] ;
           fhir:CapabilityStatement.rest.resource.searchRevInclude [
             fhir:value "MedicationDispense:performer" ;
             fhir:index 0
           ], [
             fhir:value "PractitionerRole:organization" ;
             fhir:index 1
           ], [
             fhir:value "MedicationRequest:requester" ;
             fhir:index 2
           ] ;
           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 "Resource.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 "_lastUpdated" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/Resource-lastUpdated" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/Resource-lastUpdated>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Resource.meta.lastUpdated" ]
           ], [
             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 "_has" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Return resources linked to by the given target" ]
           ], [
             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 "identifier" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/Organization-identifier" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/Organization-identifier>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Organization.identifier" ]
           ], [
             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 "name" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/Organization-name" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/Organization-name>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Organization.name | Organization.alias" ]
           ]
         ], [
           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.type [ fhir:value "Practitioner" ] ;
           fhir:CapabilityStatement.rest.resource.supportedProfile [
             fhir:value "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ;
             fhir:index 0 ;
             fhir:link <https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory> ;
             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:value "https://gematik.de/fhir/ti/StructureDefinition/ti-practitioner" ;
             fhir:index 1 ;
             fhir:link <https://gematik.de/fhir/ti/StructureDefinition/ti-practitioner> ;
             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 "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 "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 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 "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 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 "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 "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 "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 "history-type" ]
           ], [
             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 "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 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: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 "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 "history-instance" ]
           ], [
             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: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 "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 "vread" ]
           ] ;
           fhir:CapabilityStatement.rest.resource.versioning [ fhir:value "versioned-update" ] ;
           fhir:CapabilityStatement.rest.resource.readHistory [ fhir:value "true"^^xsd:boolean ] ;
           fhir:CapabilityStatement.rest.resource.searchRevInclude [
             fhir:value "PractitionerRole:practitioner" ;
             fhir:index 0
           ], [
             fhir:value "MedicationRequest:requester" ;
             fhir:index 1
           ] ;
           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 "Resource.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 "_lastUpdated" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/Resource-lastUpdated" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/Resource-lastUpdated>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Resource.meta.lastUpdated" ]
           ], [
             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 "_has" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Return resources linked to by the given target" ]
           ], [
             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 "identifier" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/Practitioner-identifier" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/Practitioner-identifier>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Practitioner.identifier" ]
           ], [
             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 "name" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/Practitioner-name" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/Practitioner-name>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Practitioner.name" ]
           ]
         ], [
           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.type [ fhir:value "PractitionerRole" ] ;
           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 "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 "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 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 "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 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 "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 "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 "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 "history-type" ]
           ], [
             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 "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 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: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 "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 "history-instance" ]
           ], [
             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: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 "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 "vread" ]
           ] ;
           fhir:CapabilityStatement.rest.resource.versioning [ fhir:value "versioned-update" ] ;
           fhir:CapabilityStatement.rest.resource.readHistory [ fhir:value "true"^^xsd:boolean ] ;
           fhir:CapabilityStatement.rest.resource.searchInclude [
             fhir:value "PractitionerRole:practitioner" ;
             fhir:index 0
           ], [
             fhir:value "PractitionerRole:organization" ;
             fhir:index 1
           ] ;
           fhir:CapabilityStatement.rest.resource.searchRevInclude [
             fhir:value "MedicationDispense:performer" ;
             fhir:index 0
           ], [
             fhir:value "MedicationRequest:requester" ;
             fhir:index 1
           ] ;
           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 "Resource.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 "_lastUpdated" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/Resource-lastUpdated" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/Resource-lastUpdated>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Resource.meta.lastUpdated" ]
           ], [
             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 "_has" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Return resources linked to by the given target" ]
           ], [
             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 "identifier" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/PractitionerRole-identifier" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/PractitionerRole-identifier>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "PractitionerRole.identifier" ]
           ], [
             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 "practitioner" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/PractitionerRole-practitioner" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/PractitionerRole-practitioner>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "PractitionerRole.practitioner" ]
           ], [
             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 "organization" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/PractitionerRole-organization" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/PractitionerRole-organization>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "PractitionerRole.organization" ]
           ]
         ], [
           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.type [ fhir:value "Provenance" ] ;
           fhir:CapabilityStatement.rest.resource.supportedProfile [
             fhir:value "https://gematik.de/fhir/epa/StructureDefinition/epa-activity-provenance" ;
             fhir:index 0 ;
             fhir:link <https://gematik.de/fhir/epa/StructureDefinition/epa-activity-provenance> ;
             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:value "https://gematik.de/fhir/epa-medication/StructureDefinition/emp-chronology-provenance" ;
             fhir:index 1 ;
             fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/emp-chronology-provenance> ;
             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 "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 "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 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 "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 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 "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 "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 "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:index 6 ;
               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:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]
           ] ;
           fhir:CapabilityStatement.rest.resource.versioning [ fhir:value "versioned-update" ] ;
           fhir:CapabilityStatement.rest.resource.readHistory [ fhir:value "true"^^xsd:boolean ] ;
           fhir:CapabilityStatement.rest.resource.searchInclude [
             fhir:value "Provenance:agent" ;
             fhir:index 0
           ], [
             fhir:value "Provenance:target" ;
             fhir:index 1
           ] ;
           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 "Resource.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 "_lastUpdated" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/Resource-lastUpdated" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/Resource-lastUpdated>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Resource.meta.lastUpdated" ]
           ], [
             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 "_has" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Return resources linked to by the given target" ]
           ], [
             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 "agent" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/Provenance-agent" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/Provenance-agent>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Who participated" ]
           ], [
             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 "agent-identifier" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "https://gematik.de/fhir/epa-medication/SearchParameter/provenance-agent-identifier-sp" ;
               fhir:link <https://gematik.de/fhir/epa-medication/SearchParameter/provenance-agent-identifier-sp>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Provenance.agent.who.identifier" ]
           ], [
             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 "target" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/Provenance-target" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/Provenance-target>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Target References - usually version specific" ]
           ], [
             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 "recorded" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/Provenance-recorded" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/Provenance-recorded>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "When the activity was recorded / updated" ]
           ], [
             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 "when" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "http://hl7.org/fhir/SearchParameter/Provenance-when" ;
               fhir:link <http://hl7.org/fhir/SearchParameter/Provenance-when>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Provenance.occurred as dateTime" ]
           ], [
             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 "is-emp-chronology" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.definition [
               fhir:value "https://gematik.de/fhir/epa-medication/SearchParameter/is-emp-chronology-sp" ;
               fhir:link <https://gematik.de/fhir/epa-medication/SearchParameter/is-emp-chronology-sp>
             ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ] ;
             fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Provenance.extension:isEMPChronology" ]
           ]
         ] ;
         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 "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 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 "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 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 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 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 "ID-Token or Insurant-ID mismatch" ]
             ], [
               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 "SVC_IDENTITY_MISMATCH" ]
             ] ;
             fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
           ] ;
           fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "provide-prescription-erp" ] ;
           fhir:CapabilityStatement.rest.resource.operation.definition [
             fhir:value "https://gematik.de/fhir/epa-medication/OperationDefinition/provide-prescription-erp-OP" ;
             fhir:link <https://gematik.de/fhir/epa-medication/OperationDefinition/provide-prescription-erp-OP>
           ]
         ], [
           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 "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 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 "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 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 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:CapabilityStatement.rest.resource.operation.name [ fhir:value "cancel-prescription-erp" ] ;
           fhir:CapabilityStatement.rest.resource.operation.definition [
             fhir:value "https://gematik.de/fhir/epa-medication/OperationDefinition/cancel-prescription-erp-OP" ;
             fhir:link <https://gematik.de/fhir/epa-medication/OperationDefinition/cancel-prescription-erp-OP>
           ]
         ], [
           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: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 "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 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 "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 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 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 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 "ID-Token or Insurant-ID mismatch" ]
             ], [
               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 "SVC_IDENTITY_MISMATCH" ]
             ] ;
             fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
           ] ;
           fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "provide-dispensation-erp" ] ;
           fhir:CapabilityStatement.rest.resource.operation.definition [
             fhir:value "https://gematik.de/fhir/epa-medication/OperationDefinition/provide-dispensation-erp-OP" ;
             fhir:link <https://gematik.de/fhir/epa-medication/OperationDefinition/provide-dispensation-erp-OP>
           ]
         ], [
           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 "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 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 "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 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 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:CapabilityStatement.rest.resource.operation.name [ fhir:value "cancel-dispensation-erp" ] ;
           fhir:CapabilityStatement.rest.resource.operation.definition [
             fhir:value "https://gematik.de/fhir/epa-medication/OperationDefinition/cancel-dispensation-erp-OP" ;
             fhir:link <https://gematik.de/fhir/epa-medication/OperationDefinition/cancel-dispensation-erp-OP>
           ]
         ], [
           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: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 "Bundle" ]
             ] ;
             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 "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 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 "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 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 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 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 "No Resource found matching the query" ]
             ], [
               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_NO_MATCH" ]
             ] ;
             fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
           ] ;
           fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "medication-list" ] ;
           fhir:CapabilityStatement.rest.resource.operation.definition [
             fhir:value "https://gematik.de/fhir/epa-medication/OperationDefinition/get-medication-list-op" ;
             fhir:link <https://gematik.de/fhir/epa-medication/OperationDefinition/get-medication-list-op>
           ]
         ], [
           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: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 "Bundle" ]
             ] ;
             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 "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 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 "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 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 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 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 "No Resource found matching the query" ]
             ], [
               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_NO_MATCH" ]
             ] ;
             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 "404" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "eMP does not exist" ]
             ], [
               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 "MEDSVC_EMP_NO_EXIST" ]
             ] ;
             fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
           ] ;
           fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "medication-plan" ] ;
           fhir:CapabilityStatement.rest.resource.operation.definition [
             fhir:value "https://gematik.de/fhir/epa-medication/OperationDefinition/get-medication-plan-op" ;
             fhir:link <https://gematik.de/fhir/epa-medication/OperationDefinition/get-medication-plan-op>
           ]
         ], [
           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: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 "Bundle" ]
             ] ;
             fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
           ] ;
           fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "medication-plan-log" ] ;
           fhir:CapabilityStatement.rest.resource.operation.definition [
             fhir:value "https://gematik.de/fhir/epa-medication/OperationDefinition/medication-plan-log-op" ;
             fhir:link <https://gematik.de/fhir/epa-medication/OperationDefinition/medication-plan-log-op>
           ]
         ], [
           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:index 1 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "name" ] ;
               fhir:Extension.valueString [ fhir:value "X-Requesting-Organization" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "type" ] ;
               fhir:Extension.valueString [ fhir:value "string" ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "Base64 encoded FHIR Organization resource in JSON format used to identify the originator of the request" ]
             ], [
               fhir:index 3 ;
               fhir:Extension.url [ fhir:value "format" ] ;
               fhir:Extension.valueString [ fhir:value "base64(fhir+json:Organization)" ]
             ], [
               fhir:index 4 ;
               fhir:Extension.url [ fhir:value "required" ] ;
               fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]
             ] ;
             fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-header" ]
           ], [
             fhir:index 2 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "statusCode" ] ;
               fhir:Extension.valueString [ fhir:value "431" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "Requesting Organization Header exceeds maximum size" ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "responseType" ] ;
               fhir:Extension.valueString [ fhir:value "application/json" ]
             ], [
               fhir:index 3 ;
               fhir:Extension.url [ fhir:value "errorCode" ] ;
               fhir:Extension.valueString [ fhir:value "SVC_ORG_HEADER_TOO_LARGE" ]
             ] ;
             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 "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 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 "ID-Token or Insurant-ID mismatch" ]
             ], [
               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 "SVC_IDENTITY_MISMATCH" ]
             ] ;
             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 "422" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "Profile mismatch in header Organization" ]
             ], [
               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 "SVC_ORG_HEADER_PROFILE_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 "400" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "Invalid dosage structure or content" ]
             ], [
               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 "MEDSVC_DOSAGE_INVALID" ]
             ] ;
             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 "422" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "Invalid Data Structure in Medication Service" ]
             ], [
               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 "MEDSVC_NO_VALID_STRUCTURE" ]
             ] ;
             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 "Parameter with wrong status" ]
             ], [
               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 "MEDSVC_STATUS_INVALID" ]
             ] ;
             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 "409" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "Mismatch between acknowledged and current eMP chronology ID" ]
             ], [
               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 "MEDSVC_EMP_CHRONOLOGY_ID_MISMATCH" ]
             ] ;
             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 "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 11 ;
             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 12 ;
             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 "eMP entry already exists" ]
             ], [
               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 "MEDSVC_EMP_ENTRY_ALREADY_EXISTS" ]
             ] ;
             fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
           ] ;
           fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "add-emp-entry" ] ;
           fhir:CapabilityStatement.rest.resource.operation.definition [
             fhir:value "https://gematik.de/fhir/epa-medication/OperationDefinition/add-emp-entry-op" ;
             fhir:link <https://gematik.de/fhir/epa-medication/OperationDefinition/add-emp-entry-op>
           ]
         ], [
           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:index 1 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "name" ] ;
               fhir:Extension.valueString [ fhir:value "X-Requesting-Organization" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "type" ] ;
               fhir:Extension.valueString [ fhir:value "string" ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "Base64 encoded FHIR Organization resource in JSON format used to identify the originator of the request" ]
             ], [
               fhir:index 3 ;
               fhir:Extension.url [ fhir:value "format" ] ;
               fhir:Extension.valueString [ fhir:value "base64(fhir+json:Organization)" ]
             ], [
               fhir:index 4 ;
               fhir:Extension.url [ fhir:value "required" ] ;
               fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]
             ] ;
             fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-header" ]
           ], [
             fhir:index 2 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "statusCode" ] ;
               fhir:Extension.valueString [ fhir:value "431" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "Requesting Organization Header exceeds maximum size" ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "responseType" ] ;
               fhir:Extension.valueString [ fhir:value "application/json" ]
             ], [
               fhir:index 3 ;
               fhir:Extension.url [ fhir:value "errorCode" ] ;
               fhir:Extension.valueString [ fhir:value "SVC_ORG_HEADER_TOO_LARGE" ]
             ] ;
             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 "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 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 "ID-Token or Insurant-ID mismatch" ]
             ], [
               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 "SVC_IDENTITY_MISMATCH" ]
             ] ;
             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 "422" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "Profile mismatch in header Organization" ]
             ], [
               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 "SVC_ORG_HEADER_PROFILE_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 "409" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "Update Conflict (server current version = %s, client version referenced = %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_VERSION_AWARE_CONFLICT" ]
             ] ;
             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 "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 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 dosage structure or content" ]
             ], [
               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 "MEDSVC_DOSAGE_INVALID" ]
             ] ;
             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 "422" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "Invalid Data Structure in Medication Service" ]
             ], [
               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 "MEDSVC_NO_VALID_STRUCTURE" ]
             ] ;
             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 "400" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "Parameter with wrong status" ]
             ], [
               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 "MEDSVC_STATUS_INVALID" ]
             ] ;
             fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
           ], [
             fhir:index 11 ;
             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 "Mismatch between acknowledged and current eMP chronology ID" ]
             ], [
               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 "MEDSVC_EMP_CHRONOLOGY_ID_MISMATCH" ]
             ] ;
             fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
           ] ;
           fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "update-emp-entry" ] ;
           fhir:CapabilityStatement.rest.resource.operation.definition [
             fhir:value "https://gematik.de/fhir/epa-medication/OperationDefinition/update-emp-entry-op" ;
             fhir:link <https://gematik.de/fhir/epa-medication/OperationDefinition/update-emp-entry-op>
           ]
         ], [
           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:index 1 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "name" ] ;
               fhir:Extension.valueString [ fhir:value "X-Requesting-Organization" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "type" ] ;
               fhir:Extension.valueString [ fhir:value "string" ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "Base64 encoded FHIR Organization resource in JSON format used to identify the originator of the request" ]
             ], [
               fhir:index 3 ;
               fhir:Extension.url [ fhir:value "format" ] ;
               fhir:Extension.valueString [ fhir:value "base64(fhir+json:Organization)" ]
             ], [
               fhir:index 4 ;
               fhir:Extension.url [ fhir:value "required" ] ;
               fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]
             ] ;
             fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-header" ]
           ], [
             fhir:index 2 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "statusCode" ] ;
               fhir:Extension.valueString [ fhir:value "431" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "Requesting Organization Header exceeds maximum size" ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "responseType" ] ;
               fhir:Extension.valueString [ fhir:value "application/json" ]
             ], [
               fhir:index 3 ;
               fhir:Extension.url [ fhir:value "errorCode" ] ;
               fhir:Extension.valueString [ fhir:value "SVC_ORG_HEADER_TOO_LARGE" ]
             ] ;
             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 "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 "Bundle" ]
             ] ;
             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 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 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 "Mismatch between acknowledged and current eMP chronology ID" ]
             ], [
               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 "MEDSVC_EMP_CHRONOLOGY_ID_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 "400" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "Invalid dosage structure or content" ]
             ], [
               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 "MEDSVC_DOSAGE_INVALID" ]
             ] ;
             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 "422" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "Invalid Data Structure in Medication Service" ]
             ], [
               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 "MEDSVC_NO_VALID_STRUCTURE" ]
             ] ;
             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 "422" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "Profile mismatch in header Organization" ]
             ], [
               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 "SVC_ORG_HEADER_PROFILE_MISMATCH" ]
             ] ;
             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 "400" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "Parameter with wrong status" ]
             ], [
               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 "MEDSVC_STATUS_INVALID" ]
             ] ;
             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 "409" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "Update Conflict (server current version = %s, client version referenced = %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_VERSION_AWARE_CONFLICT" ]
             ] ;
             fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
           ], [
             fhir:index 11 ;
             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:CapabilityStatement.rest.resource.operation.name [ fhir:value "batch-emp" ] ;
           fhir:CapabilityStatement.rest.resource.operation.definition [
             fhir:value "https://gematik.de/fhir/epa-medication/OperationDefinition/batch-emp-entries-op" ;
             fhir:link <https://gematik.de/fhir/epa-medication/OperationDefinition/batch-emp-entries-op>
           ]
         ], [
           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: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 "405" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "The operation can only be executed within a batch context" ]
             ], [
               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 "MEDSVC_OPERATION_OUTSIDE_BATCH" ]
             ] ;
             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 "409" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "description" ] ;
               fhir:Extension.valueString [ fhir:value "Mismatch between acknowledged and current eMP chronology ID" ]
             ], [
               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 "MEDSVC_EMP_CHRONOLOGY_ID_MISMATCH" ]
             ] ;
             fhir:Extension.url [ fhir:value "https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info" ]
           ] ;
           fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "emp-commit" ] ;
           fhir:CapabilityStatement.rest.resource.operation.definition [
             fhir:value "https://gematik.de/fhir/epa-medication/OperationDefinition/emp-commit-op" ;
             fhir:link <https://gematik.de/fhir/epa-medication/OperationDefinition/emp-commit-op>
           ]
         ]
      ] .

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

    <http://hl7.org/fhir/CapabilityStatement/epa-medication-service-server.ttl> a owl:Ontology ;
      owl:imports fhir:fhir.ttl ;
      owl:versionIRI <http://build.fhir.org/CapabilityStatement/epa-medication-service-server.ttl> .