04
Mobile areasDiPag · TI-M · ePA · e-Rezept
UI
Concept screensSynthetic sample data
TI
IntegrationAssessed per project
TI 2.0 · Zero Trust

ZETASecurity Architecture Behind the Scenes.

Behind the visible HCSA application areas are separate security and access concerns. The ZETA Client is a logical component of the client-side security architecture, whereas the ZETA Guard belongs to the external access infrastructure. The four tiles show application areas, not a complete list of technical app components.

General architecture reference: gemSpec_ZETA V1.3.2 (26 June 2026). The public 2.0.0_CC draft (9 July 2026) adds mobile context for device attestation, registration and OIDC/PAR/PKCE. The draft G-App product profile 1.0.0-0 separately names ZETA 2.0.1_CC and Krypt 2.49.1. The exact ZETA 2.0.1_CC source remains unverified; the two available versions do not replace this G-App dependency.

Explore the ZETA iPhone flow →
User-facing application · UI concept
DiPagTI-MePAe-prescriptions
ZETA
Client · ZETA Guard · separate rolesClient-side integration role · external Guard service
ZETA · EXAMPLE CONFIGURATIONUI concept · synthetic data
Example security and policy configuration — deliberately shown as pseudoconfiguration, not an actual ZETA Client/Guard interface or configuration syntax. Open configuration in full resolution ↗
HCSA · Interactive product experience

One iPhone. Twelve screens. Three access scenarios.

Explore the insured-user journey from HCSA Home to a hypothetical access check, its outcome and a readable example audit trail. Every result is simulated locally.

HCSA 12-screen iPhone UX preview

HCSA for TI 2.0DEMOJS
START

Good morning, Julia

Your health experience at a glance.

Always by your sideSecure. Simple. Personal.
Quick access
Latest
Example invoice received · DiPagDEMO
Screen 1 of 12

Interactive UI concept · 100% synthetic data · no live ZETA Client/Guard, ePA, TI-M or identity connection.

Inspired by the original HCSA iPhone sketches. All approval, device trust and audit states in this walkthrough are synthetic and do not imply ZETA conformance.

ZETA · Repository-based technical view

Mobile client flow: six stages

Source: ZETA API 2.0.0-draft and mobile SDK preview. No real registration, attestation or authentication.

Client flow · explanatory prototype

No stage selected

Choose a stage to reveal its explanation.

Source status: The API is marked Draft; the mobile SDK manual labels mobile OIDC integration as preview and describes mocked server-side attestation. The G-App PTV separately references 2.0.1_CC, whose complete text is not available here.

Source and limitations

User-provided zeta-main.zip snapshot. Evidence: README, component overview, docs/api/v1/index.md (2.0.0-draft), SDK preview and pip-pap/dipag-policy. The Keycloak client-management documents dated 21 September 2026 are architecture proposals discussing 2.0.1_CC, NOT the published normative text.

ZETA project on GitHub ↗ · SHA-256: b597892bdc88a50b19c64110f85c394099edf8325073c3236bf462f1c472ac31

Read source status, technical details and caveats in Knowledge →

Mobile application 01—04

Four insured-user application areas.

A consistent view of key mobile journeys — from patient invoices and messaging to health documents and prescriptions.

Hands-on demo · 100% synthetic

Explore HCSA on iPhone Duo.

Open fictional invoices, write demo messages, search sample documents and explore prescriptions — inside an adaptive iPhone Duo web demo with four device positions. No login or real TI connection.

ZETA remains a separate, illustrative security walkthrough. Every action is local, ephemeral and without production effect.

ePA · Access and document navigation

What happens before a document opens.

The iPhone concept filters synthetic document names and dates; favorites are local bookmarks. Real ePA access additionally requires a valid session, a confirmed device and entitlement to the selected record, enforced by the record system. These situations illustrate why each step matters.

