Why Matrix for healthcare begins with the TI-Messenger standard
German healthcare messaging is built on Matrix through gematik's TI-Messenger standard, and that standard, not a generic Matrix chat installation, sets the interoperability baseline for any provider or vendor working in the German healthcare sector. gematik describes TI-Messenger as a messaging standard that lets healthcare personnel communicate interoperably through GDPR-conformant messaging services. A health IT lead asked whether Matrix can carry clinical chat should therefore start with a different question than which homeserver to install. The useful question is which parts of the TI-Messenger specification the deployment must satisfy. A federating Matrix server that delivers messages is necessary, but on its own it does not describe a compliant TI-Messenger service.
The architecture is where the difference becomes concrete. In the TI-Messenger model, a Messenger-Service consists of a Messenger-Proxy and a Matrix homeserver that offers the Matrix Client-Server API and the Server-Server API. Clients and peer services depend on the proxy and the homeserver behaving together, so a team that deploys a homeserver from the public ecosystem must also build the proxy layer and meet whatever the specification requires of federation and server behavior. Confirm the Matrix API versions the current specification references. The TI-Messenger repository references the Client-Server, Server-Server and Push Gateway APIs at version 1.17, and that reference should be checked against the specification release you intend to build and certify against, not assumed from older project material.
Readers outside Germany who evaluate Matrix for clinical chat should treat TI-Messenger as a detailed reference for interoperability, proxy design and federation control. The German specification does not, by itself, set the obligations of a provider in another country. Those obligations come from local law and contracts. A US provider or business associate would map the work to the HIPAA Security Rule, including the business associate contract terms in 45 CFR 164.314, and would find no certification step to complete. An EU provider would map it to the GDPR security duties in Article 32 and treat any certification under Article 42 as voluntary. In both cases, each requirement should be tied to a specific control, a system owner and evidence that an assessor can review.
Before scoping any work, confirm three points in writing. First, which edition of the TI-Messenger specification and which referenced Matrix API versions apply to your procurement or pilot. Second, whether the service must interoperate with German messaging services or only borrows the design for an internal deployment, because those two cases lead to different requirements. Third, how federation will be restricted, for example with the federation_domain_whitelist setting in Synapse so that only approved domains can exchange messages, and whether the federation listener is also firewalled. Check the answers directly with gematik, since its current specifications are the authoritative source, and treat any summary in this guide as a starting point for that conversation.
Healthcare requirements that shape a Matrix build
This table lists the healthcare requirements from GDPR, HIPAA, NIS2 and a 2026 CNIL decision, with the source for each and what it means for a Matrix build. Treat each row as a design input that software alone cannot satisfy. The main takeaway is that identity, access limits to the care team, encryption, logging and incident reporting each need an owner and documented procedures, in addition to the homeserver configuration.
| Requirement | Source and what it asks | What it means for the build |
|---|---|---|
| GDPR security of processing | GDPR Article 32 requires appropriate technical and organizational measures. Article 83 sets fines up to EUR 10 million or 2% of turnover for Articles 25 to 39. | Plan unique accounts, encryption, access logging and tested backups. Homeserver settings are one part of the controls the controller must document and operate. |
| GDPR breach notification | GDPR Articles 33 and 34 cover notifying the supervisory authority and affected people after a personal data breach. | Configure audit logs and alerting so incidents can be detected and assessed. Confirm the notification timelines and roles with your legal and privacy team. |
| HIPAA technical safeguards (US) | 45 CFR 164.312 has 7 implementation specifications. Unique user identification and emergency access are required. Automatic logoff and encryption are addressable. | Give each clinician a unique Matrix identity and document emergency access. Decide and record how logoff and encryption are enforced for each client. |
| HIPAA business associate terms (US) | 45 CFR 164.314(a)(2)(i) requires contracts to require Security Rule compliance, flow terms to subcontractors and report security incidents. | List every hosting, support and bridge provider that handles ePHI and confirm contract terms before go-live. Have counsel review the wording. |
| HIPAA certification (US) | HHS FAQ 2003 states no Security Rule standard requires certifying compliance, and private certifications do not prevent a later violation finding. | Ask vendors for evidence of their controls, not a HIPAA certificate. Keep your own risk analysis and records ready for OCR complaints, reviews or audits. |
| NIS2 health sector coverage | Directive (EU) 2022/2555 Annex I lists health as a sector of high criticality, including healthcare providers and certain medical device manufacturers. | Confirm whether your organization is in scope and how your national transposition applies. Plan incident reporting and supplier security duties into the operating model. |
| CNIL access control finding | On 3 September 2026 the CNIL fined Hopital Prive de la Loire EUR 500,000 under GDPR Articles 32 and 34 for external access without VPN or multi-factor authentication. | Require VPN or an equivalent secure path and multi-factor authentication for external access. Limit clinical access to what each care team needs to know. |
What the TI-Messenger specification adds on top of a homeserver
A Matrix homeserver alone does not define a TI-Messenger service. According to gematik's api-ti-messenger repository, the Messenger-Service is a combination of two parts: a Messenger-Proxy and a Matrix homeserver that offers the Matrix Client-Server API and the Server-Server API. The homeserver supplies the Matrix protocol behavior that clients and other servers expect, while the proxy sits in front of it and carries the TI-Messenger-specific requirements. A team that starts from a stock Synapse installation therefore has to identify what the proxy must do, and where it must sit, before it can describe its deployment as a TI-Messenger service.
The api-ti-messenger documentation supplements the TI-Messenger ePA and TI-Messenger Pro specifications rather than replacing them, so the requirements for a given deployment may be spread across several documents. The repository references the Matrix Client-Server, Server-Server and Push Gateway APIs at version 1.17. That is a Matrix specification version, not a Synapse release number, and it should be checked against the homeserver version and client versions you plan to run. Confirm that your chosen homeserver implements the referenced API version completely, and test mobile push through the Push Gateway path before you commit to a design.
The first planning decision is ownership of each component. Ask whether the Messenger-Proxy will be custom built, bought from a vendor, or hosted by a third party, and who maintains it after go-live. For the homeserver, decide whether to run Synapse, which Element develops under AGPL-3.0 with commercial licenses also available, or another implementation, and whether an Element offering such as ESS TI-Messenger covers both the proxy and the homeserver or only part of the stack. Get each vendor to state in writing which parts they supply, which they operate, and which remain your responsibility.
Obtain the current gematik specifications and conformance requirements directly from gematik rather than relying on secondary summaries, including the specification versions that apply to your use case. Confirm what evidence of conformance is expected, who assesses it, and whether any approval step must be completed before live use. Also confirm how federation scope will be restricted. Synapse's federation_domain_whitelist setting and firewalling of the federation listener are the controls that a homeserver team would typically configure, but whether the specification requires them, and in what form, must come from the specification itself.
Plan for version coordination. The Synapse upgrade notes warn that rolling back can be difficult because of database schema changes between releases. Because the proxy and the homeserver must both conform to the referenced Matrix API version, each upgrade of either component should be tested against the other, against the referenced API version, and against the current gematik conformance requirements before it reaches production.
Synapse, MAS and ESS settings that matter for clinical chat
A clinical Matrix deployment is shaped by a small set of settings that decide how the homeserver names itself, who it talks to, where users sign in and what gets logged. Each card below covers one of these settings and the decision your team needs to make before the build starts.
Synapse server_name and delegation
The server_name setting fixes how user IDs such as @user:example.com and room identifiers are written, and it cannot be changed casually once accounts exist. Delegation lets that domain be served from a different host on port 443, so the public name can stay stable while the homeserver runs on internal infrastructure. Decide the domain, the host that serves it and the DNS and certificate ownership before any user is created. Confirm the delegation approach against the current Synapse federation documentation.
Federation domain whitelist and listener firewalling
The federation_domain_whitelist setting restricts federation to the domains you list, and an empty list disables federation entirely. For a clinical deployment, the decision is which external domains, if any, may exchange messages with your users. The Synapse documentation also recommends firewalling the federation listener, which is served on port 8448 by default, so that only approved peers can reach it. Document the allowed list and who approves changes to it.
PostgreSQL and Redis for workers
Synapse recommends PostgreSQL for production, and the current release notes require PostgreSQL 14 or newer for version 1.143.0 and later. Redis becomes necessary once you split traffic across worker processes, because it relays replication between the main process and workers. Decide how the database is made highly available, how backups are tested, and whether the worker layout is needed at launch or can wait for measured load. Confirm version floors against the upgrade notes for the release you plan to run.
MAS with an upstream OpenID Connect provider
Matrix Authentication Service handles sign-in and issues tokens for Matrix clients, and it delegates the actual login to an upstream OpenID Connect provider such as Keycloak, Microsoft Entra ID, Google or Authentik. The decision is which identity provider is the source of truth for clinical staff, how accounts are provisioned and deprovisioned, and how multi-factor authentication is enforced. Confirm the provider configuration steps in the MAS upstream identity provider documentation for your version.
SAML needs through a bridge
MAS does not support SAML directly, so organizations whose identity provider only speaks SAML or who rely on LDAP need a bridge such as Dex in front of MAS. The bridge adds another component to patch, monitor and back up, and it becomes part of the authentication path for every clinical user. Decide whether an existing SAML provider can be bridged or whether the identity provider itself should change, and test failure behavior when the bridge is unavailable.
LDAP and SCIM integration in ESS
Element Server Suite includes LDAP and SCIM integration, which determine how staff directory entries become Matrix accounts and how changes such as leavers and role updates are reflected. Clinical organizations need these changes to flow reliably, since a former employee who keeps access to patient-related conversations is a governance failure. Confirm which directory is authoritative, what attributes map to Matrix, and how deprovisioning is verified. Confirm the exact ESS feature set with Element for the edition you select.
Auditing and log retention
ESS includes auditing, and Synapse logs record administrative and access events that auditors and data protection officers may request. The decision is which events must be retained, for how long, who can read them and where they are stored, since logs can themselves contain personal data. Define the retention period against your legal obligations and test that logs can be exported and searched during an incident. Confirm the audit event catalogue with Element before you write the control.
Homeserver, federation and identity choices for clinical chat
The first decision is which homeserver will carry clinical traffic, and it should be settled before client or identity work begins. Synapse is the most widely documented option. Element develops it under AGPL-3.0-or-later, and Element also sells Synapse Pro under a commercial license. Dendrite, written in Go, is AGPL-3.0-or-later, while Conduit and its Rust forks Continuwuity and Tuwunel are Apache-2.0. The trade-off lies between vendor-backed documentation, tooling and support on one side and license terms and production history on the other. The TI-Messenger Messenger-Service pairs a Messenger-Proxy with a homeserver that must offer the Matrix Client-Server and Server-Server APIs. Ask gematik's specification and each vendor which implementations have been tested against the referenced API version (1.17), and do not assume that any spec-compliant homeserver satisfies the healthcare requirements on its own.
Element Server Suite comes in three editions, and the edition shapes both the license position and who answers when something fails. ESS Community is free and intended for non-professional deployments and evaluations, so it is a poor fit for a production clinical service. ESS Pro targets professional and government use and includes Synapse Pro, Matrix Authentication Service, LDAP and SCIM integration, and auditing. ESS TI-Messenger is aimed at German healthcare and is deployed on Kubernetes with Helm charts. Ask each vendor, in writing, what support covers, which component versions are supported, how upgrades are delivered, and whether the charts are supported when your own team or a partner operates the cluster. Confirm which edition is required to receive the TI-Messenger components, because that choice affects every later upgrade and audit trail. Plan the platform floors into your base images early, since Synapse upgrade notes require PostgreSQL 14 or newer from 1.143.0 and Python 3.10 or newer from 1.142.0.
Federation policy determines who a clinician can message outside the organization, so it is a clinical governance decision as much as a technical one. In Synapse, the federation_domain_whitelist setting restricts federation to the listed domains, and an empty list disables federation entirely. A closed deployment with an empty list keeps all conversations inside one server, while a named list lets a hospital message only the practices and partners it has agreed to trust. Decide which of these models applies for each care pathway before go-live, and record the list and its owner. The Synapse documentation recommends also firewalling the federation listener, which uses port 8448 by default, so that network controls match the policy. Confirm with your Synapse version whether the whitelist is enforced for inbound requests, outbound requests or both. Also decide the server_name value now, because user identifiers such as @user:example.com depend on it and changing it later is disruptive.
Identity determines who can sign in, so it should be brokered from the hospital or practice directory rather than from local Matrix accounts. Synapse can authenticate against OpenID Connect providers configured through oidc_providers, against SAML2 using pysaml2, and against CAS. Matrix Authentication Service uses OAuth 2.0 and OpenID Connect against upstream providers such as Keycloak, Microsoft Entra ID, Google and Authentik. It does not support SAML directly, and its documentation recommends a bridge such as Dex when the directory speaks SAML or LDAP. Identify the source of truth for each clinician, usually the hospital or practice directory, and confirm how deactivation propagates to active sessions and devices. ESS Pro includes LDAP and SCIM integration, so ask how those connectors map roles and removals. Verify the flow with a test account that is removed from the directory and confirm that its access ends.
Compliance considerations for providers and vendors
These cards cover the obligations and checks that apply to a Matrix deployment for clinical messaging, from GDPR security and breach duties to sector rules and certification claims. Each one shows where a provider or vendor carries responsibility and what to verify before signing or going live. Treat the status of pending items as a snapshot and confirm current positions with counsel and the relevant authorities.
GDPR Articles 24 to 43
Chapter IV sets controller and processor duties, including Article 24 accountability, Article 32 security of processing, and the breach notification duties in Articles 33 and 34. In a Matrix deployment, the controller decides retention, access and federation settings, while a hosting partner or vendor acting as processor needs a contract that covers these duties. Check who is controller for chat content, how the homeserver and bridge logs reveal incidents, and who notifies the supervisory authority and affected patients if a breach occurs.
CNIL fine on access controls
On 3 September 2026, France's CNIL fined Hopital Prive de la Loire EUR 500,000 under GDPR Articles 32 and 34. The authority found that external access to the patient record system lacked VPN and multi-factor authentication, and that access control ignored the care team's need to know. Matrix clients used from outside a clinic network raise the same questions. Check that remote access runs through a VPN or equivalent, that the identity provider enforces MFA, and that room membership and admin rights follow role-based need to know.
NIS2 covers health
NIS2 Annex I lists health as a sector of high criticality. It covers healthcare providers, EU reference laboratories, medicinal product research and development, and manufacturers of basic pharmaceutical products and of medical devices critical during a public health emergency. A provider or vendor in these categories should confirm whether its entity is in scope and how the rules were transposed in its Member State. For a Matrix service, review incident reporting duties and supplier security for the homeserver, bridges and hosting.
HIPAA Security Rule scope
45 CFR Part 164 Subpart C applies to covered entities, meaning health plans, health care clearinghouses and covered health care providers, and to their business associates, for all electronic protected health information they create, receive, maintain or transmit. A vendor that hosts or supports clinical chat for a covered entity is usually a business associate. Under 45 CFR 164.314, the business associate contract must require Security Rule compliance, flow the same terms down to subcontractors that handle ePHI, and require reporting of security incidents. Confirm your role before signing.
Certificates, assessments and HITRUST
GDPR requires no audit, attestation or certificate, and Article 42 certification is voluntary and does not reduce the controller's or processor's responsibility. HHS states that no HIPAA Security Rule standard requires certifying compliance and that private certifications do not prevent a later violation finding, so no HIPAA certificate exists. HITRUST CSF is an assessment framework, and a HITRUST certification reports on a defined scope and version, which is not a certificate of HIPAA compliance. Ask vendors for the assessment scope, CSF version, certification type and whether the homeserver and bridges are included.
Pending EU changes to verify
As of October 2026 the GDPR text has not been amended. The Omnibus IV proposal (procedure 2025/0130(COD)) has text agreed in negotiations on 26 June 2026 and awaits Parliament's first-reading vote, while the Digital Omnibus proposal (procedure 2025/0360(COD)) awaits a committee decision. Separately, Regulation (EU) 2025/327 on the European Health Data Space must be checked for applicability to your data flows and actors. Record the status of each item at your design review and re-check it before go-live.
What a business associate contract requires from a chat vendor
A US covered entity or business associate that uses a hosted or supported Matrix service needs a business associate contract with that vendor before electronic protected health information (ePHI) moves through the service. Under 45 CFR 164.314(a)(2)(i), the contract must require the business associate to comply with the Security Rule, flow the same terms down to any subcontractor that handles ePHI, and report security incidents to the covered entity, including breaches of unsecured PHI. These three elements are the floor set by the rule. Counsel will add liability, termination and other commercial terms around them, and a signed template does not show that the vendor's controls work.
The Security Rule is organized into 18 standards across administrative, physical and technical safeguards, with 36 implementation specifications. Of those specifications, 14 are required and 22 are addressable, meaning the entity must assess whether each one is reasonable and appropriate and then implement it or document an equivalent measure. For a Matrix deployment, the technical safeguards in 45 CFR 164.312 matter most, including unique user identification, emergency access procedures, automatic logoff and encryption. The contract should state which party configures each of these on the homeserver, the identity provider, the database, the media store and the backups. Ask the vendor to provide that mapping in writing before any ePHI is loaded.
Subcontractor flow-down needs particular attention in a Matrix service. A managed deployment may depend on a cloud host, a database operator, a backup provider, a Kubernetes platform, a support engineering firm and an identity provider. Each one that can create, receive, maintain or transmit ePHI must accept terms at least as protective as the vendor's own. Ask for the current subcontractor list, the vendor's process for notifying you before a change, and your right to object. Confirm where each subcontractor stores data and whether support staff outside the country can reach production logs or message content.
Self-hosting does not remove the contract requirement. An organization that runs Synapse in its own cloud account or data center still needs business associate terms with any vendor that installs, operates, patches, troubleshoots or upgrades the system, and with any vendor that can reach it, including through remote sessions, support bundles or logs attached to a ticket. Whether a software license on its own creates a business associate relationship is a question for counsel, and the answer depends on what the vendor can access in practice. Document each access path, such as VPN accounts, break-glass credentials and vendor-held administrator keys, because those paths define the contract's scope.
Before signature, have counsel review the contract and pair it with a responsibility matrix that names the party responsible for each Security Rule control and each incident step. For each row, confirm who detects the incident, who decides whether it is a breach of unsecured PHI, who notifies the covered entity and who pays for notification. The contract should reference the Security Rule as in force at signing and include a change clause, because HHS proposed a major Security Rule revision on 6 January 2025 and, as of October 2026, no final rule had been published. Ask the vendor for its incident response plan, and check that its notification timing is written into the agreement itself.
How a healthcare Matrix rollout is sequenced
The sequence settles the standards baseline, hosting, identity and federation decisions before any server is built, then moves through a tested homeserver, a controlled pilot and a documented rollout. Each phase closes with a written output that the next phase depends on. Effort in each phase follows the scope agreed in writing, and no duration is given here.
Confirm the standard and specification version with gematik
Start by confirming with gematik which TI-Messenger specification version applies to your project and which Matrix Client-Server, Server-Server and Push Gateway API versions it references. The TI-Messenger documentation references Matrix API version 1.17, but the version in force for your project must be confirmed in writing, along with any approval steps that apply to your deployment. Done when the specification version, the Messenger-Service components in scope and the open questions are recorded in the design record.
Decide hosting and data residency
Decide where the Messenger-Service runs and in which jurisdictions the homeserver, PostgreSQL database, media storage, backups and logs are hosted, and who administers each of them. This follows from the GDPR's controller and processor obligations, the transfer rules in Chapter V and any sector rules that apply to your organization. Output: a signed hosting decision, a data flow map, and a list of processors and their locations for the vendor and your counsel to confirm.
Design identity and federation policy
Define how users are identified and signed in, which identity provider is authoritative, and whether the homeserver federates at all. The server_name setting fixes how users and rooms are identified, so it should be settled before anyone is onboarded. Federation is limited to an explicit domain allow list, where an empty list disables federation, and the federation listener is firewalled as well. Output: an approved identity and federation policy reviewed by the security owner.
Build and test the homeserver and workers
Deploy Synapse or another homeserver implementation in the chosen environment, with PostgreSQL as the production database, and add worker processes with Redis only where load testing shows they are needed. Check the Python and PostgreSQL versions against the upgrade notes for the release in use, since current Synapse releases require PostgreSQL 14 or newer. Test sign-in, room creation, federation to a test domain and a full restore from backup. Output: a tested build record with pinned versions and a documented restore procedure.
Integrate identity and logging
Connect the chosen identity provider through OpenID Connect or SAML. Use Matrix Authentication Service for OIDC-based providers and a bridge such as Dex where the provider speaks SAML or LDAP, then confirm which protocol the chosen implementation supports before this step starts. Route audit, access and application logs to the organization's log platform. Test deprovisioning so that a departing user loses access to the homeserver. Output: a sign-in and logging test report with the evidence needed for access reviews.
Run a security review and threat testing
Review the configuration, network exposure, secrets handling, administrative access and media handling against your security baseline, then test the running system, including the federation listener, the admin API and client endpoints. Map findings to the HIPAA technical safeguards where US ePHI is in scope, including unique user identification and automatic logoff, and to the GDPR security of processing duty where EU personal data is involved. Output: a findings register with severity, owners and retest results.
Pilot with a limited care team
Run a pilot with a small, named group of clinicians and administrators whose work needs the service, with agreed rooms, contacts and escalation paths. Measure sign-in problems, message delivery issues, support load and any cases where staff try to move clinical communication outside the platform. Exit from the pilot requires the security owner and the clinical lead to sign off on the open findings. Output: a pilot report with decisions on each remaining gap.
Roll out with training and runbooks
Expand access in agreed waves, with training for clinicians, administrators and support staff, and runbooks for account lifecycle, incident response, backup restore, upgrades and federation changes. Confirm each upgrade against the upgrade notes for the target Synapse release, because rolling back can be difficult when database schemas change between releases. Output: a production readiness record, a trained operator roster, and runbooks tested by the team that will use them.
Keeping Synapse current once clinical use starts
A clinical Matrix service stays supportable only if upgrades are planned as a routine operating task rather than triggered by a problem. The Synapse upgrade notes set the first hard limits to check before any change. Synapse 1.143.0 and later require PostgreSQL 14 or newer, and 1.142.0 and later require Python 3.10 or newer. These floors apply to the database and runtime hosts, so the team should record the current versions of both, compare them with the release it intends to deploy, and treat any gap as a blocking item in the plan. Support for Python and PostgreSQL versions also ends when those versions reach upstream end of life, so the host baseline needs its own review schedule.
Set a release cadence that the clinical owner and the platform team both accept. Releases are published on the Synapse GitHub releases page, and the most recent entry in the supplied record is v1.163.0, published October 14, 2026. A newer release is not automatically a reason to deploy, but every release between your current version and the target has its own upgrade notes, and those notes must be read in sequence. Decide who reviews them, who approves a change window, and how far behind the current release the service may run. Confirm with gematik and your vendor whether the Messenger-Proxy and the homeserver in your TI-Messenger service must move together.
Every upgrade should run first in a staging environment that matches production in the parts that change behavior: the PostgreSQL version and data volume, the worker layout and Redis, the federation and server_name settings, and the SSO connections. Apply the upgrade, let background database updates finish, then test sign-in, message delivery, media upload, federation with the partners you depend on, and any bridges or calling features in use. Illustrative example: a staging run shows that a host still running an older Python build cannot start the new release. Finding that gap in staging, weeks before the production date, is far better than finding it during a clinical shift. Record each step so the production runbook matches what was actually tested.
Before each production upgrade, write a recovery plan backed by a database backup that has been restored successfully in a test, not just one that completed. The upgrade notes warn that rolling back can be difficult because of database schema changes between releases, so returning to the previous Synapse version may not be safe once the new schema has been applied. Take a PostgreSQL backup immediately before the change, define the point at which the team stops, restores from backup and names the people who make that call. Ask the vendor which restore steps apply to the target release, and keep a log of which versions run in which environments so that incident reviews and audits can reconstruct the system state.
Questions healthcare teams ask before a Matrix build
What drives the cost of a Matrix build for healthcare?
The written scope drives most of the cost. It has six main parts: the TI-Messenger service scope, the hosting model, identity integration, federation policy, compliance evidence and the support retainer. DeployOpen is paid for planning, build, integration, testing and handover work, and the quote follows from the agreed scope. Some costs are one-time, such as design, integration and migration work. Others recur, including the hosting you pay your provider for, licenses if you choose a commercial edition such as Element's Synapse Pro, and any retainer for upgrades and support. Ask for a quote that shows each part separately, with one-time and recurring items marked, so you can compare it with the effort your internal team would need.
Can our own engineers build a TI-Messenger deployment themselves?
Yes, if the team has the skills and capacity for the whole build, but the work spans several disciplines. Plan for engineers who can run Kubernetes or Linux hosts, PostgreSQL, Redis for Synapse workers, reverse proxies with TLS, and DNS. You also need an identity provider administrator, and someone who can read the gematik specification and the Matrix server documentation and turn them into test cases. Clinical workflow owners must approve changes. Capacity matters as much as skill, because Synapse releases regularly and each set of upgrade notes must be read before you deploy. Many teams keep ownership of operations and hand a partner only the parts they cannot staff. Confirm the specification version with gematik before you start.
How long does a healthcare Matrix project take?
The duration depends on the scope agreed in writing before work starts, and no fixed figure applies to every deployment. The main drivers are the number of environments, how many identity sources must connect, whether federation is limited to trusted domains, how much compliance evidence the project must produce, and how quickly your approvers and test users can respond. A project that reuses an existing identity provider and one hosting platform usually has fewer dependencies than one that connects several directories and external organizations. Ask for a timeline that lists each phase, the client inputs each phase depends on, and the acceptance tests that close it. Also confirm with gematik which specification milestones and approvals fall on your critical path.
What does our organization need to provide for a Matrix build?
Plan to provide identity directory access, clinical workflow owners, approvals and test users before the build starts. Identity access usually means service accounts or a supervised connection to the directory your staff sign in with, plus agreed attribute mapping that decides who can join which rooms. Workflow owners describe which conversations clinicians have, who may be contacted and what retention applies. Approvers sign off the federation policy, the hosting design and the test results. Test users from several roles, including staff who sign in from outside your network, are needed to check sign-in and messaging paths. You also provide hosting accounts, DNS, certificates, network paths and a named contact for changes. List each item in the written scope so no dependency surfaces during testing.
Is there a HIPAA or GDPR certificate for Matrix deployments?
No. There is no HIPAA certification. HHS states that no Security Rule standard requires an entity to certify compliance, and private certifications do not stop HHS from later finding a violation. The HHS Office for Civil Rights enforces the rule through complaints, compliance reviews and audits. The GDPR also requires no audit, attestation or certificate. Article 42 provides for voluntary certification, issued for at most three years by accredited bodies or supervisory authorities, and it does not reduce the controller's or processor's responsibility for compliance. DeployOpen prepares systems, controls and evidence for assessments but does not issue audit reports, attestations or certifications. If US covered entities or business associates are involved, review the business associate contract requirements in 45 CFR 164.314 with your legal team.
How should Synapse and MAS handle SAML and LDAP sign-in?
Matrix Authentication Service (MAS) authenticates users through upstream OpenID Connect providers, such as Keycloak, Microsoft Entra ID, Google or Authentik, and it does not support SAML. If your directory only speaks SAML or LDAP, plan a bridge such as Dex, which the MAS documentation recommends for those protocols. Synapse can also use OpenID Connect, SAML2 and CAS directly through its configuration, but choosing MAS moves authentication into a separate service, so decide the pattern before design is frozen. ESS includes LDAP and SCIM integration, which you should evaluate against your provisioning rules. Test deprovisioning explicitly, because a disabled account must lose access to the homeserver and to clients. Confirm the chosen identity path against the current MAS and ESS documentation with your identity team.
What usually goes wrong when operating a Synapse homeserver?
Most failures come from upgrades, identity settings and federation settings. Synapse upgrade notes warn that rolling back can be difficult because database schema changes between releases, so take a verified database backup before each upgrade and read every set of notes between your current version and the target. Synapse drops support for Python and PostgreSQL versions once they reach upstream end of life. Releases 1.142.0 and later require Python 3.10 or newer, and 1.143.0 and later require PostgreSQL 14 or newer. The server_name value fixes how user IDs and rooms are identified, so changing it later is a serious decision. Federation on port 8448, or delegation served from port 443, must match your DNS and firewall rules. Test each change in a staging environment before production.
How DeployOpen scopes and supports a healthcare Matrix implementation
DeployOpen plans, implements, hardens, documents and supports self-hosted Matrix homeservers inside the client's own infrastructure, including the cloud accounts, data centers or air-gapped networks where clinical messaging must run. For German healthcare, we scope the work around the TI-Messenger architecture, its Messenger-Service and Matrix homeserver, and the identity, federation and data protection decisions that sit around them.
How we scope
- The written scope names the homeserver implementation, the TI-Messenger components in play and the hosting environment before any build starts.
- Scope records which federation domains, if any, are permitted, and how server_name and delegation will identify users and rooms.
- Engagements are fixed-scope, so deliverables, responsibilities and timelines are agreed in writing before work begins.
- Ask the quote to separate the homeserver, identity integration, data migration and documentation into individually priced line items.
How we build
- We deploy Synapse with PostgreSQL in the database configuration your hosting model supports, and confirm version floors against the upgrade notes.
- Single sign-on is designed against your identity provider, using OpenID Connect or a Matrix Authentication Service pattern, with SAML requirements confirmed early.
- Federation is restricted to listed domains or disabled, and the federation listener is firewalled as the Synapse documentation recommends.
- Access logging, retention and erasure settings are configured and tested against the data protection requirements you have documented.
How we hand over
- You receive configuration, deployment code and runbooks covering the homeserver, database, Redis and any worker processes in use.
- Test evidence records functional checks, federation behavior, authentication flows and restore tests for the environment you operate.
- Operating procedures explain how to read each Synapse upgrade note, run background database updates and assess rollback limits.
- Knowledge transfer sessions cover administration, user lifecycle and incident handling with your own operations staff.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, scoped in writing like the original engagement.
- Upgrade work follows the Synapse upgrade notes release by release, including Python and PostgreSQL version floors.
- Support covers the TI-Messenger and Matrix components you run, and the evidence your assessors or supervisory authorities may request.
- DeployOpen prepares systems, controls and evidence for assessments but does not issue audit reports, attestations or certifications.

