Technical Knowledge

Architecture knowledge from BPMN Core Execution to TI-Flow and FHIR®.

The Knowledge hub presents the platform as one connected architecture: BPMN execution, logical placement and ownership boundaries, distributed views, controlled recovery and the versioned TI-Flow/FHIR® integration boundary—alongside Headless, identity/policy, security and operations.

26 focused topics5 BPMN/workflow foundation briefs2 TI-Flow/FHIR® architecture briefsReview-bound public architecture
Status boundary: the bounded BPMN/VBucket runtime foundation is presented as implemented. TI-Flow/FHIR® pages describe version-bound development architecture and do not claim complete TI-Flow_26_3 implementation, conformance or approval.
Find your starting point

From a question to its context

Read each article with its boundaries
Three entry points into 25 topics. This is a reading map; source interpretation, architecture scope and product status remain separate.
Architecture runway

From BPMN process to versioned TI-Flow delivery.

The key separation: workflow execution stays inside a stable internal domain. External profiles and service versions cross a controlled adapter boundary.

01BPMN processlong-lived workflow identity
02Logical placementstable ownership boundary
03Local executionlocal consistency
04Controlled outcomeexplicit result boundary
05TI-Flow domaincanonical intent
06FHIR® adapterexplicit profile generation

Public architecture overview. Implementation details and internal operating parameters remain outside the website scope.

Find technical answers

Find a technical brief for your integration question.

Filter the existing reviewed architecture articles by topic or search for interfaces, ownership, recovery, security and FHIR. Original articles and URLs remain unchanged.

All articles remain available in the sections below when JavaScript is disabled.

Version-bound development architectureTI-Flow & FHIR®

External profiles change. The workflow core should remain stable.

TI-Flow is explained as its own integration domain: canonical process/task semantics, Flowtype/profile generations, deterministic FHIR® mapping and durable delivery after workflow commit.

More knowledge areas

19 established and new technical briefs remain reachable.

The new structure expands the knowledge base without removing prior URLs or topics.

01ZETA · implementation examples · source status

ZETA technical examples

Concrete components from the supplied ZETA repository, explicitly separate from normative gematik obligations.

ZETA GuardPEPPDP
02ZETA · Client · Guard · PDP · PEP

ZETA source binding

A source-based mapping of 22 selected clauses to ZETA 1.3.2, the Guard requirements profile and the separately pinned G-App draft.

ZETA ClientZETA GuardDPoP
03TI-M · Matrix 1.17 · Calling · ADR-001

TI-M Calling architecture

The selected ITL reference architecture defines Headless media ownership, a local audio/video profile and a central audio profile with a separate operator channel.

HeadlessMatrix 1.17DTLS-SRTP
04ePA · FdV · Record services

ePA record access

The ePA 3.1.3-3 frontend and record-system boundaries, explained through pinned interfaces and FHIR packages, with the Common-version difference recorded.

ePAVAUHealthRecordContext
05PTV · ATV · Draft

Normative document matrix

Versioned product and provider documents from TI-Flow_26_3, TI-Messenger_26_2 and ePA 3.1.3-3, alongside clearly identified App/DiPag drafts.

PTVATVDraft
06Mobile Healthcare · DiPag

App & DiPag drafts

Draft_App_26_1 and Draft_DiPag_26_1 as provisional development references, separate from the synthetic HCSA user-interface concept.

Draft AppDiPagHCSA
07TI 2.0

TI 2.0 architecture

How software-based TI access, digital identities and Zero Trust relate to the MEMM product boundary without implying TI-Gateway, ZETA or general TI 2.0 conformance.

TI 2.0TI-GatewayZero Trust
08Headless Client

TI-Messenger Headless Client

Architecture view of a local Headless Client integration: product boundary, the fixed 63-domain Messenger denominator, the separate 37-operation host/native catalogue, native bindings, calls and ownership.

TI-MessengerHeadless ClientPVS
09Integration Architecture

Local Headless architecture

Why a local SDK/FFI boundary creates different responsibilities from a separate REST, TCP or WebSocket control service.

Headless ArchitectureLocal SDKFFI
10Technology Boundary

Rust & native integration

How a Rust core, Flat C ABI and narrow language bindings form a host integration boundary without implying universal platform or performance claims.

RustFFIC ABI
11Integration Contracts