Selected ePA access situations and their meaning
SituationMeaningNext step
No result in the local demoThe name, date or category filter matches none of the synthetic documents.Adjust or clear the filter. This is not a response from a real record system.
The real session has endedAn earlier login no longer authorizes record access.Log in again. The ePA contract requires a new VAU channel for access after logout.
A new device is not yet confirmedThe authenticated session initially permits device management only.Register and confirm the device before requesting health documents.
No entitlement to the selected recordLogin and device confirmation do not establish authority to access another person’s record.Check the selected record and, where applicable, the representative entitlement.

Removing a device registration does not end an already active session. Logout is a separate action. A real frontend also distinguishes access errors from an empty search result; on MHD content retrieval, a hidden document and a missing document intentionally share the same 404 response.

Reference: ePA FdV 2.8.0, Authorization 1.9.1 and Device Management 1.10.1 at ePA-3.1.3; MHD IG 1.1.3. The detailed contracts below retain the source versions.

Normative Reference · gematik

ePA: frontend, record system and provider

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

PTV · Released15.07.2026

gemProdT_ePA_FdV_PTV_3.1.3-3_V1.0.0 ↗

Insured-user ePA frontend: a distinct product scope for record access, entitlements and document functions. The Common version in the PTV and in the IG packages is tracked separately.

ePA_3_1_3-4Type 3.1.3-3 · Doc 1.0.0

Architecture boundary: ePA frontend / record access and user decisions

PTV · Released15.07.2026

gemProdT_Aktensystem_ePA_PTV_3.1.3-3_V1.0.0 ↗

ePA record system: the server-side product scope for record context, authorisation, persistence and services. A client interface does not take over these responsibilities.

ePA_3_1_3-4Type 3.1.3-3 · Doc 1.0.0

Architecture boundary: ePA record system / server-side product boundary

ATV · Released15.07.2026

gemAnbT_Aktensystem_ePA_ATV_3.1.3-3_V1.0.0 ↗

ePA record-system provider: distinct operational and security responsibilities alongside product assessment and frontend integration.

ePA_3_1_3-4Type 3.1.3-3 · Doc 1.0.0

Architecture boundary: ePA record-system 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.

ePA frontend, record system and provider

The frontend product profile 3.1.3-3, document 1.0.0, ties the document and access architecture considered here to gemSpec_ePA_FdV 2.8.0, record system 1.8.2 and IDP Frontend 2.0.0. It includes Basic IG 1.3.2, MHD IG 1.1.3 and Medication IG 1.3.5. The frontend serves the insured user; the record system holds the record and enforces access on the server. Record-system product requirements and provider requirements have their own PTV/ATV profiles 3.1.3-3. A mobile UI concept alone does not satisfy these three evidence scopes. The ePA-Basic and ePA-XDS-Document interfaces are pinned to ePA-3.1.3 and its resolved immutable commits.

VAU channel, userSession and a specific record

The frontend establishes a VAU channel to the record system and checks its VAU certificate. sendAuthorizationRequestFdV initiates authentication through the health identity, sectoral IDP and authenticator; sendAuthCodeFdV passes the received authorization code to the record system. The authenticated userSession is distinct from the HealthRecordContext of a specific record. A record request identifies the record through x-insurantid and requires the corresponding entitlement and further access checks. This supports access by owners and authorized representatives to different records. A generic ZETA allow result or TI-M Client ePA login does not replace this ePA frontend contract.

Ending a session and removing a device

logoutFdV ends the userSession, deletes its temporary session data and closes its HealthRecordContexts. Further access requires a new login and a newly negotiated VAU channel. The frontend ends the session at most 20 minutes after the last user activity; the record system also enforces an inactivity rule. By contrast, deleteDevice removes a device registration. The device API explicitly states that an already active userSession remains unaffected. A product must therefore treat logout and device management as different actions. The local HCSA demo holds no real ePA session and performs neither operation.

Device confirmation before record access

