Why X-Road for healthcare data exchange starts with agreements between members
A provider, insurer or registry that must exchange patient, claims or registry data with other organizations under health privacy rules needs a shared way to prove who sent a message, who received it and under what authority. X-Road gives each member a common exchange layer built on certificates and agreements, and the data stays with the members who hold it. The hard work is governance and logging. Before any Security Server goes live, the ecosystem has to settle which organizations may exchange which data, who signs the agreements that make that permitted, and what the message log is allowed to keep about each exchange. Those decisions shape the platform more than the installation does, so they belong at the start of the project, before the first integration is built.
This page covers a sector ecosystem of several organizations, such as providers, insurers and registries, each running its own Security Server and connected through shared trust services and configuration. Governance is harder here than at a single site because no one organization controls every member. X-Road is open-source software published under the MIT license, so the software license is settled early. The decisions that remain are who joins, under which agreement, and which data each member may request from whom. Where a US covered entity or business associate is involved, the contract must require Security Rule compliance and incident reporting, as set out in the business associate rules at 45 CFR 164.314.
Start with a data flow inventory. For each exchange, record the sending and receiving organizations, the category of data, the legal basis your privacy counsel has confirmed, and whether the receiver needs a full record or a narrower answer. That inventory becomes the basis for the agreements, the service access rights and the message log settings covered in the sections that follow. Ask counsel to review the agreement template before the first member signs, and confirm each member's obligations for security incidents, log retention and subcontractors. Those obligations decide whether the exchange can be defended in a privacy review, and the software only enforces what the agreements allow.
Which health data requirements shape an X-Road build
This table sets out the health data requirements most often cited for an X-Road exchange and translates each one into a build decision. Read each row from left to right: the requirement, where it comes from, and what the team must configure, document or contract before go-live. The main takeaway is that X-Road supplies the exchange layer, but access control, logging, contracts and hosting decisions stay with the organizations that operate the build.
| Requirement | Source | What it means for the build |
|---|---|---|
| HIPAA Security Rule applicability (US) | 45 CFR 164.302: covered entities, health plans, clearinghouses and business associates | Scope by data: the rule follows ePHI wherever it is created, received, maintained or transmitted, so map which messages carry it. |
| 18 standards and 36 implementation specifications | Appendix A to Subpart C of 45 CFR Part 164: 14 required, 22 addressable | Map each administrative, physical and technical standard to a Security Server, Central Server or hosting control, and record how each addressable specification was decided. |
| Technical safeguards (45 CFR 164.312) | Appendix A to Subpart C: unique user identification and emergency access required; automatic logoff and encryption addressable | Use named admin accounts via PAM and LDAP, document a break-glass path, and set and record timeout and encryption choices. |
| Business associate contract terms | 45 CFR 164.314(a)(2)(i): Security Rule compliance, subcontractor flow-down, incident reporting | Contract every operator, host or implementer that can reach ePHI, flow the same terms to their subcontractors, and set incident reporting terms. |
| Access control for external access (GDPR Articles 32 and 34) | GDPR Articles 32 and 34; CNIL fine of EUR 500,000 on 3 September 2026, for a hospital patient record system | Expose only TCP 5500 and 5577 externally, put admin access behind MFA you confirm the stack supports, and limit each consumer to needed services. |
| NIS2 health sector (EU members) | Directive (EU) 2022/2555, Annex I: health listed as a sector of high criticality | Confirm whether each member is in scope under national transposition, then document risk management, incident handling and supplier controls for the exchange. |
How governance by agreement decides who can call what
In a sector ecosystem, the rules for who may call which service come from signed agreements and the operator's configuration. The X-Road components enforce what those documents already decided. The membership agreement between the ecosystem operator and each member sets who may join and on what conditions. The operator then publishes the shared configuration through the Central Server, so every Security Server trusts the same members, certificates and rules. Only after that does each member's Service Administrator grant access rights to individual services. Before go-live, trace every access right back to a clause in an agreement. Any right without a clause is a governance gap that the technical setup cannot close.
Each party signs different terms. The operator signs with every provider, insurer and registry, and those agreements must cover three topics that X-Road does not settle on its own: message handling, incident reporting and subcontractors. Message handling terms state what the message log records, how long it is kept, who may read message content and how records are destroyed. Incident reporting terms name the contact, the notification window and the party that informs regulators and affected patients. Subcontractor terms cover hosting providers or outsourced operators that run a member's Security Server, and they must pass the same obligations down. Where HIPAA applies, business associate contracts carry these requirements under 45 CFR 164.314, and counsel should confirm the wording for each party.
Access rights then narrow the agreements to the need to know. Each access right links a client member to a specific service offered by a provider, so an insurer's eligibility check should not automatically open a registry's full record set. For each service, the data owner should decide which members, which information systems and which purposes are allowed, and record that decision in the agreement schedule that the Service Administrator implements. Plan a review cadence that removes rights when a member leaves, when a contract ends or when a use case changes. As an illustrative case, a clinic employee asks for a registry lookup for a patient outside their care team. The right should be denied because the agreement does not cover that purpose. A recent CNIL decision against a French hospital found that access control ignored the care team's need to know, which is the gap this design must close.
Security Server settings and integrations that matter for health data
A Security Server holds the keys, database and access rules that decide what a health data exchange can reach. The six areas below are the settings a healthcare team should decide before go-live, each with the question to settle and the X-Road documentation to check it against.
PostgreSQL database placement
The Security Server requires PostgreSQL, either on the same host or as a remote service such as AWS RDS or Azure Database for PostgreSQL. Decide who owns the database and its backups, because recovery depends on it. Size the Security Server host for the minimum of 3 GB RAM (4 GB with monitoring add-ons) and 3 GB free disk. Confirm supported PostgreSQL versions and connection settings in the installation guide.
Installation guideHSM support through PKCS#11
X-Road can use hardware security modules through PKCS#11 drivers, with the xroad-addon-hwtokens package handling RSA and EC keys. Decide whether private keys sit in an HSM with its own access controls and audit trail. Check that your HSM vendor's PKCS#11 driver and key types match the RSA and EC support in the installation guide, and test key generation and signing on a staging Security Server before go-live.
Admin access through PAM and SSSD
Admin users authenticate through PAM, and SSSD can connect that to LDAP so that LDAP groups map to the five X-Road roles: Security Officer, Registration Officer, Service Administrator, System Administrator and Security Server Observer. Assign separate people to each role, so that one administrator does not hold every privilege. Map groups in your directory before go-live, and confirm the group mapping steps and any local fallback account in the user guide.
User guideNetwork ports for each zone
The Security Server accepts TCP 5500 for message exchange and TCP 5577 for OCSP from external networks. Internal networks reach TCP 4000 for the admin UI and TCP 8080 or 8443 for information system access. Restrict each port to its own network and document which internal systems may call the information system ports. Confirm the port list in the installation guide before you write firewall rules.
Hardening baseline before go-live
The X-Road hardening guide sets a baseline for accounts and hosts: passwords of at least 16 characters, lockout for 15 minutes after 3 failed logins, and key-only SSH. It also covers the allowed-hostnames setting against host header injection and publishing global configuration over HTTPS from version 7.4. Apply the baseline as a checklist and record each setting, so auditors can see what you chose. Check the guide version against the release you install, since the baseline is versioned.
Hardening guideTLS and service access rights
Each member's information systems sit behind its Security Server, so the TLS settings between the Security Server and each system, and the access rights that decide which members may call each service, define who sees health data. Grant access rights per service and per consumer, and retest after each change. Confirm TLS versions and certificate handling for each system with the information system and service documentation.
Rolling out X-Road for healthcare data exchange in stages
The sequence moves a healthcare exchange from signed agreements to live traffic in seven ordered steps, so legal terms, data handling and platform choices are settled before any production member connects. Each step names what your organization provides and the check that closes it, so you can use the sequence as a planning checklist.
Agree governance and membership terms
Your organization and each partner sign membership and data exchange agreements that set who may join, which services they may publish or consume, who approves changes and how security incidents are reported. Your legal and compliance team provides the policy requirements and the list of organizations that will exchange data. Where HIPAA applies, a business associate contract must contain the terms that 45 CFR 164.314 requires, so counsel should check each agreement against that section. The step closes when every participant has signed and the governance contacts are recorded.
Classify data and set logging rules
Your privacy, security and clinical leads list each data category that will move, mark which items are electronic protected health information and decide which fields must stay out of logs or be restricted. Those decisions set the message logging mode, log retention, who may read the audit log and where logs are stored. Confirm with legal counsel how long logs must be kept under your retention policy and which rules apply to each data flow, including flows that cross a national border. The step closes with a signed data classification register and a logging decision record that the security review can test against.
Choose the platform and release line
Decide which X-Road release line the ecosystem will run. The current release is 7.8.3, and 7.7.4 and 7.6.5 are also supported. X-Road 7.8.0, released at the beginning of February 2026, is the last new-feature release of the 7 line; NIIS intends to maintain it with bug fixes and security patches beyond 2026, but has not decided how long that period will be, so ask NIIS for its current position before you commit. X-Road 8 Spaceship is available as 8.0.0 Beta 2 for testing only, with production release scheduled for December 2026, so keep it in evaluation environments. The step closes with a written version decision that names the upgrade path you accept.
Build the environment and key services
Your infrastructure team builds the Security Server hosts on a supported platform: Ubuntu Server 22.04 or 24.04 LTS on x86-64, or Red Hat Enterprise Linux 8 or 9. Each host needs PostgreSQL, either local or remote, including managed services. If keys will sit in a hardware security module, install the PKCS#11 driver through the
xroad-addon-hwtokenspackage and confirm your module supports the RSA or EC keys you plan to use. Connect admin logins to your directory through PAM and SSSD so LDAP groups map to the five X-Road roles. Check the installation guide for the ports to open. The step closes when each host passes a connectivity check and the database, HSM and directory logins all work.Register members and test a first service
Register your Security Server with the ecosystem operator against a non-production member, using the registration process the operator defines. Your integration team publishes one service from a test information system, sets its access rights for the consumer and sends test requests from the consumer side. Check that the message reaches the provider, that the response returns and that the logs contain the entries your classification register requires. Test one failure case as well, such as a revoked access right or an unreachable provider, and record what the consumer sees. The step closes with a test record showing both the successful and the failed exchange.
Review security and record hardening evidence
Apply the X-Road security hardening guidance to every host. It recommends locking accounts for 15 minutes after 3 failed logins, passwords of at least 16 characters, key-only SSH and the allowed-hostnames setting against host header injection. Your security team, or an independent tester, checks the configuration, role separation in the admin interface, exposed ports and the handling of keys and backups. Keep configuration exports, scan output, test logs and a findings list with fixes and retests as evidence. There is no HIPAA certification, so this evidence supports your own assessment and any assessor you engage. The step closes when high-risk findings are fixed, retested and filed.
Go live with monitoring, backups and upgrades
Move the first production members onto the platform only after monitoring covers the Security Servers, the database and certificate expiry, and after a backup and restore test has succeeded for the database and key material. Your operations team owns the incident runbook, the on-call contacts and the escalation path to the ecosystem operator. Write the upgrade plan before go-live: it should name the release line you run, the trigger for moving to a later 7.x release and the decision point for X-Road 8 once its production release is available and the 7.x maintenance period is clarified. The step closes with a signed go-live approval and a dated runbook filed in your document system.
Compliance duties that apply to X-Road for healthcare data exchange
Healthcare exchanges rarely fall under one regime. The duties below depend on your role in the data flow, whether you hold or process ePHI, and whether you operate in the EU. DeployOpen prepares systems, controls and evidence for these reviews, but it does not issue audit reports, attestations or certifications; independent auditors and certification bodies do.
HIPAA Security Rule applicability
The Security Rule covers covered entities and their business associates for all electronic protected health information (ePHI) they create, receive, maintain or transmit. A provider, plan or clearinghouse exchanging records through X-Road is in scope, and so is any hosting vendor that stores its ePHI. There is no HIPAA certification: HHS says no standard requires certifying compliance, and the HHS Office for Civil Rights enforces through complaints, compliance reviews and audits. The Security Rule revision was proposed on 6 January 2025, and no final rule had been published as of October 2026.
HHS certification FAQCivil money penalties
HHS assesses civil money penalties per violation, using an inflation-adjusted table. For penalties assessed on or after 28 January 2026, the per-violation range and the calendar-year cap in 45 CFR 102.3 apply, and the cap equals the top of the per-violation range. Penalty exposure therefore depends on how many violations are counted, so keep records of each control gap, for example an unreviewed access right or a missing audit log, with its remediation date.
45 CFR 102.3 textBusiness associate contracts and partner access
A business associate contract under 45 CFR 164.314 must require the business associate to follow the Security Rule, flow the same terms to subcontractors that handle ePHI, and report security incidents, including breaches of unsecured PHI. Map every party that can reach ePHI during implementation, including test environments, managed database services and partner staff with Security Server admin roles. Confirm with counsel which parties need a contract, and get it signed before access is granted.
Section 164.314 textHITRUST as an assessment option
HITRUST is an optional third-party assessment. Nothing in the HIPAA Security Rule requires it, so ask whether your customers or payers need it before you scope one. Certifications last a fixed period: e1 and i1 certifications last one year and r2 certifications last two years. Confirm which CSF version your assessor will use, since v11.9.0 became available from 24 September 2026, and check that your X-Road evidence maps to that version's controls.
Assessment Handbook v1.1NIS2 and GDPR duties in the EU
NIS2 Annex I lists health as a sector of high criticality, covering healthcare providers and certain medical device manufacturers. The CNIL fined Hopital Prive de la Loire EUR 500,000 on 3 September 2026 under GDPR Articles 32 and 34, finding that external access to its patient record system lacked VPN and multi-factor authentication. Map your X-Road Security Server access paths against that finding. Track how Regulation (EU) 2025/327 on the European Health Data Space applies to your exchange.
EHDS regulation textWhat buyers ask before hiring a partner for X-Road for healthcare data exchange
What does an X-Road healthcare project cost, and who pays for each part?
The cost splits into one-time work and recurring work. X-Road is published under the MIT license, so the software itself carries no license fee, but hosting, managed databases and hardware security modules are separate costs to confirm.
- One-time: governance design, member agreements, legal review, the platform build, integration of each member's systems and initial security testing.
- Recurring: monitoring, upgrades, certificate renewal, periodic security testing and any support retainer.
The organization pays its partner for scoped work, its counsel for legal review, and its own staff time and infrastructure. The main drivers are the number of members, the number of services each member publishes and how many agreements need negotiation. Ask for a quote that separates these lines and states the member count it assumes.
How long does an X-Road healthcare data exchange take to deploy?
Duration depends mostly on how fast members agree on governance and how many systems must connect, so no single timeline applies to every healthcare exchange. Ask for a schedule with milestones tied to named members.
- Governance: membership rules, data sharing terms, roles and the message log approach.
- Legal review: counsel turnaround on agreements, which can run in parallel with technical work.
- Infrastructure: Linux hosts, PostgreSQL, any hardware security modules and firewall changes for the Security Server ports.
- Integration: each member's systems, their service descriptions and access rules.
- Release choice: X-Road 7.8.3 is the current release, and 7.8.0 is the last new-feature release of the 7.x line. X-Road 8 production is scheduled for December 2026, so confirm its status before choosing a release line. Check the X-Road releases page for current support.
What does our organization need to provide before a partner starts?
Before the build starts, the organization must name owners, engage counsel, provide IT staff, agree signed terms and classify the data each service will carry.
- Named owners: a business owner for the exchange, a technical owner for each member connection and a security owner who approves access rules.
- Counsel: review of member agreements and data sharing terms, started early because it sets the pace of the project.
- IT staff: Linux administration, network changes and the owners of each provider or register system to be connected.
- Signed agreements: executed or agreed drafts that state who may request which data and for what purpose.
- Data classification: a record of the data each service carries, which drives logging, encryption and retention choices.
Also name who approves production access and who receives alerts after go-live.
Can our internal IT team build X-Road for healthcare data exchange alone?
Yes, an internal team can build X-Road for healthcare data exchange, but the work spans several skill areas at once. The team needs Linux server administration, PostgreSQL, TLS and certificate concepts, firewall rules for the Security Server ports, integration of information systems and security hardening. Cross-organization governance is often the slowest part, and it needs people who can negotiate across organizations as well as engineers. An internal team keeps operating knowledge in house, but the first deployment carries learning time. A partner brings a documented build and test plan. DeployOpen plans, implements, hardens, documents and supports self-hosted platforms inside your own infrastructure. A small pilot with a few members is a practical way to decide which path fits.
Is X-Road HIPAA certified, and what does compliance look like?
No, there is no HIPAA certification, so neither X-Road nor any other product can be certified under HIPAA. HHS guidance 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 Office for Civil Rights enforces the rule through complaints, compliance reviews and audits. The Security Rule applies to covered entities and business associates for the electronic protected health information they handle, so compliance depends on how your organization configures and operates X-Road. Supporting features include PAM-based admin login with LDAP group mapping to X-Road roles and hardware security module support through PKCS#11. These features help, but they do not settle compliance. Ask counsel and a qualified assessor whether a framework assessment fits your needs. DeployOpen prepares systems, controls and evidence for compliance assessments but does not issue audit reports or certifications.
Does a partner working on our X-Road setup need a business associate agreement?
A partner needs a business associate contract when it creates, receives, maintains or transmits electronic protected health information on your behalf, and counsel should confirm whether each role meets that test. Under 45 CFR 164.314, the contract must require the business associate to comply with the Security Rule, flow the same terms down to subcontractors that handle that information and report security incidents, including breaches of unsecured PHI, to you. Drivers include whether the partner can reach production systems or message content, whether it sees logs containing identifiers, whether it works only in a lab with synthetic data and which subcontractors, such as cloud or database hosts, touch the data. Before engaging, ask the partner to describe its access in writing so counsel can match the contract to the actual role. The contract does not replace your own risk analysis.
How DeployOpen scopes and delivers an X-Road health data exchange
DeployOpen plans, implements and supports X-Road for healthcare data exchange inside the infrastructure your organization controls, including Security Servers and trust services. Work starts with a written scope that fixes governance by agreement, message log settings for sensitive data and access control before any component is installed. Your compliance and security teams get a system they can review, with documentation and handover, while independent auditors and certification bodies make any formal assessment.
How we scope
- Engagements are fixed-scope: the written scope names sector participants, member classes and systems to connect.
- Governance by agreement is written down: who operates the ecosystem, which parties join and what each agrees to exchange.
- Scope also settles message log mode for sensitive health data, access rights and hardware security module needs.
How we build
- Security Servers run on supported Linux hosts you control, with PostgreSQL, network ports and hardware security modules planned in advance.
- Hardening follows the X-Road security hardening guidelines, including account lockout, long passwords, key-only SSH and allowed-hostnames settings.
- Admin access maps LDAP groups through PAM to the five Security Server roles, each with a named owner.
How we hand over
- Documentation covers topology, certificates, message log settings, access rights and runbooks, recorded as the system was built.
- Your team receives configuration records and walkthroughs of backup, restore and upgrade steps for each Security Server.
- Evidence for compliance reviews is packaged for your auditors, who issue any attestation or certification.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- Upgrade planning tracks the 7.x release line, including 7.8.3 and NIIS statements on X-Road 7 maintenance.
- Continuous security testing checks the exchange, Security Server exposure and access rules after each change.