Versioned API contracts

Making API version, capabilities, data contracts, lifecycle and error semantics explicit so integrations do not depend on silent fallbacks.

API VersioningCapability NegotiationTyped Errors
12Versioned Extensibility

Specification Change Control

Using versioned adapters and anti-corruption boundaries so changes in external drafts and profiles do not silently become changes in stable domain logic.

Specification Change ControlAnti-Corruption LayerVersioned Profiles
13Healthcare Integration

FHIR® & structured data

How FHIR®-related structured data, profile versions and validation boundaries are classified without making a general FHIR®, ePA or TI conformance statement.

FHIR®Structured DataTI-Messenger
14Access & Policy

Identity, attributes & policy

A control model that keeps identity evidence, attributes, authorization policy and the final execution decision distinct.

IdentityAttributesPolicy
15Security Boundary

Cryptographic isolation

How host data, product state, E2EE state, diagnostics and external transport can be treated as separate boundaries in an embedded component.

E2EESecret HandlingHeadless Client
16Traceability

Release Evidence

A release-oriented evidence model that keeps source state, artifact identity, configuration, test context and review reference connected without publishing private evidence.

Release EvidenceTraceabilityChecksums
17Operations

Health & readiness

Separating liveness, critical dependency readiness and degraded service states instead of reducing operational health to one green indicator.

LivenessReadinessDegraded Mode
18Error Semantics

Fail-closed integration

Why unknown versions, missing configuration, unsupported capabilities and unsafe states should produce explicit outcomes instead of hidden compatibility assumptions.

Fail ClosedTyped ErrorsCapability Negotiation
19Shared Responsibility

PVS/KIS responsibility

A practical boundary model for primary systems, the agreed MEMM scope and external operators before evaluation or pilot work begins.

PVSKISOEM
Editorial boundary

Public product architecture with a precise statement boundary.

  • product and integration boundaries
  • architecture principles and technical effects
  • version and error semantics
  • responsibility and recovery effects
Claim boundary

Implemented BPMN foundation does not automatically mean complete TI-Flow conformance.

The website keeps those states separate: the BPMN engineering foundation is owner-confirmed as implemented, while TI-Flow/FHIR® articles remain version- and profile-bound until a narrower release claim is separately supported.

Normative Reference · gematik

TI-M: distinct product and provider roles

External gematik documents for architecture comparison. Listed profiles do not identify ITL as an approved manufacturer or operator.

PTV · Released29.09.2026

gemProdT_TI-M_Client_Pro_PTV_1.1.0-0_V1.0.0 ↗

TI-M Pro client product profile; not interchangeable with the TI-M Headless client module.

TI-Messenger_26_2Type 1.1.0-0 · Doc 1.0.0

Architecture boundary: Distinct TI-M Pro client

PTV · Released29.09.2026

gemProdT_TI-M_Client_ePA_PTV_1.2.0-0_V1.0.0 ↗

TI-M ePA client product profile; its test scope differs from TI-M Pro and Headless.

TI-Messenger_26_2Type 1.2.0-0 · Doc 1.0.0

Architecture boundary: Distinct TI-M ePA client

PTV · Released29.09.2026

gemProdT_TI-M_FD_Pro_PTV_1.1.0-0_V1.0.0 ↗

Product profile for the Pro service as an independent server-side product scope.

TI-Messenger_26_2Type 1.1.0-0 · Doc 1.0.0

Architecture boundary: TI-M Pro service

ATV · Released29.09.2026

gemAnbT_TI-M_Pro_ATV_1.2.0-0_V1.0.0 ↗

Provider responsibilities for TI-M Pro; evaluate separately from the Headless module, Pro client and service.

TI-Messenger_26_2Type 1.2.0-0 · Doc 1.0.0

Architecture boundary: TI-M Pro provider / operations

ATV · Released29.09.2026

gemAnbT_TI-M_ePA_ATV_1.1.0-0_V1.0.0 ↗

Provider responsibility for TI-Messenger ePA; distinct from TI-M Client ePA, the electronic patient record and the Headless module.

TI-Messenger_26_2Type 1.1.0-0 · Doc 1.0.0

Architecture boundary: TI-M ePA provider / operations

Requirement explanations follow the named external specifications; implementation and formal acceptance need separate, release-bound proof.

