Repository navigation
5.5.0
5.5.0 moves the server and the viewer onto the FerroHEALTH family's shared configuration, HTTP, telemetry, authorization and audit crates, and it carries breaking changes for every deployment, each with its upgrade step under Changed or Removed. Before you upgrade: name the configuration file with FERROEHR_CONFIG (or --config), since ./ferroehr.toml and /etc/ferroehr/ferroehr.toml are no longer searched; move the REST keys from [server] to [rest] and rename server.bind to server.listen; move [authz.rbac] role_claims and [authz.rbac.basic_roles] to [auth] role_claims and each [[auth.basic.users]] roles, and remove user_role; rename token_url to token_endpoint in the outbound OAuth tables; remove [audit.fhir_feed] batch_size, max_retries and [usage_report] slow_aql_ms; list a reverse proxy in [server] trusted_proxies; and give the viewer server.listen in place of LEPTOS_SITE_ADDR. The server refuses to start without a patient identity source for its EHR index unless [ehr_index] provider = "local" is set, ITI-81 audit retrieval requires a date parameter, and Template Data Document import is gone. Helm chart 20.0.0 carries appVersion 5.5.0. Security carries two advisories, GHSA-vphj-3f8c-5hpx and GHSA-cwhv-87pq-3c3c.
Added
-
The access record names the data permit a secondary-use caller acts
under (#3379). A caller declares the permit's identifier in the header
[audit] permit_headernames (defaultx-data-permit) beside its purpose
of use; every access record keeps it aspermit, so the trail says under
which permit a population query, an export or a cohort query ran (EHDS
Art. 68). A value that is not 1 to 128 characters of letters, digits and
._:/#-is recorded as absent. The column joins the tamper
chain as digest version 4 (audit migration 0016). The FHIR rendering
carries it too (#4120). -
AQL takes
VERSIONED_OBJECTas a FROM class (#3379), the shape of
FerroBRIDGE's OMOP batch query (EHR e CONTAINS VERSIONED_OBJECT vo CONTAINS VERSION v CONTAINS COMPOSITION c). The QUERY specification letsFROMname
any RM class (master03 §FROM), and FerroEHR refused this one. The variable
answersuid/valueandowner_id/id/value(RM common master06
§VERSIONED_OBJECT) and refuses any other path. The operand sets no version
scope of its own. -
The book records the secondary-use contract with FerroBRIDGE (#3379).
The new Secondary use page states the batch query FerroBRIDGE loads the
OMOP CDM from (time_committed > $since, ordered by the commit instant and
the version uid, paged byoffsetandfetch), the marks that take an EHR
out of a batch, the reconciliation that removes erased compositions, and
where pseudonymisation for research happens. An integration test holds the
batch to it. The compliance overview no longer names the withdrawn
secondary-use read model (#3160) as planned. -
The EHR index asks an IHE patient identity source over PIXm (ITI-83) by
default (#3380).[ehr_index] provider = "ihe"names a PIX Manager by its
FHIR base (pixm_url) and the clinical domain (assigning_authority, one of
privacy.subject_namespaces), with the client credentials grant of
[ehr_index.oauth](renewed once on a401) and the TLS material of
[ehr_index.tls](trust_roots_file,client_identity_file,
min_version). The client isihe-iti0.0.62's PIXm Consumer and sends only
what ITI-83 specifies, byPOSTunlessinvocation = "get", so any
conformant PIX Manager serves.has_ehr_for_subjectand
create_ehr_for_subjectask the source for the subject's pseudonym, and the
subjects of an EHR are the pseudonym itsEHR_STATUScarries; the source is
never asked to resolve a pseudonym back. The server reads the source's
CapabilityStatementat boot, and a source that fails a request is an
error: nothing falls back to the in-instance map. PDQm is not used (GDPR
Art. 5(1)(c)). -
The book states FerroEHR's contract as a federation node (#3383).
The new page "FerroEHR as a federation node" reads the openEHR Federation
Tier with AQL 1.0.0 from the node's side. It lists the endpoints a gateway
uses and resolution by the localehr_idalone. It gives the four
admission conditions of N42a and the configuration that meets them: a
uniquesystem_id, and an import under anehr_idthe node chose. It also
covers authentication by the deployment's own authorization server and the
refusals the node applies whatever the gateway did. It names FerroFED 0.0.13
as the release whose harness runs FerroEHR as its node. An integration test
moves an EHR between two nodes under a node-chosen id and finds every
version uid and itscreating_system_idunchanged. -
The FLAT builder builds an
INTERVAL_EVENTat an abstractEVENTnode
when the input names its width (#3898), on the 0.0.102 crate line. RM
data_structures §EVENT makesEVENTabstract overPOINT_EVENTand
INTERVAL_EVENT, and a/width,/math_functionor|sample_countunder
such a node (master05 §INTERVAL_EVENT) now chooses the interval; without
them the node still builds as aPOINT_EVENT. The flattener writes those
rows back for an interval event held at an abstract node. -
The audit store deletes each record at its own retention end
(#3899). Every record stores the first date it may be deleted on: an
access record the endehds-loggingstates for its categories and origins
(Regulation (EU) 2025/327 Annex II 3.4), any other record the day after
its date of access plus the[audit.store]horizon, and none for a record
kept without end. The reaper deletes a record on or after that date and
never before it, where it deleted by one store-wide horizon. Records
written before this release keep the horizon. The end joins the chain
digest (version 3), so moving one shows in the chain check. -
The viewer trusts a private CA for the CDR and the OIDC issuer on every
platform:[cdr.tls]and[auth.oidc.tls]taketrust_roots_file, a PEM
bundle trusted beside the platform's roots, withclient_identity
(_file) for mutual TLS andmin_version, read through
ferrohealth_server::tls_client. A file that cannot be read or holds no
certificate refuses the start. The Helm chart names the CDR's CA through
cdr.tls.trust_roots_filein place ofSSL_CERT_DIR, and
viewer.auth.oidc.caExistingSecretmounts an issuer CA; the UI journeys
pass the development Keycloak CA the same way (#3909). -
Opaque access tokens are checked by token introspection under
[auth] mode = "introspection"(#4033).ferrohealth-smart's introspection
check (RFC 7662) posts each bearer token to the issuer's introspection
endpoint, named by its metadata or by[auth.introspection] endpoint, and
authenticates as the client of[auth.introspection.client]or with the
token of[auth.introspection.bearer]. An active response admits the
caller with its scopes and roles and is reused until itsexp, an inactive
token is a401, and an endpoint that cannot answer is a503. The mode
and the table were refused at boot. Helm chart 15.1.0 names the mode. -
The ITI-81 audit retrieval applies every search parameter RESTful ATNA
§3.81.4.1.2.2 says the repository shall support (#4040):address,
agent.identifier,patient.identifier,entity.identifier,
entity-type,entity-role,source.identifier,type,subtypeand
outcome, besidepatient,agent,entityandaction. Several
comma-separated values match any of them, and a repeated parameter must
match too. Tokens take thecode,|codeandsystem|codeforms of FHIR
R4 Search §3.1.1.4.10. These parameters were a400not-supported. The
subject-scoped audit role still names exactly one subject, bypatientor
patient.identifier. -
The
openehr-*crates carry the APIs FerroBRIDGE kept local copies of
(#4047, #4048), on the 0.0.99 crate line. The FLAT builder takes a value
whole under|raw(Simplified Formats master04 §Raw canonical JSON) on
ROLE.performer(<root>/performer|raw, aPARTY_REF), on the COMPOSITION
language,territoryandcomposer, and on the_feeder_audit,
_link:i,_participation:i,_other_participation:i,_providerand
_health_care_facilityfamilies. Actx/key still wins over a path
spelling of the same attribute, and a raw value of the wrong class, or one
beside another suffix, is refused asInvalidRaw.openehr-amimplements
FromStrforArchetypeHrid(openehr_adl::hrid::parse_hridnow reads
through it),openehr-baseaddsTerminologyId::new(name, version_id),
andopenehr-termnames theaudit_change_typeand
version_lifecycle_stateconcepts (codes::AuditChangeType,
codes::VersionLifecycleState), held equal to the embedded terminology.
Until aferrohealth-smartrelease requires 0.0.99, the build holds a
registry copy ofopenehr-sdt0.0.98 for it beside the workspace 0.0.99. -
An ADL 2 Web Template names a node under a template overlay by its
parent archetype.openehr_adl::opt::create_optrecords each overlay's
specialisation parent in the OPT'sother_meta_data
(template_overlay_parents), and the ADL 2 builder uses the parent's id
for the node, its paths and its slot admissions, so data and mappings
written against the published archetype match. An ADL 2 header now quotes
a free metadata value that is not a bare token and reads a quoted one back (#4048). -
TEMPLATE_IDanswers its BASE 1.3.0 HRID functions (#4068), on the
0.0.104 crate line. SPECBASE-42 givesTEMPLATE_IDis_hrid,namespace,
qualified_rm_class_name,concept_id,version_idand the major, minor
and patch versions (BASE base_types master05 §Template Identifiers). An
identifier in the namespaced HRID form of the Artefact Identification
reference expression (master03 §Formal Model) yields its parts; a legacy
free-text template name stays valid and answersfalseand empty parts. -
openehr-itswrites an OPT 1.4, on the 0.0.105 crate line:
opt14_writer::buildandwriteassemble an operational template from a
template definition (the root archetype, the archetypes placed in its slots
or open attributes, and the occurrences, existences and attribute
constraints it narrows) and the AM 1.4 archetypes it names. Internal
references are inlined and deleted nodes removed (OPT2 raw flattening), a
slot filler is checked against the slot's assertions and type, a widening is
refused, and the output is byte-deterministic, valid against ITS-XML
Template.xsdand accepted by the template upload (#4083). -
The server runs the FerroHEALTH HTTP stack of
ferrohealth-server0.3.4,
and[server]is its section, the same keys in every FerroHEALTH product:
listen,base_path(a path every route is served under, the health routes
included; empty by default),request_timeout_ms(a request still running
is answered408),header_read_timeout_ms,body_limit_bytes,
drain_delay_msandshutdown_timeout_ms(onSIGTERMreadiness turns
503at once, the listener closes after the delay, and the requests in
flight get the bound to finish),max_concurrent_requestswith
retry_after_s,trusted_proxieswithforwarded_header, andcompression
withcompression_min_bytes.[server.caller_rate](requests_per_second,
burst) limits each authenticated caller.[server.tls]
(certificate_file,key_file,client_auth,client_ca_file,
min_version,reload_interval_s,healthcheck_identity_file) reads the
files again onSIGHUPtoo, and the management listener on its own port
drains with the main one under the same bound (#4087). -
[rest]holds the openEHR REST surface:base_path,swagger_ui,
cors_permissive,system_id,[rest.identity]andbody_limit_bytes,
the clinical body tier belowserver.body_limit_bytes, which the
template-upload and/messageroutes keep (#4087). -
ferroehr servenames the default command besideconfig checkand
healthcheck(#4087). -
The viewer serves the family's health routes and commands:
/health/liveness,/health/readinessand/health,ferroehr-viewer config check(reads the configuration and builds the CDR and issuer
clients without reaching either),--configand--set key=value, the
[server]table with listener TLS, and the bounded drain onSIGTERM
(server.drain_delay_ms,server.shutdown_timeout_ms).ferroehr-viewer
with no subcommand still serves (#4139). -
The OPT 1.4 writer clones nodes and narrows types, on the 0.0.106
crate line:opt14_writer::Narrowing::Clonecopies an archetype node that
may occur more than once under its own node id, told apart by aname
constraint and carrying its own narrowings and slot fills, and refuses a
clone of a node that occurs at most once, a name another copy carries, or
copies the attribute's cardinality cannot hold (AOM2 VSONCO, VACMCU,
VACMCO).Narrowing::Redefinenarrows an attribute's children to
conforming subtypes (aDV_TEXTvalue to aDV_CODED_TEXT) or drops
alternatives, keeping the archetype's other constraints, and refuses a type
that does not conform (AOM2 VSONCT). An attribute the template constrains
can also hold archetypes placed by a slot fill. The writer now rebuilds 143
of the 305 CKM operational templates to their upstream node tree, up from
67 (#4150). -
The OPT 1.4 writer refuses a redefined leaf constraint that admits a value
the archetype's does not, as AOM2 Phase 2 validation (VPOV) requires: a
string list or pattern, an integer or real list or range, a boolean, a date,
time, date/time or duration range, pattern or timezone validity, a code
phrase's terminology or code list, a quantity's property, units, magnitude
or precision, and an ordinal list. Each refusal is aWriteError::Widening
naming the archetype, the path and the constraint. The openehr crates move
to 0.0.107 (#4163). -
The Helm chart mounts a private issuer CA for the server:
auth.caExistingSecret(withauth.caExistingSecretKey,ca.crtby
default) mounts the Secret's PEM bundle and points the server's
[auth] ca_fileat it, asviewer.auth.oidc.caExistingSecretdoes for the
viewer. Chart 19.3.0 (#4235). -
The quickstart viewer signs in through the Keycloak overlay: with
--profile viewer, the viewer athttp://localhost:3000takes the
authorization-code flow with PKCE through the demo realm's
ferroehr-viewerclient and calls the server with the user's token. The
issuer moves tohttps://keycloak.localhost:8443, a name the containers
resolve through a network alias and a browser resolves to the loopback
address with no hosts entry, and the development certificate names it (#4243).
Changed
-
A server with no patient identity source refuses to start (#3380).
The binary's default[ehr_index]provider is the IHE one, and without
pixm_urlandassigning_authoritythe refusal names both choices:
configure the identity source, or opt in to the in-instance map with
[ehr_index] provider = "local", which serves the
GET /ehr?subject_id=…lookup overEHR_STATUScontent and nothing more.
Upgrade step: a deployment without an identity source adds
[ehr_index] provider = "local"(FERROEHR__EHR_INDEX__PROVIDER=local). -
The compose quickstart runs FerroPIX beside FerroEHR (#3380), pinned by
tag and digest, with its own PostgreSQL and a development OpenID Provider,
and points[ehr_index]at it; FerroPIX mints the pseudonym in
urn:oid:2.999.7.1on FerroEHR's first ask. The server now runs in the
issuer's network namespace, which publishes ports 8080, 8090
(FERROEHR_PIX_PORT) and 8180 (FERROEHR_ISSUER_PORT). -
Helm chart 19.0.0 takes FerroPIX as the chart dependency
ferropix
(#3380), on by default: the chart pointsconfig.ehr_indexat its Service,
adds the egress rule to its pods, and routes the grant's client secret
throughsecrets.ehrIndexClientSecret. A values file that names no identity
source is refused at render. Upgrade step: supply FerroPIX's
ferropix.database.existingSecret,ferropix.dataKey.existingSecret, its
issuer and pseudonymisation domain, andconfig.ehr_index, or set
ferropix.enabled: falsewithconfig.ehr_index.provider: local. -
The EHDS system documents live in the FerroHEALTH book, and each release
attaches them at a pinned revision (#3705). The EHR system Cadasto B.V.
declares is FerroEHR with FerroBRIDGE, so its information sheet (EHDS
Art. 38), instructions for use (Art. 30(1)(d)), readiness record and
technical documentation (Art. 37, Annex III) move to
https://ferrohealth.eu/docs/ehds/, and the old addresses in this book
redirect there.docs/ehds/system-documents.envpins the FerroHEALTH commit
and the revision of each page. The release lane fetches the two attached
pages at that commit, refuses a page whoseRevisedline differs from the
pin, and appends this release's facts under "This copy": the system version
(this FerroEHR release with the FerroBRIDGE release its chart runs beside),
the release date and the versions of the standards, read from
docs/VERSIONS.md(Art. 38(2)(b) and (e)). The release notes name the
pinned revisions, andrelease-notes.shrefuses notes that do not. -
Breaking: the XML readers of
openehr-itsrefuse a document outside
the schema (#3893), on the 0.0.103 crate line. A child element a type's
closedxs:sequencedoes not declare, or a child element inside a text
element, is refused withXmlError::UndeclaredChild(XML Schema 1.1 Part 1
§3.4.4.2) where it was skipped as if absent, andopt14::from_xmland the
AOM2 readers refuse a root other than the one the schema publishes
(<template>, ITS-XMLcomponents/AM/Release-1.4/Template.xsd) with
XmlError::UnexpectedRoot. One tool-written element no schema declares,
match_negatedon aC_ATTRIBUTE, is read whenfalseand refused when
true(XmlError::UnsupportedExtension): a negated match changes the
constraint, and no schema says how. A CDR upload of a template outside the
schema is now refused; the CNF Robotvalid_templates/validation/clinical_content_validation.opt
and two epSOS CKM templates are such documents (#4077, #4078). -
[auth] ca_fileis trusted under introspection mode too: with
ferrohealth-smart0.8.6 the server reads an introspecting issuer's
metadata, and calls its introspection and token endpoints, trusting the
bundle beside the platform roots and the grant's ownca_file. The e2e
compose overlay names the development Keycloak CA through
FERROEHR__AUTH__CA_FILEin place ofSSL_CERT_FILEandSSL_CERT_DIR(#3909). -
The shared crates move to their newest lockstep releases:
ferrohealth-smart0.7.3,
ferrohealth-authz0.1.3,ihe-atnaandehds-logging0.2.12 andferrobridge-term
0.1.138. Every secret in the[auth]section now renders as***, the family
mask, and[auth] ca_filenames a PEM bundle of extra certificate authorities
for the issuer's metadata and key set, for an issuer behind a private PKI (#3909). -
Breaking: the audit trail believes a forwarded client address only from a
trusted proxy (#4025). The source network address of an audit record
(client_ip, the DICOMNetworkAccessPointID, the FHIRAuditEvent
network) is the address the family server stack names: the connection's
peer, or the client a peer listed in[server] trusted_proxiesnames in
the[server] forwarded_header(RFC 7239 §8.1). FerroEHR read the first
X-Forwarded-Forhop from any caller, so a client could write any address
into the trail. A deployment behind a reverse proxy lists the proxy in
trusted_proxiesand setsforwarded_header = "x-forwarded-for"when the
proxy does not sendForwarded; until then its records name the proxy. -
FerroEHR moves to
ferrohealth-usage-report0.2.0 (#4025). The report
FerroEHR sends is unchanged. -
The CDR takes up
ferrohealth-smart0.6.0 andferrobridge-term
0.1.134 (#4026, #4027). Token checking, Basic users, the discovery
document and every outbound client credentials token behave as before.
The terminology client now
refuses, before sending, a code with no system on an STU3 server; the
CDR's server is R4B, so its binding checks are unchanged. The new
[auth] mode = "introspection"key of the shared section, and an
[auth.introspection]table, are refused at boot: this server checks
bearer tokens as JWTs only, and a setting it would ignore stops the start. -
Every secret and every masked URL renders through
ferrohealth-secret,
the family's one mask (en-route finding of #4028). EHR's own
config::secretmodule gives way toferrohealth-secret'sSecret,
SecretUrlandRedactedUrl. A secret still renders as***and a URL's
userinfo as***@, and a URL's query is now masked as?***too, in
ferroehr config check,GET /admin/config,/management/envand
ferroehr report.ferrohealth-smartmoves to 0.7.1 and
ferrohealth-authzto 0.1.1,ihe-atnaandehds-loggingto 0.2.11, and
ferrobridge-termto 0.1.137. -
Breaking: the outbound client credentials tables take the
ferrohealth-smartclient table, sotoken_urlis nowtoken_endpoint
(#4028).[terminology.server.oauth],[audit.fhir_feed.oauth]and
[authz.abac.remote.oauth]are the family's shared grant: the old key
token_urlstops startup by name, and each table gainsprivate_key_jwt
(RFC 7523), mutual TLS (tls_client_authand
self_signed_tls_client_auth, RFC 8705),ca_file,refresh_margin_msand
timeout_ms.issuer,client_id, the client secret,scope,audience
andresourcekeep their names. Upgrade: renametoken_urlto
token_endpointin each table (in the Helm chart, under
config.terminology.server.oauthand the other two), or
..._OAUTH__TOKEN_URLto..._OAUTH__TOKEN_ENDPOINTin the environment.
ferrohealth-smartmoves to 0.7.0 andihe-atnaandehds-loggingto
0.2.10, the FHIR Feed sends its bearer token throughihe-atna, and every
BALP AuditEvent'ssource.observercarries anidentifierbeside its
display. -
Breaking:
ihe-atna's forwarder delivers the audit trail, and
[audit.fhir_feed] batch_sizeandmax_retriesare gone (#4029). Syslog
frames are stored inihe-atna's spool and delivered from it with
backoff, retried until the repository takes them, so a failed send is no
longer lost. The local audit store keeps only the FHIR document, so the
spool, not the store, is syslog's outbox, anddelivered_syslog_atis no
longer written. New[audit.syslog]keys:spool_dir(a spool that
survives a restart; unset, it is held in memory),spool_max_messages,
spool_max_bytesandretry_max_ms. The FHIR Feed delivers from the store
through anihe-atnaoutbox, or with the store off from an in-memory
spool. A record the repository refuses is set aside until the next start,
and the records behind it flow on.retry_max_mstakes the place of
batch_sizeandmax_retries, which stop startup by name. A new
audit_deliveryhealth indicator reports each forwarder. Upgrade: remove
batch_sizeandmax_retriesfrom[audit.fhir_feed], and set
[audit.syslog] spool_dirto a directory only the server can read. -
Breaking: the ITI-81 audit retrieval (
GET /fhir/r4/AuditEvent) requires
adateparameter (#4030). The query is now read byihe-atna's
retrieve, the family's audit crate, and the answer written by it:
RESTful ATNA §3.81.4.1.2.1 has at least onedatepresent, so a query
without one is a400OperationOutcome. Adatevalue takes every FHIR
prefix (eqwhen none, sodate=2026-07-12is that whole day, read in
UTC),patient,agentandentityalso answer to their.identifier
forms,_count=0returns the total alone, and the Bundle carriesselfand
nextlinks. A parameter the local store cannot apply yet is a400
not-supportedwhere it was silently ignored. Upgrade: an API client, a
patient portal on the subject-scoped audit role included, adds a date
window to every retrieval (for exampledate=ge2026-07-01); the viewer's
audit page sends the last 30 days when no window is set.ihe-atnaand
ehds-loggingmove to 0.2.8. -
Breaking:
[authz.rbac] user_roleis retired (#4038 follow-up). It
named a role nothing required once a Basic user's roles became its
[[auth.basic.users]] roleslist. The key now stops startup by name and
points at that list. Upgrade: removeuser_role(on Helm chart 16.0.0,
config.authz.rbac.user_role), and give each Basic user the roles it needs,
for exampleroles = ["USER"]. -
Breaking: the caller's roles come from
ferrohealth-smart, so the two
role keys move to[auth], and the policy decision is
ferrohealth-authz0.1.0 (#4038).[authz.rbac] role_claimsis now
[auth] role_claims(same default,realm_access.rolesincluded), and
[authz.rbac.basic_roles]is now theroleslist of each
[[auth.basic.users]]entry; both old places stop startup by name. Roles
stay upper-cased, and a Basic user whose entry lists no role holds none,
where a user absent frombasic_rolesused to holduser_role.
[authz.assurance]and[authz.professional]keep their keys and are read
by the shared sections; the RFC 9470 step-up challenge on patient data no
longer carries anerror_description. The Cedar engine and the remote
decision point are the family's: the Cedar schema and the remote wire body
are unchanged, a remote resource kind with no policy is a500instead of
a403(boot validation already refuses that configuration), and
authz_cedar_decisionsandauthz_remote_pdp_callscount one per decision
where they counted one per attribute combination. Upgrade: move
role_claimsfrom[authz.rbac]to[auth]
(FERROEHR__AUTH__ROLE_CLAIMSin the environment), and each user's entry
of[authz.rbac.basic_roles]torolesunder its[[auth.basic.users]]
table (in the Helm chart, underconfig.auth.basic.users), and give a user
that had no entryroles = ["USER"]. Helm chart 15.0.0 takes the same keys
(config.auth.role_claims,rolesunderconfig.auth.basic.users, and
token_endpointin each grant).ferrobridge-termmoves to 0.1.136,
whoseSmartTokenreplaces the terminology client's own token adapter
(#4031). -
The
openehr-rmtests take the change-type and lifecycle-state codes
fromopenehr_term::codes(#4053), in the codegen templates of both
generations, so no literal code or rubric can drift from the embedded
terminology. -
SECURITY.mdrecords themainruleset as it stands (#4067): no
approving review, theconclusioncheck, the merge queue, and the
organization-admin bypass, with what a bypass merge skips (any lane still
running,ui-e2eincluded) and when it is used. The weekly external link
check leaves out gesetze-im-internet.de and dicom.nema.org, which refuse the
GitHub runner every week while answering by hand (#4074). -
The BASE, AM, TERM and LANG specifications are re-vendored (#4068,
#4069, #4070, #4071) at BASE93abaf9f, AM51aa07b2, TERMb2dd077dand
LANGe61a7192. The TERMlanguagescode set restorespt-pt, adds
ro-mdandru-md, and names the replacement of each deprecated code
(SPECTERM-36), so theopenehr-termcode-set lookup accepts the two new codes. The
BASEInterval.haspost-condition gains its brackets, which the
implementation already followed. AM's Archetype Identification document is
superseded by BASE Artefact Identification (SPECAM-103), and the citations
move with it. The nineopenehr-*crates step to 0.0.104. -
The bundled PostgreSQL image is rebuilt on the 2026-10-21 respin of
postgres:18.6(#4084,sha256:edb0c08d…), a same-version respin with
rebuilt base packages. The respin ships the fixed xz packages, so the
TEMP-1147318-639065statement leavessecurity/vex/postgres-os.openvex.json. -
Breaking: the server reads only the configuration file it is told to
read (#4087). The loader isferrohealth-config0.2.5, the FerroHEALTH
products' shared one, and it reads the file--configorFERROEHR_CONFIG
names../ferroehr.tomland/etc/ferroehr/ferroehr.tomlare no longer
searched: a deployment that mounts a file there without naming it starts on
the environment and the defaults alone. Set
FERROEHR_CONFIG=/etc/ferroehr/ferroehr.toml; the Compose files, the
conformance stacks and Helm chart 16.0.2 set it. The fallbacks keep their
order (the libpq variables,DATABASE_URL,DATABASE_URL_UNPOOLED,
RUST_LOG,PORT), andferroehr config checkprints each key beside the
source that set it. -
Breaking: the viewer reads only the configuration file
FERROEHR_VIEWER_CONFIGnames (#4087), through the same
ferrohealth-configloader as the CDR../ferroehr-viewer.tomland
/etc/ferroehr/viewer.tomlare no longer searched. A variable under
FERROEHR_VIEWER_that is neither an override nor the Compose port or image
parameter refuses the start, and a*_filesecret loses only its trailing
line ending, where all surrounding whitespace was trimmed; an empty file is
refused. -
Breaking:
[auth] role_claimsdefaults to["roles", "groups", "entitlements"](#4087), the RFC 9068 §2.2.3.1 carriers every
FerroHEALTH product reads.realm_access.rolesis no longer in the default:
a Keycloak issuer setsFERROEHR__AUTH__ROLE_CLAIMS=roles,groups,entitlements,realm_access.roles,
as the Keycloak Compose overlay and the viewer's journey stack now do. -
Breaking: the server no longer refuses a
FERROEHR_variable outside the
override form, and a file refusal says less (#4087). Only a
FERROEHR__<SECTION>__<KEY>override that names no key refuses the start.
A single-_spelling such asFERROEHR_DB_MAX_CONNECTIONS, or a
per-subsystem pointer such asFERROEHR_SIGNING_CONFIG, sets nothing and
is left alone, because the viewer'sFERROEHR_VIEWER_variables share the
prefix (ferrohealth-config0.2.5). A refusal of an unknown key in the file
names the key and the closest valid one, without its line number; a syntax
error still names its line and column. -
Breaking:
/health/readinessand/management/healthserve the
FerroHEALTH readiness document offerrohealth-health0.1.1 (#4087). The
body is{"state", "phase", "indicators": [{"name", "state", "detail"?}]}
with lowercase states (up,degraded,down), replacing{"status", "components"}; the public probe leaves out everydetail. Readiness also
answers503while the process boots and from the moment it receives
SIGTERMorSIGINT, before the listener stops. The optional indicators
(audit_sender,audit_delivery,audit_chain,events) read at worst
degraded, so a damaged audit chain now readsdegradedwhere it read
DOWN, and an indicator that is up carries no detail. The viewer's health
tab reads the same document. Probes that test only the status code are
unaffected. -
Breaking: logging, the request log and the OpenTelemetry export move to
the[telemetry]section offerrohealth-telemetry0.2.1 (#4087), the
FerroHEALTH products' shared one, with no aliases for the old keys.[log]
is gone:log.formatandlog.filterbecometelemetry.formatand
telemetry.filter(FERROEHR__TELEMETRY__FORMAT,
FERROEHR__TELEMETRY__FILTER,RUST_LOGstill a fallback), and the
filter now defaults toinfo,hyper=warn,tower=warn,h2=warnand refuses the
start when it does not parse. The export moves to a[telemetry.otlp]
table:otlp_endpointbecomesotlp.endpoint,traces_sample_ratio
becomesotlp.sample_ratio, andmetrics_pushbecomesotlp.metrics,
which defaults totrue, so a configured endpoint now receives the metrics
as well as the spans.telemetry.flame_filemoves to
management.flame_file.telemetry.service_nameis removed: the
service.nameis alwaysferroehr.telemetry.environmentno longer
defaults todevand is left off every span and metric unless set. A
file or variable that still spells an old key refuses the start, naming
it. Helm chart 17.0.0 renamesconfig.logtoconfig.telemetry. -
Breaking: the HTTP metrics are the
ferrohealth-telemetryrequest log's
(#4087).http_server_request_duration_secondsis labelled
http_request_method,http_route,http_response_status_codeand
url_scheme(OpenTelemetry HTTP semantic conventions); the
status_classlabel is gone, so a query onstatus_class="5xx"becomes
http_response_status_code=~"5..", as the bundled alert rules and Grafana
dashboard now read. Thehttp_server_active_requests,
http_server_request_body_sizeandhttp_server_response_body_size
series are removed, and no series on/management/prometheuscarries the
otel_scope_namelabel any more. The viewer's management page loses its in-flight
requests tile, and the dashboard's in-flight panel shows the request rate. -
Breaking: responses no longer carry
x-trace-id, and a client's
traceparentis no longer read (#4087). Every request starts a trace of
the server's own, so a caller cannot join or steer the server's traces;
correlate a request through itsx-request-id, which the request log
writes on every line. -
Breaking: the REST-surface keys move from
[server]to[rest]:
server.base_path,server.swagger_ui,server.cors_permissive,
server.system_idand[server.identity]arerest.base_path,
rest.swagger_ui,rest.cors_permissive,rest.system_idand
[rest.identity](FERROEHR__REST__…), with no alias; the old names are
refused at startup. Upgrade: rename the keys, and move a[server.identity]
table to[rest.identity](#4087). -
Breaking:
server.bindisserver.listen, an IP address and a port; a host
name such aslocalhost:8080refuses the start. It listens on
0.0.0.0:8080by default, as before. Upgrade: rename the key (#4087). -
Breaking: the request-body limit is
server.body_limit_bytes, 64 MiB by
default, the ceiling of every route and the limit of the template-upload and
/messageroutes, andrest.body_limit_bytes(unset by default) narrows the
other routes below it, where it was 16 MiB. The chart sets 16 MiB. Upgrade:
setrest.body_limit_bytes = 16777216to keep the old clinical limit (#4087). -
Breaking:
server.max_in_flightisserver.max_concurrent_requests, unset
(no bound) by default where it was 256, and the bound now covers every
FerroEHR route (the status document, SMART discovery and the management
surface included); only the health routes are never refused. Upgrade: set
max_concurrent_requests = 256to keep the old bound (#4087). -
Breaking:
[server.rate_limit]is[server.caller_rate]
(requests_per_second,burst) keyed on the authenticated subject, and
limits nobody until the table is set, where the principal tier was on by
default; the per-address tier is gone. The chart and the Compose quickstart
set 1024 per second with a burst of 2048. A429carriesRetry-Afterand
nox-ratelimit-*headers (#4087). -
Breaking:
[server.tls]takes the family keys: the table's presence turns
TLS on (enabledis gone),cert_fileiscertificate_file,
reload_interval_secsisreload_interval_s(unset by default, where the
files were read every 60 seconds;SIGHUPalways reads them), and
client_auth = "off"is"none". The chart'sconfig.server.tlsfollows,
and an empty table means TLS off (#4087). -
Breaking:
[server.connection]is[server] header_read_timeout_ms(30000
by default, where the bound was 10 seconds, and0is refused);
max_concurrent_streamsand the HTTP/2 keep-alive keys are gone (#4087). -
Breaking:
ferroehr healthcheckasksGET /health/readinesson the
server.listenport (over TLS with[server.tls]set) and exits 1 while the
server drains, where it asked{rest root}/status; the reason on stderr reads
healthcheck: unhealthy: ….GET /healthanswers the readiness status with
{"state": …}andGET /health/livenessanswers{"state":"up"}, where both
answered a plain-textOK(#4087). -
The request id is the server's own, minted for every request and carried by
the request log and the access record; a client'sX-Request-Idis returned
to it unchanged and no longer recorded. A request past
server.request_timeout_msor over the body limit, a refused caller and a
panicked handler answer the openEHR{ error, message }body, and the panic
message reaches neither the body nor the log. Responses are compressed at the
default gzip and Brotli quality, from 1 KiB up (#4087). -
The boot banner is the FerroHEALTH banner: the wordmark, the build line
ferroehr <version> (<commit>), and the facts (manufacturer, profile, pins,
support period, deployment) as one list, with the sandbox notice below (#4087). -
Chart 19.0.0:
config.servercarriesmax_concurrent_requestsand
caller_rate, andconfig.restthe REST surface; the rendered
ferroehr.tomlchanges accordingly (#4087). -
Breaking: the usage report is sent by
ferrohealth-usage-report0.1.2
(#4087), the FerroHEALTH products' shared reporter, on the same envelope v2.
Thestatusobject losesspec_profile, andpostgres_majoris left out
when the database does not answer. The daily metrics lose theaqlgroup
and theaql_executionsandaql_slowcounters, and gain the
responses_4xxcounter. Routes outside the API families (the health
family, the management surface, the status and discovery documents) are
counted in no group. A replica adds its counts to the shared window at its
own daily attempt instead of every five minutes, and a daily report that
does not reach the collector keeps its counts for the retry an hour later
where it dropped them. A failed or refused send is logged at WARN where it
was DEBUG, and the boot line takes the family's wording. The clinical
migration0018_usage_report_envelopedrops theslowcolumn and the
aqlrows and addsusage_report_counter. -
HTTP Basic credentials are cached for 300 seconds by default (#4088).
[auth.basic] cache_ttl_secondsdefaulted to0, so every Basic request
ran the Argon2id derivation, 10 to 15 ms of CPU, which capped the mixed
ITS-REST and AQL workload against a release build on one host at 408 op/s;
with the cache it reached 1559 op/s.ferrohealth-smart0.7.5 makes 300
the default. Only a credential that verified is kept, under a keyed hash
drawn at boot, and the cache empties at a restart. Set0to check every
request. FerroEHR takesferrohealth-smart0.7.5,ferrohealth-authz
0.1.5,ihe-atnaandehds-logging0.2.13 andferrobridge-term0.1.139.
Helm chart 16.0.1 states the new default. -
Three AQL shapes no longer read every composition (#4089, #4090),
measured against a release build on one host holding about 51 000
compositions. A population query ordered byc/context/start_time/value
with a smallfetchreads the compositions in start-time order from a new
index and stops at the limit: 169 ms became 7 ms at p50. A
c/archetype_details/template_id/valuepredicate on aCOMPOSITIONreads
the indexed template id of the version: 142 ms became 2 ms for a template
nothing matches, and 29 ms became 11 ms for one of thirteen templates. A
COMPOSITION,EHR_STATUSorEHR_ACCESSroot is bound at its root row,
so a containment withORprobes one row per version where it read every
node of it. Clinical migration 0017 adds the index and the planner
statistics, and analyzes the node table once. -
The scheduled audit chain check verifies the records written since the
last intact link (#4100).audit.verify_audit_chain_incremental()
recomputes only the records after the checkpoint it keeps in
audit.audit_chain_checkpoint, checks the chain head, and moves the
checkpoint when it finds nothing: on 428,000 records a full pass took
about 35 s, a run over the last 1,000 records 76 ms and one with nothing
new 2 ms. A full pass runs every[audit.store] full_verify_interval_seconds(new, default one week,0for on demand
only) and after any run that found damage, andSELECT * FROM audit.verify_audit_chain()stays the full pass on demand. With the
cheaper run,verify_interval_secondsdefaults to one hour, where it was
one day. The chain digest is unchanged. -
The FHIR Feed owes only the records written while it is configured
(#4102). A record waiting for delivery is a row in
audit.fhir_feed_outbox, which the store writes with the record while
[audit.fhir_feed]is on and delivery removes. The two partial indexes
over the unset delivery stamps, which held every record of a deployment
without a sink (about 4.8 MB each at 428,000 records), are dropped; the
syslog one served no query, since syslog delivers from its own spool.
Records stored before this release and never delivered ship once a feed
first runs. -
The FHIR
AuditEventcarries the data permit (#4120). The stored
record, the ITI-81 retrieval and the ATX: FHIR Feed write the permit a
caller declared in[audit] permit_headeratagent.policyof the user
agent, after the token'sjti(FHIR R4AuditEvent.agent.policy), on an
access record and on every other record. The DICOM audit message over
syslog has no element for a policy (DICOM PS3.15 A.5.1.1), so it carries
none. -
The per-EHR access record of an Extract export or import carries the
declared purpose and data permit (#4120), taken from the request as the
other service-layer access records take them, so the subject-scoped ITI-81
retrieval answers an export ofGET /message/export/{ehr_id}with its
permit. -
FerroEHR's own
[server]defaults again (#4120): with nolistenand
nobody_limit_bytesin the file or the environment, the server listens on
0.0.0.0:8080and reads bodies up to 64 MiB, and a partial[server]table
keeps both for the keys it does not name (ferrohealth-config0.2.6
Loader::defaults). The container image no longer setsPORT=8080, and
the quickstart Compose file, the dev configuration and chart 19.0.1 no
longer write the two keys. Upgrade: a bare binary that must stay on the
loopback setslisten = "127.0.0.1:8080". -
The shared crates move to their newest releases (#4120):
ferrohealth-smart0.8.3,ferrohealth-authz0.2.2,ihe-atnaand
ehds-logging0.3.1,ihe-iti0.0.65,ferrobridge-term0.1.140,
ferrohealth-server0.3.5 andferrohealth-config0.2.6. -
A pull request records its changelog entry as a fragment under
changelog.d/and no longer editsCHANGELOG.md(#4123). The fragment is
changelog.d/<issue>-<kebab-slug>.<section>.md, in the format
changelog.d/README.mdgives, and the release cut assembles the fragments
into the new version's section withscripts/release/changelog.sh --assemble.
Thechangelog-guardjob refuses a malformed fragment and a pull request that
writes under[Unreleased], so two open pull requests no longer conflict on
the changelog. -
The chart pins the FerroPIX release beside its digest.
ferropix.image.tag(0.0.7) states the release whose image
ferropix.image.digestpins, andscripts/checks/chart-appversion.shnow
holds the tag in the chart's Artifact Hub images entry to it, as it holds
the digest. The dependency chart still deploys the digest, so the rendered
manifests do not change (#4131). -
Breaking: the viewer listens on
server.listen, notLEPTOS_SITE_ADDR.
The viewer reads the family's[server]table fromferrohealth-server
0.3.5, defaulting to127.0.0.1:3000(the image sets0.0.0.0:3000through
FERROEHR_VIEWER__SERVER__LISTEN). ALEPTOS_SITE_ADDRthat names another
address refuses the start and names the key that replaced it; unset it.
server.base_pathandserver.caller_rateare refused, since the viewer's
pages are served at/and it mounts no per-caller limit (#4139). -
Breaking:
ferroehr-viewer healthcheckasks/health/readinessover the
loopback (over TLS whenserver.tlsis set) and exits0only on200,
where it asked/loginatLEPTOS_SITE_ADDRand took any2xxor3xx. A
draining viewer is now unhealthy. The Helm chart's viewer probes ask
/health/livenessand/health/readiness, where all three asked/(#4139). -
Breaking: the viewer's browser security headers are the family console's.
Referrer-Policyisno-referrer(wasstrict-origin-when-cross-origin),
Cross-Origin-Opener-Policy: same-originis new, and the content-hashed
bundle under/pkg/isCache-Control: no-cache, revalidated on each load,
where it waspublic, max-age=31536000, immutable. Every document stays
no-storeunder the nonce Content-Security-Policy (#4139). -
Breaking: every request to the viewer that is not a safe method passes the
family same-origin check, server function calls and the result export
included, where only page form posts comparedOriginwithHost. The
browser'sSec-Fetch-Site: same-originpasses; without itOriginor
Referermust nameauth.oidc.public_base_url, and a request that shows
neither is refused403. A post without a session now returns to the page
it was posted to after the sign-in, rather than to the page itsReferer
named (#4139). -
Breaking: the viewer's CDR and OIDC clients speak TLS 1.3 at least by
default, as every family client does;cdr.tls.min_versionand
auth.oidc.tls.min_versionset to"1.2"lower it. A request now runs under
the stack'sserver.request_timeout_ms(60 s) andserver.body_limit_bytes
(16 MiB), and a form post's ceiling is that limit (#4139). -
The viewer hydrates the whole page on FerroUI 0.5: the server draws the
first page and the browser draws every page after it, so a link or a
filter no longer reloads the document, and the browser's back and forward
walk the pages it drew. The pages load their code in six groups as they
are first opened. Every page still works with no WebAssembly, and a post
still answers with the page it was posted to (#4147). -
The book and the architecture no longer claim the openEHR Service Model as
the design of the service layer (#4211). The service layer is FerroEHR's
own design, judged by what goes in and comes out (BASE, RM, AM, TERM,
QUERY/AQL, ITS-REST, ITS-JSON, ITS-XML and the serialisation formats); the
vendored SM text stays as reference only. No behaviour changes. -
Breaking: the viewer logs through the family's
[telemetry]section of
ferrohealth-telemetry0.2.2, as the CDR does (#4214). The console writes
to stdout where it wrote to stderr, andtelemetry.formatdefaults to
auto, which rendersjsonwhen stdout is not a terminal, so a container's
log is now JSON lines; setFERROEHR_VIEWER__TELEMETRY__FORMAT=prettyfor
the old human lines.RUST_LOGis now the lower-priority fallback of
telemetry.filter(FERROEHR_VIEWER__TELEMETRY__FILTERwins over it), the
filter defaults toinfo,hyper=warn,tower=warn,h2=warnwhere it wasinfo,
and a filter that does not parse refuses the start where it fell back to
info. Each request writes the CDR's request line (method, matched route,
status, latency, request id), and a panic writes the CDR's one fixed line
without the panic message.[telemetry.otlp]exports the viewer's spans and
itshttp.server.request.durationmetric asservice.name
ferroehr-viewer. Helm chart 19.2.0 sets the viewer's format and filter
fromviewer.telemetry, and the Compose viewer services set
FERROEHR_VIEWER__TELEMETRY__FORMAT. -
The viewer takes FerroUI 0.5.4: its skip link keeps the browser's own
fragment navigation under hydration, so the viewer no longer patches the
link after the page hydrates, and a code editor's key costs the edit, not
the length of the text (#4227). -
The quickstart Keycloak overlay names its development CA through
[auth] ca_file:docker-compose.keycloak.ymlsets
FERROEHR__AUTH__CA_FILEin place ofSSL_CERT_FILEandSSL_CERT_DIR,
which only the Linux platform verifier reads (#4236). -
The development and quickstart Keycloak moves to 26.8.1, and its realms
form a complete OIDC example: both compose files pin
quay.io/keycloak/keycloak:26.8.1by digest, held together by
scripts/checks/compose-image-tags.shand watched weekly by the base-image
watcher. In both realms the authorization-code flow requires PKCE (S256)
and accepts only the viewer origins on port 3000 as redirect targets (the
quickstart realm accepted any), and a service account holdingUSERlets a
client-credentials token reach the clinical API (#4240). -
The hosted sandbox (sandbox.ferroehr.eu) resolves patients through FerroPIX
0.0.10, the FerroHEALTH patient identity source, as the compose quickstart
does: FerroPIX runs beside the CDR on loopback with its database on the
database box, eachEHR_STATUSnames its patient by the pseudonym FerroPIX
minted in the clinical domainurn:oid:2.999.7.1, andPOST /query/cohort
takessubjectsin the synthetic hospital domainurn:oid:2.999.1.1. The
nightly reseed registers the demo patients with FerroPIX through the deploy
script's newidentitiesverb before it seeds, so after a reset the CDR's
EHRs and FerroPIX's identities agree. FerroTERM moves from 0.1.6 to 0.3.1
on the same index layout, the viewer's memory limit from 1536m to 1024m, and
deploy/hosted/sandbox-ferropix-rollout.shcarries the operator steps on
both boxes (#4242). -
Breaking: the quickstart Keycloak realm gives the viewer and a backend
service their own clients:ferroehr-viewer
(ferroehr-viewer-quickstart-secret) takes the authorization-code flow with
PKCE and the password grant, andferroehr-service
(ferroehr-service-quickstart-secret) takes only the client-credentials
grant, with thesystem/SMART on openEHR scopes and aclient_idclaim. Both
putferroehrinaud. The singleferroehrclient and its
ferroehr-quickstart-secretare gone, so a script that fetched a token with
them moves toferroehr-viewer. The overlay namesferroehr-servicein
[smart] backend_clients, so itssystem/aql-*grant runs AQL. The dev realm
makes the same split and drops the unused Keycloak Authorization Services, and
scripts/ui-e2e.shkeeps its scratch files undertarget/ui-e2e/(#4245). -
The Helm chart's
usageReport.enabledreaches the other products it
runs: FerroTERM (FERROTERM__USAGE_REPORT__ENABLED) and a FerroBRIDGE
release from 0.0.7 on ([usage_report]) follow it, each overridable with
terminology.usageReport.enabledorbridge.usageReport.enabled. The
FerroPIX dependency chart reads onlyferropix.usageReport.enabled, so the
chart now refuses to renderusageReport.enabled=falsewhile that stays
true: a release you switched off sent FerroPIX's report regardless. Upgrading
a release that setsusageReport.enabled=falsewith FerroPIX on takes
--set ferropix.usageReport.enabled=falseas well. Chart 20.0.0 (#4270).
Removed
-
FerroEHR holds no identity logic (#3380):
link_as_subject, the
server-side subject pseudonym (mint_subject_pseudonym), the party merge
and split, andresolve_ehr_for_identity, the national-identifier-to-EHR
crossing, are gone. Matching, cross-referencing identifier domains and
minting pseudonyms belong to the identity source. -
Breaking:
ferroehr config defaultis gone with no alias; the annotated
template isapp/ferroehr/assets/ferroehr.default.tomlin the repository.
ferroehr healthcheck --urlandFERROEHR_HEALTHCHECK_URLare gone too: the
probe followsserver.listenandserver.base_path. Upgrade: copy the
template from the repository, and probe another URL with an HTTP client of
your own (#4087). -
Breaking:
[usage_report] slow_aql_msis removed (#4087), with the AQL
series it set the threshold of. A file or variable that still sets it
refuses the start; remove the key.state_dir, the shared section's
directory for the instance id, is refused: FerroEHR keeps the instance id
and the counts in the clinical database. The endpoint is now refused when
the configuration is read, with the same rule (https, orhttpto a
loopback host, never with credentials). -
Breaking: Template Data Document (TDD) import is removed (#4199).
POST /message/tdd/{ehr_id}andPOST /message/tdd/{ehr_id}/batchare gone and answer404, with the service behind them, themessage-tddextension and theTdscapability in the conformance statement. TDD and the Template Data Schema (TDS) come from the template tooling of the ADL 1.4 era and are no current openEHR format; send the composition as canonical JSON or XML, or as FLAT or STRUCTURED against its Web Template. The/messagegroup keeps the four EHR Extract routes, andserver.body_limit_bytesnow covers template upload and/message/importalone. -
Breaking:
openehr-sdtdrops theflat::tddmodule (#4199):from_tdd,from_tdd_withandTDD_TEMPLATE_NSare removed, with theFlatError::TddXml,FlatError::TddAttributeandFlatError::TddElementvariants and the crate'squick-xmldependency. The openEHR crates move to 0.0.109 together. -
Breaking:
openehr-sdt0.0.111 no longer carriessmart_scopes. The
SMART on openEHR scope grammar moved, with its API and tests, to
ferrohealth-smart0.8.5 asferrohealth_smart::openehr::smart_scopes, so
a consumer ofopenehr_sdt::smart_scopesnames that path. FerroEHR pins
ferrohealth-smart0.8.5, its scope gate and the viewer's scope previewer
(both halves) parse with it, and the build resolves oneopenehr-sdt.
Token checking and the scopes a token grants behave as before (#4206).
Fixed
-
A Cedar policy's
principal.patientis the caller's patient claim
([authz.abac] patient_claim) (#4038). It was the patient of the object in
play, so a rule such asprincipal.patient == resource.patientin the shipped
consent.cedarheld for every object a query touched. -
The agent guard refuses wrapped and re-ordered spellings of a force push
or a recursive delete (#4046)..claude/hooks/block_dangerous.shlet
throughgit -C . push --force … main,/usr/bin/git push,\rm -rf,
rm --recursive --force,bash -c "rm -rf …",find … -deleteand similar.
It now normalises the command first (a path or backslash before the binary,
a launcher such asenvorsudo, ash -corevalwrapper, git's global
options before the verb), judges everyrmtarget and every deletingfind
starting point against/tmp, and refuses a push that deletesmainor
master.block_dangerous_test.shruns each spelling. -
An archetype HRID's version status reads as the
VERSION_STATUSit
names (#4051), on the 0.0.102 crate line. AOM2
ARCHETYPE_HRID.version_statusmaps-rc,-alpha,-betaand no
modifier torelease_candidate,alpha,betaandreleased, whererc
and the empty modifier read asVersionStatus::Other.openehr-adlwrites the
HRID back with the modifier (-rc, never-release_candidate), so parse
and write are inverse. -
A party reference whose type is not the builder's default survives a FLAT
or STRUCTURED round trip (#4052). master05 givesPARTY_REF.typeno
row, so a_health_care_facilitythat is not anORGANISATION, or a
_provider, performer, composer, feeder-audit party orPARTY_PROXYdatum
that is not aPERSON, is now written as|raw(master04 §Raw canonical
JSON) and read back whole; it came back with the default type. -
An ADL 2 Web Template reads the ADL 1.4 term constraints of an archetype
read in the ADL 1.4 dialect (#4056).openehr-adlkeeps such a
constraint verbatim (openehr::433,local::at0003,at0004;at0003) for its
1.4 to 2 converter, and an at-coded ADL 2 template over unconverted
archetypes carried it into the ADL 2 builder, which took the whole string
for one local code. The builder now reads it as the OPT 1.4 builder reads a
C_CODE_PHRASE: anopenehrcode carries its terminology and rubric,
local codes their archetype rubrics, and the assumed code becomes the
default. The nineopenehr-*crates move to 0.0.100. -
An ordinal of an archetype read in the ADL 1.4 dialect lists its
at-codes (#4059). Thesymbolof each[value, symbol]row kept the
verbatimlocal::at0006spelling, which the ADL 2 builder took for the
code and its label; it now reads the at-code with its archetype rubric, as
#4056 does for coded text. The nineopenehr-*crates move to 0.0.101. -
A BASE 1.3
TERMINOLOGY_CODEkeeps itsterminology_idin XML
(#4076). ITS-XML 1.0.2 typesTRANSLATION_DETAILS.languageand the other
slots that hold one asCODE_PHRASE, whoseterminology_idcarries a
<value>child; the codec wrote and read bare text instead, so an
XSD-valid document read with an emptyterminology_id. It now writes and
reads theTERMINOLOGY_IDshape. -
A configuration load or check that fails keeps its cause (#4104).
Fifteen sites in the server's commands turned the failure into a string,
so the error chain ended at the message; they now carry the source error. -
Cohort queries work under the IHE patient identity source. That
provider keeps no party-to-EHR map, so a cohort selected by a demographic
predicate found no EHR.POST /query/cohortnow takessubjects,
identifiers in any domain, each resolved through the[ehr_index]
provider: under the IHE provider by a PIXm (ITI-83) translation forward into
the server's clinical domain, never back. The new[cohort] subjects = true
turns the surface on without a predicate. Under the IHE provider a
predicate is refused400, and a failing identity source fails the query
instead of shrinking the cohort. The cohort digest takes each subject by
namespace only (#4114). -
The chart guard holds the FerroPIX Artifact Hub image to its pinned
digest (#4115).scripts/checks/chart-appversion.shchecked the
FerroTERM and FerroBRIDGEartifacthub.io/imagesentries against their
pins, but not the FerroPIX entry theferropixdependency added, so its
digest could drift fromferropix.image.digestinvalues.yamland
Artifact Hub would scan an image the chart does not run. The guard now
compares the two, and--self-testmoves the digest on either side. -
ui-screenshot-guardjudges only the pull request's own commits
(#4117). It diffed the base and head commits directly, so a branch behind
main failed on main's viewer changes and passed on main's screenshot
refresh.scripts/checks/ui-screenshot.shnow reads the paths from the
merge base (base...head), and its--self-testruns both cases on a
branch behind main before every verdict. -
The usage report groups a request by the route below the openEHR API
mount (server.base_pathfollowed byrest.base_path). A REST root that
contains an API family word, such as/ferroehr/ehr/v1, no longer places a
query or definition route underehr, and a route outside the mount counts
in no group, as before #4128 (#4132). -
The local EHR index holds an EHR created for a subject. Under
[ehr_index] provider = "local",create_ehr_for_subjectnow enters the
subject in the local map with the EHR's creation, as aPrimary
association with no location, sosubject_ehrsand a subject cohort find
the EHR. Before, onlyEHR_STATUSnamed the subject and the map stayed
empty untiladd_ehr_subjectran (#4138). -
[smart] issuer_metadata_fileis read by the same parse as metadata
fetched from an issuer (#4165), so a file that repeats a member name is a
boot error. It used to be read as it stood, keeping whichever value the
parser took. -
The viewer draws the CDR's refusal where it used to draw nothing: on an
EHR's Status tab when the version's envelope read is refused, in place of
the contribution, signed and lifecycle facts, and in Edit the directory's
reference picker when the composition list is refused, in place of an empty
select (#4170). -
The access record of every route that addresses one EHR names that EHR, read from the matched route's
{ehr_id}parameter:GET /message/export/{ehr_id}andPOST /message/import/{ehr_id}recorded none, so a patient's ITI-81 search missed them, andDELETE /admin/ehr/allno longer names an EHRall. The Extract record of an export or import names the requesting user where it namedUNKNOWN, and a read ofGET /admin/restrictionis recorded against its EHR (GDPR Art. 15(1)(c), EHDS Art. 9(2)) (#4192). -
The compose-built viewer image builds its WebAssembly bindings again: its wasm-bindgen CLI now follows the wasm-bindgen version
Cargo.lockresolves instead of a separate pin that had fallen behind it. A CI guard holds every other wasm-bindgen and cargo-leptos pin to the lock and to one another, and CI builds the viewer image from source whenever its Dockerfile changes (#4222). -
The viewer takes FerroUI 0.5.3: the top bar's search no longer panics when
a navigation leaves the page while its answer panel is being placed, and a
search that finds the session over now sends every other open viewer tab
to sign-in too (#4224). -
A composition commits when an element's value matches any one of the
alternatives its template allows (#4226), on the 0.0.110 crate line. ADL
1.4 §"Single-valued Attributes" makes the object constraints under a
single-valued attribute alternatives, only one of which the data needs to
match. The free text of an open coded value-set (FLAT or STRUCTURED
|other, a canonicalDV_TEXT) was refused asexpected RM type conforming to DV_CODED_TEXT but found DV_TEXTwhere the template allows
DV_TEXTbesideDV_CODED_TEXT, and a value that matched only a later
alternative of the same type, such as a secondDV_QUANTITYwith other
units, was checked against the first alone. When no alternative matches,
the refusal names every alternative with what each one found, and FLAT
writes a value under one of several same-type alternatives, not under each. -
POST /query/cohortand an AQL query rooted at a demographic class now leave out every EHR the population gate leaves out: an EHR whose currentEHR_STATUS.is_queryableisfalseand an EHR under a research objection no longer answer rows in a cohort or a demographic join, as they already did not in an ad-hoc population query (RMEHR_STATUS.is_queryable: "True if this EHR should be included in population queries"). The research objection leak was a privacy defect. A query scoped to one EHR byehr_idand an EXTRACT's criteria still answer the EHR they name (#4247). -
The hosted sandbox's database box runs a pinned image (#4252).
deploy/hosted/cloud-init-postgres.yamldefaultsFERROEHR_POSTGRES_IMAGE
toghcr.io/ferrohealth/ferroehr-postgres:5.4.2by its index digest, where
the box ran the movinglatesttag of the image's pre-FerroHEALTH
namespace, andcompose-image-tags.shholds the default and the hosted
README to one release reference. Step 6 ofsandbox-ferropix-rollout.sh
moves the box onto the pin: it refuses a change of PostgreSQL major,
recreates the container on its data volume and checks the CDR's readiness
and aferropixlogin afterwards. Step 1 of the script no longer prints an
empty line for each container that is absent.
Security
Shipped with functional changes because: the patched ferrohealth-smart arrives in the same dependency move as the family mask and the lockstep releases built on it. The zstd move is a lock-only update that a security-only 5.4.3 could have carried; the maintainer chose to ship it in 5.5.0, released the day after the fix landed, instead of cutting a separate patch.
-
ferrohealth-smart0.7.1 masks the userinfo of every URL in its grant
tables, a URL no parser accepts included. With 0.7.0 a configured
token_endpointorissuerthat did not parse could reach the
configuration renderings and the log in full (CWE-532,
GHSA-vphj-3f8c-5hpx) (#4050). -
The zstd bindings move to zstd 0.14.3, zstd-safe 8.2.0 and zstd-sys 2.1.2,
past RUSTSEC-2026-0391, RUSTSEC-2026-0398, RUSTSEC-2026-0403 and
RUSTSEC-2026-0410. Response compression and the outbound clients' response
decompression reach these crates, and the affected functions were not shown
unreachable (GHSA-cwhv-87pq-3c3c) (#4095).
Support period
Only the newest release is supported. When a new release is published, every earlier release stops receiving fixes: there are no maintenance branches, no long-term-support line and no backports. If you are not on the newest release, upgrade; upgrading is free. Under the Cyber Resilience Act, Cadasto B.V. commits to keep publishing security fixes for at least five years after each release (Art 13(8)) and ships them only in the newest release (Art 13(10)). For this release that commitment runs until the end of October 2031 (Regulation (EU) 2024/2847 Art 13(19)); see SECURITY.md.
Information and instructions to the user (CRA Annex II)
CRA information and instructions to the user for v5.5.0: the manufacturer, the vulnerability contact, the support period, secure use, updates and decommissioning (Regulation (EU) 2024/2847 Art 13(18) and Annex II).
The EHDS system documents
The EHR system is FerroEHR with FerroBRIDGE, and its documents are pages of the FerroHEALTH book. This release relies on them at commit f3b5d761d7be5f039676a3c1bc8d03898fc3efa0 of https://github.com/FerroHEALTH/FerroHEALTH: the information sheet revised 2026-10-26 and the instructions for use revised 2026-10-26, attached to this release with its versions appended (EHDS Art. 30(1)(d), Art. 38), the readiness record revised 2026-10-26 and the technical documentation revised 2026-10-26 (EHDS Art. 37).