Implementation Guide
TIFlow - Verordnungen für Arzneimittel
Version 2.0.0-ballot.2 - ballot

## : TIFlow Fachdienst Server Capabilities - XML Representation

Active as of 2026-06-30

Raw xml | Download

    <CapabilityStatement xmlns="http://hl7.org/fhir">
      <id value="ti-flow-fachdienst-server-rx"/>
      <meta>
        <profile
                 value="https://gematik.de/fhir/ti/StructureDefinition/ti-capability-statement"/>
      </meta>
      <extension
                 url="https://gematik.de/fhir/ti/StructureDefinition/extension-base-url">
        <valueString value="https://tiflow.de/rx/fhir/v1"/>
      </extension>
      <url
           value="https://gematik.de/fhir/tiflow-erezept/CapabilityStatement/ti-flow-fachdienst-server-rx"/>
      <version value="2.0.0-ballot.2"/>
      <title value="TIFlow Fachdienst Server Capabilities"/>
      <status value="active"/>
      <date value="2026-06-30"/>
      <publisher value="gematik GmbH"/>
      <contact>
        <name value="gematik GmbH"/>
        <telecom>
          <system value="url"/>
          <value value="https://gematik.de"/>
        </telecom>
        <telecom>
          <system value="email"/>
          <value value="erp-umsetzung@gematik.de"/>
        </telecom>
      </contact>
      <description
                   value="CapabilityStatement für den E-Rezept-Fachdienst (Arzneimittel-Workflow)"/>
      <jurisdiction>
        <coding>
          <system value="urn:iso:std:iso:3166"/>
          <code value="DE"/>
          <display value="Germany"/>
        </coding>
      </jurisdiction>
      <kind value="requirements"/>
      <imports
               value="https://gematik.de/fhir/tiflow/CapabilityStatement/ti-flow-fachdienst-server">🔗
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
      </imports>
      <fhirVersion value="4.0.1"/>
      <format value="application/fhir+json"/>
      <format value="application/fhir+xml"/>
      <rest>
        <mode value="server"/>
        <resource>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
            <valueCode value="SHALL"/>
          </extension>
          <type value="Task"/>
          <supportedProfile
                            value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task">🔗
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
          </supportedProfile>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Invalid request"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_BAD_FORMAT"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="408"/>
              </extension>
              <extension url="description">
                <valueString value="Timeout"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_TIMEOUT"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="500"/>
              </extension>
              <extension url="description">
                <valueString value="Internal Server Error"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_INTERNAL_ERROR"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="200"/>
              </extension>
              <extension url="description">
                <valueString value="Successful operation"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Unknown search parameter"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_PARAM_UNKNOWN"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Invalid query parameter(s)"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_BAD_SYNTAX"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="404"/>
              </extension>
              <extension url="description">
                <valueString value="Unknown resource type"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_UNKNOWN_TYPE"/>
              </extension>
            </extension>
            <code value="search-type"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Invalid request"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_BAD_FORMAT"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="408"/>
              </extension>
              <extension url="description">
                <valueString value="Timeout"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_TIMEOUT"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="500"/>
              </extension>
              <extension url="description">
                <valueString value="Internal Server Error"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_INTERNAL_ERROR"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="200"/>
              </extension>
              <extension url="description">
                <valueString value="Successful operation"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="404"/>
              </extension>
              <extension url="description">
                <valueString value="Unknown resource type"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_UNKNOWN_TYPE"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="404"/>
              </extension>
              <extension url="description">
                <valueString value="Resource is not known"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_RESOURCE_ID_FAIL"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="410"/>
              </extension>
              <extension url="description">
                <valueString value="Resource was deleted"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_DELETED"/>
              </extension>
            </extension>
            <code value="read"/>
          </interaction>
          <versioning value="versioned-update"/>
          <readHistory value="true"/>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="authored-on"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/Task-authored-on"/>
            <type value="date"/>
            <documentation
                           value="Task.authoredOn - Unterstützt die Suche nach dem Erstellungsdatum; default sort if _sort is not provided"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="status"/>
            <definition value="http://hl7.org/fhir/SearchParameter/Task-status"/>
            <type value="token"/>
            <documentation
                           value="Task.status - Unterstützt die Suche nach dem Status einer Task"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="expiry-date"/>
            <type value="date"/>
            <documentation
                           value="Task.extension:expiryDate.valueDate - Unterstützt die Suche nach dem Verfallsdatum"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="accept-date"/>
            <type value="date"/>
            <documentation
                           value="Task.extension:acceptDate.valueDate - Unterstützt die Suche nach dem Akzeptanzdatum"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="modified"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/Task-modified"/>
            <type value="date"/>
            <documentation
                           value="Task.lastModified - Unterstützt die Suche nach dem zuletzt modifizierten Datum"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="_sort"/>
            <type value="string"/>
            <documentation
                           value="Unterstützt das Sortieren nach unterstützten Task-Suchkriterien"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="_count"/>
            <type value="number"/>
            <documentation
                           value="Maximale Anzahl zurückgegebener Einträge pro Seite; maximum value is 50"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="_offset"/>
            <type value="number"/>
            <documentation
                           value="Nullbasierter Offset des ersten zurückgegebenen Eintrags; default is 0"/>
          </searchParam>
          <operation>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="201"/>
              </extension>
              <extension url="description">
                <valueString value="Resource created"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="FHIR Profile Validation Failed"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="SVC_VALIDATION_FAILED"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="403"/>
              </extension>
              <extension url="description">
                <valueString value="Access role not allowed"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_AUTH_ROLE_NOT_ALLOWED"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="404"/>
              </extension>
              <extension url="description">
                <valueString value="Resource is not known"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_RESOURCE_ID_FAIL"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="410"/>
              </extension>
              <extension url="description">
                <valueString value="Resource was deleted"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_DELETED"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Invalid request"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_BAD_FORMAT"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="500"/>
              </extension>
              <extension url="description">
                <valueString value="Internal Server Error"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_INTERNAL_ERROR"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="408"/>
              </extension>
              <extension url="description">
                <valueString value="Timeout"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_TIMEOUT"/>
              </extension>
            </extension>
            <name value="create"/>
            <definition
                        value="https://gematik.de/fhir/tiflow-erezept/OperationDefinition/tiflow-rx-create-op"/>
            <documentation value="Creates a Task for a specific flow type"/>
          </operation>
          <operation>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="200"/>
              </extension>
              <extension url="description">
                <valueString value="Successful operation"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="FHIR Profile Validation Failed"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="SVC_VALIDATION_FAILED"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="403"/>
              </extension>
              <extension url="description">
                <valueString value="Access code mismatch"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_ACCESSCODE_MISMATCH"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="403"/>
              </extension>
              <extension url="description">
                <valueString value="Access role not allowed"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_AUTH_ROLE_NOT_ALLOWED"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Coverage type mismatch"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_COVERAGE_TYPE_MISMATCH"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Flow type mismatch"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_FLOWTYPE_MISMATCH"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="IKNR invalid"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_IKNR_INVALID"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="KVNR invalid"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_KVNR_INVALID"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="LANR or ZANR invalid"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_LANR_ZANR_INVALID"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Signature authoredOn mismatch"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_SIGNATURE_AUTHOREDON_MISMATCH"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Signature invalid"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_SIGNATURE_INVALID"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Signature issuing role invalid"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_SIGNATURE_INVALID_ISSUING_ROLE"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Task status mismatch"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_TASK_STATUS_MISMATCH"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Certificate invalid"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_CERTIFICATE_INVALID"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Drug category forbidden"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_EREZEPT_DRUG_CATEGORY_FORBIDDEN"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="MVO end date invalid"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_EREZEPT_MVO_ENDDATE_INVALID"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="MVO flow type invalid"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_EREZEPT_MVO_FLOWTYPE_INVALID"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="MVO id invalid"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_EREZEPT_MVO_ID_INVALID"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="MVO invalid"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_EREZEPT_MVO_INVALID"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="MVO start date invalid"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_EREZEPT_MVO_STARTDATE_INVALID"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="PZN invalid"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_EREZEPT_PZN_INVALID"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="512"/>
              </extension>
              <extension url="description">
                <valueString value="Invalid OCSP response"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_OCSP_BACKEND_ERROR"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="404"/>
              </extension>
              <extension url="description">
                <valueString value="Resource is not known"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_RESOURCE_ID_FAIL"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="410"/>
              </extension>
              <extension url="description">
                <valueString value="Resource was deleted"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_DELETED"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Invalid request"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_BAD_FORMAT"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="500"/>
              </extension>
              <extension url="description">
                <valueString value="Internal Server Error"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_INTERNAL_ERROR"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="408"/>
              </extension>
              <extension url="description">
                <valueString value="Timeout"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_TIMEOUT"/>
              </extension>
            </extension>
            <name value="activate"/>
            <definition
                        value="https://gematik.de/fhir/tiflow-erezept/OperationDefinition/tiflow-rx-activate-op"/>
            <documentation
                           value="Activates the created Task using the signed ePrescription bundle"/>
          </operation>
          <operation>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="200"/>
              </extension>
              <extension url="description">
                <valueString value="Successful operation"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="403"/>
              </extension>
              <extension url="description">
                <valueString value="Access code mismatch"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_ACCESSCODE_MISMATCH"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="403"/>
              </extension>
              <extension url="description">
                <valueString value="Access role not allowed"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_AUTH_ROLE_NOT_ALLOWED"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="410"/>
              </extension>
              <extension url="description">
                <valueString value="Task deleted"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_TASK_DELETED"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Task expired"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_TASK_EXPIRED"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Task status mismatch"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_TASK_STATUS_MISMATCH"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="403"/>
              </extension>
              <extension url="description">
                <valueString value="MVO not valid yet"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_EREZEPT_MVO_NOT_VALID"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="404"/>
              </extension>
              <extension url="description">
                <valueString value="Resource is not known"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_RESOURCE_ID_FAIL"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="410"/>
              </extension>
              <extension url="description">
                <valueString value="Resource was deleted"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_DELETED"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Invalid request"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_BAD_FORMAT"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="500"/>
              </extension>
              <extension url="description">
                <valueString value="Internal Server Error"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_INTERNAL_ERROR"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="408"/>
              </extension>
              <extension url="description">
                <valueString value="Timeout"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_TIMEOUT"/>
              </extension>
            </extension>
            <name value="accept"/>
            <definition
                        value="https://gematik.de/fhir/tiflow-erezept/OperationDefinition/tiflow-rx-accept-op"/>
            <documentation
                           value="Pharmacy claims an ePrescription and sets Task status to in-progress"/>
          </operation>
          <operation>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="204"/>
              </extension>
              <extension url="description">
                <valueString value="Successful operation without response body"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="403"/>
              </extension>
              <extension url="description">
                <valueString value="Task secret mismatch"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_SECRET_MISMATCH"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="403"/>
              </extension>
              <extension url="description">
                <valueString value="Access role not allowed"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_AUTH_ROLE_NOT_ALLOWED"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Task status mismatch"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_TASK_STATUS_MISMATCH"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="404"/>
              </extension>
              <extension url="description">
                <valueString value="Resource is not known"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_RESOURCE_ID_FAIL"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="410"/>
              </extension>
              <extension url="description">
                <valueString value="Resource was deleted"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_DELETED"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Invalid request"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_BAD_FORMAT"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="500"/>
              </extension>
              <extension url="description">
                <valueString value="Internal Server Error"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_INTERNAL_ERROR"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="408"/>
              </extension>
              <extension url="description">
                <valueString value="Timeout"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_TIMEOUT"/>
              </extension>
            </extension>
            <name value="reject"/>
            <definition
                        value="https://gematik.de/fhir/tiflow-erezept/OperationDefinition/tiflow-rx-reject-op"/>
            <documentation
                           value="Rejects dispensing and resets Task status to active"/>
          </operation>
          <operation>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="200"/>
              </extension>
              <extension url="description">
                <valueString value="Successful operation"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="FHIR Profile Validation Failed"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="SVC_VALIDATION_FAILED"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="403"/>
              </extension>
              <extension url="description">
                <valueString value="MedicationDispense missing"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_MEDICATION_DISPENSE_MISSING"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="403"/>
              </extension>
              <extension url="description">
                <valueString value="Task secret mismatch"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_SECRET_MISMATCH"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="503"/>
              </extension>
              <extension url="description">
                <valueString value="No OCSP response for signature"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_SIGNATURE_NO_OCSP_RESPONSE"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="MedicationDispense invalid"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_MEDICATION_DISPENSE_INVALID"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Task status mismatch"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_TASK_STATUS_MISMATCH"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="403"/>
              </extension>
              <extension url="description">
                <valueString value="Access role not allowed"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_AUTH_ROLE_NOT_ALLOWED"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="404"/>
              </extension>
              <extension url="description">
                <valueString value="Resource is not known"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_RESOURCE_ID_FAIL"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="410"/>
              </extension>
              <extension url="description">
                <valueString value="Resource was deleted"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_DELETED"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Invalid request"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_BAD_FORMAT"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="500"/>
              </extension>
              <extension url="description">
                <valueString value="Internal Server Error"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_INTERNAL_ERROR"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="408"/>
              </extension>
              <extension url="description">
                <valueString value="Timeout"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_TIMEOUT"/>
              </extension>
            </extension>
            <name value="close"/>
            <definition
                        value="https://gematik.de/fhir/tiflow-erezept/OperationDefinition/tiflow-rx-close-op"/>
            <documentation
                           value="Finishes the ePrescription workflow and sets Task status to completed"/>
          </operation>
          <operation>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="204"/>
              </extension>
              <extension url="description">
                <valueString value="Successful operation without response body"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="403"/>
              </extension>
              <extension url="description">
                <valueString
                             value="Identity mismatch: Access token or x-insurantid header does not match FHIR data (Telematik-ID / KVNR)"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="SVC_IDENTITY_MISMATCH"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="403"/>
              </extension>
              <extension url="description">
                <valueString value="Access code mismatch"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_ACCESSCODE_MISMATCH"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="403"/>
              </extension>
              <extension url="description">
                <valueString value="Access role not allowed"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_AUTH_ROLE_NOT_ALLOWED"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="403"/>
              </extension>
              <extension url="description">
                <valueString value="Task secret mismatch"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_SECRET_MISMATCH"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Task status mismatch"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_TASK_STATUS_MISMATCH"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="404"/>
              </extension>
              <extension url="description">
                <valueString value="Resource is not known"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_RESOURCE_ID_FAIL"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="410"/>
              </extension>
              <extension url="description">
                <valueString value="Resource was deleted"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_DELETED"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Invalid request"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_BAD_FORMAT"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="500"/>
              </extension>
              <extension url="description">
                <valueString value="Internal Server Error"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_INTERNAL_ERROR"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="408"/>
              </extension>
              <extension url="description">
                <valueString value="Timeout"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_TIMEOUT"/>
              </extension>
            </extension>
            <name value="abort"/>
            <definition
                        value="https://gematik.de/fhir/tiflow-erezept/OperationDefinition/tiflow-rx-abort-op"/>
            <documentation
                           value="Aborts the ePrescription workflow and deletes Task related data"/>
          </operation>
          <operation>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="200"/>
              </extension>
              <extension url="description">
                <valueString value="Successful operation"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="FHIR Profile Validation Failed"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="SVC_VALIDATION_FAILED"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="403"/>
              </extension>
              <extension url="description">
                <valueString value="Access role not allowed"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_AUTH_ROLE_NOT_ALLOWED"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="403"/>
              </extension>
              <extension url="description">
                <valueString value="Task secret mismatch"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_SECRET_MISMATCH"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Task status mismatch"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_TASK_STATUS_MISMATCH"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="404"/>
              </extension>
              <extension url="description">
                <valueString value="Resource is not known"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_RESOURCE_ID_FAIL"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="410"/>
              </extension>
              <extension url="description">
                <valueString value="Resource was deleted"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_DELETED"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Invalid request"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_BAD_FORMAT"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="500"/>
              </extension>
              <extension url="description">
                <valueString value="Internal Server Error"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_INTERNAL_ERROR"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="408"/>
              </extension>
              <extension url="description">
                <valueString value="Timeout"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_TIMEOUT"/>
              </extension>
            </extension>
            <name value="dispense"/>
            <definition
                        value="https://gematik.de/fhir/tiflow-erezept/OperationDefinition/tiflow-rx-dispense-op"/>
            <documentation
                           value="Documents medication dispensation without changing Task status"/>
          </operation>
        </resource>
        <resource>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
            <valueCode value="SHALL"/>
          </extension>
          <type value="Communication"/>
          <supportedProfile
                            value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Communication_DispReq">🔗
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
          </supportedProfile>
          <supportedProfile
                            value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Communication_Reply">🔗
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
          </supportedProfile>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Invalid request"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_BAD_FORMAT"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="408"/>
              </extension>
              <extension url="description">
                <valueString value="Timeout"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_TIMEOUT"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="500"/>
              </extension>
              <extension url="description">
                <valueString value="Internal Server Error"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_INTERNAL_ERROR"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="200"/>
              </extension>
              <extension url="description">
                <valueString value="Successful operation"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Unknown search parameter"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_PARAM_UNKNOWN"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Invalid query parameter(s)"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_BAD_SYNTAX"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="404"/>
              </extension>
              <extension url="description">
                <valueString value="Unknown resource type"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_UNKNOWN_TYPE"/>
              </extension>
            </extension>
            <code value="search-type"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Invalid request"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_BAD_FORMAT"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="408"/>
              </extension>
              <extension url="description">
                <valueString value="Timeout"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_TIMEOUT"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="500"/>
              </extension>
              <extension url="description">
                <valueString value="Internal Server Error"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_INTERNAL_ERROR"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="200"/>
              </extension>
              <extension url="description">
                <valueString value="Successful operation"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="404"/>
              </extension>
              <extension url="description">
                <valueString value="Unknown resource type"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_UNKNOWN_TYPE"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="404"/>
              </extension>
              <extension url="description">
                <valueString value="Resource is not known"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_RESOURCE_ID_FAIL"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="410"/>
              </extension>
              <extension url="description">
                <valueString value="Resource was deleted"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_DELETED"/>
              </extension>
            </extension>
            <code value="read"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Invalid request"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_BAD_FORMAT"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="408"/>
              </extension>
              <extension url="description">
                <valueString value="Timeout"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_TIMEOUT"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="500"/>
              </extension>
              <extension url="description">
                <valueString value="Internal Server Error"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_INTERNAL_ERROR"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="201"/>
              </extension>
              <extension url="description">
                <valueString value="Resource created"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="404"/>
              </extension>
              <extension url="description">
                <valueString value="Unknown resource type"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_UNKNOWN_TYPE"/>
              </extension>
            </extension>
            <code value="create"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Invalid request"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_BAD_FORMAT"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="408"/>
              </extension>
              <extension url="description">
                <valueString value="Timeout"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_TIMEOUT"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="500"/>
              </extension>
              <extension url="description">
                <valueString value="Internal Server Error"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_INTERNAL_ERROR"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="204"/>
              </extension>
              <extension url="description">
                <valueString value="Successful operation without response body"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="404"/>
              </extension>
              <extension url="description">
                <valueString value="Unknown resource type"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_UNKNOWN_TYPE"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="404"/>
              </extension>
              <extension url="description">
                <valueString value="Resource is not known"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_RESOURCE_ID_FAIL"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="410"/>
              </extension>
              <extension url="description">
                <valueString value="Resource was deleted"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_DELETED"/>
              </extension>
            </extension>
            <code value="delete"/>
          </interaction>
          <versioning value="versioned-update"/>
          <readHistory value="true"/>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="sent"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/Communication-sent"/>
            <type value="date"/>
            <documentation
                           value="Communication.sent - Unterstützt die Suche nach dem Sendedatum; default sort if _sort is not provided"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="received"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/Communication-received"/>
            <type value="date"/>
            <documentation
                           value="Communication.received - Unterstützt die Suche nach dem Empfangsdatum"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="recipient"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/Communication-recipient"/>
            <type value="reference"/>
            <documentation
                           value="Communication.recipient.identifier.value - Unterstützt die Suche nach dem Empfänger einer Nachricht"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="sender"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/Communication-sender"/>
            <type value="reference"/>
            <documentation
                           value="Communication.sender.identifier.value - Unterstützt die Suche nach dem Absender einer Nachricht"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="_sort"/>
            <type value="string"/>
            <documentation
                           value="Unterstützt das Sortieren nach unterstützten Communication-Suchkriterien"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="_count"/>
            <type value="number"/>
            <documentation
                           value="Maximale Anzahl zurückgegebener Einträge pro Seite; maximum value is 50"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="_offset"/>
            <type value="number"/>
            <documentation
                           value="Nullbasierter Offset des ersten zurückgegebenen Eintrags; default is 0"/>
          </searchParam>
        </resource>
        <resource>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
            <valueCode value="SHALL"/>
          </extension>
          <type value="MedicationDispense"/>
          <supportedProfile
                            value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense">🔗
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
          </supportedProfile>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Invalid request"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_BAD_FORMAT"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="408"/>
              </extension>
              <extension url="description">
                <valueString value="Timeout"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_TIMEOUT"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="500"/>
              </extension>
              <extension url="description">
                <valueString value="Internal Server Error"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_INTERNAL_ERROR"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="200"/>
              </extension>
              <extension url="description">
                <valueString value="Successful operation"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Unknown search parameter"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_PARAM_UNKNOWN"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Invalid query parameter(s)"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_BAD_SYNTAX"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="404"/>
              </extension>
              <extension url="description">
                <valueString value="Unknown resource type"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_UNKNOWN_TYPE"/>
              </extension>
            </extension>
            <code value="search-type"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Invalid request"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_BAD_FORMAT"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="408"/>
              </extension>
              <extension url="description">
                <valueString value="Timeout"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_TIMEOUT"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="500"/>
              </extension>
              <extension url="description">
                <valueString value="Internal Server Error"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_INTERNAL_ERROR"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="200"/>
              </extension>
              <extension url="description">
                <valueString value="Successful operation"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="404"/>
              </extension>
              <extension url="description">
                <valueString value="Unknown resource type"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_UNKNOWN_TYPE"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="404"/>
              </extension>
              <extension url="description">
                <valueString value="Resource is not known"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_RESOURCE_ID_FAIL"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="410"/>
              </extension>
              <extension url="description">
                <valueString value="Resource was deleted"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_DELETED"/>
              </extension>
            </extension>
            <code value="read"/>
          </interaction>
          <versioning value="versioned-update"/>
          <readHistory value="true"/>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="whenhandedover"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/MedicationDispense-whenhandedover"/>
            <type value="date"/>
            <documentation
                           value="MedicationDispense.whenHandedOver - Unterstützt die Suche nach dem Abgabedatum; default sort if _sort is not provided"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="whenprepared"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/MedicationDispense-whenprepared"/>
            <type value="date"/>
            <documentation
                           value="MedicationDispense.whenPrepared - Unterstützt die Suche nach dem Herstellungsdatum"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="performer"/>
            <definition
                        value="http://hl7.org/fhir/SearchParameter/MedicationDispense-performer"/>
            <type value="reference"/>
            <documentation
                           value="MedicationDispense.performer.actor.identifier.value - Unterstützt die Suche einer MedicationDispense zu einer Abgebenden LEI."/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="_sort"/>
            <type value="string"/>
            <documentation
                           value="Unterstützt das Sortieren nach unterstützten MedicationDispense-Suchkriterien"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="_count"/>
            <type value="number"/>
            <documentation
                           value="Maximale Anzahl zurückgegebener Einträge pro Seite; maximum value is 50"/>
          </searchParam>
          <searchParam>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <name value="_offset"/>
            <type value="number"/>
            <documentation
                           value="Nullbasierter Offset des ersten zurückgegebenen Eintrags; default is 0"/>
          </searchParam>
        </resource>
        <resource>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
            <valueCode value="SHALL"/>
          </extension>
          <type value="Subscription"/>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Invalid request"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_BAD_FORMAT"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="408"/>
              </extension>
              <extension url="description">
                <valueString value="Timeout"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_TIMEOUT"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="500"/>
              </extension>
              <extension url="description">
                <valueString value="Internal Server Error"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_INTERNAL_ERROR"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="200"/>
              </extension>
              <extension url="description">
                <valueString value="Successful operation"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Unknown search parameter"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_PARAM_UNKNOWN"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Invalid query parameter(s)"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_BAD_SYNTAX"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="404"/>
              </extension>
              <extension url="description">
                <valueString value="Unknown resource type"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_UNKNOWN_TYPE"/>
              </extension>
            </extension>
            <code value="search-type"/>
          </interaction>
          <interaction>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
              <valueCode value="SHALL"/>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="400"/>
              </extension>
              <extension url="description">
                <valueString value="Invalid request"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_BAD_FORMAT"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="408"/>
              </extension>
              <extension url="description">
                <valueString value="Timeout"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_TIMEOUT"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="500"/>
              </extension>
              <extension url="description">
                <valueString value="Internal Server Error"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="TIFLOW_INTERNAL_ERROR"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="201"/>
              </extension>
              <extension url="description">
                <valueString value="Resource created"/>
              </extension>
            </extension>
            <extension
                       url="https://gematik.de/fhir/ti/StructureDefinition/extension-http-response-info">
              <extension url="statusCode">
                <valueString value="404"/>
              </extension>
              <extension url="description">
                <valueString value="Unknown resource type"/>
              </extension>
              <extension url="responseType">
                <valueString value="TIFlowOperationOutcome"/>
              </extension>
              <extension url="errorCode">
                <valueString value="MSG_UNKNOWN_TYPE"/>
              </extension>
            </extension>
            <code value="create"/>
          </interaction>
          <versioning value="versioned-update"/>
          <readHistory value="true"/>
        </resource>
      </rest>
    </CapabilityStatement>