At the home record system, the frontend proves a registered and confirmed device with x-device-identifier and x-device-token. At another record system, a device attestation issued by the home system provides this proof. Without confirmed registration, the authenticated session remains restricted to device management. registerDevice and confirmPendingDevice cover registration and confirmation; getDeviceAttestation requires a confirmed device. The special x-authorize-representative mode supports representative enrolment and restricts access to entitlement management. It does not open a general document session. Health-identity login, device confirmation and record entitlement therefore each serve a distinct purpose.

Entitlement, objection and visibility

Entitlement Management governs an actor’s access entitlement to a specific record. The owner has a static entitlement; a representative requires an explicit entitlement. setEntitlement processes a signed entitlement statement, while deleteEntitlement revokes a revocable entitlement. Consent Decision Management instead records objections to defined functions: permit means no objection, while deny means an objection with function-specific effects. A general objection to the ePA itself lies outside this service. Constraint Management hides eligible documents, folders or categories through GeneralDenyPolicies; emp and technical cannot be hidden through this mechanism. Server-side LegalPolicy and role checks apply in addition. Favorites in the HCSA demo are local bookmarks and change none of these permissions.

Finding documents: XDS, MHD and Basic

XDS uses SOAP/WSDL, including DocumentRegistry_RegistryStoredQuery for metadata searches and DocumentRepository_RetrieveDocumentSet for retrieval. The frontend’s additional MHD consumer uses DocumentReference search and read: Find Document References (ITI-67) combines metadata with full-text search through _content. Every MHD search supplies at least patient.identifier and status; its path is /epa/mhd/api/v1/fhir/DocumentReference. Retrieve Document (ITI-68) retrieves content through DocumentReference.content.attachment.url. A missing document and a document hidden from the requester both return 404 on retrieval. Basic IG 1.3.2 describes Patient and AuditEvent among other shared requirements; Medication IG 1.3.5 describes eML/eMP. These are separate contracts. The HCSA filter searches synthetic document names and dates locally and does not implement MHD full-text search.

TI Common: product pin and package dependency

FdV PTV 3.1.3-3 names TI Common 1.3.0. The inspected de.gematik.epa 1.3.2 and de.gematik.epa.mhd 1.1.3 packages instead declare de.gematik.ti 1.3.1 as a dependency. The two Common versions are therefore documented separately. One concrete difference is in the TI Organization profile: 1.3.1 sets mustSupport=true on Organization.extension; 1.3.0 lacks this marking on that element. This matters when interpreting profile requirements and designing corresponding tests, but by itself does not prove data-exchange incompatibility. The reviewed material contains no official resolution of the version difference. It supports neither automatic substitution of the product pin nor a blanket conformance claim.

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

Draft_App_26_1 · Draft_DiPag_26_1

Nine user areas in the app draft.

gemSpec_App 1.0.0_CC, §4.3 contains 15 UX requirements, grouped here into nine user areas. The service follows gemSpec_DiPag_FD 1.1.3_CC and FHIR IG 1.0.8. The website demonstrates selected local example actions.

Retrieve invoices

Retrieve invoices for the signed-in insured user. A_30077.

View invoices

Overview, detail view and retrieval of the enriched PDF. A_30078, A_30082, A_30083.

Processing state

Set Open, Completed or Trash from the user’s perspective. A_30084.

Markers and notes

Manage personal document markers and notes. A_30179.

Delete an invoice process

Permanently delete an invoice process, separately from trash and account deletion. A_30104.

User log

View and export the service-side user log. A_30080, A_30081.

Permissions

List, revoke and regrant existing invoice-sending permissions in the MVP. A_30079; FD A_25967-01.

Sharing and payment handoff

Share an invoice PDF and an EPC/GiroCode QR image with banking apps; copy recipient, IBAN and payment reference to the clipboard. A_30138, A_30103, A_30110.

User account

Manage account settings and delete the user account. A_30180, A_30181.

Auth and ZETA Client form part of the G-App base; the push module is optional. Local demo actions do not invoke production services or payments.

ZETA · Source binding

