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
A wellness application is software, or a combination of hardware and software, intended for use by a natural person to process electronic health data for information on a person's health or for the delivery of care for purposes other than the provision of healthcare (Art. 2(2)(ab)).
Under EHDS, wellness application interoperability is not a separate API defined by this IG. A wellness application may claim interoperability with an EHR system only when the relevant common specifications and Annex II requirements are met (Art. 47-48). Article 48 limits sharing or transmission of data from the wellness application to the patient's Article 5 right to insert information into their EHR, with patient consent and control over the categories and circumstances of sharing.
Article 5 allows patients to insert information into their EHR through electronic health data access services or applications linked to those services. This page describes how those linked-application access and insertion use cases can use the same Interoperability Component transactions defined elsewhere in this IG.
This page is informative about the exchange workflow. For interactive third-party app access, see the recommendation in Authorization. Patient identity, consent management, and eIDAS assurance remain deployment and Member State responsibilities; an access token does not replace them.
For each protected API hop, the consuming application has the Health Data API Authorization Client role, the protected endpoint has the Health Data API Resource Server role, and the Health Data API Authorization Server remains distinct. The selected SMART roles and flow depend on the hop described below.
For interactive access, the Authentication Service authenticates the user, potentially using a Wallet. It may be grouped with the Authorization Server or separately deployed under an agreed trust relationship. Logging into the Wellness Application does not authorize it to use an EHR API: the app must complete the selected API authorization flow, which may reuse trusted authentication or request another sign-in. Neither an EHR-hosted login page nor app-mediated identity-token exchange is required. The resulting API access token, not the Wallet presentation or an OIDC ID token, accompanies the protected request. See the Wallet example and optional groupings.
Before an interactive request, identify the target FHIR base, register the app as described in Authorization, and use its SMART discovery metadata. Select Patient or Clinician Access from the user's role and Standalone or EHR Launch from how the app is started; the applicable SMART App Launch authorization-code and PKCE requirements are defined in Authorization. Note that future versions of this spec may be extended to cover dynamic app registration.
EHDS does not specify whether the wellness application sends data through the health data access service or directly to an EHR system after linkage and authorization have been established.
The Wellness Applications section of Authorization owns the authorization requirements. The following mappings identify the flow and participants for each hop without adding separate conformance rules:
These flows use the generic Health Data API Authorization Client, Health Data API Authorization Server, and Health Data API Resource Server roles; the applicable SMART App or SMART Backend Service and SMART server roles provide the protocol-specific conformance details.
Article 5 gives patients the right to insert information into their own EHR through health data access services or applications linked to those services. Article 48 allows wellness applications that claim EHR interoperability to share or transmit wellness application data to an EHR system only for that Article 5 purpose and only with patient consent and category-level control.
EHDS has not fully specified the expected data, service-linking model, review workflow, or transport path for Article 5 insertion.
A wellness application may submit patient-provided priority-category data in EEHRxF format to an EHR system directly or through health data access service infrastructure 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.
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: