Repository navigation
5.6.0
5.6.0 follows 5.5.0 as the stable release and carries every change of its ten release candidates: the EHDS Art. 3(3) delay of a person's own access, the Art. 5 mark of what a person inserts and the Art. 10 opt-out from the access services, each off by default; ADL 2 validation, conversion and Web Templates checked against the AOM 2 rules; storage generations 3 to 6 and AQL plans that keep reads fast as a store grows; the outbox feed that replaces FerroEHR's own broker publisher; RFC 9457 problem details on every error; and the viewer drawn on its server with FerroUI 0.6. It breaks deployments and clients, each break with its upgrade step under Changed or Removed. Before you upgrade from 5.5.0: export the audit records you must keep over ITI-81 with 5.5.0, then drop the audit schema, because audit migration 0017 starts 5.6.0 on an empty audit store and refuses one that holds records written by 5.5.0 or earlier; move every client of a route ITS-REST 1.1.0 does not define from /ferroehr/rest/openehr/v1/ to /ferroehr/rest/extensions/v1/, and the ITI-81 retrieval to /ferroehr/rest/fhir/r4/AuditEvent, since the old paths answer no redirect; read an error body as application/problem+json, detail where a client read message, and send Prefer: return=representation and read errors where it read validationErrors; send POST /ehr/{ehr_id}/contribution and POST /demographic/contribution bodies in the released NewContribution shape, since every other shape answers 400, and send no empty system_id, which every write path refuses with 422; write a space in a query string as %20; remove [events], the chart's secrets.eventsUrl and plaintext_broker from deployment_accepts, which refuse the start, and deliver broker events through FerroBRIDGE 0.0.15 or later reading the outbox feed; set client_auth beside [server.tls] client_ca_file; and set config.deployment_profile for Helm chart 21.0.0, which renders no default profile, and bridge.config.auth for a chart FerroBRIDGE that serves a mapping set. Clinical migrations 0022 and 0023 and party migrations 0013 and 0014 read every version row of an existing store once, and every viewer user is signed out once. Helm chart 21.0.0 carries appVersion 5.6.0. Security carries two advisories, GHSA-2mc2-h3jq-c5wg and GHSA-52mf-qg39-4q4j, and the fix of CVE-2026-115905 in the zip crate that 5.5.0 shipped.
Added
-
Every signed-in viewer page carries FerroUI's session watch: two minutes before the idle window ends a dialog offers Stay signed in or Sign out, typing or clicking on the page keeps the session going at most once a minute, and when the session has ended the page leaves for the sign-in page by itself, which returns to the page once you sign in again; every other viewer tab in the browser leaves with it, and signing out in one tab ends the others. The watch asks the new session route
/api/session, whose reads never extend the session (#4223). -
The logging component's intended performance is stated as checkable claims (EHDS Annex II 1.1): every composition create and read recorded exactly once and every AQL execution at least once, no access succeeding without its record, at most 125 % of the latency and at least 80 % of the throughput with the access log off, and a 50-record ITI-81 page within 250 ms at p95.
scripts/perf/audit.shmeasures them with the access log off and on (the load test's new--auditmode counts the records through ITI-81 and times retrievals),scripts/perf/audit-verdict.shgives the verdict, the release refuses a claim not met and attaches the summary asferroehr-<tag>-logging-performance.md(Annex III point 2), and the weekly performance guard runs it on main. The book's compliance section gains the page that states the claims and the method (#4293). -
scripts/interop/atna.shexercises the logging component's ATNA transactions against independent implementations run from published images (EHDS Annex II 1.4): the ITI-20 FHIR feed into HAPI FHIR as the Audit Record Repository, judged by its validator with IHE BALP 1.1.4; the ITI-20 syslog feed into syslog-ng over RFC 5425 TLS, each payload read as a DICOM PS3.15AuditMessage; and the same ITI-81 searches put to FerroEHR and to HAPI. The audit trail page documents it (#4296). -
FerroEHR ships an EHDS category map for the published CKM templates and COMPOSITION archetypes whose data sit in one Art. 14(1) priority category (the International Patient Summary, ePrescription, the generic laboratory result and CCTA report templates; the
health_summary,prescriptionandtransfer_summaryarchetypes), so an installation that declares no[audit.categories]keys records those accesses classified instead ofunclassified(EHDS Annex II 3.2(c)). A deployment that declares any template or archetype replaces it whole.[audit.categories] shipped_map = falsewith nothing declared leaves no map, whichdeployment_profile = "production"refuses as the newno_category_mapgap unlessdeployment_acceptsnames it (#4298). -
Retention periods and access rules can take the origin and the category of the data into account (EHDS Annex II 3.4). The new top-level
[origins]register declares the origins a deployment recognises, each by the id its data carry and the clients whose direct commits come from it; a body without aFEEDER_AUDITcommitted by a registered client is stamped with that client's origin instead of the server'ssystem_id.PUT /admin/retention/policytakes an optionaloriginnaming a registered origin, the register andGET /admin/retention/duereport it, and the due list lists an origin-keyed period over the objects of that origin (clinical migration0020_retention_by_origin.sql). The ABAC request carriescategory(the access record's category tokens) andoriginresource attributes on composition, contribution and query operations, the Cedar schema declares both, and a remote PDP binding may name them as parameters (#4299). -
The operations page gains a storage sizing section, measured on 5.6.0-rc5: about 21.6 KB of clinical storage per version of a vital signs composition (2.0 times its canonical JSON, 85 % of it node rows) and 155 KB for an International Patient Summary, about 1.2 KB per audit record of a read, the effect of
[audit.store]retention on growth,pg_walup tomax_wal_size, theREINDEX INDEX CONCURRENTLY clinical.node_hot_pkeystep (20 % of that index after heavy concurrent writing) and a query for the size per relation, with the method to reproduce the figures (#4304). -
EHDS Art. 5: what a person inserts in their own EHR is marked as theirs, and
they cannot alter what a professional committed. A write under a token whose
SMART resource scopes are allpatient/scopes recordsPARTY_SELFas its
AUDIT_DETAILS.committer, itsexternal_refnaming the login, whatever
committer the request names; a COMPOSITION it commits must namePARTY_SELF
orPARTY_RELATEDas composer; and its update or deletion of a version whose
committer is notPARTY_SELF, directly or inside a CONTRIBUTION, is refused
with403. A professional's writes are unchanged. The contribution list
extension gainsinserted_by_personper row, and the viewer names a
PARTY_SELFcommitter "The person or their representative". A service
auth_failurestatus now answers403where it answered500(#4350). -
The EHDS Art. 3(3) delay of the person's own access to newly registered data, a Member State option and off by default. The new
[access_delay]section (enabled,categories,hours) holds every new COMPOSITION of a listed[audit.categories]category from requests that may be the person's own (a bearer token with a SMARTpatient/grant or the ABAC patient claim, also besideuser/orsystem/grants, asferrohealth-smart0.8.7 decides it) for at mosthours: a read answers404as for an unknown composition, and a query, an export and a CONTRIBUTION leave it out, while a professional reads it as before. The treating professional releases a held composition from the clinical routePOST {ext}/ehr/{ehr_id}/versioned_composition/{versioned_object_uid}/access-delay/release, with the checks of a write to that EHR, and the controller withPOST /admin/access-delay/release; a professional holds one by hand within the limit withPOST /admin/access-delayand reads the register withGET /admin/access-delay; every hold ends at its limit, and placing, releasing and expiry are each an access record. The subject-scoped ITI-81 read of the person's own trail (EHDS Art. 9) leaves out the records about a held composition until it is released or expires, then serves them with their original times (ehds-logging0.3.3) (clinical migration0027_access_delay.sql, party migration0019_access_delay_column.sql) (#4351). -
The
openehr-itsclient reads an RFC 9457 problem details refusal:
ErrorBody::problem()exposes itstype,title,status,detailand
instance, ignoring a member of the wrong type (RFC 9457 §3.1), and
ErrorBody::message()answers the problem'sdetail, else itstitle,
where it answered only the ITS-RESTError'smessage. Theopenehr-*
crates move to 0.0.115 (#4355). -
The local EHR index (
[ehr_index] provider = "local") is a supported production posture beside the IHE patient identity source:EHR_STATUS.subjectnames a patient by its own namespace and identifier, whichGET /ehr?subject_id=&subject_namespace=matches, and with no[privacy] subject_namespacesdeclared the reference is stored as the client sends it. The compose quickstart selects it withFERROEHR_EHR_INDEX=local docker compose up, which runs itsferroehr-config-localblock (#4379). -
CI checks every inline configuration of the compose quickstart with the
config checkof the image the file pins, FerroEHR's and FerroPIX's, so the quickstart can no longer carry a configuration its pinned server refuses (#4380). -
[versioning] skip_identical_resend(defaultfalse): when on, an update whose content equals the current version's commits nothing and answers like a successful update with the existing version'sETagandLocation. The access log keeps oneresendrecord naming the version matched and the content digest; the book names the audit consequence: no commit audit and no contribution record the repeated send (#4415). -
The Conformance workflow runs the Veredictum 0.3.0 catalogue in CI through the Veredictum GitHub Action, pinned by commit SHA and running the release image by digest. It builds FerroEHR from the commit, composes it with FerroTERM beside it on fresh volumes, reviews the party statement with
veredictum validate, fails on a failed or errored row, writes the Markdown summary to the job summary and uploads the results, JUnit and CTRF views. It runs on pull requests that touch the server, the party set, the conformance compose files or the workflow, onmain, on a release tag and twice a week.scripts/conformance.shtakes a stage (run,review,up,down), so CI and a local run compose the same deployment, andscripts/checks/veredictum-action.shfails while the Action SHA, its version comment, the image digest andVEREDICTUM_VERSIONdisagree (#4449). -
The Conformance workflow runs the Veredictum
smartdocuments (smart_discovery,smart_scopes) against the same FerroEHR build after the Veredictum Action, which forwards no SMART Platform base URL and no scoped tokens. The same pinned image runsveredictum testwith--platform-urlanddocs/conformance/party/ferroehr/ixit-smart.json, minting each access token in memory from the committed test issuer the SMART overlay trusts, and the job uploads its results, JUnit and CTRF views beside the catalogue's and adds its summary under a heading of its own.scripts/conformance.shgains thesmartstage, andrundrives it after the catalogue, so a local run covers SMART too (#4450). -
GET /ehr/{ehr_id}andGET /ehr?subject_id=…now sendLast-Modified:
the commit that created the EHR, or the later commit that added or deleted
one of its folder hierarchies (#4462). -
The EHDS Art. 10 opt-out from access through the access services of Arts. 4 and 12, a Member State option and off by default. The new
[authz.rbac] access_service_roleskey declares the roles of the access-service callers; while an EHR carries the opt-out, a caller holding one reads it as absent: a route naming the EHR or an object in it answers404as for an unknown EHR, a population query leaves its data out, a scoped query, an export and the lookup by subject find no such EHR, and a write to it is refused as absent. Every other caller, the provider's own care included, reads it as before. The controller records the opt-out on the person's instruction withPOST /admin/access-opt-out, reverses it withPOST /admin/access-opt-out/reverse(the register keeps the reversal) and reads the register withGET /admin/access-opt-out; recording is refused with400while no access-service role is declared. An access-service caller that declares one of[audit] emergency_purpose_codesand does not act for the person reads the EHR under the Art. 10(2) vital-interest override, with the emergency mark on its access record and anaccess-opt-out-overriderecord against the EHR. Recording, reversing and reading the register are access records (clinical migration0029_access_opt_out.sql) (#4516). -
Two read-only extension routes convert stored ADL 1.4 definitions to ADL 2:
GET /ferroehr/rest/extensions/v1/definition/archetype/adl1.4/{archetype_id}/adl2
for a stored archetype and
GET /ferroehr/rest/extensions/v1/definition/template/adl1.4/{template_id}/adl2
for a stored operational template, which converts to one ADL 2 archetype per
embedded archetype root. Each answers 200 withapplication/json: (#4655)- the ADL 2 source of every root;
- each root's conversion log and its
conversion_details, which name what
the ADL 2 form drops or changes; - the slot fills that joined the roots.
An unknown id answers 404. A stored source that no longer converts
answers 422. No openEHR specification defines the conversion, so both
routes are FerroEHR's own design.
-
The commit-event outbox feed.
[outbox] readersnames the readers (FERROEHR__OUTBOX__READERS); boot registers each one and marks every reader the list no longer names inactive, so it holds the retention prune back no longer (#4766).GET /admin/outbox/{reader}?limit=&domain=answers the PHI-free envelopes after the reader's cursor inseqorder, andPOST /admin/outbox/{reader}/ackwith{"last_seq": n}moves the cursor (204;409below the cursor or past the highest row;404for an unknown or inactive reader). Both routes need the__ferroehr.outboxscope, every read is an access record, and the clinical and party outboxes each keep their ownseqand cursor. A read waits for a commit that drew a lowerseqto end, so a reader never acknowledges past a row that becomes visible later. The prune now counts from the commit instant and keeps every row an active reader has not acknowledged (migrationsclinical/0030_outbox_feed.sql,party/0023_outbox_feed.sql). With no reader named, no commit writes an outbox row (#4786). -
An administrator repairs an EHR held closed by
EHR_ACCESSsettings that do not parse withPOST /admin/ehr-access/repairunder the extensions root, naming the EHR and the new settings in the body. The repair commits a newEHR_ACCESSversion with its commit audit and contribution, writes an access record, and is refused with409for an EHR that is not held (#4853). -
openehr-am:ArchetypeHridimplementsDisplay, writing the physical
form[ns::]publisher-package-class.concept.vMAJOR.MINOR.PATCH[-status[.build]]
that itsFromStrreads back, so a consumer no longer rebuilds an archetype
or template id from the fields.openehr-adlwrites every identifier through
it.version_idandphysical_idno longer write a trailing.after a
version modifier that carries no build count (#4938).
Changed
-
A viewer session now also ends
session.absolute_minutesafter sign-in, 12 hours by default, whatever the activity; the idle window (session.idle_minutes) can no longer carry it further. A lifetime of zero or one shorter than the idle window refuses the start. A session cookie sealed by an earlier release carries no sign-in time and no longer opens, so the upgrade signs every viewer user out once (#3057). -
Breaking for clients that relied on the old leniencies:
POST /ehr/{ehr_id}/contributionandPOST /demographic/contributionnow read the
body through the releasedNewContributionschema, and refuse every shape it
does not define. Each refused shape answers 400: (#3595)- a
lifecycle_statein the CODE_PHRASE shape{"terminology_id": …, "code_string": …}, as a plain string, or as a bare{"value": …}. Send
aDV_CODED_TEXT:{"value": "complete", "defining_code": {"terminology_id": {"value": "openehr"}, "code_string": "532"}}; - a
descriptionsent as a plain string, on the contributionaudit, on a
commit_auditor on an attestation. Send aDV_TEXTorDV_CODED_TEXT
object:{"_type": "DV_TEXT", "value": "…"}; - a
commit_auditor contributionauditwithoutchange_type. The server
no longer infers creation or modification frompreceding_version_uid;
send the code of the change, for example249(creation),251
(modification),523(deleted) or666(attestation); - a
commit_auditor contributionauditwhose_typeisATTESTATIONor
UPDATE_ATTESTATION, or any value other thanUPDATE_AUDITor
AUDIT_DETAILS. Send the audit asUPDATE_AUDIT(or with no_type) and
put each attestation in the version'sattestationslist as an
UPDATE_ATTESTATION. A666(attestation) version carries its
attestations there too, and one with no attestation is refused; - a missing
audit, which answered 422 before. A missingversionslist,
an attestation withoutreasonoris_pending, asystem_idthat is not
a string, and apreceding_version_uidsent as a plain string instead of
{"value": "…"}are refused the same way.
- a
-
An attestation's own
system_idis kept, and one that states none takes the
system_idof the version audit it belongs to instead of the server's. An
attestation committer is now checked against itsPARTY_PROXYrules like
every other committer, so an invalid one answers 422 (#3595). -
The served OpenAPI document describes each extension route by what it does
and by the ITS-REST text that governs it, and no longer names openEHR Service
Model operations, interfaces or status codes. Routes, request and response
fields and status codes are unchanged (#4213). -
A population AQL query that only counts its root objects, such as
SELECT COUNT(c) FROM EHR e CONTAINS COMPOSITION cor the same with
COUNT(*), reads the current version rows and no longer probes the root
node of every composition. At 545 000 compositions the count fell from about
9 s to 0.2 s (#4286). -
A REST request checks a connection out of each database pool once and keeps
it until it answers, where it took one for each statement: two to four
checkouts for a read of an EHR, an EHR_STATUS or a COMPOSITION, each waiting
in the pool's queue under load and each paying the pool's release round
trip. At 48 concurrent clients and a pool of 10, throughput rose by about
18 % and the median latency fell by about 13 % (#4289). -
The Helm chart, at a new major version (21), has no default deployment profile: it refuses to render until
config.deployment_profilenamessandboxorproduction, so an installation that follows a quickstart instead of the instructions for use no longer runs the sandbox posture by omission (EHDS Annex II 1.2). A values file that relied on the oldsandboxdefault must now set it, for example--set config.deployment_profile=sandbox;values-production.yamlsetsproductionas before. The server binary's own default and the Compose files, which declaresandboxexplicitly, are unchanged (#4294). -
The audit store keeps each record's facts in columns and renders its FHIR R4
AuditEventfrom them when the record is read over ITI-81 or delivered by
the FHIR feed, instead of storing the rendered document in every record. A
record takes about a quarter of the space it took before. The configuration
the rendering depends on (the audit source, the store horizon, the category
map and the emergency purposes) is kept once per distinct configuration in
audit.audit_render_policy, and every record names the policy it was
written under, so it renders the same document after the configuration
changes. The tamper chain hashes every column of the record in one digest
and checks each render policy against its digest; the earlier digest
versions are retired. Audit migration 0017 needs an empty audit store and
refuses one that holds records written by an earlier release, naming the
remedy. ITI-81 parameters on an element of the document (address, the
.identifierparameters,entity-type,entity-role,type,subtype)
are matched against the rendered document (#4300). -
The three audit indexes on
recorded_atascend, so their pages fill instead
of splitting half full on every insert; the newest-first ITI-81 search scans
them backward (#4302). -
A clinical or party node row now stores only the part of its canonical JSON fragment that its own columns do not hold:
_type, a lowercasearchetype_node_id, a plain or simply coded name, and an ELEMENT value in one of the common basic shapes (a quantity, count, ordinal, coded or plain text, date, time, duration, identifier, boolean or URI) move into columns, the value into the new typed value columns. Every reader rebuilds the omitted keys, so the canonical JSON and every AQL result are unchanged, and a filter on a quantity's magnitude or a code reads its column directly. The node heap shrinks by about a third (storage generation 3); a row written before keeps its whole fragment and reads the same. Migrationsext/0005,clinical/0019andparty/0012add the columns and the readers; no data is migrated (#4306). -
Every ITI-81 search parameter answers through an index again. The store
takes the search tokens of a record's renderedAuditEventwhen it writes
the record: each distinct token once inaudit.audit_search_token, the
code-system tokens (type,subtype,entity-type,entity-role,
source.identifier) as one shared set inaudit.audit_search_set, and their
ids on the record insearch_tokensunder a GIN index;entityreads a hash
index onresource_id. A search onaddressor a token parameter no longer
renders every record in itsdatewindow. The tamper chain covers
search_tokens, and the verifier reports a changed token or set (#4313). -
The storage-bench lane measures the baseline and the candidate on one
runner in eight interleaved rounds each and gives two verdicts. The plan
verdict fails an operation whose median pages per call rose more than 10 %
and one page above the baseline's highest round, whatever its time. The
time verdict divides each round by its machine factor, so a slow spell of
the runner no longer reads as the code, and fails an operation whose median
p50 or p99 rose more than 15 % with every candidate round slower than every
baseline round, or a candidate build that ran more than 15 % slower across
the board in every round. A latency is no longer compared with a record
measured on another runner (#4318). -
The viewer takes FerroUI 0.5.8: a menu item draws a visible bar under the pointer and the keyboard focus, and the top bar's search no longer opens its panel again over the page the router draws after a search is submitted or one of its options followed (#4319).
-
Nothing ITS-REST 1.1.0 does not define is served under the openEHR base path
any more. FerroEHR serves three namespaces beside each other under
/ferroehr/rest/:/openehr/v1/holds only the ITS-REST routes,
/fhir/r4/the FHIR and IHE interfaces, and/extensions/v1/FerroEHR's own
extensions. The ITI-81 retrieval moved from
/ferroehr/rest/openehr/v1/fhir/r4/AuditEventto
/ferroehr/rest/fhir/r4/AuditEvent. These routes moved from
/ferroehr/rest/openehr/v1/...to/ferroehr/rest/extensions/v1/...with
the same relative path:/terminology/...,/admin/event_subscription...,
/demographic/party_relationship...,
/demographic/versioned_party_relationship/...,
/definition/archetype/...,/definition/artefact/...,/message/export...,
/message/import...,/query/cohort, and the admin extensions
/admin/config,/admin/template/{template_id},
/admin/query/{qualified_query_name}/{version},/admin/party/...,
/admin/archive/...,/admin/report/...,/admin/dump,/admin/load,
/admin/integrity/...,/admin/restriction...,
/admin/access-restriction...,/admin/research-objectionand
/admin/retention/.... The old paths answer 404, with no redirect. The
served OpenAPI document and its family documents name the new paths; the
admin extensions, the archetype library and the cohort query have family
documents of their own (admin-extensions,archetypes,cohort,
contributions). The paged CONTRIBUTION list moved too, to
/ferroehr/rest/extensions/v1/ehr/{ehr_id}/contribution(#4330). -
The server and viewer images build on the current
gcr.io/distroless/cc-debian13:nonrootdigest, so they carry the base
image's latest Debian package updates (#4335). -
Canonical JSON validation against the openEHR ITS-JSON schemas runs on
jsonschema0.59.0, which refuses a value whose regex match the engine
cannot finish where 0.58 accepted it undernotorpatternProperties.
Theopenehr-*crates move to 0.0.113 (#4336). -
A statement the database cancels, by its
statement_timeoutor a cancel
request (SQLSTATE57014), answers503withRetry-Afterinstead of
500: the statement rolled back, so the request can be repeated. By default
the request timeout answers before the 60 s statement timeout fires, so on a
request path it is raised by an operator's cancel or by a forward step of
the database host's clock, which fires every running statement's timeout at
once (#4338). -
Every error on the openEHR routes (
/ferroehr/rest/openehr/v1/), the
extension routes (/ferroehr/rest/extensions/v1/) and the management
routes answers RFC 9457 problem details,application/problem+json, in
place of the{ message, validationErrors, error }body shaped after the
ITS-REST example. The status codes are unchanged. A problem carries
type,title,status,detailand the request id as aurn:uuid:
instance; the refusals a client acts on have FerroEHR types documented
on the book's Problem types page (aql-invalid,query-timeout,
validation-failed,content-invalid,conflict,version-conflict,
unauthenticated,forbidden,processing-restricted,unavailable,
rate-limited), every other error isabout:blank. A request with
Prefer: return=representationreceives the additional details ITS-REST
allows: the violations of a validation refusal aserrors
({path, detail}, wherevalidationErrorsheld"<path>: <message>"
strings), the bytepositionof an AQL parse refusal, and the
current_versionof a412. The stack's own408,413,429,503
and panic500are problems too, and anOperationOutcomeunder the
FHIR base, where an authentication refusal is now anOperationOutcome
as well. The served OpenAPI document declares theProblemschema for
every4xxand5xx, and the viewer reads problem details. A client
that readmessagereadsdetail; one that readvalidationErrors
sendsPrefer: return=representationand readserrors(#4342). -
The FHIR
AuditEventof an EHDS access record names the object it reads,
creates, updates or deletes by its openEHR object id as
entity.what.identifierwith the systemurn:openehr:object-id, where it
wrote awhat.referencethat no FHIR server resolves and HAPI FHIR refused
(FHIR R4 references.html §2.3.0.3). ITI-81 finds the record by
entity.identifier. FerroEHR takes FerroAUDIT 0.3.2 (ihe-atnaand
ehds-logging) (#4366). -
The access log costs the request path less under load. The audit store
writes a drained batch, its search tokens and its token sets in one
transaction on one connection (one commit where it took up to three), stores
only the tokens it does not hold yet, and the GIN index onsearch_tokens
takes new entries through a pending list of 512 kB. On the release load
test the store wrote 1.5 KB of WAL per record where it wrote 5.2 KB (#4375). -
The LANG specification text is re-vendored at
f80763ab(#4377). SPECLANG-18 states how a P_BMM schema's JSON form encodes a cardinality interval, which the JSON schema reader already followed; its documentation now cites the rule, and a test pins it. SPECLANG-16 types the P_BMM class lists as keyed collections; the generated P_BMM model takes that change with #4497. The nineopenehr-*crates step to 0.0.122. -
[ehr_index] provider = "local"besidepixm_url,assigning_authority,[ehr_index.oauth]or[ehr_index.tls]is accepted, where it was refused: the IHE keys are kept, not used and named at boot, soprovideralone switches the index, in the file or asFERROEHR__EHR_INDEX__PROVIDER. Declared pseudonym namespaces stay in force under either index (#4379). -
A build no release lane marked reports its commit beside the package version, as SemVer build metadata (
5.6.0-rc2+dev.1a2b3c4d5e6f), onferroehr --versionandserver_versionofGET /ferroehr/rest/status(the boot banner and/management/infoalready name the commit beside the version), so a report from a build ofmainno longer reads as the release it follows; a release build reports the bare version (#4380). -
The compose quickstart runs FerroPIX 0.0.12, pinned by digest, with its configuration moved to that release's keys (
public_base_urlat the top level, the Patient Identity Source's client under[[trust.issuer]]), and Dependabot proposes each FerroPIX release (#4380). -
The Helm chart runs FerroPIX 0.0.12 by digest, with the FerroPIX chart 0.3.4 built for it, and the hosted sandbox runs FerroPIX 0.0.12 too; both had stayed at 0.0.7 and 0.0.10 when the quickstart moved. A values file for the chart's FerroPIX moves
ferropix.config.server.public_base_urltoferropix.config.public_base_urland each issuer'sclientstoferropix.config.trust.issuer, the keys FerroPIX reads since 0.0.8; the chart's examples and the production overlay do. FerroPIX's chart now also runs its pods withenableServiceLinks: falseand in a user namespace (ferropix.hostUsers: false, the default). A CI guard holds the quickstart, chart and sandbox to one FerroPIX release and checks the sandbox's and the chart's FerroPIX configuration under it, so the Dependabot proposal for the quickstart pin moves all three (#4392). -
openehr-query, the AQL 1.1.0 lexer, parser, typed AST and printer, is published under Apache-2.0 from 0.0.116, like the generated model crates andopenehr-its, so any Rust project can parse AQL with it. Versions 0.0.60 to 0.0.115 keep the Business Source License 1.1 they were published under (#4405). -
A version whose content equals its predecessor's stores that content once: the version row, its commit audit, its contribution, its attestations and its uid-stamped body are written as before, and the node rows are not, the new version reading its predecessor's through the new
version.content_sys_versionand the storedversion.content_keyevery reader joins on (migrationsclinical/0032,party/0025andclinical/0033, which re-creates theretention_dueview). Every reader, AQL included, answers each version with its own uid. The digest the content is compared on isversion.content_digest, SHA-256 over the canonical body with the root uid removed; a row written before keeps its own rows and is never shared (#4415). -
FerroEHR takes
ferrohealth-server0.4.0 in place of 0.3.9. The new
[server] idle_timeout_ms(120000 by default) closes a kept-alive
HTTP/1.1 connection that waits that long for its next request, with a
clean end of stream, and[server] header_read_timeout_mscounts from the
first byte of each request head on a kept-alive connection (from accept
for the first one, as before). The head bound used to count from the end
of the previous answer, so it also closed an idle connection after 30 s,
sometimes as a client sent its next request into it, which a client such
as Go'snet/httpsaw asEOFon aPOSTit does not retry (#4381). A
deployment that setheader_read_timeout_msto bound idle connections
setsidle_timeout_msinstead. The refusals the listener writes itself
(408,413,429,503) and a panic's500keep naming the server's
request id as theirinstancewhen the client sends its own
X-Request-Id, as every other FerroEHR refusal does (#4417). -
FerroEHR runs on
ferrohealth-server0.4.1, which keeps a product's own
fallback and the layers around it when the stack merges its routes
(FerroHEALTH/FerroSYS#199). FerroEHR, v5.6.0-rc3 included, was not exposed
to the regression 0.4.1 fixes: the REST API and the viewer declare their
own fallback inside their layers, and the management endpoints guard each
route they serve, so a path no route matches answers as it did before (#4427). -
The viewer draws every page on its server with FerroUI 0.6, with no Leptos and no WebAssembly: a link and a form load a new page, and FerroUI's own small script modules add behaviour on top of what the server drew, so every page works with JavaScript off. The image ships the one
ferroehr-viewerbinary, with no/sitetree beside it and nohash.txt; FerroUI's stylesheet, theme and scripts are served from inside it under/ferrohealth-ui/0.6.0/, and/pkg/no longer answers. The Content-Security-Policy is nowscript-src 'self'; style-src 'self'with no per-response nonce and no'wasm-unsafe-eval'. The image no longer readsLEPTOS_SITE_ROOT,LEPTOS_OUTPUT_NAMEorLEPTOS_HASH_FILES, so a deployment that sets them can drop them;LEPTOS_SITE_ADDRnaming another address thanserver.listenstill refuses the start. A proxy rule written for/pkg/(the hosted deployment'sCache-Controlfor it is removed) has nothing left to match (#4433). -
The viewer runs on
ferrohealth-server0.4.2 and takes its Content-Security-Policy from the family's server-rendered console headers (FerroHEALTH/FerroSYS#202) in place of a layer of its own. The policy a deployment sees is unchanged:default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self' data:; connect-src 'self'; object-src 'none'; base-uri 'self'; form-action 'self'; frame-ancestors 'none', with no nonce. FerroUI's assets under/ferrohealth-ui/keep theCache-ControlFerroUI sets, and a refusal under that path isno-storewhatever FerroUI's router sets, so a cache in front of the viewer keeps no error answer for an asset. The REST server takes the sameferrohealth-serverrelease with no change in what it serves (#4439). -
scripts/conformance.shruns the Veredictum 0.3.0 catalogue against one FerroEHR deployment: it reviews the party statement withveredictum validate, drivesveredictum testin the release image pinned by digest with Basic login, and writesresults.json, the HAR recording and the JUnit, CTRF and Markdown views todocs/conformance/ferroehr/. Docker or Podman runs it (CONTAINER_ENGINE). The FerroEHR statement now claims the 15 capability folders and answers every option of the 0.3.0 catalogue, and the IXIT keeps only what 0.3.0 reads (#4448). -
The published conformance record is a Veredictum 0.3.3 released-profile run, committed as
docs/conformance/ferroehr/results.jsonwith itssummary.md. The landing page and the book's conformance page show the Veredictum badges of the released and development runs onmainand the record's counts per part (BASE and OPTIONS), in place of the Veredictum 0.1.6 heat grid, chapter bars and tier pills. The docs and landing pages admit images fromraw.githubusercontent.com/FerroHEALTH/FerroEHR/for the badges (#4451). -
The measured performance lane runs Veredictum 0.3.3's
perf.scripts/conformance.sh perfcomposes the conformance deployment with the measurement overlay, runs the pinnedclinical-mixworkload, checks the record withperf-judgeand redraws the book's charts fromdocs/conformance/ferroehr/perf-result.json.scripts/conformance.sh perf-aameasures the deployment against itself, so the record carries its between-run noise floor. The measurement overlay also switches response compression off, and the IXIT names the deployment's containers for the run's server-side readings. The Performance and Benchmarks pages describe the new instrument. They keep the earlier figures until a record measured on the reference host replaces them (#4452). -
The serving roles may now analyze their store's partitioned tables: new
migrations (clinical 0026, party 0018) grantMAINTAINonnode,
versionandvo_attestation, and onclinical.ehr, to
ferroehr_clinicalandferroehr_party, so the hourly statistics
refresh works under the role split.MAINTAINalso allowsVACUUM,
CLUSTER,REINDEXandLOCK TABLEon exactly those tables. A role
that still lacks it gets the warning naming the tables, as before (#4453). -
With the role gate on (
[authz.rbac] enabled), a bearer token whose SMART
on openEHR resource scopes are allsystem/scopes, such as
system/template-*.r, now reaches a clinical operation without a role: it is
a backend client, and its scopes decide what it reaches. Auser/or
patient/token belongs to a person and still needs at least one role, as
does a token with no SMART on openEHR scope and a Basic user; an admin
operation still needs the admin role (#4467). -
A tag update (
PUT …/tagson EHR_STATUS, COMPOSITION and the five party
kinds) sent withPrefer: return=identifiernow answers200with the
stored tag list andPreference-Applied: return=identifier. It answered
204(#4475). -
The conformance deployment runs FerroTERM beside FerroEHR, pinned by digest, with
[terminology.server]pointed at it, locally inscripts/conformance.shand in the Conformance workflow, so theaql-terminology-supportedarm of the party statement runs against a real terminology server (#4476). -
The P_BMM model follows SPECLANG-16. The LANG 1.1.0 BMM that
openehr-codegenreads is now thespecifications-LANGfile atf80763ab, soP_BMM_SCHEMA.primitive_typesandclass_definitionsare maps keyed by class name,P_BMM_CLASS.ancestor_defsis a map ofP_BMM_BASE_TYPEkeyed by type signature (a simple ancestor included), andP_BMM_GENERIC_TYPE.generic_parameter_defsis an optional map keyed by formal parameter name. The formal and actual generic parameters (P_BMM_CLASS.generic_parameter_defs,P_BMM_GENERIC_TYPE.generic_parameter_defs,BMM_GENERIC_CLASS.generic_parameters) are insertion-orderedIndexMaps, because the specification fixes their declaration order, and the model builders bind each actual parameter to its formal by name. In the releasedv1_0generation,P_BMM_GENERIC_TYPE.generic_parameter_defsnow carries the1..*bound its BMM states. The nineopenehr-*crates step to 0.0.123 (#4497). -
The conformance pipeline runs Veredictum 0.3.1. The Conformance workflow drives the catalogue through the Veredictum Action twice, each run on fresh volumes: under the
releasedprofile, the frozen openEHR release, which is the record and decides the job, and under thedevelopmentprofile, the pinnedmasterof each openEHR repository, which is published beside it under its own job summary heading and artifact and never counted toward it. Both runs include the SMART documents: the Action now takes the SMART Platform base URL and the committed test issuer's key. The workflow reads the result paths and the exit status from the Action's outputs.scripts/conformance.shtakes the profile asCONF_PROFILE(releasedby default; adevelopmentrun writes todocs/conformance/ferroehr-development/) and drives the SMART documents in the same run, and the IXIT carries the test issuer'sscoped_tokensdeclaration (#4503). -
The viewer groups a template's releases. The template list draws one group
per template, the newest release first with the number of releases and the
earlier releases under it, in both the ADL 1.4 and the ADL 2 tab. A
template's page names its release beside its title, where every other
release is a link with the newest marked, also with FerroUI's scripts
refused; the release select and its Open button above the tabs are gone.
The Overview lists the releases with the compositions committed against
each, and a new Compare tab lists the paths one release adds, removes and
changes against another (#4506). -
Every write checks the committer against the login that authenticated the
request where the server can compare them: a committer naming another login
of the caller's token issuer or of this server, or aPARTY_SELFcommitter
from a caller who is not the record's person, is refused with a 403. A
name only, or an identifier of another authority, is stored as sent. The
direct writes (composition, EHR status, directory, EHR, demographic) now
also refuse a committer that breaks its own rules with a 422, as the
contribution path already did (#4520). -
An audit record no longer adds a row to
audit.audit_search_tokenfor its
request id or for the version uid a create wrote. ITI-81entity.identifier
finds both from the record's ownrequest_idandresource_idcolumns,
through a new hash index onrequest_id(audit migration 0020), so the token
table stays flat as requests are audited. Retention now deletes the search
tokens that no remaining record names, among them the request id tokens of
records written by 5.6.0-rc5 and earlier, and the database still refuses to
delete a token a kept record names (#4524). -
A clinical or party node row below the root no longer repeats its archetype header, language and encoding: an archetype root's
archetype_detailsandarchetype_node_idare rebuilt from thearchetypecolumn and a newrm_versioncolumn, and alanguageinISO_639-1and anencodinginIANA_character-setskeep only their code, in the newlanguageandencodingcolumns. Every reader puts the keys back where they stood, so the canonical JSON, every AQL result and the served key order are unchanged; a header of any other shape stays in the fragment. A vital signs version takes 17.1 KB instead of 21.6 KB and an International Patient Summary 131 KB instead of 159 KB. Migrationsext/0007,clinical/0028andparty/0020add the columns and the readers; no data is migrated, and a row written before keeps its whole fragment and reads the same (#4525). -
ext.storage_generation()reportsgeneration-4, the storage generation with the node header columns, and the storage benchmark records for it are committed underdocs/benchmarks/storage/generation-4/. Migrationext/0008changes only the label; nothing in the serving path reads it (#4525). -
Five response messages no longer name the openEHR Service Model. The admin
dump route's400for a missingfile_sys_locnow reads "request body must
carry a non-emptyfile_sys_locstring, a location on the server's file
system (FerroEHR's own dump/load extension)", and its400for an
encodingmember reads "encodingis not accepted: FerroEHR's own
dump/load extension defines no encoding, so no value names one". The admin
activity-report400s fora_servicenow list the accepted service names
("query parametera_serviceis required: one of Admin, Definitions, …" and
"query parametera_servicenames no platform service: … (expected one of
…)"). The not-implemented answer ofstore_query_setreads "store_query_set
is not implemented: no openEHR specification defines a query set". The
openehr-rmvalidation docs for the threePARTYandPARTY_RELATIONSHIP
relationship invariants now name the separate relationship container as
FerroEHR's own design against RM demographic §Party Relationships (#4531). -
Breaking for clients that relied on the remaining commit-audit
leniencies: the audit rules of the CONTRIBUTION commit now hold on every
write path (#4543).- A
descriptionobject without_type, such as{"value": "…"}, is
refused with 400 on a contributionaudit, acommit_auditand an
attestation, and so is an attestationreasonwithout_type. Send
{"_type": "DV_TEXT", "value": "…"}or aDV_CODED_TEXTwith its
_type. - A stated empty
system_idis refused with 422 on the direct writes
too (openehr-audit-details: system_id=""on a create, update or delete),
where the server used to replace it with its own. Leavesystem_idout to
get the server's, or send a non-empty one. Asystem_idthat is not a
string stays a 400 on both CONTRIBUTION routes. - A commit audit of type
UPDATE_ATTESTATIONhanded to the library's direct
write calls (create_composition,update_composition, the EHR_STATUS,
DIRECTORY and party writes) is refused with 400, as on the
CONTRIBUTION routes. Send the audit asUPDATE_AUDITand put each
attestation in the version'sattestationslist.
- A
-
Members that
NewContributionorUPDATE_AUDITdo not declare, such as a
reasonoris_pendingon a plain audit or an extra top-level member of a
contribution, are accepted and ignored: the released schemas leave both
objects open (#4543). -
The
openehr-*crates take their version when they are published. A
pull request that changes the crates no longer bumps their lockstep0.0.x
version: the crates publish reads crates.io, takes the next version when
packaged content changed since the newest published one, and refuses to
publish changed content under a version crates.io already holds. The
version in the manifests onmaincan therefore trail the newest version
on crates.io (#4555). -
The served Web Template of an ADL 2 operational template writes the
aqlPathof an ELEMENT's value and of a data value's parts without an
[idN]predicate, since a data value carries noarchetype_node_id(ADL2
master05-paths§"Relationship with W3C Xpath"). ADV_INTERVALand its
parts read…/value,…/value/lowerand…/value/upper, the form the
ADL 1.4 Web Template writes, where they read…/value[id6]/lower[id7]
before, and the parts' ids arelowerandupper(#4559). -
The served Web Template gives every
DV_INTERVAL<T>node itslowerand
upperchildren, each of typeT, also when the operational template
leaves them unconstrained (RMdata_types§DV_INTERVAL). Such a node had no
children before. An unconstrained part carries the open inputs of its type,
and itsaqlPathis…/value/loweror…/value/upper. This holds for ADL
1.4 and ADL 2 templates (#4559). -
The template example fills such an interval: an unconstrained part takes
the example value of its constrained sibling, so the limits stay
consistent (#4559). -
The served Web Template of an ADL 2 operational template writes a coded
input whose at-codes the template binds to a terminology as the bound
terms: itscodelist carries each binding's code and label and its
terminologynames the bound terminology (ADL2
master08-terminology_integration§"From Constraints to Concrete Codes in
Data").COMPOSITION.categoryboundat1toopenehr::433reads
{"value": "433", "label": "event"}withterminology: "openehr", where
it read the localat1before, and an[acN@ttttt]constraint takes the
bound terms of the terminology it names. A FLAT or STRUCTURED composition
without a category, and the example composition, now carryopenehr::433.
TheaqlPathof every data value drops its[idN]predicate, so a
constrainedcategoryandcontext/settingread/categoryand
/context/setting(#4574). -
A CONTRIBUTION's
versions[]entry records its merge inputs: the
other_input_version_uidsit states are stored on the committed
ORIGINAL_VERSIONand served on every read, where the server used to refuse
the member with 400. The uids may name versions the server does not hold;
an empty list or an entry that is not anOBJECT_VERSION_IDis a 422 (#4577). -
Other members
UPDATE_VERSIONdoes not declare, such asitemor an
extension member, are accepted and ignored, where the server used to refuse
them with 400: the released schema leaves the object open, as it does
NewContributionandUPDATE_AUDIT. Auidorcontributionon a version
entry is still refused with 400, because the server assigns both, and so
is a_typeother thanUPDATE_VERSIONorORIGINAL_VERSION(#4577). -
The admin dump route's refusals name its parameters by their wire names
and list the accepted values, not the Service Model class names. A bad
logical_formatorcompression_formatnow reads "<field>must be a
string, one of …" or "<field>names no accepted value: … (expected one of
…)", and a non-integersegment_split_sizereads "segment_split_sizemust
be an integer size in kb". The served OpenAPI text for the route no longer
namesEXPORT_SPECorEXPORT_FORMAT(#4634). -
Five archive dump and load failures still answer
500, and their bodies are now fixed
text that echoes no value from the archive: (#4657)- an unreadable data segment no longer names the segment, though
manifest.jsonand
demographic-commons.jsonare still named; - an unknown logical format in the manifest no longer echoes the declared value;
- a version whose id carries a path separator, and a version whose commit audit the
export lacks, no longer name the version.
- an unreadable data segment no longer names the segment, though
-
A failed expansion of a party's protected national identifiers still
answers500, and its body now reads "expanding the protected identifiers
of a party version failed" without echoing the requested version uid: a
500body carries curated text only (#4657). -
Two query failures still answer
500, and their bodies now carry curated
text only. A stored query whose record holds no query text reads "the
stored query has no query text" without echoing its name, and a
terminology server failure while aTERMINOLOGY('expand', …)operand is
resolved reads "the terminology service failed while the query was being
planned" instead of the upstream message (#4657). -
The
db_transactionscounter (outcome="commit") now counts every committed single-object
write. It used to leave outEHR_STATUSand DIRECTORY writes (#4659). -
The access record of a VERSION read (
GET /ehr/{ehr_id}/versioned_composition/{versioned_object_uid}/version,
its/version/{version_uid}form, and the same twoversioned_ehr_status
routes) now names the content it served, and for a COMPOSITION the origins
of its data, as the bare reads already did. Itsehr_idis the parsed EHR
id, as on every other read, rather than the path text as sent. The
response is unchanged (#4660). -
A query request whose
ehr_id, as the query parameter or the
openehr-ehr-idheader, is not a UUID is refused with the same 400 and text
as before, now before the AQL is parsed and planned. The refusal therefore
comes ahead of the refusals planning raises, such as an EHR scope on a query
rooted at a demographic class, andaql_queries_total{outcome="analysis_error"}
no longer counts it (#4661). -
OPTIONSon the API base path sendsconformance_profileas
BASE+OPTIONSwhere it sentSTANDARD. The build derives the value from
the committed Veredictum record,docs/conformance/ferroehr/summary.md:
BASE+OPTIONSwhen the BASE rows and the run OPTIONS rows have none failed
and none errored,BASEwhen only the BASE rows do, and the member left
out otherwise. ITS-REST 1.1.0 types the member as a free string and CNF
names no profiles, so the values are FerroEHR's own. The
[rest.identity] conformance_profileconfiguration key is removed: a
configuration that still sets it is refused at boot as an unknown key (#4672). -
The served OpenAPI description of
POST /query/cohortno longer names the
linkage domain, which the server no longer has. It says the predicate selects
parties on the demographic database credential, and that those parties are
resolved to the EHRs whoseEHR_STATUS.subjectnames one of them on the
clinical credential. The route, its fields and its status codes are
unchanged (#4695). -
Every route now reads
Preferas RFC 7240 §2 defines it, as error
responses already did: a preference in a secondPreferfield, one that
carries parameters after;(return=representation; x=1), and one with
whitespace around=(return = representation) are honoured. Before,
only the firstPreferfield was read, and such a preference was ignored (#4722). -
The viewer answers every request other than
GETandHEADthat arrives without a session, to any path but the sign-in page, the OIDC routes, sign-out and the search answer, with the sign-in page that says the session ended, before any handler runs. A post to a page returns there after signing in; a post to the export, preference, sidebar or paging route returns to the dashboard. The export post used to answer303to/login, and the preference, sidebar and paging posts ran without a session (#4724). -
Breaking:
POST /admin/loadanswers a malformed archive with400
(#4738). A container,manifest.json, segment or blob entry that is
absent, truncated or does not parse as an export archive, and a manifest
that declares an unknown logical format, are the caller's input, so the
load refuses them with the newarchive-invalidproblem type instead of a
500. Thedetailnames the entry, and with
Prefer: return=representationthearchivemember carries it as
{"entry": …}or{"format": …}. A location with no archive, or one the
server's filesystem refuses to read, still answers500. -
The conformance instrument is Veredictum 0.4.0, and the published conformance record (
docs/conformance/ferroehr/results.jsonwith itssummary.md) is a 0.4.0 released-profile run. The party statement answers the 0.4.0 catalogue: it keeps thexml-namespace-v2arm, which now asks only whether the TRIALhttp://schemas.openehr.org/v2namespace is also accepted, and selects the new development-profile option armadl2-id-coded-supported(#4771). -
The RM 1.2.0
TRANSLATION_DETAILSof the retained ADL 1.4 resource package, thedevelopmentprofile's generation, spells its translator accreditationaccreditationnow, following the RM 1.2.0 BMM at09e481e9: its canonical JSON and canonical XML carry the keyaccreditationin place ofaccreditaton, and the XML reader binds an<accreditation>element it used to skip. Theopenehr-rmfieldv1_2::common::resource::translation_details::TranslationDetails::accreditatonis renamedaccreditation; the releasedv1_1generation keeps the RM 1.1.0 spelling (#4813). -
The regulatory position, the technical documentation, the audit trail page and the compliance overview name FerroBRIDGE's recording of its FHIR facade's accesses as part of the logging component, from FerroBRIDGE 0.0.16: FerroEHR's record of a facade access names the bridge's credential, and the bridge's own Annex II 3.2 record, sent as an IHE BALP
AuditEvent, names the natural person. The pages no longer say FerroBRIDGE holds no part of the log, and say how the two harmonised components stay independent with it (#4822). -
The FerroEHR PostgreSQL image is built on the 2026-11-02 respin of
postgres:18.6(#4836,sha256:3a426452…), a same-version respin with
rebuilt base packages. Every finding of a full scan of the rebuilt image
keeps its judgement insecurity/vex/postgres-os.openvex.json, and none
goes stale. -
A CONTRIBUTION that writes
ferroehr.access_control.v1settings whose
privacy overrideuidis neither aVERSIONED_COMPOSITIONuid nor a version
uid whose first part is one is refused with400, naming the override. Such
an override matched no composition, since every composition id is a UUID;
stored settings that still carry one are read without it (#4837). -
An archetype root converted from an ADL 1.4 operational template records each language its terminology carries beside the template's own as a
conversion_detailsentry,translation.<language>, naming the source template. An OPT 1.4 has no translation record, so the conversion writes notranslationsentry for these languages (#4861). -
The viewer signs in and keeps its session through
ferrohealth-session
0.2.1, FerroAUTH's console sign-in (#4873). Its own OpenID Connect client
and sealed-session code are gone. The sign-in page moves to/sign-in, and
the sign-in routes are/login(which begins the OpenID Connect sign-in),
/auth/callback,POST /logout(which now also revokes the token and, for an
OpenID Connect session, uses the provider's end-session endpoint when it
has one) and/session, the
session watch. Sessions are kept in the viewer process by default
(session.store = "memory"), and in one sealed cookie with
session.store = "sealed"and a key. A sealed store without a key refuses
the start, so there is no ephemeral key any more. FerroEHR pins
ferrohealth-smart0.8.8. Upgrade note:- The provider must allow the redirect URI
<public_base_url>/auth/callback
in place of/auth/oidc/callback, and the post-logout redirect URI
<public_base_url>/sign-in?signed-out=1, where an OpenID Connect
sign-out returns. A Basic sign-out lands there directly. [auth.oidc]becomes[oidc].enabledmoves toauth.oidc_enabledand
public_base_urltoauth.public_base_url.tls.trust_roots_filebecomes
oidc.ca_file, andresolve = "host=ip:port"becomes
oidc.resolve = ["host=ip:port"].tls.client_identity(one PEM)
becomesoidc.tls.client_certificatewithoidc.tls.client_key(or
client_key_file), andtls.min_versionbecomesoidc.tls.min_version,
still"1.3"by default.- In
[session],idle_minutesbecomesidle_timeout_sand
absolute_minutesbecomesabsolute_timeout_s, both in seconds;
cookie_securebecomessecure_cookie.secretandsecret_file
becomekeyandkey_file, which only a sealed store takes, so a scaled
deployment setssession.store = "sealed"beside its key. - The variables follow: for example
FERROEHR_VIEWER__AUTH__OIDC__ISSUERis
nowFERROEHR_VIEWER__OIDC__ISSUER. Bookmarks to/loginreach the
OpenID Connect sign-in, not the sign-in page. - The Helm chart (21.0.0) renders the new variables from the same
viewer.auth.oidc.*values.
- The provider must allow the redirect URI
-
A clinical or party node row stores a
HISTORYoriginand anEVENTorACTIONtimeof the plainDV_DATE_TIMEshape as their value string, leaves out anENTRYsubjectthat is a barePARTY_SELF, and the root row leaves out itsuid, which the version row already holds, and keeps its archetype header, language and encoding in the columns a row below the root used since generation 4, with the version'stemplate_idput back into the header. Four new boolean markers on the row (origin_compact,time_compact,party_self,uid_derived) say which keys it left out, so every reader puts them back exactly where they stood and a fragment of any other shape stays as written; the canonical JSON, every AQL result and the served key order are unchanged. Migrationsext/0010,clinical/0031andparty/0024add the markers and the readers; no data is migrated, and a row written before keeps its keys and reads the same (#4904). -
ext.storage_generation()reportsgeneration-5, the storage generation with the node compact markers, and the storage benchmark records for it are committed underdocs/benchmarks/storage/generation-5/. Migrationext/0011changes only the label; nothing in the serving path reads it (#4904). -
The terminology overlay (
docker-compose.terminology.yml), the Helm chart
and the hosted sandbox run FerroTERM 0.3.3
(ghcr.io/ferrohealth/ferroterm:0.3.3@sha256:f25ddad886fd218ae1eb82af6b81b8ed16651333f5bd802e621c5ae83b0913f1),
where the overlay and the chart ran 0.1.6 and the sandbox 0.3.1. FerroTERM
0.3 reads only itsFERROTERM__…configuration tree, so the overlay and the
chart now setFERROTERM__TERMINOLOGY__CODE_SYSTEMS,
FERROTERM__TERMINOLOGY__INDEX,FERROTERM__TERMINOLOGY__DEFAULT_LANGUAGE
andFERROTERM__TELEMETRY__FORMAT. The overlay's ownFERROTERM_INDEX,
FERROTERM_LOG_FORMATandFERROTERM_DEFAULT_LANGUAGEshell variables keep
their meaning. The index layout is unchanged, so a built index serves as it
is. Upgrade: move anyterminology.extraEnventry that sets a pre-0.3
FerroTERM variable to itsFERROTERM__…key (#4931). -
The deployment artifacts run the newest release of each FerroHEALTH
product, each pinned by its index digest. The terminology overlay, the SUT
stack, the hosted sandbox and the Helm chart run FerroTERM 0.4.0
(ghcr.io/ferrohealth/ferroterm:0.4.0@sha256:efaa80152721c3738e0d0c0695cadbfefe89c1cf6df3567b9d3bc1788767e047),
whose index layout is unchanged, so a built index serves as it is. The
compose quickstart, the hosted sandbox and the chart run FerroPIX 0.0.14
(ghcr.io/ferrohealth/ferropix:0.0.14@sha256:389f40d144fe2ef3d79c1c1628e9a662a058961b1650c5541e601addc27112d8),
with the FerroPIX chart 0.3.6 built for it. The chart runs FerroBRIDGE
0.0.17
(ghcr.io/ferrohealth/ferrobridge:0.0.17@sha256:4cdf8d4b4c4d626b99a3929a363198067f87ac70875f4ce6db1d0614884f12af)
where it ran 0.0.5, and now writes FerroBRIDGE's[usage_report]from
bridge.usageReport.enabled. FerroBRIDGE 0.0.17 checks the callers of its
FHIRconnect operations, FHIR facade and operator API through[auth], and
refuses to start them until[auth]namesissuerandaudienceor sets
enabled = false. Upgrade: a values file that setsbridge.mappingsadds
bridge.config.auth.issuerandbridge.config.auth.audience, or
bridge.config.auth.enabled: falseto serve the operations to every peer
bridge.networkPolicy.ingressFromadmits (#4933). -
The viewer draws with FerroUI 0.6.6 (
ferrohealth-ui), and serves its
stylesheet and scripts under/ferrohealth-ui/0.6.6/, with FerroUI's fixes
since 0.6.0: a mapping row's relationship words and the top bar's search
submit fit a 320 px screen, and a combobox is not spell-checked (#4933). -
An ADL 2 upload that constrains
propertyonDV_QUANTITYis still
refused withVCARM, and the error now says thatpropertyis the ADL 1.4
archetype-profile attributeC_DV_QUANTITY.property, which no ADL 2 or RM
release defines, and that the archetype's ADL 1.4 source uploads and
converts to ADL 2 without it (#4964). -
The server, the viewer and the EHR index take the newest FerroHEALTH
family crates:ferrohealth-config0.2.8,ferrohealth-server0.4.3,
ferrohealth-session0.2.2,ferrohealth-telemetry0.2.4,ihe-iti
0.0.74 andferrobridge-term0.1.141. What changes for you:
[telemetry.otlp]now refusestrust_roots_fileor
client_identity_filebeside an endpoint that is nothttps://, and a
file that is no PEM of its kind, at boot and naming the key, where it
exported in plain text with the files ignored. Upgrade: point the endpoint
athttps://when the collector speaks TLS, or drop the two keys when it
does not. Each request's exported span is a server span named
{method} {route}whose status is an error on a 5xx answer, where it was
namedrequest./management/prometheusgains
http_server_active_requests, the requests in flight by method and scheme.
A panic line names the server's id of the request it happened in. A
configuration refusal no longer echoes a secret written unquoted in the
file, and a refusal inside an array of tables names its key with the
element's index (#4968). -
The conformance instrument is Veredictum 0.4.1, and the published conformance record (
docs/conformance/ferroehr/results.jsonwith itssummary.md) is a 0.4.1 released-profile run. The record gains the threeaqlc_selectcases of the aql-conformance corpus at3ecd250(a quoted'True'and a quoted'3e102'stay String literals, and a quoted date/time literal projects as the value it writes). Veredictum 0.4.1 skips a refusal row whose every control was skipped, where 0.4.0 errored it, so on the development profiletemplate_adl2/get_template_adl2_example-invalid_typeand-invalid_detail_levelare no longer errored. The development snapshot moves RM to09e481e9and ITS-XML to27c7a78b(#4971). -
The deployment artifacts run the newest FerroHEALTH releases, each pinned
by its index digest: FerroTERM 0.4.1
(ghcr.io/ferrohealth/ferroterm:0.4.1@sha256:b7f10609992377a7b8bca666254bceca79fe4366e2e54fc5fbce079eb9abf619)
in the terminology overlay, the SUT stack, the hosted sandbox and the Helm
chart, with the index layout unchanged; FerroPIX 0.0.15
(ghcr.io/ferrohealth/ferropix:0.0.15@sha256:5572f80a3a17fe83228a2a6fcf40f1dcaf8cacc48275136927286ba6ded5c74b)
in the compose quickstart, the hosted sandbox and the chart, with the
FerroPIX chart 0.3.7 built for it; and FerroBRIDGE 0.0.19
(ghcr.io/ferrohealth/ferrobridge:0.0.19@sha256:bdf4bd416f772ac36e4b3a940eb67841989552c0a0950d680049d959bd54dcba)
in the chart. None of the three renames or removes a configuration key
FerroEHR sets. Helm chart 21.0.0 carries the three pins (#4981).
Removed
-
The conformance pipeline no longer runs EHRbase or the extra FerroEHR deployments.
docker/sut-ehrbase.yml, the EHRbase record and party set,docs/conformance/COMPARISON.md, the book's Comparison with EHRbase page, and the openPGP-signing, fail-open and stable-spec compose overlays (docker/sut-signing-pgp.yml,sut-pgp-parallel.yml,sut-terminology-failclosed.yml,sut-terminology-failopen.yml,sut-spec-stable.yml) with the test signing keys undercorpus/keys/are gone.scripts/conformance.shno longer takesCONF_SUT,CONF_IXITorCONF_STATEMENT, and refusesCONF_PERF_CLASSandCONF_STRESSuntil the measured lanes move to the Veredictumperf/tree (#4448). -
The Veredictum pin watcher workflow,
scripts/checks/veredictum-pin.shwith itsveredictum-pin-guardjob, and theno-conformance-runlabel are gone: a pin bump now runs the new catalogue against its own build in the Conformance workflow (#4449). -
The Veredictum 0.1.6 conformance documents:
CONFORMANCE_REPORT.md,CONFORMANCE_STATEMENT.md,CONFORMANCE_CERTIFICATE.md,verdicts.json,run-exceptions.json, the CORE, STANDARD, OPTIONS, SEC-BASIC and performance badge files, and the heat grid and chapter bars the book and the landing page drew from them (#4451). -
The
CONF_PERF_CLASS,CONF_PERF_HOURSandCONF_STRESSsettings of the measured lanes are gone, along with the class runs, the step-load stress ladder and the AQL probe, which Veredictum 0.3.1 removed (#4452). -
The separate SMART step of the Conformance workflow, the
smartstage ofscripts/conformance.shwith itsCONF_SMART_OUT, anddocs/conformance/party/ferroehr/ixit-smart.jsonare gone: the one catalogue run covers the SMART documents. The party statement no longer carries theperformanceblock, which the Veredictum 0.3.1 statement schema refuses (#4503). -
The empty linkage storage domain is gone: its schema, its
ferroehr_linkage
role, the[storage.linkage]and[storage.migrate.linkage]configuration
tables, its pool, thedatabase.linkageandbackup.linkagechart values,
theferroehr-backup-linkagecompose job and thebtree_gistextension only
its table needed. A configuration that still sets[storage.linkage]or
[storage.migrate.linkage]is refused at boot as an unknown key. Cohort and
AQL demographic join crossings still write theirlinkage-domain access
records. Upgrade note: remove those keys and values before you upgrade.
On a co-located database, migrationaudit/0021_drop_linkage_domain.sql
drops the schema, the role and the extension at the first boot, and raises
aNOTICEfor any of them it cannot drop. When the linkage domain lived in
a database of its own,[storage.audit]names another database, or the
cluster holds more than one FerroEHR database, run in each such database, as
a superuser or a member offerroehr_linkage:
DROP SCHEMA IF EXISTS linkage CASCADE; REVOKE ALL ON SCHEMA ext FROM ferroehr_linkage; REVOKE ALL ON ALL FUNCTIONS IN SCHEMA ext FROM ferroehr_linkage; ALTER DEFAULT PRIVILEGES IN SCHEMA ext REVOKE EXECUTE ON FUNCTIONS FROM ferroehr_linkage; DROP OWNED BY ferroehr_linkage; DROP EXTENSION IF EXISTS btree_gist;
thenDROP ROLE ferroehr_linkage;once per cluster. The released grant
files still nameferroehr_linkage, so a first install whose migrator holds
noCREATEROLEstill provisions that role and drops it after the first boot (#4684). -
A party migration drops the database function
party.resolve_national_identifier.
No server path has called it since the linkage domain was removed (#4697). -
The viewer no longer reads
LEPTOS_SITE_ADDR: a value naming another address thanserver.listenno longer refuses the start.server.listen(FERROEHR_VIEWER__SERVER__LISTEN) sets the listen address (#4725). -
Migration
audit/0022drops the SQL functionsaudit.reap_audit_events(integer),audit.reap_audit_events_years(integer)andaudit.reap_audit_events_before(timestamptz), along with theirEXECUTEgrants. The server reaps the audit trail throughaudit.reap_audit_events_due, which honours each record's own retention end, and nothing called the three any longer. Thespec_profiledocumentation no longer names a LANG generation, since the profile selects the RM and BASE generations only (#4770). -
Breaking: FerroEHR no longer publishes change events to a message broker. The AMQP publisher, the
lapindependency, theeventscargo feature, the[events]section, the/admin/event_subscriptionroutes with their subscription store (clinical migration0030_outbox_feed.sqldrops the table), theeventshealth indicator andevents_publishedmetric, theplaintext_brokerdeployment gap, the chart'ssecrets.eventsUrlandconfig.eventsvalues, and the viewer's Subscriptions page are gone. A configuration that still carries[events], orplaintext_brokerindeployment_accepts, is refused at boot. Broker delivery moves to FerroBRIDGE, where it is in progress (FerroHEALTH/FerroBRIDGE#1367): it is to read the new outbox feed and publish to the broker, so a deployment that needs broker events stays on a release with FerroEHR's own publisher until a FerroBRIDGE release carries it. Then name its reader in[outbox] readersand configure FerroBRIDGE's events lane with the broker URL, exchange and queues (Change events (outbox feed)) (#4786). -
The chart's
terminology.uivalue and the terminology overlay's
FERROTERM_UIvariable: FerroTERM 0.3 serves no UI of its own, so neither
had an effect. A values file that still setsterminology.uiis refused by
the values schema; delete the key (#4931).
Fixed
-
The hosted sandbox seeds its full demo dataset again. The v5.5.0 reseed
stopped at the ADL 2 archetype library (233 stored / 89 refused against the
pinned 231 / 91) because the box's.envstill forced FerroTERM 0.1.6, which
reads none of the FerroTERM 0.3 settings the sandbox posture passes, so it
served no LOINC and VETDF could only warn onbraden_scale's mistyped
LA9605-4. The corpus, the pin and the CDR were right. The seed now asks the
CDR for a LOINC code before the library step and names a posture without
LOINC (SANDBOX_TERMINOLOGY=without-loincopts a local run into 233 / 89),
checks that the two files it names move together, and a corpus test holds
the manifest's pin to the adjudicated split with and without LOINC. The
FerroPIX rollout script retires a staleFERROTERM_IMAGEoverride, checks
that FerroTERM runs the pinned version and serves LOINC, and wipes before it
seeds over an unfinished seed (#4278). -
The measurement overlay
docker/sut-measurement.ymlswitches the caller rate limiter off by removing the[server.caller_rate]keys, so the server logscaller rate limiting configuredwithenabled=falseat boot, instead of setting a rate of 4294967295 per second thatferrohealth-server0.3.5 truncated to a zero interval and that answered stray429s under concurrency.scripts/conformance.shrefuses to start a measurement stack whoseferroehrservice still sets a caller rate (#4281). -
A response to a request whose body FerroEHR left unread, such as a
404
to aPOSTof a path it does not serve or a declared-length413, now
carriesConnection: close. The connection closed after such a response
without saying so, and a client that sent its next request on it met a
closed socket, which a non-idempotent request cannot safely retry
(RFC 9112 §9.6) (#4283). -
A
[server.caller_rate]above 1 000 000 000 requests per second no longer
answers429to concurrent requests: such a rate now limits nothing, as
its operator meant (#4283). -
Every request leaves one request line, a timeout
408, a declared-length
413and the500of a panicked handler included, and a413for a
body with no declared length that passes[server] body_limit_bytesis
answered with the openEHR error body, as the declared-length413is (#4283). -
An AQL query whose
WHEREclause chains thousands ofNOT,ANDorOR
terms no longer overflows the stack and aborts the server. The parser
refuses a query that nests brackets andCONTAINSdeeper than 64 levels or
builds an expression deeper than 512 levels with400 Bad Request, before
any recursive pass runs, on the ad-hoc, stored-query store and execution
paths alike. A longORover one path is written asMATCHES {…}, which
the bound does not count. A statement PostgreSQL refuses for its own
complexity limit (SQLSTATE class 54) also answers400instead of500.
openehr-querygainsParseError::TooDeep(#4284). -
An AQL query (ad hoc or stored) whose client disconnects, or that the
server's ownquery.timeout_msor HTTP request timeout gives up on, no
longer keeps its statement running and its pooled connection busy until the
statement ends. The connection is closed instead of returned to the pool, so
the slot frees at once, and every pooled session now sets PostgreSQL's
client_connection_check_intervalto one second, so the backend stops the
abandoned statement within about a second. The composition-count
statistics behave the same way (#4285). -
The server's resident memory no longer climbs under sustained load until the
container's memory limit kills it. Theferroehrbinary now allocates through
mimalloc instead of glibcmalloc, whose per-thread arenas kept freed memory
and never gave it back. On a load test of 10 000 mixed jobs at 48 workers the
peak resident set fell from 2.3 to 3.2 GB (growing run after run) to about
600 MB, and throughput rose by about a third (#4288). -
A request whose database connection a PostgreSQL restart, a crash or the
network cuts now answers503 Service UnavailablewithRetry-After, as a
request that cannot get a connection already did, instead of500. SQLSTATE
class08(except08P01),57P01,57P02,57P03and57P05, and a
reset, aborted or closed socket on an open session count as such a cut (#4290). -
While PostgreSQL is down, requests that need the database answer
503with
Retry-Afterabout a second after the first one starts waiting, and at once
after that, instead of each queueing up todb.acquire_timeout_secs
(30 seconds by default). An acquire that has waited a second tries one
connection of its own; when that cannot reach the database, the outage is
known until a fresh attempt connects, and requests are served again as soon
as one does. A pool that is only busy keeps queueing as before (#4323). -
Superseding a composition or a party no longer slows down as its history grows. The foreign-key check that every new node and attestation row makes against its version could scan all versions of the object instead of probing one, depending on the planner statistics at the time: on the storage bench, superseding an object with a few hundred versions took about 14 ms instead of 9 ms when the plan flipped. Migrations
clinical/0022andparty/0013re-key the version-tree uniqueness constraintuq_version_treewith the object id last, so the check always probes the primary key. The constraint enforces the same uniqueness as before (#4340). -
The FHIR rendering of an access record
ehds-loggingdoes not classify (a template upload, a stored-query write, a template read) now carries the IHE BALP 1.1.4entity:dataslice its Create, Read, Update or Delete profile requires: type2, role4andwhat.identifier, naming the operation when the record names no object. HAPI FHIR's validator refused the template upload record without it (#4353). -
A
+in a query string is a literal plus, as RFC 3986 §2.1 and §3.4
decode a URI query, on every ITS-REST operation and every extension route:
a date-time offset such as2026-10-28T10:00:00+01:00or an AQL parameter
sent with an unencoded+reaches the server unchanged, where it was read
as a space. A space in a query value is sent as%20. This reverses the
form-decoding of #3891: a client that writes a space as+now sends a
plus. Theopenehr-*crates move to 0.0.114 (#4356). -
An AQL
EHR e[ehr_id/value='…']predicate whose value is not a UUID ('1234', the AQL 1.1.0 example) answers an empty result, as itsWHERE e/ehr_id/value = '…'spelling does, onPOSTandGET /query/aql; it was refused with400. Both spellings lower the EHR id comparison through one path, and a value the database cannot cast is refused with a message that no longer claims it came from a query parameter (#4378). -
A request sent on a kept-alive connection that sat idle longer than
[server] header_read_timeout_ms(30 s by default) is answered. The server
used to close such a connection, sometimes while the request was arriving,
so a client that reused it gotEOFwith no answer and no server log line,
and a client that never retries aPOSTon a reused connection, such as
Go'snet/http, reported a composition commit as failed. An idle
connection now stays open until[server] idle_timeout_ms(120 s by
default) and then ends cleanly before any new request byte; keep that
limit longer than the idle timeout of your clients (90 s for Go) and of any
load balancer in front (#4381). -
An AQL query with an archetype predicate no longer builds the archetype
index bitmap of the whole store once per version. The planner multiplied
the selectivities of the archetype columns, which each archetype fixes
together, and expected about 15 000 of 545 067 blood-pressure OBSERVATIONs;
a query over one EHR then took 38.8 s and answered408. Clinical migration
0021_archetype_statistics.sqlgives the columns a statistics object, and
the same query takes 0.3 s (#4399). -
FROM PERSON p CONTAINS EHR e(and theORGANISATIONandROLEroots)
joins a party to the EHR whoseEHR_STATUS.subject.external_refnames it,
so a party created withPOST /demographic/personand an EHR created with
POST /ehranswer their row with no other call. Before, the join read only
the party-to-EHR map, which no REST route writes, and answered no rows on a
deployed server. The reference matches when itsid.valueis the party's
uid without::<system>::<version>and itstypeis the root class or its
RM ancestor (ACTOR,PARTY), in any namespace; an EHR linked both ways
answers once (#4411). -
An AQL projection whose path ends on a list attribute inside a node's data
(c/feeder_audit/originating_system_item_ids,c/links,
c/context/participations,c/composer/identifiers,.../mappings)
answers the list itself,[{…}, {…}], andnullwhen the list is absent.
It answered the list wrapped in a second list,[[{…}, {…}]]; a client that
unwrapped that outer array reads the column directly now. A path that
continues below a list (.../originating_system_item_ids/id) still answers
the array of its matches,["…", "…"].COUNTover a path ending on a list
counts its elements (#4413). -
Reading one version of a composition, EHR_STATUS, folder or party by its version id no longer slows down as the object's history grows. Once a connection reused its prepared read, the plan scanned every version of the object and kept the one asked for: on the storage bench's history of 500 versions such a read touched about 520 buffers instead of 12 to 24. Migrations
clinical/0023andparty/0014add an index on the version tree id columns of both storage tiers, so the read probes the one version it returns (#4420). -
An audit store that 5.6.0-rc2 migrated starts again. Audit migration 0017
changed after 5.6.0-rc2 shipped it, so the server refused such a store on
the migration's checksum at boot. 0017 is back to its 5.6.0-rc2 text, and
the new audit migration0019_search_tokens_pending_list.sqlgives the
search token index its pending list of 512 kB, so a store that 5.6.0-rc2
migrated upgrades in place (#4424). -
An AQL query ordered by
c/uid/valuewith aLIMITno longer starts a parallel worker on every call, and no longer switches between that plan and a sort of the whole join depending on the planner statistics. The version uid it sorts on had no index, so the planner sorted the version rows through a parallelGather Merge, which costs a worker's start-up per query on a server of any size: about 19 ms on the storage bench's CI runner, where the two flat-shape path reads measured 23 ms in some rounds and 42 ms in others. Migrationsclinical/0024andparty/0015add an index on the uid expression of the hot version partition, so the query reads versions in uid order from it in one backend and stops at the limit (#4429). -
An AQL query that reads values along a path no longer spends up to a second compiling itself before it runs. Each path step was bound through a set-returning function that PostgreSQL estimates at ten rows, so a chain of steps multiplied the row estimate tenfold per step: the planner chose join orders for a statement millions of times larger than the real one and switched on JIT compilation for it. On the storage bench, a wide projection of 9 values over one EHR read in 1 s instead of 15 to 20 ms, and an ordered WHERE on a magnitude in about 0.5 s instead of 50 ms (#4430). Each step is now a
LATERALsubquery that the planner estimates from its own plan; results do not change (#4431). -
An AQL lookup by an ELEMENT value, such as a person by an identifier
(WHERE id/items[at0001]/value/id = $v) or a composition by a text value,
read every node of the archetype in both stores and tested the value last:
about 350 ms at 50 000 persons. The engine now anchors such an equality on
the ELEMENT rows of the same version by their search text
(ext.node_search_text, ext migration0006), which the new partial
expression indexidx_node_hot_value_searchand its statistics object
serve (clinical migration0025, party migration0016), so the lookup
reads the one object: 26 buffers and under a millisecond at 50 000
persons. The party store also gets the archetype dependency statistics the
clinical store has had since 5.6.0-rc2 (party migration0017). The
storage bench measures the lookup asperson_identifier_lookup(#4437). -
The revision history and every point read of a version now reach the
version's commit audit through a lateral subquery that probes
pk_commit_auditby key once per version row, so stale statistics on
the partitionedversiontable can no longer turn the read into a walk
of the whole commit audit index (1 318 buffers against 21 for a
four-version object beside 1 300 others) (#4438). -
A revision history or a current-version read of a COMPOSITION committed
after the partitionedversiontable last had statistics could walk the
whole commit audit index: the planner held the highest commit audit id
of the seed for the highest there is and rated a merge join over
pk_commit_auditas cheap. On a store of 1 300 compositions the history
of a four-version object read 1 318 buffers instead of 21, and the
storage bench readrevision_historyat about 440 buffers per call in 3
of 8 rounds. The server now keeps the partitioned parents' statistics
(#4453), and each read probes the commit audit by key (#4438). -
An AQL lookup of an EHR by the subject of its EHR_STATUS
(WHERE e/ehr_status/subject/external_ref/id/value = $u AND e/ehr_status/subject/external_ref/namespace = $n) joined every EHR_STATUS
version and read the subject out of its stored fragment: about 150 ms on a
store of a few thousand EHRs. The two leaves now read the EHR row's
subject_idandsubject_namespace, the copy the commit keeps of the
current EHR_STATUS subject, so the lookup enters throughuq_ehr_subject
and reads one row. The storage bench measures it asehr_by_subject(#4442). -
The partitioned tables
node,versionandvo_attestationof the
clinical and party stores never had planner statistics of their own,
since autovacuum does not analyze a partitioned table, so the planner
estimated joins over them without any (PostgreSQL 18 §24.1.3). The
server now runsANALYZE ONLYon them, and onehrwhile autovacuum
has never analyzed it, after applying the migrations, after
load_ehrs, at boot and every hour. The role it runs as needs the
MAINTAINprivilege on those tables; without it the server logs the
tables it could not analyze. The populationCONTAINSof an archetype
now enters throughidx_node_hot_arch_subsume(3 703 buffers to
1 745 on the storage bench's seed) (#4453). -
A party delete (
DELETE /demographic/{agent,group,organisation,person,role}/{uid_based_id})
and the party relationship delete now answer400when the path names the
versioned object instead of its latestOBJECT_VERSION_ID, and delete
nothing. They answered204and deleted the current version. The release
requires thepreceding_version_uidin that path (ITS-REST
agent_delete.yamland its four siblings) (#4478) (#4458). -
A CONTRIBUTION member outside the operation's member set, a party in an EHR
CONTRIBUTION or a FOLDER in a demographic CONTRIBUTION, now answers400
as a body that fails the request schema. It answered422(#4459). -
A party update whose body carries no
uidnow checks each relationship
sourceagainst the party the path names and refuses a foreign source with
422, as RMRelationships_validityrequires. The check ran only when the
body carried auid, so such an update committed a relationship sourced at
another party (#4460). -
An ADL 1.4 template upload whose XML ends with an element still open now
answers400, as for any document that is not well-formed XML. The
well-formedness gate stopped at the end of input without checking that
every element was closed, so a truncated upload answered422(#4461). -
A canonical JSON body that the published ITS-JSON schema admits and the RM
refuses, such as aDV_URIorDV_EHR_URIwithoutvalueor a
DV_INTERVALlimitDV_ORDINALwithoutsymbol, now answers422naming
the member, on the direct commit routes, the CONTRIBUTION members and the
party commits. A body the schema refuses still answers400. All of them
answered400(#4463). -
A directory create or update whose root FOLDER names an archetype in
archetype_node_idand carries noarchetype_detailsnow answers422and
commits nothing: an archetype root carriesarchetype_details(RM common
§The LOCATABLE Class). FerroEHR created such a directory. A
553|incomplete|commit and a nested FOLDER keep it optional. The viewer's
empty directory root now carriesarchetype_details(#4464). -
AQL
EHR e NOT CONTAINS <class expression>now runs and returns the EHRs
that hold no matching object. It was refused as unsupported with400(#4465). -
An AQL comparison between a
DV_DATE_TIMEpath that ends on the data value
itself, such asc/context/start_time, and a date-time literal now compares
the instants both name, so values with different offsets compare correctly.
The comparison read the whole data value and matched nothing (#4466). -
A container member whose node id names an object constraint of the
template but whose RM type conforms to none of them, such as an ELEMENT
where the template allows only a CLUSTER, is now refused with422. Only
the opposite direction was refused (#4468). -
An ADL 1.4 template upload with
Prefer: return=representationnow answers
the representationAcceptnames: the OPT XML, or the Web Template under
application/openehr.wt+jsonorapplication/json. AnAcceptoutside
those answers406and stores nothing. The upload always answered XML (#4469). -
A Simplified Format COMPOSITION commit without the
openehr-template-id
header, and a flat|rawvalue without_type, now answer400. Both
answered422(#4470). -
A Simplified Flat or Structured
…/action_archetype_idnow sets the String
ACTIVITY.action_archetype_id, and the flat output writes it back. The
converter built an object from the template's string constraint, so the
commit answered422(#4471). -
ctx/action_ism_transition_current_state, as a rubric or a code, now sets
ACTION.ism_transition.current_stateof every ACTION the document gives no
state. The converter wrote524|initial|first and the context value never
applied (#4472). -
ctx/instruction_narrativenow becomesINSTRUCTION.narrativeof every
INSTRUCTION the document gives no narrative. A placeholder<narrative>was
stored instead (#4473). -
The Simplified Flat
DV_INTERVALsuffixes|lower_unbounded,
|upper_unbounded,|lower_includedand|upper_includedare now read on
an interval whose bounds are template nodes, and the flat output writes an
unbounded flag when true and an included flag when false. The suffixes were
refused as unknown with422(#4474). -
An AQL query aimed at named EHRs (the ITS-REST
ehr_idparameter) reads those EHRs' objects first and each object's own content after them, whatever the planner statistics say. When an archetype's rows fell out of the most-common-value list of the archetype statistics, the planner estimated them at one row and could start from that archetype over the whole population, evaluating every projected path for every EHR's rows before the EHR filter: the storage bench's wide projection over one EHR read about 10 000 pages per call in some rounds and 1 200 in others. A node contained in a versioned object is now read inside its parent on such a query; results do not change (#4487). -
AQL
TERMINOLOGY('expand', …)against a FHIR terminology server takes the value set from theurlargument whenparams_uriis the$expandquery form (url=http://…), as the openEHR AQL examples write it, and still takes a bare value-set URL as it is. A query form withouturlis a 400 that names the missing argument. Before, the wholeparams_uriwent to the server as the URL, and the query was answered 400 because the value set was not found (#4488). -
AQL
TERMINOLOGY('validate', …)andTERMINOLOGY('subsumes', …)keep aparams_uriargument whole when its value carries a?, as the QUERY master03 exampleurl=http://snomed.info/sct?fhir_vsdoes. Before, the arguments were read from after the first?anywhere inparams_uri, so the value-set URL reached the terminology server truncated and the arguments before it were lost. Aparams_urithat starts with a path still has its arguments read from after the path's?(#4490). -
An ADL 2 template whose constituent archetype the CDR does not hold is
refused at upload, with a422whoseerrorscarry oneVARXRentry per
missing archetype (AOM2C_ARCHETYPE_ROOTvalidity rule VARXR); the 2013
CKMt_encounter_opt_test, built on the refusedapgar, no longer loads,
so the sandbox library pin is 231 accepted / 91 refused. A stored template
whose constituent was deleted later answers its JSON form and example with
the sameVARXRlist, and the viewer says so on every tab of the template,
names each missing archetype and links to uploading it, instead of a raw
422(#4505). -
ADL 2 validation admits a constraint on an RM computed attribute. VCARM accepts an attribute "stored or computed" (AOM2
master04.5§Validity Rules:C_ATTRIBUTE), and a function with no arguments is a computed attribute (master04.2§Attribute Nodes), so an archetype that constrainsDV_PROPORTION.is_integral,DV_QUANTITY.is_integralorEVENT.offsetis no longer refused with422. The generated RM model (openehr_rm::v1_2::model) now carries each class's computed attributes from the BMM functions (RmClass::computed_attributes,computed_attribute).openEHR-EHR-CLUSTER.microscopy_prostate_carcinoma.v1.0.0from the 2013 CKM ADL 2 export now uploads, and the sandbox archetype-library pin moves to 232 accepted and 90 refused.DV_QUANTITY.property, which no RM release defines, stays refused. The nineopenehr-*crates step to 0.0.124 (#4513). -
DELETE /ferroehr/rest/extensions/v1/definition/artefact/adl2/{artefact_id}
refuses with409 Conflictwhile another stored ADL 2 artefact does not
compile without the one deleted (a slot filler, ause_archetypereference
or a specialisation parent, directly or through another artefact), and the
message names every one of them. Before, the delete succeeded and left each
template built on the archetype unable to compile (#4522). -
The viewer's ADL 2 template upload names each violation the CDR found when
it refuses the source: every AOM2 rule code with the CDR's words for it, so
a template whose constituent archetype the CDR does not hold names that
archetype (VARXR). The upload now asks forPrefer: return=representation,
the preference under which ITS-REST lets a4xxcarry its error details,
and reads the stored template's id from theETagof the201(#4523). -
An ADL 2 operational template whose included archetype reuses the template's
node ids uploads again, where it was refused with422under VCOSU. Node-id
uniqueness now holds per archetype and restarts at eachC_ARCHETYPE_ROOT
(AOM 2 VCOSU, "unique within the archetype"), and on an operational template
the codes and interior node ids below a root are judged against that
constituent's entry incomponent_terminologies(OPT 2master03-opt_raw).
A duplicate node id inside one archetype is still refused. The nine
openehr-*crates step to 0.0.125 (#4529). -
The viewer's dashboard draws the EHR or composition count as unavailable, with the reason in plain words, when the CDR answers its count query with a result set of another shape (no row, several rows, an empty row, several values, or a value that is no whole number), where it drew 0 before. The template Releases table draws such a count the same way. A real zero still draws 0 (#4533).
-
An ADL 2 operational template upload runs the terminology integrity rules
(VTLC, VATCV, VTVSID, VTVSUQ, VTVSMD, VTTBK, VTCBK, and VTSD where the level
is carried) on eachcomponent_terminologiesentry, and each violation names
the component's archetype id (#4536). -
A COMPOSITION committed against an ADL 2 operational template is validated
against the template's leaf constraints, where it was stored with201
whatever it held. An inlined archetype recorded by its complete identifier
(openEHR-EHR-OBSERVATION.x.v1.0.0, BASEmaster07-referencing
§Reconstitutability) now matches its template node, so theC_INTEGER,
C_REAL,C_STRING,C_BOOLEAN, tuple, value-set and cardinality
constraints below it answer422(AOM 2master04.5). An archetype root the
template does not inline is refused as a node the template does not define,
and aC_INTEGERorC_REALlist ({10, 15, 20}) admits each of its values
where only the first was read. Canonical, FLAT and STRUCTURED commits take
the same check. The nineopenehr-*crates step to 0.0.127 (#4540). -
A versioned read whose
versionpath segment is no SEMVER version and no
{major}or{major}.{minor}prefix, such asv1.x,1.xor01, now
answers400before any lookup, where it answered404
(parameters/path/version.yaml,responses/400.yaml). This covers the ADL 2
template readGET /definition/template/adl2/{template_id}/{version}, the
stored-query readGET /definition/query/{qualified_query_name}/{version}and
both stored-query executions at a version,GETandPOST /query/{qualified_query_name}/{version}. A well-formed version the server
does not hold still answers404(#4541). -
A FLAT or STRUCTURED read of a COMPOSITION committed against an ADL 2
operational template returns the content below an inlined archetype that
the composition records by its complete identifier
(openEHR-EHR-OBSERVATION.x.v1.0.0, BASEmaster07-referencing
§Reconstitutability). The read left out everything below such a root with no
error; it now matches the root to its template node the way the commit does.
The nineopenehr-*crates step to 0.0.128 (#4551). -
A COMPOSITION committed against an ADL 2 operational template whose
C_INTEGERorC_REALconstraint is a union of ranges (for example
magnitude matches {|0..5|, |10..15|}) is refused with 422 when the value
lies outside every range. Such a value was stored. The served Web Template
does not change: its inputvalidation.rangeholds one range, so a union
leaves it out, as before, and the check runs on the commit (#4552). -
A FLAT or STRUCTURED read of a COMPOSITION committed against an ADL 2
operational template returns the value of an ELEMENT that holds a
DV_INTERVALwhoselowerandupperthe template constrains. The read
left the value out with no error (#4559). -
A FLAT or STRUCTURED read of a COMPOSITION returns the value of an ELEMENT
that holds aDV_INTERVALwhose template leaves the interval'slowerand
upperunconstrained, for ADL 1.4 and ADL 2 templates. The read left the
value out with no error, and a FLAT or STRUCTURED commit could not name the
parts (#4559). -
A COMPOSITION written from FLAT or STRUCTURED against an ADL 2 operational
template carries what a canonical body built to that template carries. A
node the template gives no term text, such as the HISTORY and ITEM_TREE of
an OBSERVATION, is named for its RM type (History,Tree) instead of its
bare id-code (id2). Every inlined archetype root records the complete
identifier the template names (…cnf_minimal.v1.0.0, BASE
master07-referencing§Reconstitutability) in itsarchetype_node_idand
archetype_details.archetype_id, andarchetype_details.rm_versionis the
template'srm_release. Before this change the root recorded the interface
form (…v1) and the server's RM 1.2.0. Compositions built against an
ADL 1.4 template keep their major-version archetype ids and RM 1.2.0 (#4560). -
ferroehr reportin a release build names theopenehr-*crate versions that release published to crates.io: the release lanes stamp the published version into the checkout before they build the server, where the report used to name the floor the source tree holds. A newopenehr_crates_originfield sayspublishedfor a release build andsource_treefor any other, a pre-release included (#4565). -
An ADL 2 archetype reference resolves to one defined stored release: an interface reference (
….v1) takes the newest release of its major version, a reference with a minor or patch version narrows the match to it, and an alpha or beta version matches only its full identifier (BASE Artefact Identification, Referencing). With several releases of one archetype stored, a template upload, an operational template and the delete's dependents check used whichever release PostgreSQL returned last, and a reference to a major version no stored release carries resolved to another major version (#4567). -
An ADL 2 upload and an ADL 2 delete no longer race. An upload validated before a concurrent delete of an archetype it uses committed could store a template whose constituent was gone. Both now hold one transaction-scoped advisory lock from the repository read to the commit, so the second write decides on what the first committed: an upload after the delete is refused with
VARXR, and a delete after the upload is refused with a409naming the template (#4568). -
The syslog form (DICOM PS3.15, IHE ITI-20) of an EHR-level audit record
names its object beside the patient, as a URI participant object with the
id its FHIRAuditEventnames. The record of placing, releasing or
expiring an EHDS Art. 3(3) access delay names the held composition as
access-delay:<vo>, so an Audit Record Repository fed by syslog can tell
which composition a hold covers (#4569). -
An ADL 2 template or archetype that references two major versions of one archetype (
….v1and….v2), or one archetype under two namespaces, now compiles against both: theopenehr-adlrepository holds an artefact under its namespace, archetype and major version, and resolves each reference within that key (BASE Artefact Identification, Referencing). A reference without a namespace now resolves in the namespace of the artefact that makes it, and never in another namespace (#4579). -
A read of a stored ADL 2 template by a partial id or a
version(GET /definition/template/adl2/{template_id}) now resolves the way template compilation does: withv1.0.0stored besidev1.0.0-rc.1,….v1,….v1.0andversion=1.0.0answer the release in either upload order, and the release candidate is read only by its full version (BASE Artefact Identification, Referencing) (#4580). -
A write that sends no committer, on a route that takes a bare RM body (the
EHR_STATUS, COMPOSITION and DIRECTORY writes, and the demographic party
and relationship writes), now records a Bearer caller's login as issued by
the token issuer, as EHR creation and every other default committer already
did. It recorded the issuerferroehrfor every caller before; a Basic
caller's login is still issued byferroehr(#4585). -
The viewer's ADL 1.4 template upload opens the stored template's page, read
from theETag(else theLocation) of the CDR's201, where it went to an
address with no template id. A refused upload names each violation the CDR
found, its rule code or path and the CDR's words for it, as the ADL 2 upload
does: the upload asks forPrefer: return=representation, the preference
under which ITS-REST lets a4xxcarry its error details (#4596). -
A
422validation refusal tells the client to send
Prefer: return=representationonly when the request did not send it; a
request that sent it receives the violations inerrorsand adetail
without the advice (#4597). -
An EHR Extract import refusal for a received version now names that
version's position in the extract (chapters[i]/items[j]/item/versions[k]),
so an importer can find the defectiveORIGINAL_VERSIONin a large extract (#4602). -
The import reads a version's
other_input_version_uidswith the parser the
CONTRIBUTION path uses and refuses an entry that is not an
OBJECT_VERSION_ID, where it used to drop the entry. On the wire the
extract decode already refuses such an entry with 422, so the import
stays all or nothing (#4602). -
An AQL archetype predicate matches the namespace exactly and reads the
version it names as the oldest release it accepts within the major:
org.a::…no longer finds data recorded inorg.b, an id without a
namespace finds only data recorded without one, and.v1.4.2no longer
finds data recorded underv1.0.0(BASE Artefact Identification
§Referencing and §Supporting Archetype-based Querying; #4629, #4630). -
A query naming a parent archetype finds the data of a specialised child
release only when that release declares a parent release at or after the
queried one. Before, once one stored release of the child qualified, the
data of every release of it was returned (BASE Artefact Identification,
Referencing §Supporting Archetype-based Querying; #4637). -
POST /definition/template/adl1.4andPOST /definition/template/adl2
answer400for every invalid template, the only refusal ITS-REST 1.1.0
declares for both uploads besides the409duplicate. An OPT that breaks
the OPT 1.4 schema, an ADL 2 source that breaks an AOM2 rule such as VCORM
or VCARM, and an ADL 2 template whose constituent archetype is not held
were refused with422. The problem keeps itsdetailand, with
Prefer: return=representation, itserrors. Upgrade note: a client that
read a422from a template upload reads a400, with the samedetail
anderrors, under theabout:blankproblem type (#4643). -
A directory create or update whose FOLDER carries an empty
foldersarray,
at the root or in a sub-folder, is refused with400and commits nothing.
The ITS-JSON FOLDER schema givesfoldersminItems: 1, and the canonical
JSON reader now refuses the empty array the same way in every document that
carries a FOLDER, a CONTRIBUTION included. The viewer leavesfoldersout of
a folder with no sub-folders (#4644). -
A canonical XML FOLDER, EHR_STATUS, PERSON, AGENT, GROUP, ORGANISATION,
ROLE or PARTY_RELATIONSHIP document now has the root elementitemswith
xsi:typenaming its class, the element the ITS-XML schemas publish for a
LOCATABLE (Structure.xsd). The directory reads (latest, by version and at a
time), the EHR_STATUS reads, the demographic reads and the demographic
template examples served<folder>,<ehr_status>,<person>and the like,
which no ITS-XML schema declares. XML input accepts the same form (#4645). -
POST /definition/template/adl1.4builds the template's Web Template
before it stores the template, so a template it cannot build is refused
with400and nothing is stored. Once the template is stored, the upload
answers201with itsLocation; withPrefer: return=representationand
a Web TemplateAcceptit serves the Web Template built before the store,
and the OPT if that cannot be served. It no longer answers422for a
template it has already stored (#4647). -
A composition whose HISTORY carries
events: [], and an AGENT, GROUP,
ORGANISATION or PERSON carryinglanguages: [], are refused with400and
commit nothing. The ITS-JSON schemas give both arraysminItems: 1, and the
canonical JSON reader now refuses the empty array as it does an empty
FOLDERfolders. The FLAT builder no longer writes an emptyeventsfor a
HISTORY that has no event (#4648). -
A write to a restricted COMPOSITION (
POST,PUTorDELETEon
/ehr/{ehr_id}/composition) refused under a GDPR Art. 18 restriction now
answers with theprocessing-restrictedproblem type, as the reads of a
restricted record already did, in place of the genericforbiddentype.
The status stays403(#4657). -
When an
EXTRACT_SPECcriterion's AQL runs past the query time budget, the400
body now states the timeout as plain text. It used to start with a control-character
marker that was only ever meant for the server itself (#4657). -
Under a separated clinical credential,
POST /ehr,PUT /ehr/{ehr_id}and
anEHR_STATUSupdate that name a subject no longer fail with a database
error: the subject pseudonym guard reads the deployment posture, and the
clinical role now holdsSELECTonext.posturethrough theext
migration0009(#4675). -
A cohort that names its subjects now finds, under
[ehr_index] provider = "local", the EHR created overPOST /ehrwith that subject in its
EHR_STATUS; it read a cross-reference table no route wrote, so it matched
nothing. A cohort predicate and the AQL demographic join resolve a party to
the EHRs whoseEHR_STATUS.subjectnames it. TheEHR_STATUSsubject is
now the one source of which EHR belongs to which subject. Upgrade note:
linkage.subject_ehrand thelinkage.erase_ehrfunction go with the
linkageschema, which audit migration0021drops with the linkage
domain. Rows written there through the service API are dropped with the
table; the EHRs they named keep their subject in their ownEHR_STATUS(#4675). -
The identifier scan (
[privacy.identifier_scan]) no longer refuses a
DV_IDENTIFIERwhosetypedeclares an item rather than a person, such as
a laboratoryfiller_order_numberthat passes the NHS Number check by
chance. ADV_IDENTIFIERinFEEDER_AUDIT.originating_system_item_idsor
feeder_system_item_idsis scanned only when itstypenames a person
identifier. Atypenaming a person (patient,NHS,BSN,social securityand similar) keeps the value scanned in every slot, and free text
and untyped identifiers in clinical content are scanned as before. The
default rule set is unchanged; a deployment that knows its jurisdictions
still narrowsrules, so a Dutch one withrules = ["nl-bsn"]never claims
an NHS Number (#4702). -
An inline primitive constraint in a parsed archetype or template now carries the node id AOM2
ADL_CODE_DEFINITIONS.Primitive_node_iddefines,at9999in an at-coded archetype andid9999in an id-coded one, where it carried the constant's namePrimitive_node_id. An ADL 1.4 archetype converted to ADL2 gets the id-coded form (#4739). -
The ABAC policy-enforcement point checks every item-tag operation as it checks its target: a COMPOSITION tag read after the call like the COMPOSITION read, a COMPOSITION tag write before the call with the tagged version's template, category and origin, and the EHR tag read before the call like the EHR read. These operations were unchecked before, so a patient-scoped or template-scoped rule now refuses a tag read or write wherever it refuses the target's read or write. A COMPOSITION tag read also falls under the
EHR_ACCESSprivacy ceiling and its audit record names the tagged COMPOSITION (#4768). -
A primitive constraint inside a rule or a slot assertion of an id-coded ADL 2 archetype carries
id9999as its node id, asorg.openehr.am.aom2.adl_code_definitions§Constants definesPrimitive_node_idfor id-coded archetypes, where it carriedat9999before. An ADL 1.4 archetype converted to ADL 2 recodes its slot assertions the same way.openehr_adl::rules::parse_rules_bodyandparse_slot_assertionstake the archetype'sNodeCoding, whichopenehr_adl::codesnow exports (#4770). -
Under
spec_profile = "stable", a canonical-JSON party read lists inreverse_relationshipseveryPARTY_RELATIONSHIPanother party's current version carries with this party as its target, oneLOCATABLE_REFeach naming the source party's version container and the relationship's path, as RM 1.1.0 §Party Relationships requires. The development profile, whose RM 1.2.0 makes the attribute a function, is unchanged. The released-profile conformance run now judges the server on the stable profile (#4775). -
Under the
developmentprofile,POST /definition/template/adl2refuses with400a template whose description has nooriginal_authoror an emptylifecycle_state, namingRESOURCE_DESCRIPTION.Original_author_validorRESOURCE_DESCRIPTION.Lifecycle_state_valid. BASE 1.3.0 states both invariants (org.openehr.base.resource.resource_description.adoc§Invariants). Thestableprofile's BASE 1.2.0 states neither, so it still accepts such a template (#4776). -
A stable-profile party read in canonical XML carries
reverse_relationships(#4778), as the canonical-JSON read does: the XML
response is written through the RM 1.1.0 generation, whosePARTY
declares the element the ITS-XML RM Release-1.1.0Demographic.xsd
carries. A development-profile read stays without it. -
A database that accepts connections slowly is no longer recorded as down. A
probe connect still in progress after its two-second bound now leaves the
acquire queueing on the pool withinacquire_timeout_secs, so the request is
served once the connect completes, or answers the pool-timeout503with
Retry-After. Only a refused or reset connect, or a server shutting down
(57P01,57P02,57P03), marks the database down and answers the outage
503at once (#4782). -
A database that resets connections is now answered as an outage at once on
every request, the503withRetry-Aftera refused connect gets, instead
of each request opening a connection of its own that the database resets. A
connect of the pool's own that is refused, reset or turned away as shutting
down (57P01,57P02,57P03) records the outage as the probe does, and
a probe that connects again clears it. A connect that is only slow still
queues (#4807). -
An EHR whose
ferroehr.access_control.v1settings carry the scheme's
_typebut do not parse is held closed. Before, such an EHR was served at
the default level, as if it carried no settings: open to every caller unless
the server default was restricted, with no privacy ceiling on its
compositions. Now every request that names the EHR, its reads and its
export included, is refused with500, no query reaches it, and the server
logs an error naming the EHR (#4846). -
A CONTRIBUTION or an EHR Extract import that carries
ferroehr.access_control.v1settings which do not parse is refused with
400, naming the first setting that does not parse. Before, such settings
were stored, and since #4846 they hold the EHR closed, with no way to repair
it over REST (#4854). -
POST /message/exportchecks theEHR_ACCESSsettings of every EHR its
manifest names, byehr_idorsubject_id, before it reads any content,
and refuses the whole export with the403or500a read of that EHR
gets. Before, the manifest form passed noEHR_ACCESSgate: any caller the
route admitted could export an EHR whose access list refused them, or one
held closed because its settings do not parse (#4864). -
An admin archive load refuses an archive whose
ferroehr.access_control.v1
settings do not parse with400, naming the setting and the EHR, before
anything of it is written. Before, the load stored such settings, and the
EHR they belong to was then held closed (#4865). -
With attribute-based access control on, both EHR Extract export routes pass
the ABAC pre-check:GET /message/export/{ehr_id}the one a read of the EHR
passes, andPOST /message/exportthe patient scope on every EHR its
manifest names, before any content is read. Before, neither route reached
the ABAC policy-enforcement point, so a caller bound to one patient could
export any EHR the coarse layers admitted (#4869). -
An access service that exports an opted-out EHR through a
POST /message/exportmanifest under the EHDS Art. 10(2) vital-interest
override now records the override against that EHR, once, before any
content is read, as a read of the EHR by its path does. Before, the
manifest form exported the EHR under the override and wrote no override
record (#4870). -
With attribute-based access control on, both EHR Extract import routes
(POST /message/importandPOST /message/import/{ehr_id}) pass the ABAC
pre-check a direct write passes, the patient scope on the target EHR
included, and are audited as EHR writes. Before, neither route reached the
ABAC policy-enforcement point, so a caller bound to one patient could import
into any EHR the coarse layers admitted, and the request was audited under
the generic application-activity class (#4872). -
A REST request whose body cannot be read is refused with
400, and one
whose path parameter is not valid UTF-8 with400, instead of running as
a request with an empty body or no path parameters. The body-limit check
answers413only for a body over its limit; any other read failure is
400(#4895). -
An AQL request abandoned while the EHR_ACCESS settings index loads, for example behind a table lock, no longer keeps its pool connection until the statement ends: each waiting request started the load again, so ten abandoned queries held nine of ten connections (#4903).
-
An archetype root converted from an ADL 1.4 operational template defines each slot that replaced an embedded root in every language of its terminology, with the embedded root's concept term, and drops a term keyed by no
atoraccode (such as a tool's°Cunit label) with aconversion_detailsentry. Before, such roots failed ADL 2 validation with VATID and VATCV (#4917). -
The ADL 1.4 to 2 converter no longer writes a
propertyattribute onDV_QUANTITY, which no RM release defines, from an ADL 1.4 archetype or an operational template; it drops theC_DV_QUANTITYproperty constraint and records it inconversion_details. Before, a converted archetype carrying one was refused with VCARM (#4920). -
The ADL 2 WebTemplate builder gives each
use_archetypesibling of one archetype that the template names with a fixedname/valueits own name-qualified path ([openEHR-EHR-SECTION.adhoc.v1,'Medication summary']), as the ADL 1.4 builder does, so a composition holding several such sections, such as an International Patient Summary, validates instead of being refused with "too many occurrences" (#4927). -
openehr-adl:print::printrefuses a terminology constraint ADL2 has no
syntax for, such as the ADL 1.4[openehr::433]an unconverted 1.4
archetype keeps, withPrintError::TerminologyConstraint, where it used to
write text thatparse_artefactthen refused (ADL2master04.5
§Terminology Constraints) (#4937). -
A
LATEST_VERSIONAQL read joins an object's node rows on its head's content key. Since a version identical to its predecessor reads its predecessor's node rows, such a read could reach a shared row through every version of a long identical chain before keeping the head.vo_head.trunk_head_content_keynow names the head's node rows and everyLATEST_VERSIONread joins on it, and theversionpartitions declare avo_iddistinct count (n_distinct = -0.5) so the planner never prices a probe of one object's versions at one row (migrationsclinical/0034,party/0026). The storage generation moves togeneration-6(ext/0012). The flat population read the storage bench measures stops at its limit only with the planner fix of the next entry (#4944). -
A population AQL read ordered by the composition uid with a
LIMIT(SELECT … FROM EHR e CONTAINS COMPOSITION c CONTAINS OBSERVATION o[…] ORDER BY c/uid/value LIMIT 50) stops at its limit again. Since a version identical to its predecessor reads its predecessor's node rows, the store holds fewer node rows, and the planner's estimate of the answer fell to a tenth of its size: it then joined the whole population into a sort, and the storage bench's flat two-leaf read took thirteen times the pages. The ADL 1.4 specialisation test of an archetype predicate is now a byte range the archetype extended statistics read (arch_concept ~>=~ 'concept-' AND arch_concept ~<~ 'concept.', the same strings asLIKE 'concept-%'), and a node contained in aCOMPOSITION,EHR_STATUSorEHR_ACCESSroot joins it onnum > 0in place of the root's nested-set interval (#4944). -
The viewer refuses, before sending it, a CDR request whose URL would leave the configured CDR: another scheme, host, port or user, a path outside the product root of
[cdr] base_path, the management base or the health family, or a path that holds a.or..segment in any spelling, a\or a control character. A browser-supplied id, stored-query name or version of..was percent-encoded unchanged and resolved away from the ITS-REST base; it now draws the refusal instead. A[cdr]URL that makes no absolute URL stops the viewer at start (#4954). -
openehr-adl:opt::create_opttakes unconverted ADL 1.4 constituents
again. It keeps their 1.4 node codes, so 1.4 template paths such as
/activities[at0001]/description[at0002]still resolve, and rewrites each
1.4 term constraint to the form ADL2 spells (master04.5§Formal
Terminology Constraint), the wayadl14::convertdoes. An external code
such as[openehr::433]becomes a new at-code bound to
http://openehr.org/id/433, and a code list such as
[local::at0168, at0169]becomes an ac-code value set. The OPT2 then
prints and parses back (#4956). -
An AQL
ORcontainment branch that binds a versioned object underLATEST_VERSIONanswers the object once, with the head's uid, when the head shares its predecessor's node rows; it answered once for every version reading the shared tree (#4957). -
Under
spec_profile = "stable", an AQL whole-object result whose stored body the profile gate cannot read is refused with an error naming the version; it was served without the assessment (#4960). -
openehr-langlexes a long string literal,--comment,<# … #>plug-in
block, embedded URI or contained regexp in constant stack in a debug build.
Before, thelogoslexer took one stack frame per multi-byte character or
escape of such a token, so building a template from ADL archetypes could
overflow a thread's default 2 MiB stack and abort. A 1 MiB token now lexes
on a 256 KiB thread. The token stream and its spans are unchanged (#4961). -
The ADL 1.4 to ADL 2 conversion gives a terminology constraint that names
no codes ([openEHR::],[local::]) an ac-code per terminology, with no
value set and no binding, and records the terminology in the conversion
log. Before, every such constraint in an archetype shared one ac-code
labelled as a synthesised value set, whatever terminology it named (#4965). -
Converting a stored specialised ADL 1.4 archetype to ADL 2 answers
422
when the archetype introduces a term code its stored parent lacks without
the specialisation dots its depth requires (at0006where depth 1 needs
at0.1), naming each code. AOM 1.4 requires the dots, and the conversion
used to carry such codes into ADL 2 (#4966). -
The ADL 1.4 to ADL 2 conversion gives a slot that redefines a parent slot
(at0004.1) the parent slot's node id, as AOM 2 VDSSID requires, and the
differential form it builds against a converted parent drops archetype
slots and proxies the parent holds unchanged and keeps only terms of the
archetype's own specialisation level (VTSD) (#4967). -
openehr-adl'sopt::create_optno longer flattens an ADL 1.4
specialised archetype over its parent. An ADL 1.4 archetype is authored in
flat form (ADL2master07.02§File-naming Convention, AOM2 `m