Each requirement keeps its role and source edition.

The mapping distinguishes the released Guard profile, the G-App draft and additional mobile context. It records source assignments; implementation results require their own evidence.

Version and verification scope of three ZETA references
ScopeFixed referenceVerified scope
Guard reference chainRequirements profile 1.3.0-0 / 1.0.2 → ZETA 1.3.2Exact source and selected assessment assignments verified.
G-App ClientPTV 1.0.0-0 / 1.0.0_CC → ZETA 2.0.1_CC57 IDs / 66 assignments verified; exact specification text remains unavailable.
Additional mobile contextZETA 2.0.0_CCDraft context; does not satisfy the G-App version reference.
Normative Reference · gematik

App and DiPag: draft baselines

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

Draft / prerelease01.09.2026

Draft_App_26_1 ↗

Insured-user application: draft covering auth, ZETA Client, push and DiPag use cases; not an approved product requirement.

Draft_App_26_1Draft_App_26_1

Architecture boundary: App modules / DiPag UX

Draft / prerelease10.07.2026

Draft_DiPag_26_1 ↗

DiPag service 1.1.3_CC: draft released for consultation; FHIR contracts are interpreted with IG 1.0.8.

Draft_DiPag_26_1Draft_DiPag_26_1

Architecture boundary: DiPag service / FHIR contract

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.

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.

G-App, the DiPag module and its manufacturer

The app draft combines the G-App base profile with profiles for the selected application modules. Auth and ZETA Client form part of the base; the push module is optional. DiPag has a separate frontend-module profile. G-App PTV, DiPag FdV PTV and the manufacturer directory are each draft 1.0.0-0, document 1.0.0_CC. A_30112 concerns the manufacturer’s TR-03185 development-process certification; A_30113 concerns applicable TR-03161 Part 1 product requirements and the product assessment. The four HCSA tiles describe the ITL product concept; ePA FdV and TI-M Client ePA have their own product scopes.

ZETA references with distinct purposes

Released ZETA 1.3.2 is the source for the general client/Guard architecture explained here. The draft G-App product profile instead names gemSpec_ZETA 2.0.1_CC and gemSpec_Krypt 2.49.1 as dependencies. The exact ZETA 2.0.1_CC source and an erratum changing that pin could not be verified in the reviewed public corpus, so this part of the G-App comparison remains open. The public 2.0.0_CC draft dated 9 July 2026 adds mobile architecture context. Like 1.3.2, it is explained within its own scope and does not replace the G-App dependency on 2.0.1_CC.

DiPag FHIR 1.0.8: actors and operations

The contract uses FHIR R4 4.0.1 and package de.gematik.dipag 1.0.8. RE-PS submits invoices to Patient/{id}/$invoice-submit. The insured-user frontend searches its DocumentReference resources, retrieves content through DocumentReference/$retrieve and manages an invoice process through $change-status, $process-flag and $erase on DocumentReference/{id}; AuditEvent supports the user log. RE-PS and insurer systems can retrieve documents through $retrieve using a document token. Claims and scopes remain role-specific. In the MVP, reimbursement submission uses other channels, such as frontend sharing; it is distinct from the RE-PS $invoice-submit operation.

Document tokens, profiles and markers

The document token is the identifier using system https://gematik.de/fhir/sid/dipag-token; it is distinct from the technical DocumentReference.id. The CapabilityStatement defines DocumentReference search and operations, with no direct DocumentReference read. $invoice-submit uses the incoming dipag-dokumentenmetadaten-eingang profile; the service uses dipag-dokumentenmetadaten-intern. $process-flag replaces the entire editable marker set. Omitting markers removes that set; personal and retrieved-by-insurer markers are excluded. Personal processing states are offen, erledigt and papierkorb. These states do not represent an insurer’s reimbursement decision.

Personal metadata and invoice-sending permissions

