EU Health Data API
0.1.0 - ci-build
150
EU Health Data API, published by HL7 Europe. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/euridice-org/eu-health-data-api/ and changes regularly. See the Directory of published versions
This Implementation Guide addresses technical requirements from the European Health Data Space (EHDS) regulation, specifically focusing on the interoperability requirements placed on EHR systems.
The regulatory basis is primarily found in EHDS ANNEX II - Essential Requirements for EHR Systems (EUR-Lex, Local Copy), which describes an obligation for EHR systems to include an Interoperability Component that does the following:
Note that this IG does NOT create legal obligations on EHR Systems unless adopted by the European Commission.
This IG inherits and builds upon the work of the Xt-EHR Joint Action, which has created deliverables drafting the EHDS Implementing Acts. Specifically, we inherit the work done in Xt-EHR Work Package 5.1 which has mapped the EHDS text to more precise EHR requirements.
These requirements have also been adjusted to harmonize with Xt-EHR Work Packages 6 and 7, which define requirements for each priority category.
For more details on the Xt-EHR work, see the Xt-EHR Website. Note: Xt-EHR deliverables are not yet publicly released.
The EHDS regulation defines the interoperability component at a high level, but interoperability needs to be defined with technical precision in order for two systems to effectively achieve interoperability.
This table describes the bridge between the regulation text and precise and implementable specifications.
| Layer | EHDS Regulation | EHR Functional Requirements | Technical Specifications (You Are Here) |
|---|---|---|---|
| Description | Law. High-level description of interoperability goals. | EHDS Implementing acts. System roles and capabilities, requirements on EHR systems to achieve those goals |
Strictly defined interoperability technical rules. Implementable Guide describing use FHIR (or other) specifications. Basis of interoperability conformance |
| Level of Technical Detail | low | medium | high |
| Example | EHDS Annex § 2.1: The EHR system should provide access to data in the EEHRxF format | api-access-doc: The EHR system Interoperability Software Component SHALL offer an API that enables an external system (such as a consumer) to access and retrieve its priority category data, for categories where that data is modeled as a FHIR Document |
The api-access-doc requirement is met by the EHR System implementing the IHE MHD ITI-67 and ITI-68 transactions as the Document Responder actor. Example FHIR Query: GET [base]/DocumentReference?category=123 |
| Owner | European Commission | European Commission (drafted by Xt-EHR), Member States |
To be decided by the European Commission and Member States. SDOs (HL7 EU, IHE Europe) are proposing a draft with this Implementation Guide |
Legal authority flows from left to right on this diagram. Self-testing of an EHR system in the EHDS Digital Testing Environment is best enabled by the right-most technical specification layer.
The Xt-EHR Work Packages, notably WP 5.1, have drafted the middle layer: EHR Functional Requirements.
We inherit and evolve that work, focusing on the technical specification layer of these interoperability requirements, using off the shelf IHE and HL7 standards. The requirements themselves and how they are applied to EHR products are not defined in this IG. These are ultimately owned by the European Commission to be finalized in the EHDS Implementing Acts.
D5.1 defined 26 requirements across three categories (see Xt-EHR D5.1 Annex for complete list):
Xt-EHR Deliverable 5.1 interpreted 2.1 and 2.2 as two sides of a query-based architecture:
| Regulation | D5.1 Interpretation | IG Actor |
|---|---|---|
| §2.1 "provide interface enabling access" | Producer: Serve queries for EEHRxF data | Access Provider |
| §2.2 "be able to receive" | Consumer: Initiate queries and receive responses | Consumer |
This interpretation is grounded in the following rationale:
The Access Provider actors (Document Access Provider, Resource Access Provider) satisfy §2.1 by serving Document and Resource FHIR queries.
Alternatively, this IG proposes a path for EHR systems to delegate their §2.1 obligations to another system.
The EHR system implements the Document Publisher role, publishing data to an Access Provider that serves queries on its behalf.
This pathway addresses real-world deployment scenarios:
See Actors for complete definitions and Example Groupings for deployment illustrations.
The Consumer actors (Document Consumer, Resource Consumer) satisfy §2.2 by initiating Document and Resource queries to retrieve and receive data from Access Providers.
Systems that need to accept documents pushed from Publishers (e.g., national infrastructure, regional repositories, integration engines) may implement the Document Submission Option on the Document Access Provider actor. This is an additional capability for systems acting as aggregation points—it is not required to satisfy §2.2.
The following table maps each D5.1 interoperability requirement to its implementation in this IG:
Terminology note: D5.1 uses "Producer" to describe the system serving the query API. This IG uses "Access Provider" to make the API-serving role explicit and avoid confusion with content creation.
| D5.1 Req ID | D5.1 Normative Requirement | EHDS Basis | Actor | IG Section | Technical Spec |
|---|---|---|---|---|---|
api-provider-general |
The EHR system acting as a provider SHALL provide access to its priority category data by offering an API that complies to the EHDS API specification. | Annex II §2.1 | Access Provider | Document Access Provider, Resource Access Provider | This IG |
api-provider-authDiscovery |
The EHR system Interoperability Software Component SHALL enable discovery of its authorization server information to enable a consumer to retrieve authorization. | Annex II §1.4, Art. 36(3)(e) | Access Provider | Authorization - Discovery | SMART .well-known/smart-configuration, IHE IUA |
api-provider-authProvideToken |
The EHR system Interoperability Software Component SHALL support issuing authorization tokens to consumer EHR systems. | Annex II §1.4, Art. 36(3)(e) | Access Provider [1] | Get Access Token (ITI-71) | SMART Backend token endpoint, IHE IUA |
api-provider-authRequireToken |
The EHR system Interoperability Software Component SHALL require a valid authorization token from the Consumer EHR on Interoperability Component exchange. | Annex II §1.4, Art. 36(3)(e) | Access Provider | Incorporate Access Token (ITI-72) | Bearer token validation, IHE IUA |
api-provider-patient |
The EHR system Interoperability Software Component SHALL offer a patient lookup API. | Annex II §2.1 | Access Provider | Patient Demographics Supplier | PDQm ITI-78 |
api-provider-doc |
The EHR system Interoperability Software Component SHALL offer an API that enables an external system to access and retrieve its priority category data modelled as FHIR Documents. | Annex II §2.1 | Access Provider | Document Responder | MHD ITI-67, ITI-68 |
api-provider-resource |
The EHR system Interoperability Software Component SHALL offer search and read access via individual FHIR Resource API(s). | Annex II §2.1 | Access Provider | Clinical Data Source | IPA Server/QEDm |
[1] Note on Authorization Server: The EHR system may or may not be bundled with its own authorization server. See Authorization Server Deployment for details.
| D5.1 Req ID | D5.1 Normative Requirement | EHDS Basis | Actor | IG Section | Technical Spec |
|---|---|---|---|---|---|
api-consumer-general |
The EHR system Interoperability Software Component acting as a consumer SHALL consume external priority category data via an API conforming to the EHDS API specification. | Annex II §2.2 | Consumer | Document Consumer, Resource Consumer | This IG |
api-consumer-authObtainToken |
The EHR system Interoperability Software Component SHALL obtain an authorization token from the provider's designated authorization server. | Annex II §1.4, Art. 36(3)(e) | Consumer | Get Access Token (ITI-71) | SMART Backend client credentials grant, IHE IUA |
api-consumer-authPresentToken |
The EHR system Interoperability Software Component SHALL present a valid token to the Provider EHR on Interoperability Component Exchange. | Annex II §1.4, Art. 36(3)(e) | Consumer | Incorporate Access Token (ITI-72) | Bearer token in Authorization header |
api-consumer-patient |
The EHR system Interoperability Software Component SHALL support an external patient lookup query API. | Annex II §2.2 | Consumer | Patient Demographics Consumer | PDQm Consumer |
api-consumer-doc |
The EHR system Interoperability Software Component SHALL support an external document query API. | Annex II §2.2 | Consumer | Document Consumer | MHD Document Consumer |
api-consumer-resource |
The EHR system Interoperability Software Component SHALL support an external resource query API. | Annex II §2.2 | Consumer | Clinical Data Consumer | IPA Client/QEDm |
These requirements apply regardless of which pathway is used to provide or receive data. The content must be valid EEHRxF whether served directly by an Access Provider or published via ITI-105.
| D5.1 Req ID | D5.1 Normative Requirement | EHDS Basis | Actor | IG Section | Technical Spec |
|---|---|---|---|---|---|
api-producer-data |
The EHR system SHALL be capable of providing priority category data that conforms to the EEHRxF data format. | Annex II 2.1, 2.1, | Any system providing data | Priority Category Content Profiles | HL7 EU Content IGs |
api-consumer-data |
The EHR system SHALL be able to receive and handle data conforming to the EEHRxF data format. | Annex II §2.2 | Any system receiving data | Priority Category Content Profiles | HL7 EU Content IGs |
| D5.1 Req ID | D5.1 Normative Requirement | EHDS Basis | Actor | IG Section | Technical Spec |
|---|---|---|---|---|---|
api-encryption |
The EHR system Interoperability Component SHALL be capable of transport-encrypted data exchange. | Annex II §1.4, Art. 36(3)(e) | All | Transport Security | TLS 1.2+ |