Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

EEHRxF metadata from the Reference Model

The draft implementing act on the European electronic health record exchange format (EHDS Art. 15(1), Have your say initiative 17512, Ares(2026)10884928 of 2026-11-23, annexes) lists in its Annex III the metadata every exchanged document and every data group carries. Table 1 is the document metadata, Table 2 the data group metadata. FerroBRIDGE, the European interoperability software component of the EHR system, writes them in FHIR R4 from what FerroEHR returns over ITS-REST. FerroEHR implements no FHIR, so this page records only the openEHR side: for each element, where the Reference Model holds it, the ITS-REST call that returns it, and what FerroBRIDGE has to take from somewhere else.

The Reference Model is release 1.2.0 (RM specifications): the EHR and composition packages of the EHR Information Model, the change control and archetyped packages of the Common Information Model, and the entry classes. The calls are ITS-REST 1.1.0 (REST API).

Warning

The act is a draft open for feedback until 2026-12-21, and its tables can change before adoption. This page follows the draft text. A table that names an RM source shows where the data is; it does not show that an exchanged document meets the act, which no conformity assessment has examined.

The calls

Each row below names its call by letter.

CallRequestReturns
CGET {base}/ehr/{ehr_id}/composition/{uid_based_id}the COMPOSITION
VGET {base}/ehr/{ehr_id}/versioned_composition/{versioned_object_uid}/version/{version_uid}the ORIGINAL_VERSION: uid, commit_audit, lifecycle_state, attestations and the composition as data
HGET {base}/ehr/{ehr_id}/versioned_composition/{versioned_object_uid}/revision_historyone REVISION_HISTORY_ITEM per version, its commit audit first and each later ATTESTATION after it
SGET {base}/ehr/{ehr_id}/ehr_statusthe EHR_STATUS with its subject
EGET {base}/ehr/{ehr_id}the EHR with its system_id
PGET {base}/demographic/person/{uid_based_id}the PERSON a PARTY_REF names
QPOST {base}/query/aqlthe same VERSION attributes for many compositions in one query (VERSION paths)

A composition read also answers the version id in its ETag, so C alone gives the identifier and the version.

The elements

State says how much of the element the Reference Model holds:

  • Sourced: an RM attribute holds the element and an ITS-REST call returns it.
  • Partly sourced: an RM attribute holds part of it, or holds it only where the template or the deployment puts it there.
  • No RM source: no RM attribute holds it. FerroBRIDGE takes it from elsewhere, as the next section says.
ElementTableRM sourceCallState
subject1, 2EHR_STATUS.subject, a PARTY_SELF whose external_ref names the subject’s PERSON; on a data group ENTRY.subject, which is PARTY_SELF when the entry is about the EHR’s subjectS, PSourced
identifier1, 2the VERSIONED_OBJECT uid (HIER_OBJECT_ID) and the version’s uid (OBJECT_VERSION_ID); on a data group LOCATABLE.uid of the entry, where the writer set oneC, VSourced
version1, 2the version_tree_id part of ORIGINAL_VERSION.uid, {object_id}::{creating_system_id}::{version_tree_id}C, VSourced
author[x]1, 2COMPOSITION.composer; FerroEHR stores a person’s composer as a PARTY_IDENTIFIED whose external_ref names the PERSON (who is the committer). The organisation: EVENT_CONTEXT.health_care_facility, and the healthcare-provider identifier FerroEHR writes on a person’s commit_audit.committer. The device: FEEDER_AUDIT.originating_system_audit.system_id. On a data group ENTRY.provider and ENTRY.other_participationsC, V, PSourced
date1, 2ORIGINAL_VERSION.commit_audit.time_committed of the version servedV, QSourced
attestation (attester[x], dateTime)1, 2ORIGINAL_VERSION.attestations: each ATTESTATION’s committer and time_committed, with is_pending false for a completed oneV, H, QSourced
status1, 2ORIGINAL_VERSION.lifecycle_state (openEHR version lifecycle state: 532 complete, 553 incomplete, 523 deleted) with commit_audit.change_type (250 amendment). A data group’s status follows the binding of its own category, which the entry’s archetype holds where it has one (for example ACTION.ism_transition.current_state)V, QPartly sourced
language1, 2COMPOSITION.language (ISO 639-1) with COMPOSITION.territory (ISO 3166-1), which together form a BCP 47 tag such as nl-NL; on a data group ENTRY.languageCSourced
documentCategory1no RM attribute. COMPOSITION.category is the openEHR category (431 persistent, 433 event, 451 episodic), a different axis from the LOINC categoryCNo RM source
documentType1no RM attribute holds a LOINC document type. The template id, archetype_details.template_id, is the key to oneCNo RM source
documentTitle1COMPOSITION.nameCSourced
period1EVENT_CONTEXT.start_time and end_time. A persistent composition has no context, and the element, 0..1, is then absentCSourced
legalAuthentication (legalAuthenticator[x], dateTime)1no RM class of its own. The nearest is an ATTESTATION with reason 240 signed and is_pending false; which attestation counts as the legal one is the deployment’s rule, which the RM does not stateV, H, QPartly sourced
eventCategory1no RM attribute. The archetype ids of the content entries are the key to oneCNo RM source
serviceSpecialty1no RM attribute. EVENT_CONTEXT.setting is the openEHR care setting, a different axis from a SNOMED specialtyCNo RM source
custodian1EHR.system_id names the system that holds the record. The organisation in charge of it has no RM attribute; FerroEHR names the provider it acts for in the healthcare-provider identifier of a person’s commit_audit.committerE, VPartly sourced
clinicalEventTime[x]2on the entry: OBSERVATION.data (HISTORY.origin and each EVENT.time), ACTION.time. An EVALUATION, an INSTRUCTION or an ADMIN_ENTRY holds a clinical time only in an archetyped element, such as an onsetCPartly sourced
lastUpdate2commit_audit.time_committed of the newest version of the composition. The RM versions a composition whole, so a data group’s last update is that of its compositionH, QSourced

Ten of the eighteen elements are sourced, four partly and four have no RM source.

What FerroBRIDGE takes from elsewhere

  • documentCategory, documentType and eventCategory: from its mapping of the template, keyed by archetype_details.template_id for the document and by the content archetype ids for the event, with the LOINC, SNOMED GPS or DICOM codes the act binds. A template whose COMPOSITION.name carries a TERM_MAPPING to LOINC gives the document type in the composition itself.
  • serviceSpecialty: from the deployment’s configuration of the care units, or from an archetyped element in EVENT_CONTEXT.other_context where the template places one.
  • custodian: the healthcare provider that deploys the EHR system, from FerroBRIDGE’s configuration. FerroEHR’s [authz.party_binding] provider names the same organisation, but no ITS-REST call returns it except as the identifier on a person’s committer.
  • legalAuthentication: the rule of the jurisdiction that says which attestation authenticates a document legally. FerroBRIDGE applies it to the attestations call V returns.
  • A data group’s status and clinicalEventTime: from the entry’s archetype, per data group, as FerroBRIDGE’s mapping of that archetype says.

FerroBRIDGE’s own record of the Annex III mapping, from the openEHR composition to the FHIR Composition and DocumentReference, is FerroHEALTH/FerroBRIDGE#2080.