Invoice metadata delivered to RE-PS and insurer systems must not reveal user-managed states or markers. Permission management is a separate HTTP REST interface requiring the user’s KVNR claim and permission.r for reading or permission.u for updates. In the MVP, the service manages only invoice-sending permissions: these are created with the issuer’s first invoice; insured users can list, revoke and regrant existing permissions. This does not grant general access to personal invoice metadata or other medical data.

Invoice lifecycle and payment handoff

The draft’s 15 UX requirements are grouped here into nine user areas: retrieval, overview and details including the enriched PDF, manual status changes, markers/notes, permanent deletion of an invoice process, viewing and exporting the user log, permission management, sharing, and account management including account deletion. Sharing distinguishes an invoice PDF and an EPC/GiroCode QR image for banking apps, plus clipboard actions for recipient, IBAN and payment reference. Moving to trash, permanently deleting an invoice process and deleting an account are distinct actions. These requirements describe the planned app scope; the website offers selected synthetic example actions.

The service-side user log

The DiPag service records marker changes, including the relevant documents and responsible actor. A user-log entry must be deleted within one month after three years from the access time. The frontend provides viewing and export. This demo’s local activity list remains temporary interaction history; it does not replace the service user log or its retention and deletion rules.

Source note on the submit operation

In gemSpec_DiPag_FD 1.1.3_CC, A_25849-01 names $invoice-submit, while A_25880 names $dipag-submit. OperationDefinition Submit and CapabilityStatementFD in package 1.0.8 both use invoice-submit. This page’s operation map explicitly follows that package. The conflicting PDF wording remains documented as a source discrepancy; the package finding is not an official correction of the PDF.

ZETA client lifecycle in architecture reference 1.3.2

Service discovery identifies the Guard and its endpoints. Registration data including client-id is managed per Guard; mobile registration combines protected locally generated keys, OIDC user authentication, attestation and out-of-band confirmation. Session requirements include OAuth with PKCE, secure access/refresh-token and DPoP-key management, and refresh-token rotation. Users can inspect and deregister registered clients. Service-specific authorization remains separate. The twelve-screen walkthrough illustrates decisions for a fictional demo.document resource; it does not implement that protocol. Open mobile details in 1.3.2 remain distinct from the G-App version comparison.

Mobile flow in the ZETA 2.0.0_CC draft

The public draft describes mobile registration using a locally generated key, attestation evidence and an email OTP confirmation on first contact. Fast-path registration requires an already valid ZETA attestation token and further key checks. Android hardware attestation and Apple App Attest receive platform-specific treatment; the software fallback has no hardware trust binding and receives a lower trust rating. For OIDC, the draft describes Authorization Code, PAR and PKCE with DPoP-bound access tokens. The application client determines the service request and IDP context; the ZETA Client manages registration, keys and the authentication flow. These statements apply exclusively to 2.0.0_CC. The illustrative twelve-screen walkthrough remains an ITL example without implementation evidence.

G-App: exact requirement selection with an unresolved source edition

The G-App profile contains 57 distinct ZETA requirement IDs with 66 assessment assignments. It explicitly names 2.0.1_CC. The inspected 2.0.0_CC context draft contains A_25783-01 and A_27379-02, whereas the profile selects A_25783-02 and A_27379-03. The 55 matching IDs do not establish text equivalence to the missing edition. The SDK exception in section 3.2.1 concerns only Table 7 requirements already covered by Zeta-SDK functionality; other assessments and manufacturer duties remain distinct. A_25735-01 appears both in general UX Table 5 and in Table 10 for the PushNotification option. Both assignments are retained. The catalogue makes the profile reference inspectable; the full content of 2.0.1_CC remains unresolved.

Binding reference chain for the ZETA Guard

The released ZETA Guard requirements profile 1.3.0-0, document 1.0.2 dated 30 June 2026, pins gemSpec_ZETA 1.3.2 and gemSpec_Krypt 2.47.0 in Table 1. Its assessment tables select specific requirement IDs; citing the specification does not automatically select every paragraph as a Guard duty. The public mapping therefore records the ID, source version, responsible component and listed assessment categories. The G-App base has its own draft reference to ZETA 2.0.1_CC and Krypt 2.49.1; that reference chain remains separate.

