EU Health Data API
1.0.0-ballot - ballot 150

EU Health Data API, published by HL7 Europe. This guide is not an authorized publication; it is the continuous build for version 1.0.0-ballot 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

Health Data Access Service

Overview

A Health Data Access Service (Art. 4) is provided by a Member State to natural persons or their representatives for accessing their health data. The service can be delivered as a web portal, an API, or other means. It authenticates the patient and accesses data from EHR systems on the patient's behalf. The infrastructure behind these services is country-specific — see Member State Architectures.

Scope

This IG defines the Interoperability Component API surface the access service uses when querying EHR systems. The access service itself — patient authentication (national eID, EU Digital Identity Wallet), consent management, and how queries are routed across EHR systems — is governed by Member State requirements and is out of scope here.

An alternative is for a patient to authenticate directly with a provider's EHR, for example using an existing portal account, and retrieve existing clinical data without an access service brokering the EHR queries. Where this involves interactive access to a FHIR API, the applicable SMART Patient Access flow is described in Authorization. The provider or Member State determines how patient consent preferences and access policy are applied; direct authentication or an API token alone does not establish consent or guarantee that preferences were enforced. This is an alternative deployment architecture, not a replacement for or preference over the access-service workflow above.

Participants

Workflow

  1. Patient authenticates to the access service (e.g., national eID, EU Digital Identity Wallet)
  2. Patient reviews and manages consent preferences within the service. The patient's preferences in the service are separate from the legal basis for processing under GDPR, which this IG does not define.
  3. Service queries EHR systems for the patient's documents and/or resources
  4. Service presents data to the patient

Authorization

The patient's identity and authorization are established at the access service. At the Interoperability Component API surface, the access service acts as the Health Data API Authorization Client, and the protected EHR endpoint acts as the Health Data API Resource Server. The Health Data API Authorization Server is a distinct participant.

For interactive access, the Authentication Service supplies user authentication and may be grouped with the Authorization Server or separately deployed. Portal sign-in alone does not authorize a downstream EHR request; see authentication and API authorization.

This use case spans deployment environments and does not select one flow for every EHR-facing hop. Use the environment mapping in Authorization:

  • For a MyHealth@EU hop, authorization remains outside this IG; deployment guidance recommends alignment with IHE IUA, as described in Authorization.
  • For a National Interoperability Infrastructure hop, IHE IUA is recommended when participants and the Authorization Server are preconfigured and user or patient claims are needed. When selected, the generic roles map to the IHE IUA Authorization Client, IHE IUA Resource Server, and IHE IUA Authorization Server; the deployment selects applicable transactions and MHD scopes. The client obtains a token with ITI-71 and presents it to the protected endpoint with ITI-72; any MHD transaction scope is limited to the supported interaction, as described in Authorization.
  • For a wellness application-to-HDAS hop, the interactive flow is SMART App Launch, and the client is a SMART App, the protected HDAS endpoint is a SMART FHIR Resource Server, and the SMART Authorization Server is distinct. This is SMART App Launch; an EHR Launch also involves a SMART Launching System.
  • For a separate Healthcare Provider hop, an interactive request uses SMART App Launch with a SMART App and the applicable SMART FHIR Resource Server and SMART Authorization Server roles. A server-side request uses a SMART Backend Service only under the Backend Services prerequisites below; the protected endpoint remains the SMART FHIR Resource Server and the SMART Authorization Server remains distinct.

For an interactive SMART hop, identify the target FHIR base and registered app, then use the endpoint's SMART discovery metadata, user's role, and launch context to select Patient or Clinician Access and Standalone or EHR Launch. Interactive access uses the SMART App Launch authorization-code flow with PKCE as described in Authorization. SMART Backend Services is a separate server-side flow whose prerequisites include pre-authorized access, asymmetric confidential-client authentication, and no runtime end-user authorization. The applicable SMART roles and requirements are described in Authorization. The specific environment and flow for each downstream hop remain deployment-dependent. Patient consent preferences and app-linking rules remain the responsibility of the access service or Member State infrastructure.

Art. 5: Insertion of Patient-Provided Data (Informative)

Article 5 gives patients the right to insert information into their own EHR through health data access services or applications linked to those services.

EHDS has not fully specified the expected data, service-linking model, review workflow, or transport path for Article 5 insertion.

Submitting Patient-Provided Documents

A Health Data Access Service may submit patient-provided priority-category data in EEHRxF format to an EHR system using the Document Publisher interactions defined in this IG (ITI-105), where the receiving EHR system supports the Document Submission Option.

To distinguish patient-provided data from clinician-authored data, resources may carry .meta.security tags and/or Provenance resources indicating the patient as the source.

Future Work: Resource-Level Patient-Provided Data

Patient-provided data extends beyond priority-category documents. For individual resources (observations, medications, etc.), we recommend future work follows an approach analogous to the FHIR CGM specification, modeling the needs of a specific use case and its interaction with care providers — for example:

  • Continuous glucose monitoring and other device-sourced observations
  • Patient-reported vitals/observations (fitness trackers, home monitoring)
  • Patient-reported medications and supplements