EHDS Primary Use and the European Electronic Health Record Exchange Format: A FHIR Data-Model Problem

The EHDS primary-use obligation is written as a portability right, but for the technology function it lands as a data-modelling problem: your local records have to leave the building in a format someone else’s system can read without a phone call.

Most of the EHDS commentary I read treats primary use as a patient-rights story — access, portability, cross-border care. That framing is accurate and useless to the person who has to build it. Underneath the rights language is a single hard requirement: when a patient’s record moves between systems or across a border, it has to be issued and accepted in a common format. That format is the European electronic health record exchange format, the EEHRxF, and the Commission’s chosen technical basis for it is HL7 FHIR. Retrofitting FHIR conformance across a legacy clinical estate is a multi-year mapping programme. It does not begin when the obligation bites; it begins now, or it is late.

What the regulation actually forces

Regulation (EU) 2025/327 entered into force on 26 March 2025. Article 14 names the priority categories of personal electronic health data — patient summaries, electronic prescriptions and dispensations, medical imaging studies and reports, medical test results, and discharge reports. Article 15 requires that these categories be issued and accepted in the European electronic health record exchange format, with the Commission to lay down that format through implementing acts by 26 March 2027.

Free · 4 minutes

When two of your systems disagree, do you know which one to believe?

Fourteen questions on ownership, lineage, and quality — the difference between a number on a dashboard and a number you could defend. Banded finding on screen, full sheet by email.

The application dates are phased. The first group — patient summaries and ePrescriptions/eDispensations — is expected to be exchangeable across Member States from around March 2029. The second group — medical images, laboratory results and discharge reports — follows roughly two years later. Treat those dates as the boundary you verify against the final implementing acts, not as a runway you can spend. The substantive point is unchanged either way: from 2029 your systems must emit and ingest a specific shape of data, and that shape is not the one your clinical estate speaks today.

This is the same class of problem as EHR certification, which I have treated separately in the real EHDS certification timeline. Certification asks whether the product conforms; the exchange format asks whether your data conforms. Both resolve to the model.

Why the format is a modelling problem, not a serialisation one

The instinct on hearing “common format” is to reach for a converter — a service that takes what you have and re-serialises it as FHIR on the way out. That instinct is where projects go quietly wrong. A converter can only emit what your source data actually contains, structured the way FHIR requires. The EEHRxF is not a wrapper; it is a set of logical information models with defined cardinalities, required elements and bound terminologies. The European models developed through the Xt-EHR work, and the FHIR implementation guides HL7 Europe published in late 2025, align the patient summary with the International Patient Summary and specify which fields must be present and how they must be coded.

Where your local record holds an allergy as a free-text note, the exchange format wants a coded substance, a clinical status and a verification status. Where you store a diagnosis as an internal integer keyed to a house code table, the format wants SNOMED CT. Where a lab result lives as a printed range, it wants a LOINC code, a value, a unit and a reference range as discrete elements. None of that is a serialisation task. It is a data-modelling task with a terminology-mapping task inside it, and the terminology part is the one that consumes the schedule.

The mapping, made concrete

Here is a single allergy row from a hypothetical local record, and the FHIR resource the exchange format expects in its place. The gap between the two columns is the whole programme in miniature.

// Local source row (proprietary schema)
// allergy_id=4471 | patient=P00921 | substance_text="penicillin"
// severity="H" | status="active" | recorded=2026-02-11

// Target: FHIR AllergyIntolerance, EEHRxF / IPS-aligned profile
{
  "resourceType": "AllergyIntolerance",
  "clinicalStatus": {
    "coding": [{
      "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
      "code": "active"          // mapped from status="active"
    }]
  },
  "verificationStatus": {
    "coding": [{
      "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification",
      "code": "confirmed"       // NOT in source: a modelling decision, not a copy
    }]
  },
  "code": {
    "coding": [{
      "system": "http://snomed.info/sct",
      "code": "373270004",      // Penicillin -- resolved from free text
      "display": "Penicillin"
    }],
    "text": "penicillin"         // original text retained for provenance
  },
  "patient": { "reference": "Patient/P00921" },
  "recordedDate": "2026-02-11"
  // severity="H" has no clean target here; it belongs on the
  // reaction, which the source row does not carry -- a data GAP,
  // not a mapping. Surface it; do not invent it.
}

Three things in that example decide whether the programme succeeds. The verification status is required by the target but absent from the source, so someone has to define the rule that supplies it. The substance had to be resolved from free text to a SNOMED CT concept, which at scale is a curation and validation exercise, not a lookup. And the severity had nowhere clean to go, because the source model never captured the reaction as a distinct thing — a genuine data gap you must expose rather than paper over. Multiply that by every category in Article 14 and every record in the estate, and the shape of the work is clear.

Where the schedule actually goes

The FHIR resources are the least of it. The time goes into terminology. Mapping a local code table to SNOMED CT or LOINC is not one-to-one; it is one-to-many, many-to-one, and frequently one-to-none, and every ambiguous case needs a clinician’s judgement recorded and defensible. It goes into validation: a resource that parses is not a resource that conforms, and you need FHIR validation running against the published profiles in continuous integration, not as a pre-go-live gate. It goes into the gaps the mapping exposes — the fields your systems never captured, which no transformation can conjure. This is the discipline I have described for structured reporting into ESAP: the format is the easy part; producing data that populates it truthfully is the programme.

It is also, underneath, a taxonomy problem — the same one I have written about in a legal setting, where the classification model decides everything downstream. If your internal code systems are inconsistent across departments, the mapping cannot be clean, because you are mapping from a moving target. Harmonising the source is prerequisite work, and it is invisible on a plan that only counts FHIR resources shipped.

What to do before 2027

Do not wait for the implementing acts to be final before you start; wait for them and you have lost two of the four years. The direction is fixed even where the detail is not: FHIR, the International Patient Summary alignment, SNOMED CT and LOINC as the coding backbone. Begin with a mapping assessment of one priority category — the patient summary is the obvious first — against the current HL7 Europe implementation guides. That single exercise tells you your terminology coverage, your structural gaps and your true velocity, and it is also the input you will need for the secondary-use obligations that run on the same underlying data.

The 2029 date is not when the work starts. It is when the excuse expires.

Free interactive tool

Website compliance checklist

What your site has to do, based on what it actually does

Answer as much or as little as you like — the list builds as you go. Nothing is stored against your name and no email is required.

Can you trust the architecture you have?

Architecture diagrams rarely show the reality of how systems actually operate. An independent review establishes what is really there.