Requirements in context

What the specifications mean for this architecture.

Selected requirements with a fixed source version. Open a topic for its responsibility, interface or data boundary.

Local module API and host networking

The TI-M Pro Headless Client must expose an integration API and must provide neither its own end-user GUI nor a local or public network API. This includes localhost. The integrating system may expose its own network interfaces and must invoke the module only through its designated local functions; the provider secures integrating network connections with TLS. Rust, Flat C ABI and language bindings are ITL design choices within this requirement.

Sole E2EE endpoint and audited cryptography

The TI-M Pro Headless Client must be the sole cryptographic endpoint of end-to-end encrypted communication. Key material, internal E2EE state and reconstructable security information remain within its protected context; diagnostic dumps must not expose them. For message encryption, TI-M clients require an audited Olm/Megolm implementation assessed as sufficiently secure. Basis names Vodozemac and libolm; other implementations require equivalent security evidence from qualified independent auditors. Cross-signing and Secure Secret Storage and Sharing (SSSS) for device verification must also be supported. Rust or a local ABI alone does not demonstrate that these requirements are met.

Protected runtime, artifact verification and audit events

Headless operation requires effective process and access controls, approved software, and exclusion of unauthorized manipulation or debugging mechanisms. The provider restricts use to signed, tested and approved versions. Where technically possible, the integrator verifies the signature offline against a local trust anchor when loading the artifact and refuses execution on a verification error. Security-related rejections, state changes and misuse must be logged without alteration and with correct timing. Provider documentation must explain that external configuration or components must not suppress or manipulate these audit logs. A_28703 does not cover protection against a compromised platform or privileged administrators.

Calling: selected Headless media endpoint

TI-M Basis lists VoIP as an optional module. Matrix 1.17 describes call signalling through room events and WebRTC with two devices per call. The current, not yet live-qualified calling design assigns Matrix E2EE, PeerConnection and DTLS-SRTP keys inside Headless; the host supplies controls and authorized local media I/O. This maps the architecture to the sole E2EE endpoint and isolation required by A_28710/A_28715. Locally, TI-M E2EE ends at the workstation module; centrally, at the server module with a separate TLS audio channel to the operator. The design is not a tested runtime or gematik approval.

Calling: TLS must not be equated with DTLS

A_25299 requires TLS between TI-M components across virtual/physical machine boundaries; A_25573 incorporates gemSpec_Krypt. No explicit VoIP exception was found in the checked sources. ITL therefore restricts the design to two TURN allocations over TLS/TCP on one controlled instance/VM with exclusively local relay forwarding. A turns URL and relay candidate alone do not establish the path; without assurance on both sides, Calling remains unavailable. This is a narrow engineering inference, not an official interpretation. General TLS 1.2 support is retained; TLS 1.3 is the choice for this media profile.

Calling: validate session origin and media peer

party_id identifies a call party but need not equal the Matrix device ID. Matrix 1.17 prohibits using outer Megolm sender_key/device_id fields to establish origin or index sessions. The design binds the validated user and device trust evidence through the validated session to room, call_id, party_id and SDP fingerprint. Media is released only after a matching DTLS handshake and an admitted relay path. Explicitly confirmed device trust before Calling is stricter ITL policy; TLS to the homeserver alone does not authenticate the media peer.

TI-M scope of the Matrix integration model

The TI-M Pro provider must not use the Headless Client directly or indirectly to bridge into other messenger systems. The Basis specification also prohibits server-side bridging into other messaging protocols. An internal product label for bridge state therefore does not establish a permitted TI-M bridge feature. Host process integration and permitted automation must respect this boundary.

Manufacturer, integrator and provider

The module manufacturer is responsible for the product type; the host manufacturer integrates the module into its system. The TI-M Pro provider assumes operating responsibility when offering the Headless product. On-premises operation must also be agreed with that provider. It records each integrating system, manufacturer and architecture in its operating manual and reviews this information at least every six months after approval. Before integration and for material changes, it must obtain approval from the party with overall TI responsibility (GTI) through the operational change process.

Eligible organization and healthcare purpose

Headless integration and operation are restricted to systems of healthcare organizations entitled to order and use TI-M. Medical data may be processed only for healthcare delivery or its organization. Multipurpose systems need technical and organizational controls against unauthorized access by other organizational units. A contact center may assign chats within a healthcare workflow in its central host; this does not authorize unrelated use of the data.

Contact types and profile information

The organization administrator classifies contacts in the FHIR VZD Endpoint resource: tim for an individual, tim-fa for a functional account managed by people, and tim-bot for an automated account. A chatbot adds (Chatbot) to its display name. The user profile requires de.gematik.user.orgname; orgtype, orgfachrichtung, orgaddress and beruf are optional additional fields. The organization administrator client offers matching FHIR VZD values for adoption. These profile attributes do not replace authorization checks.

Protocol errors remain actionable

The Headless Client must pass Matrix Client-Server API and TI-M specification error codes to the integrating system. A typed ITL contract must preserve their meaning. Diagnostic and stack text containing secrets can be redacted; a generic internal error enumeration must not replace the required protocol code. Security incidents may additionally require restricted outward diagnostics and protective action.

FHIR payloads inside Matrix events

FHIR resources use the de.gematik.fhir event type and fhir.json: inline or as a JSON/XML file, with StructureDefinition, resource-type and FHIR-version metadata. fhir.json also requires a plaintext fallback under de.gematik.text. Plaintext describes the text representation inside the event and does not bypass its E2EE protection. Proprietary events use structuredData.json and a plaintext fallback under de.gematik.text; clients must make existing text and file fallbacks accessible even for unknown events. A clinical workflow is identified by type and version in de.gematik.fachverfahren. FHIR VZD search, TI-Flow operations and this messaging contract are separate interfaces.

Device capabilities and processing status

Client capabilities are published under de.gematik.client_capability.${device_id} in the user profile. If a dehydrated device exists, capabilities must be stored for that device when the last device logs out. Processing status uses dedicated request and response structures: from_device, optional to_device and lifetime, and a reference to the original event_id. A valid request addressed to the device must be answered. The response links success or error to the original event through m.reference; this processing status is distinct from delivery or a read receipt.

Separate HTTP report for clinical workflows

The client records metadata for sent and received clinical workflows and sends statistics to the service through POST /report. The report describes a measurement start (start) and counts (Anzahl) per Fachverfahren and Version in the optional sent and received lists. This is a separate contract alongside Matrix events and FHIR VZD search. Failed reports are buffered for at most 14 days and retried at a configurable interval or on the next active connection. Source note: the full URL in the Headless PTV points to commit f8654d7…, while its version column names dcd2d280; the link here explicitly follows the full PTV URL.

Permission configuration and information

permissionConfig_V1.json defines the Pro permission configuration with defaultSetting and exceptions for servers, users or groups. TiMessengerInformation.yaml provides a separate HTTP information interface authenticated with a Matrix OpenID token: findByIk resolves an IK number to a server name; isInsurance checks its classification as an insured-user domain. The domain part of an MXID thus supports group assignment, not validation of an individual medical authorization. The Headless PTV pins both interfaces to commit a67678018fb06bff1c14e7a1347631587dc57db5. An ITL term such as Authorization must be mapped to these specific protocol contracts.

TI-M Pro, TI-M ePA and the electronic patient record

Insured users communicate through TI-M Client ePA and TI-M Fachdienst ePA. Professional users and the central contact-center host use the Pro product roles. TI-M ePA adds authentication through the sectoral insurer IDP using OIDC/PAR and directory search through /fdv/search. The client and service prevent public/knock join rules, world_readable history, public room-directory visibility and inactive encryption; the service rejects invalid room changes with HTTP 400 and M_INVALID_ROOM_STATE. Insured users receive no administration of other user accounts; the TI-M ePA proxy rejects invitations between two insured users in its client-server checks. Access to the electronic patient record has a separate ePA frontend and record-system contract.

Questionnaires as a specific TI-M ePA contract

TI-M ePA clients must support de.gematik.questionnaire.generic v1 and de.gematik.questionnaire.consent v1 on the receiving side: publish capabilities immediately after login, present received questionnaires with any prefilled values for completion, return final responses in a de.gematik.fhir event, and make completed questionnaires viewable later. This requirement applies to TI-M Client ePA. It does not establish an implemented MEMM questionnaire feature set or grant access to the electronic patient record.

Editorial source review: 17 October 2026. The mapping explains requirements; implementation verification and product approval have their own evidence.