Discovery, certificates and registration per Guard

The client validates actively used certificates, including hostname, validity, trust chain and revocation, under A_25340-01; dependent operations are rejected after an invalid result. Well-known requests use ETag and If-None-Match. Without Cache-Control, Well-known and JWKS are reloaded every 24 hours; a 404 while establishing resource communication triggers discovery again. The Guard advertises exactly one logical authorization server. Registration is per Guard; client-id and registration/configuration data remain associated with that Guard. An application tile does not itself define a separate registration instance.

PEP: token binding and targeted step-up

The PEP HTTP Proxy checks the access-token signature, validity, audience and scope as well as its DPoP binding; DPoP validation follows RFC 9449. An invalid access token produces HTTP 401 under A_25668. A_28525-01 requires a step-up signal with HTTP 401 when a required scope is missing or the audience does not match an existing, supported URL. This does not define a blanket MFA prompt after every 401. The application evaluates the specific authorization context; a visible login indicator alone does not authorize access.

ASL: inner and outer target binding

A_26681-01 binds use of the ZETA/ASL channel to zeta_asl_use values required or required_passthrough. The inner request contains an access token and DPoP token for the resource-server endpoint. With required_passthrough, the outer request additionally carries a matching token pair for the ASL endpoint. When ASL terminates at the HTTP Proxy, it checks the inner pair. With passthrough, it checks the outer pair and forwards to the terminating resource server. The service and its product specification determine this boundary; a generally optional Guard setting does not remove a service-specific ASL requirement.

PDP, application authorization and token lifecycle

Before issuing a new token set, the authorization server asks the policy engine. A denied policy decision is represented by HTTP 403; token claims must match the decision. Access and refresh tokens are DPoP-bound to the registered client instance. Refresh tokens are exchanged only once and rotated; the client protects session tokens and DPoP keys. An application-specific authorization backend can participate through the defined plug-in interface. Client management, manual deregistration and access to the registration access log remain separate functions. These ZETA functions do not replace ePA entitlements or the business rules of a DiPag or TI-Flow operation.

Stage 1 is not a universal mobile flow

A_28827 and A_28803 explicitly concern stage 1: the requesting IP address is recorded in the access token and compared on client requests. A negative result blocks access and refresh tokens and aborts the business operation. The specification assigns this simplified impossible-travel check to the LEI role with a stationary device. The mobile HCSA illustration does not derive universal IP binding from it. Mobile statements from 2.0.0_CC retain their draft status; the 2.0.1_CC edition referenced by the G-App profile remains unreviewed until the exact source is available.

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

Evidence status

Concept and technical integration, clearly separated.

The mobile experience is a UI concept using synthetic data. A production TI connection is not publicly evidenced for the four areas; integration scope is reviewed per project.

Public evidence status HCSA for TI 2.0
AreaUI presentationProduction TI connection
DiPagConcept viewOpen
TI-MConcept viewOpen
ePAConcept viewOpen
e-RezeptConcept viewOpen

For a specific integration, the product profile, target environment, technical acceptance criteria and delivery scope are agreed with the partner.

Partnerships

Architecture & technology partnerships

Integration review · Technical evaluation · Joint development. HCSA complements existing landscapes at explicitly defined module and interface boundaries.

Discuss integration scope

MEMM remains a separate technology area. Explore MEMM platform

HCSA for TI 2.0 · Interactive UI concept

Explore HCSA on Duo and iPhone

Synthetic interface only · no live service connection, access check, patient data or video call.

Architecture boundary: DiPag, TI-M, ePA and e-Rezept are application concepts. ZETA Client is logically part of the client integration architecture; ZETA Guard is external access infrastructure. Neither is implemented in this demo, and neither is a fifth application. No ePA processing or authorization is performed by this WordPress demo.