Changelog
All notable changes to this project are documented here.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Maintenance rule: every pull request that changes user-visible behaviour adds
one fragment under changelog.d/ in the same PR (changelog.d/README.md)
and leaves Unreleased empty. Cutting a release assembles the fragments
into the version’s section with scripts/release/changelog.sh --assemble,
and moves the link references on.
The architecture is recorded in docs/architecture.md, the output of the
research program on
issue #1. Releases on
the 0.0.x line carry the repository, its gates, its documentation, a Linux
binary per architecture and a container image, each with provenance and an
SBOM you can verify (SECURITY.md); from 0.0.3 they also carry the library
crates on crates.io.
Unreleased
0.0.29 - 2026-11-24
The patient summary and SMART Health Links. The facade answers
Patient/$summary with an HL7 IPS 2.0.1 or HL7 Europe Patient Summary
document carrying problems, allergies, procedures and medical devices, and a
person shares their summary through a one-time SMART Health Link. Every
release attaches the HL7 FHIR Validator’s reports on the documents the bridge
serves. The bridge reads every caller from a token’s standard claims on
ferrohealth-smart 0.34, a breaking change to [auth]. Concurrent first
writes for one patient converge on one EHR, the FHIRPath evaluator reads a
decimal with a large exponent, and cookie 0.18.3 closes RUSTSEC-2026-0594.
Added
GET /fhir/Patient/{id}/$summaryanswers the patient summary of one patient as an HL7 IPS 2.0.1 document, or in the HL7 Europe Patient Summary form thatprofilenames, behind[facade.summary]. The patient comes from thePatientparty context and the record from the patient summary compositions of the patient’s EHR, read as the caller; each code in no preferred system is translated on the terminology server, and the document is validated in process before it is served, a422when it breaks its profile.eehrxf0.23.2 adds the IPS 2.0.1 form beside the EPS one (#2014).- Every release carries
ferrobridge-vX.Y.Z-fhir-validation.tar.gzand its checksum: the exchange-format documents theeehrxfsuites map and the patient summaries the server serves, directly and through a SMART Health Link, with the pinned HL7 FHIR Validator’s report on each. A document the validator refuses stops the release (#2015). - SMART Health Links behind
[shl]: a person with apatient/token creates a one-time share of their patient summary atPOST /shl, lists their active links atGET /shland revokes one atDELETE /shl/{handle}; a receiver resolves it without an account by the manifest request or, underU, the direct file request (SMART Health Cards and Links 1.0.0). The file is a compact JWE (dir,A256GCM) under a key only the link carries; the store keeps the ciphertext and the passcode’s Argon2id hash, and deletes the link at expiry, revocation, lockout or last use. A link expires after 24 hours by default and 7 days at most, answers once by default, takes 5 wrong passcodes over its life, and hands out single-use file locations that lapse within the hour. Each creation, answer with itsrecipient, refused passcode, revocation and end is a BALPAuditEventin the access record, and theCapabilityStatementnames where links are created (#2016). - The patient summary carries problems, allergies and intolerances, and
procedures: FerroBRIDGE’s patient summary template adds a problem list
(
EVALUATION.problem_diagnosis.v1), an allergies and intolerances section (EVALUATION.adverse_reaction_risk.v2) and a history of procedures (ACTION.procedure.v1), andeehrxf0.24.0’s EPS project maps them tocondition-eu-core,allergyIntolerance-eu-coreandprocedure-eu-epswith their SNOMED CT codes.Patient/$summaryfills those sections from the record, and a fed section the record leaves empty isnilknown(#2020). - The release’s
ferrobridge-vX.Y.Z-fhir-validation.tar.gzalso holds every patient summary judged by the HL7 FHIR Validator with the xShare Yellow Button guide 0.3.0 loaded, against the Patient Summary content the guide names (Bundle-uv-ipsof IPS 2.0.1) (#2029). - The patient summary carries medical devices: FerroBRIDGE’s patient summary
template adds a medical devices section (
EVALUATION.device_summary.v0, vendored from CKM), andeehrxf0.25.0’s EPS project maps each medical device summary to adeviceUseStatement-eu-epsand adevice-eu-epsDevicewith its SNOMED CT type.Patient/$summaryfills the EPS medical devices section from the record, and a record with no device answers itnilknown(#2033).
Changed
- Breaking: the bridge trusts an authorization server, FerroSMART among
them, with an
[auth.issuer.<name>]table that names only itsissuer, and reads every caller from the token’s standard claims, asferrohealth-smart0.34 does: a client credentials token, whosesubis itsclient_id, is a machine, and any other token is a user named by the resource type of itsfhirUser, with itspatientclaim as the launch context and an RFC 8693actas the actor. The authorization server’s client registry is the one list of clients: a token whoseaudnames the bridge admits its client. A token’stypisat+jwtorapplication/at+jwtandscopeis required. The onward lane carries every user at its SMART issuer and another party’s professional at itsfederationissuer, and the onward grant is set by the onward table’s profile keys (onward_grant,onward_indicator,onward_parameters,onward_client_id). The crates move toferrobridge-termandferrobridge-validator0.18.0 andferrobridge-hl7v2andeehrxf0.26.0, and the server and the console toferrohealth-smart0.34.0 andferrohealth-session0.29.0. Upgrade: delete every key listed under Removed and keepkind = "federation"only on another party’s issuer (#2028). hl7v2-types0.1.129 andferrobridge-hl7v20.27.1 are generated from the HL7 v2 definitions atHL7/v2ig9c307dadb. The source of truth is unchanged at that commit, so only the provenance in the generated files moves (#967).
Removed
- Breaking: the issuer keys
kind(exceptkind = "federation"),preset,profile_fileandscopeless_subjects, the whole[auth.idp]table, and the profile keysfirst_party_clients,delegates,audience_delegates,issuer_client_is_person,patient_context,fhir_user_patient,representation,act_represents_patient,guestand every vendor profile key (app_only,client_claims,person_equalityand the rest) are removed from[auth.issuer.<name>],[cdr.endpoint.credentials.onward]and[[cdr.onward]], and a configuration that sets one is refused as an unknown key. Thepersons,patientsandmachinesissuer kinds go with them (#2028).
Fixed
- A free-text
DV_IDENTIFIER.assignermaps toIdentifier.assigner.displayand back, in place of aReference.referenceno FHIR document resolves, soPatient/$summaryserves a patient whose identifier names its assigner in words; a literal reference keepsreferenceand thesystem::valueform keepsidentifier.fhirconnect0.7.1, withferrobridge-hl7v20.25.2 andeehrxf0.23.3 on it (#2021). - A free-text
DV_IDENTIFIER.type, such as thepatientof every patient summary’s Patient identifier, maps toIdentifier.type.textand back, so no identifier carries a coding with no system; asystem::codetype stays a coding of that system (#2038). - Parallel passcode guesses against one SMART Health Link check the passcode against its Argon2id hash at once, and only the attempt count waits on the link’s write, so a burst of guesses no longer runs past the request timeout. The lifetime attempts are still counted exactly (#2041).
- When the CDR answers
409 Conflictto an EHR creation because another writer created the EHR for the same subject first, the facade reads the EHR by subject again and writes into it, so concurrent first writes for one patient converge on one EHR in place of a refusal (#2046). - The FHIRPath evaluator reads an R4 decimal the exact decimal cannot hold
with its stated precision, such as
1e999999999(FHIR R4 datatypes.html §2.24.0.1), asItem::Scaledin its exponent form, where it refused the value before. It compares exactly, every computation on it is empty (N1 §6.6), andtoString()refuses one whose fixed-point form passes 4096 digits withEvalError::Unwritable.round()past 28 places is empty. Breaking for a consumer that matchesItemorEvalErrorexhaustively or callseval::convert::fhir_quantity, which now returns anItem:ferrobridge-fhirpath0.2.0, withferrobridge-validator0.19.0,ferrobridge-hl7v20.27.0 andeehrxf0.27.0 on it (#2069).
Security
Shipped with functional changes because: the cookie upgrade closes an advisory no shipped build met, so it ships with the next feature release rather than in a release of its own.
- The operator console takes
cookie0.18.3 in place of 0.18.2 (RUSTSEC-2026-0594, GHSA-8wcq-xq25-7fhm): in 0.14.0 up to 0.18.2 a private cookie added in more than one process after afork()could reuse an AES-GCM nonce. The console does not fork, so no shipped build met the conditions; the upgrade closes the advisory (#2012).
0.0.28 - 2026-11-22
SMART breadth and the committer the CDR writes. The facade serves SMART App
State and SMART launch Tasks, reads a FerroSMART patient’s own token as the
person’s own access, and takes ferrohealth-smart 0.33 with its named issuer
tables, a breaking change to [auth]. A facade write no longer fails against
a CDR that writes the committer itself: a single write states no committer,
and a transaction names the party the CDR authenticated, a Basic user under
the new [cdr] committer_issuer. The CDM database runs on PostgreSQL 19, the
HL7 v2 face asks every translation of a message in one batch, timingToDaily
carries every time of day, and the workspace moves to the openehr-* crates
0.3.0 and takes url 2.5.9 for RUSTSEC-2026-0592. The crates move to
openehr-mapping-core 0.5.0, fhirconnect 0.7.0, ferrobridge-term and
ferrobridge-validator 0.17.1, ferrobridge-hl7v2 0.25.1 and eehrxf
0.23.1.
Added
- The FHIR facade serves SMART App State (SMART App Launch 2.2.0, Persisting
App State) behind
[facade.app_state]:Basicat the base becomes the App State endpoint with create, update and delete underIf-Matchand the search bycodeandsubject, kept in a store of its own; the discovery document listssmart-app-stateand theCapabilityStatementinstantiatessmart-app-state-server. Granular?code=scopes onBasicare honoured (#1968). - The FHIR facade serves SMART launch
Tasks (SMART App Launch 2.2.0, Task profile for requesting a SMART launch) behind[facade.launch_task]: create, read and search bypatient,statusandcodeonTask, everyTaskchecked againsttask-ehr-launchortask-standalone-launchand aTaskof neither refused, kept in a store of its own; theCapabilityStatementdeclares both profiles (#1969).
Changed
- The workspace moves to the
openehr-*crates 0.3.0, andopenehr-mapping-coretakes theARCHETYPE_SLOTadmission decision fromopenehr-sdt(WebTemplateArchetypeSlot::admits) in place of its own copy of the rule, so the bridge and the CDR’s composition validator decide a slot filler by one matcher. A slot whose pattern no regex engine compiles still admits nothing.OpenSlotno longer implementsPartialEqandEq. The published crates whose public API names openEHR types move to their next minor:openehr-mapping-core0.5.0,fhirconnect0.6.0 andeehrxf0.18.0 takeopenehr-base,openehr-rm,openehr-its,openehr-sdt,openehr-amandopenehr-termfrom the 0.3 line, andferrobridge-hl7v20.20.0 followsfhirconnect0.6. A dependant moves its ownopenehr-*requirements to"0.3"with them (#1943). - The consent lane follows the
openehr-rm0.3.0 access draft: every access term is coded in the terminology the draft gives it,openehr_accessfor the draft’s own codes (formerlyferroehr-operations), HL7consent-provision-typefor a directive’s effect and HL7extra-security-role-typedatasubjectfor the subject caller kind. A FHIR Consent export and import carry an actor scope’sorganisation_typein the newhttps://ferrobridge.eu/fhir/StructureDefinition/organisation-typeextension, and an APPC export refuses it namingapplies_to.organisation_type, since APPC defines no subject attribute for an organisation type (#1962). jsonschema0.61.0. The FHIRconnect and OMOCL mapping schemas are checked withjsonschema0.61.0.jsonschemais part of the public API ofopenehr-mapping-core(schema::compilereturns ajsonschema::Validator) andfhirconnect(Schemas::validator), so both move to a new compatibility line, and so doeehrxfandferrobridge-hl7v2, which expose them: a consumer requiresopenehr-mapping-core = "0.5",fhirconnect = "0.6",eehrxf = "0.18"andferrobridge-hl7v2 = "0.20", and takes thejsonschema0.61Validator(#1965).timingToDailycarries every time of day. The CKM daily timing cluster repeats its time of day (at0004,0..*) as R4Timing.repeat.timeOfDaydoes, and the function now writes and reads one time per instance in order, where it refused more than one. A function declares a port repeating throughMappingCodeRegistry::repeating, the compiler accepts such a port whose node repeats directly below the mapping’swith.openehr(Port::repeats), andPortsholds one value per instance (Ports::with_each,Ports::all,Ports::ports). A function that writes more than one value at a port whose node holds one is refused with the newMappingCodeError::RepeatedPort, a breaking change to that enum, so a consumer requiresfhirconnect = "0.7",eehrxf = "0.19"andferrobridge-hl7v2 = "0.21"(#1972).- The workspace moves to
ferrohealth-smart0.30.0,ferrohealth-server0.11.0 andferrohealth-session0.25.0. A request pastserver.max_concurrent_requestsnow waits for a slot, at mostserver.admission_wait(100 milliseconds by default) in a first-come queue ofserver.max_waiting_requests(256 by default;0keeps no queue), before it is refused503withRetry-After; the health routes are never refused or queued.ferrobridge-termcarries smart types in its public API, so it moves to 0.14.0, and the crates that require it follow:ferrobridge-validator0.14.0,ferrobridge-hl7v20.22.0 andeehrxf0.20.0. A dependant movesferrohealth-smartto 0.30 with them (#1979). - Behind FerroSMART, a patient’s own token is now the person’s own access. Under
ferrohealth-smart0.31 theferrosmartpreset reads such a token as the patient:fhirUserisPatient/<x>, thepatientclaim isx, and the scopes arepatient/grants alone. The facade’s access record carries the bindingselffor it. The onward lane exchanges it at thepatientsissuer when one is declared, and otherwise at thepersonsissuer. Before, the lane refused a patient at apersonsissuer. A professional who holdspatient/scopes is unchanged. To keep the earlier reading, setfhir_user_patient = falseon the FerroSMART[[auth.issuer]]table (#1986). - The workspace moves to
ferrohealth-smart0.31.0 andferrohealth-session0.26.0.ferrobridge-termcarries smart types in its public API, so it moves to 0.15.0, and the crates that require it follow:ferrobridge-validator0.15.0,ferrobridge-hl7v20.23.0 andeehrxf0.21.0. A dependant movesferrohealth-smartto 0.31 with them; one that builds smart’sProfile,ProfileKeysorIssuerEntrywith a struct literal adds thefhir_user_patientfield (#1987). - Breaking: the bridge moves to
ferrohealth-smart0.32.0 andferrohealth-session0.27.0, and[auth]takes their simpler issuer configuration. Each trusted issuer is a named table,[auth.issuer.<name>], in place of the[[auth.issuer]]array, anddescribed_issuernames a table by its name. An issuer that sets noaudiencetakes[facade] base_url, andkinddefaults to the preset’s (personsunderferrosmart,keycloak,entraandokta). The preset ispreset = "…"in place ofprofile = "…", every profile key (first_party_clients,delegates,app_only,token_typesand the rest) moves into the issuer’s[auth.issuer.<name>.profile]table, andprofile_filereads a profile file you supply.scopeless_subjectsmoves onto its issuer table as a list ofsubvalues. The onward tables follow:[cdr.endpoint.credentials.onward]and[[cdr.onward]]takepresetand aprofiletable in place ofprofileandkeys. Upgrade: give each[[auth.issuer]]table a name, renameprofiletopreset, move its profile keys under.profile, drop anaudienceequal to the facade’s base, and setdescribed_issuerto the name (#1991). - Breaking: the facade reads a token’s
patientclaim as the launch context only from an issuer whose profile setspatient_context, the per-issuer rule FerroEHR reads too. Theferrosmartpreset sets it; under any other preset apatientclaim is ignored, so apatient/scope reaches no patient, until the issuer’s profile table setspatient_context = true. Behind FerroSMART no self-delegate is needed for its patient picker (issuer_client_is_person), andaudience_delegates = trueadmits every app registered at FerroSMART for the facade without adelegatesentry (#1991). - Breaking: every
401and403Bearerchallenge with an error code carries the stable reason code of the check that refused the token as itserror_description(RFC 6750 §3), such asexpired,audience-mismatchorscope-not-granted. TheOperationOutcomeand the problem body are unchanged and still name no claim and no scope (#1991). ferrobridge-termcarries smart types in its public API, so it moves to 0.16.0, and the crates that require it follow:ferrobridge-validator0.16.0,ferrobridge-hl7v20.24.0 andeehrxf0.22.0. A dependant movesferrohealth-smartto 0.32 with them (#1991).- The CDM database runs on PostgreSQL 19:
cdm init,vocab load,etl runand every other CDM job refuse an older server when they connect, naming theserver_version_numfound and the 190000 needed. The quickstart’scdmprofile runspostgres:19.0with its volume at/var/lib/postgresql, where the official image keeps its data. PostgreSQL 18 is no longer supported and there is no upgrade path: acdm-datavolume holding an older cluster is removed and created again (#1993). - The bridge moves to
ferrohealth-smart0.33,ferrohealth-session0.28 andferrohealth-server0.12.ferrobridge-termcarries smart types in its public API, so it moves to 0.17.0, and the crates that require it follow:ferrobridge-validator0.17.0,ferrobridge-hl7v20.25.0 andeehrxf0.23.0; a dependant movesferrohealth-smartto 0.33 with them. The server takes[server] request_decompression, off by default, which decodes a request body sent in gzip or Brotli underbody_limit(FerroHEALTH/FerroSYS#408) (#1995). - The HL7 v2 face asks every
ConceptMap/$translateof a message in one FHIRbatchBundle, where it sent one request per table value and target system; each value still takes the first target system that answers.ferrobridge-termaddsClient::translate_all, one call for one translation and onebatchfor several (#1997).
Fixed
- A FHIRconnect mapping of a FHIR time onto a single
EVENTthat the template folds into itsOBSERVATIONnow compiles and runs, asEVENT.adocpairs adateTimewith aPOINT_EVENTand aPeriodwith anINTERVAL_EVENT. The engine writes and reads the event through thetimeleaf the Web Template keeps at the event’s path, with the class, width and function in the object that holds it. The library’smedication_statement.v0.ymlno longer stops at line 44 againstKDS_Medikationseintrag.openehr-mapping-coregainsWebTemplateIndex::read_holderandamend_holder, andfhirconnectgainsEventTime::in_folded_eventandis_folded(#1924). - A facade write no longer fails with
500against a CDR that writes the committer itself. A single write states the change type andsystem_idinopenehr-audit-detailsand no committer, which ITS-REST 1.1.0 leaves optional, and a transaction’s CONTRIBUTION names the party the CDR authenticated: the bridge’s client id under its client credentials grant, or the placeholder of an exchanged token’sissandsubor of a Basic user under the new[cdr] committer_issuer. The authenticated facade caller is no longer stated as the committer; the access record names it (#2002).
Security
Shipped with functional changes because: the url fix is a lockfile move on main, where the library crates publish one patch per change and the unreleased changes above already sit, so a security-only patch has no tree of its own to come from.
- The workspace takes
url2.5.9 in place of 2.5.8 (RUSTSEC-2026-0592, GHSA-hrj5-67jp-wqp9): every earlierurlletsUrl::origin()recurse without a bound on a nestedblob:URL, so a crafted URL overflows the stack (#1999).
0.0.27 - 2026-11-17
Browser apps and FerroSMART. The facade answers CORS: the SMART discovery
document and the CapabilityStatement for any origin, the REST routes for
the origins [facade.cors] allowed_origins lists. The bridge runs behind
FerroSMART under the ferrosmart issuer preset of ferrohealth-smart
0.29.1, which also refuses two [[auth.issuer]] tables naming one issuer.
A party context loads over an id-coded ADL 2 template such as FerroEHR’s
professional PERSON, and a plain DV_IDENTIFIER.type reads as a coding
code instead of failing the read. The crates move to
openehr-mapping-core 0.4.0, fhirconnect 0.5.1, ferrobridge-term and
ferrobridge-validator 0.13.0, ferrobridge-hl7v2 0.19.0 and eehrxf
0.17.0, and the server to ihe-atna and ehds-logging 0.23.0 and
ferrohealth-session 0.24.0. Each breaking change below names what an
operator or a crate user changes.
Added
- The FHIR facade answers cross-origin requests, as SMART App Launch 2.2.0
asks of a server that supports browser apps:
GET /fhir/metadataand the SMART discovery document answer any origin withAccess-Control-Allow-Origin: *, and the REST routes under/fhiranswer the origins the new[facade.cors] allowed_originslists, by name withVary: Origin, preflight included, and never with a wildcard orAccess-Control-Allow-Credentials. A refusal of the guard, such as the401of a missing token, is readable by an admitted origin (#1950). - The bridge runs behind FerroSMART, the FerroHEALTH SMART App Launch 2.x
authorization server: an
[[auth.issuer]]takesprofile = "ferrosmart"fromferrohealth-smart0.29.1, which reads FerroSMART’s RFC 9068 tokens withtypat+jwtalone andscoperequired, admits a person through a SMART app the table lists indelegatesand a Backend Services client as a machine. The Operate section has a page for the deployment, with FerroSMART’s resource table, the bridge’s issuer table and the discovery document. The server and the operator console move toferrohealth-smart0.29.1 andferrohealth-session0.24, and two[[auth.issuer]]tables naming one issuer now refuse the start (#1952).
Fixed
- A party context loads over an id-coded ADL 2 template, such as FerroEHR’s
professional
PERSON(openEHR-DEMOGRAPHIC-PERSON.healthcare_professional.v1.0.0), which the CDR serves only on itsadl2route: the model mapping’s paths name the template’s id-codes (details[id2]/items[id3]), as ADL 2.4 §4.2.5 admits both node identifier coding systems and a path predicate is the node’sarchetype_node_id(BASE 1.2.0, Architecture Overview, Paths and Locators). The load no longer refuses such a template, andopenehr-mapping-coredropsPathError::IdCodedTemplateand theid-coded-templatediagnostic code; an at-coded path over an id-coded template is refused as a path the template does not have (#1951). - A
DV_IDENTIFIERwhosetypeis a plain string, such as theloginof a SCIM-provisioned professional, reads asIdentifier.type.coding[0].codewith no system instead of failing the read with500, as FHIRconnect’sString.adoc§Coding maps an openEHR string without::(the RM typesDV_IDENTIFIER.typeas a freeString). A coding with acodeand nosystemnow writes the bare code intoDV_IDENTIFIER.typeinstead of being dropped; one with both still writessystem::code(#1955).
0.0.26 - 2026-11-16
The SMART discovery document described by the family’s shared rule, on
ferrohealth-smart 0.28. The discovery document and the facade’s
CapabilityStatement no longer name the first [[auth.issuer]] table:
[auth] described_issuer names the issuer, and without it the bridge
describes its one user-launch issuer, or, when it trusts only machines
issuers, its one machines issuer for SMART Backend Services alone. The
crates move to smart 0.28 with ferrobridge-term and
ferrobridge-validator 0.12.0, ferrobridge-hl7v2 0.17.0 and eehrxf
0.15.0, and the server to ihe-atna and ehds-logging 0.22.0. Each
breaking change below names what an operator or a crate user changes.
Changed
- The crates move to
ferrohealth-smart0.28, whosedescribepicks the issuer of the discovery document and whose client assertion takes itsaudandtypfrom the grant’s security profile.ferrobridge-term0.12.0 takes smart’sEndpointSectionandOutboundClientfrom the 0.28 line inClient::from_endpoint, so a dependant on smart 0.28 passes its own types.ferrobridge-validator0.12.0,ferrobridge-hl7v20.17.0 andeehrxf0.15.0 followferrobridge-term0.12. The operator console takesferrohealth-session0.23.0, and the server takesihe-atnaandehds-logging0.22.0, the releases on the same smart line, so one smart links (#1922).
Fixed
- The SMART discovery document and the facade’s
CapabilityStatementname the issuerferrohealth-smart’s shared rule describes, never the first[[auth.issuer]]table.[auth] described_issuernames it; without the key the bridge describes the one issuer of kindpersons,patientsorfederationwhose metadata it holds, and a bridge that trusts onlymachinesissuers describes its onemachinesissuer for SMART Backend Services alone: the token endpoint, the client credentials grant andprivate_key_jwt, with no authorization endpoint. Breaking: a bridge that trusts several such issuers and sets nodescribed_issuerrefuses the start, naming them and the key, and so does adescribed_issuerthat names an unknown issuer, an issuer without metadata, or amachinesissuer beside one that serves a user launch (#1922).
0.0.25 - 2026-11-16
The family on ferrohealth-smart 0.26 and ferrohealth-server 0.10,
and access directives exchanged as FHIR Consent. The bridge and its crates
move across the smart lines 0.19 to 0.26 to one smart, one server and one
telemetry in the lock: ferrobridge-term and ferrobridge-validator 0.11.0,
ferrobridge-hl7v2 0.16.0 and eehrxf 0.14.0. A Basic user’s scopes and
roles move into [basic_grants], and the server now always bounds the
requests it serves at once, 256 by default. The facade exchanges a patient’s
openEHR access directives as FHIR Consent, IHE BPPC and IHE APPC behind
[facade.consent], on the openehr-* crates 0.2. The HL7 v2 face accepts
plain MLLP from a declared device network, and fhirconnect reads an event
the template collapsed into its observation as that event. Each breaking
change below names what an operator or a crate user changes.
Added
- The HL7 v2 face accepts plain MLLP from a device that cannot speak TLS,
such as a point-of-care analyser. A sender declared
origin = "device"withtransport = "plain"and itssource_addresses(CIDR networks) is served on its own[hl7v2.plain] bindlistener: a connection from outside every plain sender’s networks is closed before any byte is read, and a message whose MSH-4 names no plain sender of the peer’s network is answeredARand its connection closed. The bridge refuses to start with a plain sender that is no device or names no networks, a network that is not in CIDR notation, a plain listener on the TLS listener’s address, or one side of the pair without the other.[hl7v2.tls]and its files are required only while a sender hastransport = "tls": a lab of plain devices alone runs no TLS listener, and a[hl7v2.tls]with no TLS sender is refused. Each plain sender is logged as a warning at boot,/health/infoshows the plain listener and each sender’s transport, and the operator API’s running configuration names each sender’stransportandsource_addresses. TLS stays the default, and nothing changes for an existing configuration.ferrobridge-hl7v20.10.1 addsHandler::admits, which closes a peer before its first byte, andConnection::close, which ends a connection after its answer (#1918). - The facade exchanges a patient’s openEHR access directives as HL7 FHIR
Consent(R4, and R5 underfhirVersion=5.0), IHE BPPC acknowledgements and IHE APPC Privacy Consent Documents, behind the new[facade.consent]table (enabled,extensions_url,default_access), which needs the onward lane: the directives are read and written under the token exchanged for the facade’s caller, never under the bridge’s own credential.POST,GET [base]/Consent/{id}andGET [base]/Consent?patient=are served and listed in theCapabilityStatement, beside the type-level operationsConsent/$bppcandConsent/$appc. An import reads the CDR’sEHR_ACCESSthrough itsGET /ehr/{ehr_id}/ehr_accessextension and commits the directives as the next version in a CONTRIBUTION; the catalogue of the controller’sACCESS_POLICYis read underextensions_url. A construct with no openEHR form is refused with422naming the element, and every attribute with no core FHIR element travels in an extension underhttps://ferrobridge.eu/fhir/StructureDefinition/(#1933).
Changed
- The crates move to
ferrohealth-smart0.19.ferrobridge-term0.6.0 takes smart’sEndpointSectionandOutboundClientfrom the 0.19 line inClient::from_endpoint, so a dependant on smart 0.19 passes its own types.ferrobridge-validator0.6.0,ferrobridge-hl7v20.9.0 andeehrxf0.7.0 followferrobridge-term0.6. The server takesihe-atnaandehds-logging0.13.0, and the operator console takesferrohealth-session0.14.0, the releases on the same smart line (#1897). - A model mapping that slots an archetype into an
ARCHETYPE_SLOTthe template keeps open and fills with no such archetype is now ignored with thefc-excluded-template-nodewarning, as FHIRconnectmodel-mappings.adoc§Mapping 0..0 fields ignores a mapping that is not part of the template. It was refused asfc-unknown-template-node. A path whose archetype no open slot there admits is still refused.openehr-mapping-coreexposes the template’s open slots asWebTemplateIndex::open_slots(#1907). - The crates move to
ferrohealth-smart0.20, which takes the issuerscheck_role_issuersreads asSecretUrland masks the issuerConfigError::RoleIssuernames.ferrobridge-term0.7.0 takes smart’sEndpointSectionandOutboundClientfrom the 0.20 line inClient::from_endpoint, so a dependant on smart 0.20 passes its own types.ferrobridge-validator0.7.0,ferrobridge-hl7v20.10.0 andeehrxf0.8.0 followferrobridge-term0.7. The server takesihe-atnaandehds-logging0.14.0, and the operator console takesferrohealth-session0.15.0, the releases on the same smart line (#1914). - The workspace moves to the
openehr-*crates 0.1.1, on the first line FerroEHR publishes under the Cargo SemVer rules. The published crates whose public API names openEHR types move to their next minor:openehr-mapping-core0.2.0,fhirconnect0.3.0 andeehrxf0.9.0 takeopenehr-base,openehr-rm,openehr-its,openehr-sdt,openehr-amandopenehr-termfrom the 0.1 line, andferrobridge-hl7v20.11.0 followsfhirconnect0.3. A dependant moves its ownopenehr-*requirements to"0.1"with them, so its lockfile holds one copy of each and passes its own openEHR types to these crates (#1919). - The crates move to
ferrohealth-smart0.21, which chooses the issuer a SMART discovery document describes by one shared rule and adds the optionaldescribed_issuerkey toAuthSection.ferrobridge-term0.8.0 takes smart’sEndpointSectionandOutboundClientfrom the 0.21 line inClient::from_endpoint, so a dependant on smart 0.21 passes its own types.ferrobridge-validator0.8.0,ferrobridge-hl7v20.12.0 andeehrxf0.10.0 followferrobridge-term0.8. The server takesihe-atnaandehds-logging0.15.0, and the operator console takesferrohealth-session0.16.0, the releases on the same smart line (#1925). - The crates move to
ferrohealth-smart0.22, whereDpopSectionno longer carriesexternal_urland a product builds its DPoP proof check from its own public URL; the bridge sets no[auth.dpop], so no configuration key changes.ferrobridge-term0.9.0 takes smart’sEndpointSectionandOutboundClientfrom the 0.22 line inClient::from_endpoint, so a dependant on smart 0.22 passes its own types.ferrobridge-validator0.9.0,ferrobridge-hl7v20.13.0 andeehrxf0.11.0 followferrobridge-term0.9. The server takesihe-atnaandehds-logging0.16.0, and the operator console takesferrohealth-session0.17.0, the releases on the same smart line (#1927). - Breaking: a Basic user’s scopes and roles move out of
[[auth.basic.users]], which holds the credential alone (user,password_hash,password_hash_file), into the bridge’s own[basic_grants.<user-id>]table withscopesandroles. Ascopesorroleskey in[[auth.basic.users]]now refuses the start as an unknown key, and so does a[basic_grants]table naming a user[[auth.basic.users]]does not list. Upgrade: move each user’sscopesandroleslines into a[basic_grants.<user>]table named by itsuser(#1929). - The crates move to
ferrohealth-smart0.24, where the caller classification asks each issuer’s standing source; the bridge keeps its client lists in[auth], the default source, so no further configuration key changes.ferrobridge-term0.10.0 takes smart’sEndpointSectionandOutboundClientfrom the 0.24 line inClient::from_endpoint, so a dependant on smart 0.24 passes its own types.ferrobridge-validator0.10.0,ferrobridge-hl7v20.14.0 andeehrxf0.12.0 followferrobridge-term0.10. The server takesihe-atnaandehds-logging0.18.0, and the operator console takesferrohealth-session0.19.0, the releases on the same smart line (#1929). - The workspace moves to the
openehr-*crates 0.2.0, whoseopenehr-rmcarries the draft access control package behind itsdraftfeature, which the access directive exchange reads. The published crates whose public API names openEHR types move to their next minor:openehr-mapping-core0.3.0,fhirconnect0.4.0 andeehrxf0.13.0 take theopenehr-*crates from the 0.2 line, andferrobridge-hl7v20.15.0 followsfhirconnect0.4. A dependant moves its ownopenehr-*requirements to"0.2"with them, so its lockfile holds one copy of each and passes its own openEHR types to these crates (#1933). - Breaking: the server keeps an overload bound always:
[server] max_concurrent_requestsis 256 by default, where unset left the server unbounded, so past 256 requests in flight a request is answered503withRetry-Afterand the health routes are never refused. A deployment that relied on no bound sets the ceiling it wants (FerroHEALTH/FerroEHR#5743) (#1939). - The crates move to
ferrohealth-smart0.26 andferrohealth-server0.10.ferrobridge-term0.11.0 takes smart’sEndpointSectionandOutboundClientfrom the 0.26 line inClient::from_endpoint, so a dependant on smart 0.26 passes its own types.ferrobridge-validator0.11.0,ferrobridge-hl7v20.16.0 andeehrxf0.14.0 followferrobridge-term0.11. The server takesihe-atnaandehds-logging0.21.0, and the operator console takesferrohealth-session0.21.0, the releases on the same smart line, so one smart, one server and one telemetry link (#1939).
Fixed
ferrobridge config checkno longer prints the password of an issuer written with userinfo (https://user:password@…) in[[auth.attributes]],[[auth.federation]],[[auth.party]]orauth.scopeless_subjects: it renders ashttps://***@…, as[[auth.issuer]]already did.ferrohealth-smart0.19 holds the issuer of every configuration table as aSecretUrl(#1897).fhirconnectreads a path that names a singleEVENTthe Web Template collapsed into itsOBSERVATIONas that event, a structure, now thatopenehr-sdt0.1.1 keeps the event’stimeleaf at the event’s path. Before, such a path resolved to theDV_DATE_TIMEleaf, so a mapping anchored at the event was refused asfc-unpaired-typesand its children below the event asfc-unknown-template-node(#1919).- The server and the operator console move to ferrohealth-telemetry 0.5, ferrohealth-server 0.9 and ferrohealth-usage-report 0.5, whose subscriber installs its own bridge from the
logcrate in place oftracing-log’sLogTracer. Under a console filter that lets a target through above its default level, such asinfo,ferrohealth_smart=debug, a dependency’slog::log_enabled!check no longer drops the next event on its thread, which lost the request line of a request that ran such a check (FerroHEALTH/FerroSYS#388).ferrobridge-term0.10.1 takes ferrohealth-config 0.4.5, andferrobridge-validator0.10.1,ferrobridge-hl7v20.15.1 andeehrxf0.13.1 follow it (#1936).
0.0.24 - 2026-11-11
The family on ferrohealth-smart 0.18, and the EU documents. The bridge and
its crates move to smart 0.18 (ferrobridge-term 0.5.0), so config check
and every other rendering of the bridge’s and the console’s configuration
show an issuer or a sign-in URL written with userinfo masked, never its
password. eehrxf names a document’s custodian; the imaging and discharge
projects declare in their OperationOutcome what a received report holds and
they do not carry; the imaging report carries its performing organization,
and Document::studies names its studies. fhirconnect writes one
alternative of a FHIR choice element at a time, unfolds a recursive slot as
deep as the template does, and skips a reference of another type. The HL7 v2
face answers AE when the CDR refuses a contribution for its content and
names its facility and composer by identifiers with their issuer, and the
quickstart compose.yaml a release attaches carries its checksum. The
bridge and console images are distroless static with no OpenSSL package, so
the OpenSSL 3.5.7 advisory of 2026-11-10 does not reach them. Each breaking
crate change below names what a consumer changes.
Added
eehrxf0.3.1:Document::with_custodianadds anOrganizationand names it the document’sComposition.custodianin every form. In the imaging report it takes the place of the firstOrganizationauthor, which the form drops for the report’s performers, so a gateway can name the member it read the report at and leave no unreferenced entry (#1819).eehrxf: mapping a received discharge report with theHDRproject declares in itsOperationOutcomeeach section none of whose entries the project carries, such as the hospital course, and each element of a carried entry that the composition does not hold, such asCondition.severityandverificationStatus. Each is anincompletewarning at the element’s FHIRPath. The composition’s original content still keeps every one of them (#1820).eehrxf: mapping a received imaging report with theIMAGINGproject declares in itsOperationOutcomeeach section none of whose entries the project carries, such as the order, history and procedure sections, and each element of the report or its study that the composition does not hold, such as the performing organization (DiagnosticReport.performer) and a study note. Each is anincompletewarning at the element’s FHIRPath. The composition’s original content still keeps every one of them (#1827).eehrxf: theIMAGINGproject carries the organization that performed an imaging report. A receivedDiagnosticReport.performernaming anOrganizationis written into the Imaging service slot ofOBSERVATION.imaging_exam_result.v1as aCLUSTER.organisation.v1(its name and identifiers), and a served report names that organisation as its performer, anorganization-eu-core. A performer that is noOrganizationis still declared not carried. FerroBRIDGE’s imaging report template fills the slot, so a CDR that stores these reports needs the template’s new revision (#1878).eehrxf0.6.4:Document::studies(featureimaging) returns thefullUrlof eachImagingStudythe document holds, in the order the entries were added. A writer whose mapping run added an imaging study lists it in theimagingstudysection ofCompositionEuImagingwithout searching the run’sBundleagain (#1887).
Changed
- In a slotted model whose
fhirConfig.structureDefinitionnames no resource (aBackboneElementor a data type),$resourcenow names the FHIR element the slot hands over, the root of the model’s own type (basics/Variables.adoc), as$archetypenames the slotted archetype;$fhirRootis unchanged. Areferencewhosewith.fhirnames a choice that admitsReferencenow writes that alternative (medication[x]givesmedicationReference), and only a choice that admits noReferenceis refused asfc-reference-into-choice(#1546). - FHIRconnect and OMOCL now match a written openEHR path against a template by one segment rule,
openehr_mapping_core::index::matching::segment_matches, which the Web Template index already used. A segment that writes no node id names every node of its attribute. A name or a position is compared only when both the mapping and the template carry one. A descendant step names no template segment. Before this change, FHIRconnect matched a segment without a node id only to a template segment without one, and OMOCL compared no names. The ITS-REST client of the server answers a found template as the foundation’sTemplateSource, so the workspace has one template source type (#1711). - The crates move to
ferrohealth-smart0.17.ferrobridge-term0.4.0 takes smart’sEndpointSectionandOutboundClientfrom the 0.17 line inClient::from_endpoint, so a dependant on smart 0.17 passes its own types.ferrobridge-validator0.4.0,ferrobridge-hl7v20.6.0 andeehrxf0.4.0 followferrobridge-term0.4. The server takesihe-atnaandehds-logging0.11.0, and the operator console takesferrohealth-session0.11.0, the releases on the same smart line (#1840). - Every published crate declares the third-party crates its public API names in
[package.metadata.ferrohealth] public-dependencies, and a move of one of them to another compatibility line takes the crate’s next minor, as a move of a family crate does (serde_jsonandserdeinfhir-typesandopenehr-mapping-core,jiffinfhir-search,tokioinferrobridge-hl7v2, and the rest the declarations list).eehrxf0.4.3,ferrobridge-fhirpath0.1.136,ferrobridge-hl7v20.6.2,ferrobridge-term0.4.1,ferrobridge-validator0.4.1,fhir-search0.1.131,fhir-types0.1.131,fhirconnect0.1.253 andopenehr-mapping-core0.1.153 carry the declaration (#1851). - The quickstart
compose.yamleach release attaches now carries its.sha256sum, CI refuses a host path it would read from the repository, and the README and the book download it withcurl -fsSLOfrom the latest release and name Docker Compose 2.23.1 or newer (#1874). - The crates move to
ferrohealth-smart0.18.ferrobridge-term0.5.0 takes smart’sEndpointSectionandOutboundClientfrom the 0.18 line inClient::from_endpoint, so a dependant on smart 0.18 passes its own types.ferrobridge-validator0.5.0,ferrobridge-hl7v20.8.0 andeehrxf0.6.0 followferrobridge-term0.5. The server takesihe-atnaandehds-logging0.12.0, and the operator console takesferrohealth-session0.12.0, the releases on the same smart line (#1880). fhirconnect: going into openEHR, areferencemapping skips a reference whose target is a resource of another type than itsresourceType, and records no read for it, where it refused the whole run before. A repeating reference that admits several target types, such as R4DiagnosticReport.performer, now maps the targets of its type and leaves the others to the caller’s accounting. FHIRconnect 1.0.0 is silent on such a target; this is FerroBRIDGE’s own design, recorded indocs/architecture.md. A reference that resolves to nothing is still a declared skip, and the openEHR-to-FHIR direction is unchanged (#1888).
Fixed
fhirconnectwrites one alternative of a FHIR choice element at a time: a mapping that writesvalue.as(Coding)after another wrote the element’svalueCodeableConceptreplaces it, so a produced resource no longer carries twovalue[x]members, which FHIR R4 forbids (formats.html §Choice). The KDS case extensionKDS_fall_problem_diagnoseof the FHIRconnect mapping library now runs verbatim against the publishedKDS_Fall_einfachtemplate, and the library passes 21 of 129 (#1546).- An HL7 v2 composition names its health care facility and its composer by identifiers that carry their issuer, so a CDR that checks the facilities and the professional of the bridge’s relay client (FerroEHR 5.7.0) admits it. A facility’s namespace id (HD.1) is issued by the new
[hl7v2] facility_identifier_issuer, a universal id (HD.2) by its type (HD.3), and an ordering facility’s identifier (XON.10) by its assigning authority (XON.6). The clinician’s id (XCN.1) is a composer identifier issued by its assigning authority (XCN.9) and typed by XCN.13, and a device sender’s device id one issued by itsdevice_identifier_issuer. Infhirconnect0.1.251,Defaults::with_composer_identifierswrites a default composer with its identifiers whole ascomposer|raw(#1826). - A write no caller made (an HL7 v2 message, a request on an open surface) that reaches the CDR under the bridge’s own
[cdr.credentials.oauth]grant names the grant’s client id asAUDIT_DETAILS.committerinstead of the bridge’s system id, so FerroEHR 5.7.0, which writes the committer of a system caller itself, accepts it (#1828). - The HL7 v2 face answers
AEwhen the CDR refuses a message’s contribution for its content (400or422), andARonly when the CDR fails or refuses the bridge’s credentials, so a sender no longer resends a message the CDR will always refuse (HL7 v2.5.1 §2.9.2.2). The face judges the status the CDR answered, which the FHIR facade’s status table may render as a500or502of its own (#1829). - The READMEs of
eehrxf,ferrobridge-term,ferrobridge-validatorandferrobridge-hl7v2name the patch to require on the line each crate is on; they named the line before the last minor step (#1859). - A
manualentry that writes free text (avalueand nodefining_code) at aDV_CODED_TEXTnode whose value set is open writes aDV_TEXTthere, which FLAT carries under|other(Simplified Formats, Open Value-Sets), and anopenehrConditionreading that node with an empty tail compares its text; the run refused the entry with a decode error before. At a node whose value set is closed the entry is refused at load with the newfc-closed-value-set.fhirconnectmoves to 0.2: a consumer that matchesResolveCodeexhaustively adds an arm forResolveCode::ClosedValueSet;eehrxfmoves to 0.5 andferrobridge-hl7v2to 0.7 with it.ResolvedNode::list_openinopenehr-mapping-corereads the Web Template’slistOpen(#1861). fhirconnectevaluates anopenehrConditionwithoperator: typeagainst the class of the data value its attribute holds, the value of anELEMENTincluded, asbasics/Conditions.adoc§openehrCondition writes it. It tested the node’s declared class, so anonsetDateTimeof the library’s adverse reaction risk model went into openEHR and was lost coming out (#1864).eehrxf: a mapping compiled from files (Mapping::compile,Mapping::compile_template) now declares what the shipped project that compiles its contexts declares, asMapping::compile_projectdoes. A gateway that writes the shippedIMAGINGfiles to disk and compiles them now tells the sender that a received report’s performing organization (DiagnosticReport.performer) is not carried; before, such a mapping declared none of the project’s elements.Mapping::accountingstill replaces the list (#1875).ferrobridge config checkno longer prints the password of an issuer written with userinfo (https://user:password@…), in[[auth.issuer]]or in an onward table: it renders ashttps://***@…, as every endpoint URL already did.ferrohealth-smart0.18 holds every configured issuer identifier as aSecretUrl(#1880).fhirconnectunfolds a slot that re-enters an archetype its chain already holds as deep as the template instantiates it: at the first level the template does not nest the archetype, the method is left out with no refusal, where it refusedfc-unknown-template-nodeandfc-slot-depth. A node the template lacks at a level it does instantiate is still refused. FHIRconnect v1.0.0 is silent on recursive slots (#1882), so this is FerroBRIDGE’s own rule. The EEHRxF lab analyte extension of the FHIRconnect mapping library now runs verbatim (#1883).ferrobridge-console config checkand every other rendering of the console’s configuration show an[oidc]issuer,redirect_uriorpost_logout_redirect_uriwritten with userinfo ashttps://***@…, never its password. The console moves toferrohealth-session0.13, which holds the three URLs asSecretUrl(#1891).
0.0.23 - 2026-11-10
The request under its person, and the family endpoint. Each facade caller
reaches the CDR through the onward issuer of its kind, the CDR derives the
committer from the exchanged token, a machine caller is named as the
originating system, and a write to a party under a binding key is refused.
The bridge moves to ferrohealth-smart 0.16, ferrohealth-config 0.4,
ferrohealth-server 0.8 and FerroAUDIT 0.10: every span of time and amount
of data is a Duration or ByteSize, every outbound lane ([cdr],
[terminology], [audit], [fhir_outbound]) takes its server as one
endpoint table with its TLS, and traces and metrics go to an OpenTelemetry
collector. These configuration changes break: each entry below carries its
upgrade step, and config check names the key to move. The HL7 v2 face
serves MLLP over TLS with client certificates, and its compositions name the
facility, the clinician and the FEEDER_AUDIT of the message.
ferrobridge-hl7v2 0.5.0 carries the v2-to-FHIR maps generated from the
guide, writes messages and writes a Patient back as a PID;
ferrobridge-term 0.3.0 speaks FHIR R5 and R6 with one feature per release;
the new fhir-search crate holds the FHIR search value grammar; and the
published crates follow Cargo SemVer. Each breaking crate change names what a
consumer changes.
Added
- The FHIR facade carries a patient onto the CDR through an onward issuer of
kind = "patients", and each[[cdr.onward]]table adds apersons,federationorpatientsissuer beside[cdr.credentials.onward], so every caller is exchanged at the issuer of its kind. Two issuers of one kind refuse the start (#1636). - A composition the facade commits for a machine caller names the caller’s
client as the originating system (
feeder_audit.originating_system_audit.system_id) and the bridge as the feeder system (feeder_system_audit.system_id).fhirconnectgainsOrigin::with_originating_systemfor it (#1637). [cdr.credentials.onward]refuses the start when[cdr.credentials.oauth]names neitherresourcenorscope, so the bridge’s own token, which a machine’s request reaches the CDR under, is asked for the CDR alone (#1637).[facade] binding_identifier_issuers: a create, update or delete of a party resource whosePERSONcarries a binding key, an identifier of one of the listed issuers, is refused with403 forbiddenbefore the bridge writes to the CDR. A professional bound to a login is provisioned through the CDR’s SCIM service, never through the facade (#1640).- An HL7 v2 message’s compositions name their health care facility, read
from PV1-3.4, PV1-39, ORC-21 and MSH-4 in that order, or name it as the
originating system’s location when they have no
EVENT_CONTEXT. With[[hl7v2.senders]]set, a facility no sender names is answeredAEnaming it, and nothing is committed. The performing organisation (OBX-23) is recorded as the originating system’s provider.fhirconnectgainsDefaults::with_facility,Origin::with_locationandwith_provider(#1665). - An HL7 v2 message’s compositions name the clinician the message names as
their composer, from the first of EVN-5, OBX-16, ORC-12 and OBR-16, with
its identifier. A message carrying a result that names no clinician is
answered
AE. A sender declaredorigin = "device"with itsdevice_identifier_issuerin[[hl7v2.senders]]commits its results as acts of the device: the composer names the equipment (OBX-18), and the device is the originating system.fhirconnectgainsDefaults::with_composer_id(#1666). fhirconnectcompiles an openEHR path that steps through aListattribute of the reference model, such asDV_TEXT.mappingsorDV_ORDERED.other_reference_ranges, as an occurrence axis inside the node’s value: a mapping anchored on the list takes one element per input occurrence, its children name the attributes of that element (meaning,range/lower), and the run reads and writes each element in both directions. A path that ends on a list with no child to fill an element is still refused at load asfc-uncarried-tail. The range of aREFERENCE_RANGE<DV_QUANTITY>reads asDV_INTERVAL<DV_QUANTITY>, the type the openEHR RM gives it.OpenehrTarget::newandOpenehrTarget::with_element_tailare no longerconst, andOpenehrTarget::listsandListAxisare new (#1694).- The
eehrxflaboratory mapping carries a result’s typed reference ranges both ways: a receivedObservation.referenceRangewith atypebecomes oneother_reference_rangesentry of the result’s quantity, itsmeaningfrom thetype, and is no longer declared lost, and each entry is served back as areferenceRangewith thattype(#1694). - A FHIRconnect
linkwhose FHIR side is the resource an enclosingreferencemapping entered ($fhirRootinside it, the shape of the published KDSKDS_composition.ymlextensions) now runs in both directions. Going into openEHR the entered resource is handed to theLinkedCompositionsseam under the literal it was entered by, with no second fetch; going out the link target becomes the reference the enclosing mapping writes, and no copy of the resource is created, declared asSkipReason::LinkedResource(skipped-linked-resourcein the facade’s loss log). Any otherlinkside is refused when the program compiles, asfc-link-side, naming file and line, where it was refused on the first run before.fhirconnectaddsresolve::program::mapping::LinkSide,ResolveCode::LinkSide,EngineError::LinkedTwiceandSkipReason::LinkedResource; a consumer that matches one of those enums exhaustively adds the variant (#1695). - A
fhirconnectrun out of openEHR declares each archetype element the composition holds at the mapped occurrence that no mapping reads, as the newLoss::Unreadwarning naming the element’s node id and openEHR path, so a served resource never drops recorded content with no trace. An element amanualentry carries through itsopenehrConditioncounts as read, and an element a skipped mapping already names is declared once (#1701). - The
eehrxfdischarge report mapping serves a problem’s severity, date of resolution and diagnostic certainty (provisionalorconfirmed), a procedure’s reasons, outcome and complications, and a discharge medicine’s route and order start in its onedosageInstruction(#1701). - The
eehrxfimaging mapping serves each imaging diagnosis as aDiagnosticReport.conclusionCodeand receives one back, and a served imaging report declares the findings, the differential diagnoses, the comparison findings, the clinical summary, the recommendations and the comments the composition records (#1700) (#1701). ferrobridge-hl7v2composes any HL7 v2 message:write::Writerjoinswrite::valuesegments, fields, repetitions, components and subcomponents in the message’s delimiters, escapes each value of its own by HL7 v2.9 chapter 2 §2.7.1 (the truncation character as\P\among them), echoes a field read in the same delimiters as the message wrote it, andWriter::composechecks the message against the structure thehl7v2-typestables define for the type and version its MSH declares and encodes it in the character set MSH-18 names.write::header::Mshwrites an originated header, andack::Header::replyandack::Header::msathe header and MSA of any reply.ack::renderis built on the writer, and anack::Errorconverts to itsERRsegment (#1715).map::single::segmentmaps one placed segment to one resource through its segment map, outside a messageBundle(a PID to thePatienta FHIR source would send), with the same outcomes and the resources its(Type)rows create beside it (#1716).- A shipped supplement of
datatype-xpn-to-stringwrites XPN.1 through$valuewhere the guide writes$this, a target its notation does not define, so PID-6 maps to the mother’s maiden name extension (#1728) (#1716). ferrobridge-hl7v2writes a FHIR R4 resource back as a v2 segment through the same v2-to-FHIR maps (map::inverse::segment), aPatientas a PID, returned as awrite::value::Segment. The guide maps v2 to FHIR only, so the inverse follows rules of our own over its rows, stated in the module documentation; every element it does not write back, a table value no map translates back and one that translates back to several codes are typed, countedinverse::Outcomes, never a guess. Five shipped FHIR-to-v2 table maps name one code where the guide’s maps, reversed, give several (administrative-gender, name-use, address-use, address-type and contact-point-system).parse::structure::segment_ofgives a segment’s table as a structure of a version places it, andmap::convert::temporalconverts a FHIR date or time back to its v2 form (#1716).ferrobridge-termspeaks FHIR R5 and the R6 ballot (6.0.0-ballot5) beside STU3, R4 and R4B, each request written and each answer read through that release’s generatedfhir-typescontract, so the$translaterenames (sourceCode,targetSystem,sourceSystem,sourceVersion) andmatch.relationshipcome from the generated tables. It also sendsCodeSystem/$validate-code, the instance-level forms, an inlineValueSetto$expand, and the inputsactiveOnly,excludeNested,displayLanguageandconceptMapVersion; invokes an operation in theGETform where every input is primitive (Config::with_form); sends any request throughClient::send; and writes and reads requests without its transport (invocation::Invocation::new,invocation::answer) for a caller that sends through its own (#1717).- The
fhir-searchcrate, the one FHIR R4 search value grammar (search.html §3.1.1.4) the FerroHEALTH FHIR servers read search values with: the split at unescaped,,|and$,unescaperefusing an escape of any other character,escape, the four token forms and:of-type, the default,:containsand:exactstring matches with the fold they compare, the nine prefixes, and the date to any precision with the range its precision implies, its instants in a caller’s zone and the recommendedapmargin. The facade reads its search values through it, so a token with more than one unescaped|, an unknown letter prefix and a year0000are refused as the grammar says, a date with more than nine fraction digits is read exactly, and a date in the year 9999 is read with a range open at the end of the calendar (#1718). ferrobridge-termsends a whole authoredValueSetas thevalueSetinput ofValueSet/$expand(request::ValueSetSource::Authored), with its enumerated concepts, imported value sets, excludes andcompose.inactive, in every release it speaks, and refuses one the release cannot read withError::AuthoredValueSetbefore sending.invocation::expand_answerreads an$expandanswer without the request that asked for it (#1735).ferrobridge-hl7v20.1.207 composes a v2 message against its structure as an integration profile constrains it:Writer::with_profiletakes aparse::profile::Profile, whose constraints set the minimum cardinality of named structure nodes, and the crate shipsIHE_ITI_21, which makes the QRI of the ITI-21 RSP^K22 optional (IHE ITI TF-2 §3.21.4.2.2, Table 3.21-6) where the v2.5RSP_K21requires it. Breaking:parse::grouping::grouptakes the profile as a third argument; pass&Profile::BASEfor the base structure (#1746).fhir-typeshas one resources feature per release:stu3-resources,r4-resources,r4b-resources,r5-resourcesandr6-resources. Each turns on every resource of that release alone, whileresourcesstill turns on every resource of each enabled release.fhirconnect,ferrobridge-hl7v2,eehrxf,ferrobridge-fhirpath,ferrobridge-validatorand the bridge now ask only for the releases whose resources they use. A build that adds a release for terminology alone, asferrobridge-termdoes with STU3 and R4B, then compiles none of that release’s resources (#1754).ferrobridge-hl7v2’swrite::value::Segmentreturns its fields (fields,field(position)) and sets one (set(position, field)), so a consumer can fill a field no map writes back, such as PID-1 or a PID-3 from its own identifier domains, in a segmentmap::inverse::segmentreturns (#1766).- The bridge and the operator console export their traces and metrics to an
OpenTelemetry collector under
[telemetry.otlp], dialing anhttps://collector through the platform verifier with the trust roots, client identity and minimum version of[telemetry.otlp.tls](#1795).
Changed
- Under
[cdr.credentials.onward]the facade lets the CDR derive the committer from the exchanged token: a single write sends noopenehr-audit-detailsheader, and a transaction’s CONTRIBUTION carries the placeholder committer, aPARTY_IDENTIFIEDwhose oneDV_IDENTIFIERnames the token’sissandsub, in itsauditand every version’scommit_audit(#1635). - The HL7 v2 face serves MLLP over TLS and requires a client certificate
that chains to
[hl7v2.tls] client_ca_file. Each[[hl7v2.senders]]entry names thecertificate_subjectits certificate carries, and a message is accepted only on a connection whose certificate names the sender its MSH-4 names; otherwise it is answeredAR. The bridge refuses to start without[hl7v2.tls]certificate_file,key_fileandclient_ca_file, without a sender, or with a sender that names nocertificate_subject. Upgrade step: issue each sender a client certificate, add its DNS name ascertificate_subject, and configure[hl7v2.tls].ferrobridge-hl7v2gainsmllp::listener::serve_tls,mllp::tlsandConnection::certificate(#1638). - An HL7 v2 message’s compositions name the sending application (MSH-3) as
the originating system and the bridge as the feeder system in
FEEDER_AUDIT, record the placer and filler numbers (ORC-2, ORC-3, OBR-2, OBR-3) asoriginating_system_item_ids, and move the message control id (MSH-10) tofeeder_system_item_ids.fhirconnectgainsOrigin::with_originating_itemsandwith_feeder_itemsfor it (#1664). fhirconnect:DefaultsandComposerIdmove tofhirconnect::engine::traverse::defaults. A consumer importsfhirconnect::engine::traverse::defaults::Defaultsandfhirconnect::engine::traverse::defaults::ComposerIdin place of theengine::traversepaths, which no longer resolve (#1673).- The
eehrxfpatient summary project (mappings::EPS) has one root context,ferrobridge_eu_eps.context, which maps the composition to acomposition-eu-epsand enters each section through the sub-context its section path names (FHIRconnect 1.0.0 sub-contexts). A medication action under the medication summary section is now aMedicationStatement-eu-epsof the medication summary, and one under the immunisations section stays an immunisation. This breaks the project’s API:EPS.contexts()names the root alone,ferrobridge_eu_eps_medication.contextandferrobridge_eu_eps_immunization.contextarescope: suband are no longer compiled on their own, and a document takes the run withDocument::with_mapped_composition(#1696). Document::with_mapped_sectiontakes one section of a run whose context wrote theComposition: the entries that section names, and eachProvenancenarrowed to them. A document assembled one section at a time takes only what it assembles from each run (#1696).openehr_mapping_core::index::WebTemplateIndex::example_compositionbuilds the example withopenehr_sdt::flat::example::example_compositionat themediumdetail level, falling back torequired, gives it the output form’s deterministicuidand validates it against the template. The method takes nonowargument any more, so a caller drops it, and an example names theuidopenehr-sdtderives from the template id (<uuid>::example.server::1) and that crate’s synthetic values. The operator API’sGET /operator/templates/{id}/exampleanswers the same example (#1705).openehr_mapping_core::index::WebTemplateIndex::build_partyandaccept_partyvalidate the party withopenehr_sdt::rm_instance::validate_party(the template, the RM invariants and the RM-mandated openEHR terminology), as a composition is validated, and refuse one that breaks them with the newPartyError::Unvalidated, which carries the validation’s messages. The FHIR facade answers a served party its template refuses with a502, and$toopenehrrefuses a mapped party that does not validate. A consumer that matchesPartyErrorexhaustively adds the variant (#1706).openehr-mapping-corereads, names and amends a node instance, andomoclfollows a hop, through theopenehr-sdtNavigatortheWebTemplateIndexnow holds (WebTemplateIndex::navigator), so an instance whose runtime name differs from the name its template path spells is reached where that name is redundant, and an OPT2-inlined archetype root is matched by the identifier the template records.fhirconnectwrites a manual entry’s text throughopenehr_rm::v1_2::paths::write::set_at_path, and a path it cannot write is the refusalEngineError::TailWrite(#1707).openehr-mapping-core,fhirconnectandeehrxfread the operational-template facts of a node (the embedded template id, the archetype’s term definitions, the ordinal options), the FLAT key of an RM attribute and the relative path between two nodes fromopenehr-sdtinstead of walking the OPT 1.4 themselves. An archetype root below an OPT 1.4T_COMPLEX_OBJECTnow answers its embedded template and terms in the index, as it already did ineehrxf. Breaking for a crate consumer:eehrxf::terminology::local::TermDefinitions::from_templatereturns aResult(a template that builds no Web Template isTermDefinitionsError::Build);fhirconnect::engine::rm::ENTRY_TIMESloses its key column andfamily_oftakes the owning class and answers anOption;openehr_mapping_core::index::paths::relativeno longer returnsMalformedAqlPath(#1708).fhirconnectandopenehr-mapping-coreread a generic RM type name (DV_INTERVAL<DV_QUANTITY>) and the class an attribute holds below it throughopenehr_rm::v1_2::typing(RmType,base_name,attribute_type) instead of splitting the name by hand. Breaking for a crate consumer:fhirconnect::resolve::derive::base_classis gone (useopenehr_rm::v1_2::typing::base_name), andderive::type_argumentanswers anRmType(#1709).- The facade’s FHIR search builds its AQL as the
openehr-queryAST and prints it with the crate’s canonical printer, which spaces WHERE comparisons and writes only the parentheses precedence needs.openehr-mapping-corenames a built composition’srm_versionfromopenehr_rm::Generation::earliest_for_compositioninstead of its own check of oneGENERIC_ENTRYdifference, so a composition no RM release decodes (aGENERIC_ENTRYover anITEM_SINGLE) is refused asPathError::InvalidCompositionwhere it was named 1.2.0. Theopenehr-*crates move to 0.0.136 (#1710). - The null flavours, the default
EVENT_CONTEXT.setting, the version container of anOBJECT_VERSION_ID, theETagentity tag, the ISO 8601 parts of aDV_DURATION, aDV_TIMEand a visit’s start and end, and the interface form of an archetype id are read through those crates. Breaking for a consumer offhirconnect:engine::lens::null_flavour::FLAVOURSgives way tofhir_default, andBRIDGEpairs each code with anopenehr_term::codes::NullFlavour;engine::lens::duration::Componentgives way toopenehr_base’sDurationDesignator; andengine::identity::versioned_object_uidreturns aString(#1710). $toopenehrand the facade’s writes give aDV_CODED_TEXTin theopenehrterminology whose value the mapping filled from its code the concept’s rubric from the openEHR terminology (openehr-term), in the template’s default language, where it stood as the code before. The code still stands for a language or a code the terminology does not carry (#1710).- The bridge and
ferrobridge-term0.1.148 takeferrohealth-smart0.13.0, the operator consoleferrohealth-session0.7.0, and the serverihe-atnaandehds-logging0.8.0, whose FHIR Feed bearer is on the same line, so the lock holds oneferrohealth-smart. The 0.13 line refuses a malformed JSON document without quoting it (GHSA-mhv7-3975-6xq3), and a refused token request keeps no part of the answer’s body.[cdr.credentials.onward]and each[[cdr.onward]]table takecache:falseholds no onward token, so every CDR call exchanges one at the issuer, with a warning at start, for a performance measurement and never for production. They also takeactor_assertion(defaultfalse):truenames the bridge’s client as the actor of an exchange sent without an actor token, with an assertion signed by theoauthkey. Under thekeycloakprofile, a Keycloak 26.8 impersonation token, which carries an RFC 8693actclaim, is admitted as delegated only when the issuer’sdelegateslists the impersonator. A product that hands itsTokenSourcetoferrobridge-termmoves toferrohealth-smart0.13 with it (#1714). ferrobridge-hl7v2reads\P\as the truncation character a v2.7 or later MSH-2 declares, and refuses it only in a message that declares none (HL7 v2.9 chapter 2 §2.7.1). A field beyond the table of a segment whose last field isvaries(QPD-3 “User Parameters (in successive fields)”, RDT) is no longer counted asextra-field.parse::Field::writtenreturns a field as the message wrote it,parse::Location::componentsthe ERL components, andparse::Delimiters::escapeescapes the truncation character. Breaking for a consumer:ack::Headerholdsparse::Delimiters(Header::delimiters), and a reply’s trailing empty fields are left out up to the last field valued or echoed (#1715).ferrobridge-term0.1.146 breaks its public API. The request types moved fromoutcometorequest.Validation.value_set_urlisValidation.value_set(arequest::Target, built byValidation::new),Expansion.value_set_urlisExpansion.value_set(arequest::ValueSetSource), andSubsumption.systemisSubsumption.code_system.Request::Lookupcarriesdisplay_language,Translationcarriesconcept_map_version, andExpansionandValidationcarry the new inputs. On the answers,ValidateOutcome::ValidandInvalidboth carrydisplay,outcomeanddetails,TranslateOutcome::TranslatedandNoMatchboth carrymatchesandused_maps,LookupOutcome::Foundcarriesdefinition,Expandedcarriesparametersandunclosed, andMatchanderror::Issuecarry the further elements of the answer. Pattern matches that name every field and struct literals of these types change;..keeps a match compiling (#1717).- The
openehr-*crates move to 0.0.133.openehr_mapping_core::template::TemplateSource::Opt2gainsprohibited_attributes, the attributes the template removed forexistence matches {0}asopenehr_adl::opt::create_optreports them in itsRawOpt, which the Web Template leaves out; a consumer that builds anOpt2source passes them, or an empty list for an OPT2 received without them, as the bridge does for an OPT2 the CDR serves (#1719). - The
openehr-*crates move to 0.0.135, andopenehr-mapping-core,fhirconnectandeehrxfare released on it. An archetype id in a mapping path or a node predicate is compared in its interface form with its namespace, so a namespaced reference (org.example::openEHR-EHR-EVALUATION.note.v1) no longer matches a template root that carries the id without one: “a namespace is never a wildcard” (openEHR BASEmaster07-referencing.adoc§Referencing) (#1724). fhir-search0.1.129 keepsjiffbehind its default featurejiff. Withdefault-features = falsethe escape, token, string, prefix and date grammar, the calendar check and the range a date’s precision implies compile with no time library;SearchDate::instants,approximate,Instantsandfirst_dayneed the feature. A consumer that reads tokens and escapes alone, such asihe-iti’s PIXm and PDQm sides, turns it off (#1730).ferrobridge-term0.1.147 breaks its public API: each FHIR release is a feature,stu3,r4,r4b,r5andr6, and the default isstu3,r4andr4b. A release whose feature is off has noWireVersionvariant, so a client in it does not compile. A consumer that speaks R5 or the R6 ballot turnsr5orr6on.ferrobridge-validator0.1.153 enablesstu3andr4, andferrobridge-hl7v20.1.204 andeehrxf0.1.186 enabler4. The bridge compiles the three releases its[terminology] wire_versionaccepts, so its release build no longer compiles every R5 and R6 resource, which ran the hosted runner out of memory (#1737).- The published crates follow Cargo SemVer: a compatible change bumps the
patch, and a breaking change bumps the minor while a crate is 0.x, judged
by
cargo-semver-checkson every pull request, in the merge queue and in the release plan. Require a crate of the line by a caret range (fhirconnect = "0.1") in place of an exact=pin; each crate’s README states the range.eehrxf,ferrobridge-fhirpath,ferrobridge-hl7v2,ferrobridge-term,ferrobridge-validator,fhir-search,fhir-types,fhirconnect,hl7v2-typesandopenehr-mapping-coremove one patch for the README section (#1745). fhirconnect0.1.246 puts the FHIRconnect language (model,resolve,engine,operations) behind a defaultmappingfeature. Withdefault-features = falsethe crate is the FHIR path model (tree) overfhir-types, with no openEHR crate and nojsonschema. A consumer that turns default features off and uses the language addsfeatures = ["mapping"](#1750).ferrobridge-term0.1.152 puts its HTTP client (reqwest, the retry budget, the credentials and the token provider) behind a defaultclientfeature, composed with the per-release features;smartimplies it. Withdefault-features = falsethe crate keeps the request, concept and outcome types and the transport-free writers and readers. A consumer that turns default features off and calls a server addsfeatures = ["client"](#1750).SECURITY.md, the post-market record and the book’s CRA user information namesecurity@cadasto.comas the email route for a vulnerability report, in place ofinfo@cadasto.com, which stays the manufacturer’s general address and the address for licensing and other business questions (#1772).- Breaking for a
ferrobridge-hl7v2consumer (0.2.0): the v2-to-FHIR message, segment and data type maps are generated into the crate at build time from the pinnedhl7.fhir.uv.v2mappings1.0.0 package, with FerroBRIDGE’s structure corrections as generator inputs, andmap::maps::Maps::corrected()(orMaps::guide(), the guide alone) replacesCorpus. Every table value is translated byConceptMap/$translateon a terminology server:map::map,map::single::segmentandmap::inverse::segmenttake anOption<&ferrobridge_term::client::Client>, and themapfeature carries the client. A table map’sTableGroupnames its source and target systems only (#1775). - FerroBRIDGE’s value maps for the HL7 v2 face (the corrected copy of
table-hl70202-to-contact-point-systemastable-hl70202-equipment-to-contact-point-system, the addedtable-hl70202-to-contact-point-useand the FHIR-to-v2 maps the PID inverse uses) ship as the FHIR packageterminology/hl7v2-values/, each under an id of its own and a url ofhttps://ferrobridge.eu/fhir/v2mappings/. Load it into the terminology server beside the guide’s package; the HL7 v2 face page of the book says how (#1775). - Every span of time and amount of data in the bridge’s and the console’s
configuration is a family
Duration("30s","5min") orByteSize("1MiB"), and its key names no unit.[server]takes theferrohealth-server0.7 keys:request_timeout,header_read_timeout,idle_timeout,body_limit,drain_delay,shutdown_timeout,retry_after,compression_min_sizeandtls.reload_interval. The bridge’s own keys follow:[cdr],[terminology],[fhir_outbound]and[facade.references]timeout;[cdr.retry]and[terminology.retry]initial_backoffandmax_backoff;[hl7v2]idle_timeout,frame_timeoutandframe_limit;[change_feed]poll_interval,backoffandmax_backoff;[events]confirm_timeout;[audit]max_sizeandwrite_timeout; and the console’s[bridge] timeout. A file or an environment that sets an old key is refused as an unknown key; rewrite it in the new form (#1795). ferrobridge-term0.2.0 builds onferrohealth-smart0.15, whoseTokenSourceitssmartfeature takes, so a consumer requiresferrobridge-term = "0.2"and moves toferrohealth-smart0.15 in the same change.ferrobridge-validator0.2.0,eehrxf0.2.0 andferrobridge-hl7v20.4.0 take the minor step with it, since each requiresferrobridge-termexactly (#1795).- The
[auth],[<lane>.credentials]and console[oidc]and[session]tables take the keys offerrohealth-smart0.15 andferrohealth-session0.9: every span of time is aDurationwith no unit in its key (clock_skew,jwks_max_age,jwks_refresh_interval,timeout,introspection.cache_max_age,[auth.basic] cache_ttl,refresh_margin,previous_key_overlap,sign_in_timeout,idle_timeout,absolute_timeout, andmax_onward_lifetimesuch as"1h"), and the outbound TLS of each is onetlstable (trust_roots_file,client_identity_fileorclient_identity,min_version) in place ofca_file,client_certificate_fileandclient_key_file. The old keys are refused as unknown keys (#1795). - The HL7 v2 value package keeps its FHIR manifest as
terminology/hl7v2-values/fhir-package.json, andscripts/terminology/pack-hl7v2-values.shpacks it into the FHIR package tarball withpackage/package.json, which is the form you load into the terminology server. A file namedpackage.jsonin the source tree was read as an npm manifest whose FHIR package dependencies npm resolves to other projects. A committed guard now refuses such a manifest (#1797). [audit]takes its Audit Record Repository as oneendpointtable,url,timeout,connect_timeout,retry,tlsandcredentials, sent throughihe-atna0.10’s FHIR Feed overferrohealth-smart’s outbound client.retryis the tries of one delivery, and itsmax_backoffthe wait between two rounds; the lane-levelbase_url,timeout,retry_maxandcredentialsare gone (#1809).[fhir_outbound]takes its endpoint as oneendpointtable,url,timeout,connect_timeout,retry,tlsandcredentials, sent throughferrohealth-smart’s outbound client: a delivery that got no answer or a5xxis tried again asretryallows, anhttpsendpoint behind a private root or asking for a client certificate is reached with the identity and rootstlsnames, and the lane-levelbase_url,timeoutandcredentialsare gone (#1809).ferrobridge-term0.3.0 builds onferrohealth-smart0.16. Behind thesmartfeature,Client::from_endpointbuilds a client from a product’s[<lane>.endpoint]table (smart’sEndpointSection) through smart’sOutboundClient: the table’s timeouts, no redirect, the TLS the product’sTlsBuilderbuilds, the retry, and the credential (HTTP Basic, or the client credentials token renewed once on a401).Client::with_httpis removed: a consumer that handed in its ownreqwestclient for mutual TLS or private roots names them in the table’stlsand builds throughfrom_endpoint.Credentials::Headercarries anAuthorizationvalue as it stands, andError::Endpointis the outbound client’s refusal of the table (#1809).ferrobridge-validator0.3.0,eehrxf0.3.0 andferrobridge-hl7v20.5.0 take the minor step withferrobridge-term0.3.0, which each requires exactly (#1809).[cdr]and[terminology]take their server as oneendpointtable,url,timeout,connect_timeout,retry,tlsandcredentials, the family’s outbound endpoint table, beside each lane’s own keys (demographicandonward;wire_versionanddisplay_fallback). The CDR’s engine and the terminology client speak the TLSendpoint.tlsnames, so a CDR or a terminology server behind a private root, or one that asks for a client certificate, is reached. The lane-levelbase_url,timeout,retryandcredentialsare gone, and the environment follows (FERROBRIDGE__CDR__ENDPOINT__URL) (#1810).
Removed
- The
[hl7v2]keysconcept_mapsandsupplements: the bridge carries the v2-to-FHIR structure maps and reads no ConceptMap directory, and the configuration refuses either key as unknown. The operator API’sGET /operator/hl7v2/concept-mapsdocument drops itsdirectoryandsupplementsmembers, and the console’s HL7 v2 settings and ConceptMaps tab drop them too (#1775). - From
ferrobridge-hl7v2:CorpuswithCorpus::load,Corpus::shippedandCorpus::supplement,map::translate::Translatorwith its offline translator,map::guide,map::supplement, and theshipped-mapsandterminology-serverfeatures (#1775).
Fixed
- A debug build of
eehrxfbuilds an operational template from the CKM archetypes, compiles the EU MPD and EPS projects and maps them on a thread with the default 2 MiB stack, so a consumer no longer needs a larger stack for it. The overflow was in theopenehr-langlexer, which 0.0.130, the pinned version, fixes (FerroHEALTH/FerroEHR#4961) (#1526). eehrxf::document::Document::with_mapped_compositionkeeps theemptyReasona mapping run writes on a section, in the newMappedSection::empty_reasonfield, andMappedSection::into_sectioncarries it into the document, which writes the concept as the run wrote it (a code oflist-empty-reason, or LOINCLA4720-4, whichSectionEmptyReasonEuImagingalso includes). Before, the reason was dropped and the document refused the empty section. A consumer that writes aMappedSectionliteral adds the field, andSection::empty_becauseis no longer aconst fn(#1626).- A FHIRconnect
hierarchy.splitwhose node lies outside the repeating anchor of the file it is slotted from no longer takes that anchor’s instance for the repeating nodes above it: each group creates the next free element under the instances those nodes are bound to. Coming out of openEHR, a mapping whose node sits below two or more repeating nodes its parent does not bind reads every instance of each, where it read only the first instance of all but the outermost (#1647). - A FHIRconnect
openehrConditionwhose target lies outside the repeating node its mapping reads (atargetRootunder$archetype/protocol, say, on a mapping inside an event) reads the target’s own instance coming out of openEHR instead of the input’s instance at the same depth, so the condition no longer fails for every event past the first (#1648). - A composition whose operational template prohibits its
context(existence0..0, which RMCOMPOSITION.context0..1allows) is built with noEVENT_CONTEXTand no context defaults, and the facility an HL7 v2 message names goes tofeeder_audit.originating_system_audit.location. Theopenehr-*crates move to 0.0.130, whose Web Template leaves/contextout of such a template (#1689). - A
fhirconnectcontext refuses an extension’soverwriteorappendTothat addresses a name two sibling methods share, asfc-duplicate-method-name, even when no slot of the context reaches the model the extension extends. Before, such an edit was refused or accepted depending on whether the context reached its model (#1702). - A FHIR
Durationwhose value has a fraction in any unit but the seconds (1.5 d) is refused going into openEHR, where it was written as the durationP1.5D, which openEHR BASE does not admit. A visit start or end written in the ISO 8601 basic form is read, and a facadeIf-Matchthat names an openEHR version of a composition whose id is an upper-case UUID is compared in the spelling the CDR issued (#1710). - A
DV_INTERVALa mapping writes bound by bound, such as therangeof another reference range of a quantity, carries all four flags ITS-JSON requires (lower_unbounded,upper_unbounded,lower_included,upper_included): an absent bound is unbounded and not included, a present one bounded and included, and a flag a mapping wrote is kept (#1722). - Every published crate of the line requires its workspace siblings exactly
(
=X.Y.Z), so a crate published from here always builds against the sibling it was released with. A range letferrobridge-validator0.1.151, already on crates.io, resolveferrobridge-term0.1.146, whose breaking change it never saw.eehrxf,ferrobridge-fhirpath,ferrobridge-hl7v2,ferrobridge-term,ferrobridge-validatorandfhirconnectmove one patch for the new requirements, andcrate-version-guardrefuses a caret or tilde between workspace crates (#1736). - A FHIR identifier search through the demographic extension counts two parties whose
HIER_OBJECT_IDs share a root and differ in theirextensionas two parties. The facade reads each party uid throughopenehr-base, naming a version by itsobject_idverbatim and any other uid whole, where it kept only the text before the first::(#1741). ferrobridge-hl7v2’s map writes an XTN-3 ofCPasContactPoint.systemphonewithusemobile(when XTN-2 is empty). Before, it wrotesystemmobile, which the required R4 binding ofContactPoint.systemdoes not allow. The fix ships as supplements over the guide’stable-hl70202-to-contact-point-systemanddatatype-xtn-to-contactpoint(#1762).ferrobridge-hl7v2’s map writes the guide’s data-absent-reasonunknownonContactPoint.systemfor an XTN with neither XTN-3 nor XTN-4, so theContactPointkeeps R4’scpt-2. The inverse reads a primitive’s extensions under its_namemember, so thatContactPointwrites back with nothing left over (#1763).ferrobridge-hl7v2’smap::inverse::segmentreturns aSendfuture, so it can run inside a task on a multi-threaded tokio runtime (#1769).fhirconnect0.1.249 converts a composition out of openEHR when a mapping reads a value its node does not hold and a later mapping writes the same repeating FHIR element. The empty mapping took the first instance, so the run refused with an occurrence gap: a KDS vital status composition with a composer and no health care facility did not convert to anObservation(#1781).- Breaking for a
ferrobridge-hl7v2consumer (0.3.0):parse::profile::Profilegainsrepetitions, the fields whose repetition a profile sets, andIHE_ITI_21lets QPD-3 repeat inQBP_Q21andRSP_K21of v2.5, as IHE ITI TF-2 §3.21.4.1.2.3 makes it (“one or more repetitions”, one per query parameter). A writerwith_profile(&IHE_ITI_21)therefore composes an RSP^K22 that echoes a query with two parameters instead of refusing it with anExtraRepetitionat QPD-3. QPD-2 keeps its one repetition (#1805).
Security
Shipped with functional changes because: FerroBRIDGE has refused a Basic user holding a system/ scope at start-up since the change that moved it to ferrohealth-smart 0.9.0, so no FerroBRIDGE build is exposed to GHSA-jhg2-jwjp-hq74 and there is no security update to separate from the other changes this release carries.
- A Basic user of
[[auth.basic.users]]holding asystem/scope is refused byferrohealth-smart0.9.1 (GHSA-jhg2-jwjp-hq74, CWE-269, CWE-863), which names the user and the scope, and a Basic caller never carries asystem/scope at request time. The bridge’s own start-up check for the same rule is removed in its favour. Upgrade step: give each Basic user theuser/scopes a person holds, and move each machine on Basic to a client credentials client (RFC 6749 §4.4) of amachinesorpersonsissuer (#1641). - The bridge takes
ferrohealth-smart0.13.1 (GHSA-5qm7-v4fw-p2v9): a refusal from an issuer’s key set, discovery or token introspection endpoint no longer keeps the upstream response body in its error, so no body reaches a log line. Introspection keeps only the bounded RFC 6749 §5.2errorcode (#1798).
0.0.22 - 2026-11-06
Callers by kind, and each request under its person. The bridge moves to
ferrohealth-smart 0.9.0 with ferrohealth-session 0.3.0 and FerroAUDIT
0.4.0: every trusted issuer is an [[auth.issuer]] table that names its
kind and profile, a Basic credential is always a person’s, and the audit
line names the caller’s kind. With [cdr.credentials.onward], each facade
request reaches the CDR under a token exchanged for the person who made it.
The configuration changes break: each entry below carries its upgrade step,
and config check names the key to move. ferrobridge-term 0.1.143
requires ferrohealth-smart 0.9.0, so a consumer moves both in one change,
and the crates that require it follow. eehrxf maps discharge and imaging
reports between openEHR and HL7 Europe, receives both, and refuses a
document whose sections break its composition profile’s section rules, and
ferrobridge-validator holds a dependency of another FHIR release, which
adds a ResolveError variant. A FHIRconnect mapping below a repeating
anchor may name a node outside it.
Added
eehrxfmaps discharge reports between openEHR and HL7 Europe Hospital Discharge Report 1.0.0 through the shippedHDRproject (featuresopenehranddischarge), over FerroBRIDGE’s discharge report template, a transfer of care summary over published CKM archetypes. The composition maps tocomposition-eu-hdr, its context to theencounter-eu-hdrof the stay, and each problem or diagnosis, procedure and medication order of its three sections to acondition-eu-core,procedure-eu-coreormedicationRequest-eu-coreentry of the section of the same name, with oneProvenanceper run.Document::with_mapped_compositiontakes the run into abundle-eu-hdr, answering each mapped section placed in the form’s slot as aMappedSection, andMapping::to_openehrmaps a received discharge report into one composition of the template.scripts/vendor/ckm-discharge.shvendors the three archetypes the template adds to the CKM medication set (#1325).eehrxfreceives a discharge report: with thedischargefeature,ReceivedDocument::categorynamesCategory::Dischargefor a document whoseComposition.typecarries LOINC34105-7, the codecomposition-eu-hdrof HL7 Europe Hospital Discharge Report 1.0.0 fixes, andCategory::profilesnamesbundle-eu-hdrandcomposition-eu-hdrforReceivedDocument::check(#1325).eehrxfmaps an imaging report between openEHR and the HL7 Europe Imaging Report 1.0.0-ballot document. The newIMAGINGproject (featureimagingwithopenehr) mapsOBSERVATION.imaging_exam_result.v1toDiagnosticReportEuImagingand theImagingStudyEuImagingit references, over FerroBRIDGE’s ADL 2 imaging report template of published CKM archetypes. The testkit vendors the archetype throughscripts/vendor/ckm-imaging.sh, and the EHDS readiness matrix lists both profiles (#1326).eehrxfreceives an imaging report:ReceivedDocument::categorynames the imaging category from theMedical-Imagingcoding ofComposition.category, whichCompositionEuImagingrequires while it leavesComposition.typeopen, andCategory::profilesholds the document toBundleReportEuImagingandCompositionEuImagingof HL7 Europe Imaging Report 1.0.0-ballot. The newCategory::document_categorynames the coding. A reference that names its target byidentifieralone, with notype, is now admitted at an element whose R4 target types are listed and include noPatient,GrouporResource, such as the accession number the guide writes inImagingStudy.basedOn(#1326).ferrobridge-validatorholds a dependency of another FHIR release, such as the FHIR 5.0.0xtehr.eu.ehds.modelsthat HL7 Europe Hospital Discharge Report 1.0.0 depends on, instead of refusing the package set: the package satisfies the dependency, its resources are never read, its own dependencies are not required, and a canonical only it defines is refused with the newResolveError::OtherRelease.Package::fhir_versions,PackageSet::other_releasesand theRelease::FHIR_VERSIONandRelease::CORE_PACKAGEconstants are new.ResolveErrorgains a variant, so a consumer that matches it exhaustively adds an arm. HDR 1.0.0,hl7.terminology.r47.4.0 andxtehr.eu.ehds.models1.0.0 join the profile package pins, and a received discharge report validates throughReceivedDocument::validate(#1600).[cdr.credentials.onward]: each FHIR facade request reaches the CDR under the person who made it. The bridge exchanges the caller’s access token per request for a token of the CDR’s issuer that names the same person, through OAuth 2.0 Token Exchange (RFC 8693,audienceunder the Keycloak profile) or the Entra ID on-behalf-of JWT bearer grant (RFC 7523), and checks the issued token’s issuer, audience, lifetime, actor and person before it uses it. The token is cached under the caller’s token and the target within its expiry. A machine keeps the bridge’s own client credentials token; a patient, another party’s organisation, a guest or a Basic user is refused with403. A failed exchange fails the request with the token endpoint’s400or403, a401with the claims challenge forinteraction_required, or a502, and the bridge’s own token is never sent in its place (#1582).
Changed
eehrxf: theCompositionof every documentDocument::into_bundlewrites now claims its form’sCompositionprofile inmeta.profile, so a received document selects the FHIRconnect context that maps its composition (#1325).- Every trusted authorization server is an
[[auth.issuer]]table that requireskind(persons,patients,machinesorfederation) and holds every issuer setting itself:audience,algorithms,clock_skew_seconds, thejwks_*keys,timeout_ms,modewith its[auth.issuer.introspection]table, androle_claims. Each table takes aprofile(rfc9068by default,entra,keycloak,oktaornl) with any profile key set over it, and a person’s token of apersonsissuer is admitted only through a client listed infirst_party_clientsordelegates. An issuer withmode = "introspection"now sits beside issuers checked by their key sets. Upgrade step: write each issuer as an[[auth.issuer]]table with itskind, move every section-level issuer key onto each table it held for, list the clients your people sign in with (the operator console’s included) infirst_party_clients, and under thekeycloakpreset list each service account’ssubinapp_only = [{ subjects = [...] }].config checknames the key to move (#1585). [auth] scopeless_subjectsentries are tables{ issuer, sub }and admit a machine’s token alone. Upgrade step: rewrite each string entry, bare or<issuer>#<sub>, as a table naming its issuer (#1585).- The audit line of every facade and operator request carries three fields
more: the caller’s
kind(person,patient,system,delegatedand the other kinds offerrohealth-smart), andbindingandparty, which read-while the bridge binds no party. Upgrade step: a log pipeline that holds the field set adds the three (#1585). - The quickstart
compose.yamlmounts./configat/etc/ferrobridgeread-only and passesFERROBRIDGE_CONFIGthrough, so the[[auth.issuer]]tables live inconfig/ferrobridge.toml; it no longer passesFERROBRIDGE__AUTH__ISSUERandFERROBRIDGE__AUTH__AUDIENCE. The operator console’s Server and access tab counts the issuers and drops the Audience row, which is now each issuer’s (#1585). - A Basic credential of
[[auth.basic.users]]is always a person’s, never a machine’s, and a Basic user listing asystem/scope refuses the start, naming the user. Upgrade step: give each machine on Basic, such as an ETL client, a client credentials client (RFC 6749 §4.4) of amachinesorpersonsissuer the section trusts, with thesystem/scopes it needs, and keep on Basic only people, withuser/scopes or the operator scope (#1585). - The bridge moves to
ferrohealth-smart0.9.0, withferrohealth-session0.3.0 for the operator console,ihe-atnaandehds-logging0.4.0 for the access-record lane,ferrohealth-server0.5.1 and FerroUI 0.6.7, so one copy offerrohealth-smartbuilds into each binary. The access record carries no party binding, actor chain or representation of the bridge’s own.ferrobridge-term0.1.143 requiresferrohealth-smart0.9.0 behind itssmartfeature, andsmart::SmartTokentakes the 0.9.0 token source: a consumer movesferrohealth-smartto 0.9.0 and pinsferrobridge-term = "=0.1.143"in one change (#1585). - The
eehrxfIMAGINGproject mapsImagingStudy.modalityandImagingStudy.startedfrom the imaging examination result’s event, where the archetype holds them, and no longer accounts for them as losses: the study’s reference sits below the event and reaches the protocol outside it for the identifier, the status and the description (#1612). eehrxf::document::Document::into_bundleholds the sections to the section invariants of each HL7 Europe composition profile and refuses a document that breaks one: a patient summary section ofsectionProblems,sectionAllergiesorsectionMedicationswith no entry and no empty reason (composition-eu-epsips-comp-1), an imaging report section with neither (CompositionEuImagingeu-imaging-composition-1), each with the newDocumentError::Unreasonednaming the section, and a discharge report with neither a discharge summary nor a hospital course section (composition-eu-hdrcmp-hdr-2), with the newDocumentError::Absent. The newForm::rulesfield lists a form’sSectionRules, so a consumer that writes aFormliteral adds it; one that assembles such a document gives each empty section anEmptyReasonwithSection::empty_because(#1620).eehrxf::document::Document::into_bundlerefuses a patient summary or an imaging report that lacks a section slice its composition profile requires (min = 1onsectionProblems,sectionAllergies,sectionMedications,sectionProceduresHxandsectionMedicalDevicesofcomposition-eu-eps, and onimagingstudy,order,historyandprocedureofCompositionEuImaging), with the newDocumentError::Lackingnaming the slice and the newSectionRule::Required(#1625).
Removed
- The flat
[auth] issuer = "…"form, the section-level issuer settings (audience,algorithms,clock_skew_seconds,jwks_max_age_seconds,jwks_refresh_interval_seconds,jwks_file,timeout_ms,mode,introspection,role_claims), andtoken_profileat either level. Each failsconfig checknaming its replacement. Upgrade step: write an[[auth.issuer]]table with itskindand move each key onto it; in place oftoken_profile = "jwt", select aprofileor settoken_types,required_claimsand the classification keys on the issuer table (#1585).
Fixed
- A FHIRconnect mapping below a
followedByanchored at a repeating node can name a node outside that anchor, by../or by an absolute$archetypepath, and inside areferenceplaced there: the FLAT build no longer refuses it with an occurrence count mismatch, and the node keeps the instance of only the repeating nodes it lies below (#1612). ferrobridge-validator: anAttachment.urlthat resolves to an entry of a document Bundle, by itsfullUrlor relative to the holding entry’s base, now counts as a reference to that entry for the R4 documents.html §3.3.1 rule that a document holds only what its Composition references directly or indirectly. A url that names no entry marks nothing. This is our reading where the page is not explicit. The HL7 Europe Imaging Report semi-structured example, whose PDF Binary is named only byDiagnosticReport.presentedForm.url, now validates (#1614).ferrobridge-validator: a dependency named by a patch range (4.2.x) is no longer satisfied by a pre-release (4.2.5-comment) unless the range names that label (4.2.x-comment), and the patch must be numeric. The rule is the onescripts/vendor/profile-packages.shpins a range by (#1615).- An
onwardtable under[terminology.credentials],[audit.credentials]or[fhir_outbound.credentials]refuses the start, and so does[cdr.credentials.onward]on a server whose[auth]is off. Before, the table loaded and was ignored (#1582).
Security
Shipped with functional changes because: the GHSA-pfgx-xq28-2629 fix reaches the bridge through ferrohealth-smart, and the 0.9.0 move this release makes for FerroEHR’s ferrobridge-term replaces the very scopeless_subjects and role_claims shapes the 0.8.9 fix introduced, so a security-only patch would ship a configuration form the next release refuses; RUSTSEC-2026-0440 affects no shipped artefact (the VEX statement below records why).
- RUSTSEC-2026-0440 (
astral-tokio-taris unmaintained, with no patched version) does not affect FerroBRIDGE:testcontainersreaches the crate only in the test harness, and the server binary, theferrobridgeimage and theferrobridge-consoleimage do not contain it.deny.tomlaccepts the advisory until atestcontainersrelease drops the crate (security/vex/rust-advisories.openvex.json) (#1575). [auth] scopeless_subjectsandrole_claimshold per issuer, throughferrohealth-smart0.8.9 (GHSA-pfgx-xq28-2629, CWE-863, CWE-639). Before it, beside several[[auth.issuer]]tables both lists applied to every trusted issuer’s tokens: a token from any of them whosesubwas listed got system-wide access without a scope, and any of them could assert roles. In this release eachscopeless_subjectsentry is a table{ issuer, sub }and each issuer’srole_claimssits on its own[[auth.issuer]]table, so both hold for one issuer alone; an entry naming an issuer the section does not trust refuses the start. Upgrade step: the[auth]steps under Changed and Removed (#1586).
0.0.21 - 2026-11-05
A correctness release on the way to the whole FHIRconnect mapping library.
A template over a specialised ADL 1.4 composition archetype carries one
context, so a mapping that names $composition/context resolves against
it, and the compiler refuses at load the mappings that before failed only
on their first run. Three changes break a consumer: fhirconnect 0.1.223
refuses at load a mapping whose types no data-type page pairs
(fc-unpaired-types) and a reference into a choice element the path does
not type (fc-reference-into-choice), so a mapping set that loaded before
can be refused now; FhirKind and FhirValue gain an Instant variant,
which an exhaustive match adds; and eehrxf 0.1.158, fhirconnect
0.1.223, openehr-mapping-core 0.1.143 and ferrobridge-hl7v2 0.1.182
require openehr-* 0.0.129, so a consumer that pins the openehr-* crates
moves them together. The crate line moves one patch per change, a breaking
one included, so a consumer pins it exactly. Passing the whole mapping
library (#1546) and the issues that wait on an upstream publication moved
to v0.0.22.
Fixed
- A template over an ADL 1.4 composition archetype that specialises another, as
openEHR-EHR-COMPOSITION.report-result.v1specialisesreport.v1, carries one/contextnode, so a mapping that names$composition/contextresolves against it. Before, the operational template held the composition’scontexttwice and every such mapping was refused withfc-ambiguous-template-node. Theopenehr-*crates move from 0.0.128 to 0.0.129, which carries the fix, so the nexteehrxf,fhirconnect,openehr-mapping-coreandferrobridge-hl7v2publish requiresopenehr-* ^0.0.129(#1549). fhirconnect: the compiler refuses at load, naming file and line, an untyped mapping whose openEHR class and FHIR type no page of the data-type chapter pairs (fc-unpaired-types), a data value mapped onto a resource root (the same code), and areferencewritten into a choice element whose type the path does not name (fc-reference-into-choice). Each failed only on the first run that carried the element before.instantnow pairs withDV_DATE_TIME, our own decision whereDV_DATE_TIME.adoclists noinstant: going into openEHR it is total, and going out of openEHR aDV_DATE_TIMEthat is not a validinstantis refused withLensError::NotAnInstant, naming the part it lacks (InstantShortfall).FhirKindandFhirValuegain anInstantvariant, which a consumer matching them exhaustively adds (#1566).
0.0.20 - 2026-11-05
Two steps toward the whole FHIRconnect mapping library. A composition model
can start a context compiled against an ADL 2 operational template, read
through the lineage of the template root, and a slotArchetype may name a
model already on its slot chain, as the library’s medication cluster does.
The eehrxf laboratory project lists its composition context beside the
laboratory result. Two calls break: fhirconnect 0.1.221 renames
EngineError::SlotCycle to EngineError::SlotDepth (and the diagnostic
fc-slot-cycle to fc-slot-depth), and in eehrxf 0.1.156
Mapping::compile_project(&LABORATORY) compiles both contexts, so a consumer
narrows the project with LABORATORY.with_context(..) first. The crate line
moves one patch per change, a breaking one included, so a consumer pins it
exactly.
Added
fhirconnectandopenehr-mapping-core: a composition model (COMPOSITION.report.v1.Conditionand its kin) can be thestartof a context compiled against an ADL 2 operational template. The template root carries every archetype its lineage names (AOM2 §3.6.4, §3.6.6), whichWebTemplateIndexkeeps from the OPT2’sparent_archetype_id, or fromWebTemplateIndex::with_root_lineagewhen the caller holds the template source and the OPT states no parent.WebTemplateIndex::root_lineagereads it. An OPT2 that states no parent and is given no lineage still refuses a composition start as an unresolved archetype root (#1550).
Changed
eehrxf: the laboratory mapping project listsferrobridge_eu_lab_composition.contextbeside its laboratory result context, soProject::with_contextcompiles theComposition-eu-labcontext from the embedded files. Both contexts mapKDS_Laborbericht, soMapping::compile_project(&LABORATORY)now compiles two programs, and a run that used it for the laboratory report narrows the project first:LABORATORY.with_context("ferrobridge_eu_laboratory.context")(#1544).fhirconnect: aslotArchetypemay name a model already on its slot chain, as the mapping library’s medication cluster does for its constituents. The compiler follows the recursion while the template carries a node, ends it where the template stops nesting the chain’s archetype, and refuses a chain that enters one model more thanresolve::program::SLOT_DEPTH_LIMIT(8) times or re-enters it at no deeper place. The diagnosticfc-slot-cycleis replaced byfc-slot-depth, andEngineError::SlotCyclebyEngineError::SlotDepth, which carries the limit: a consumer that matches either changes to the new name (#1551).
0.0.19 - 2026-11-04
A family upkeep release. The server and the operator console move to
ferrohealth-config 0.2.8, ferrohealth-server 0.4.3 and
ferrohealth-telemetry 0.2.4, and both binaries run on the FerroSYS run
path, which answers help, the version, a usage error and a runtime that
cannot start as every FerroHEALTH binary does. The eehrxf EPS project lists
its immunisations context beside the medication summary. eehrxf 0.1.153
breaks one call: Mapping::compile_project(&EPS) compiles both contexts,
so a consumer narrows the project with EPS.with_context(..) first. The
crate line moves one patch per change, a breaking one included, so a
consumer pins it exactly.
Changed
eehrxf: the EPS mapping project listsferrobridge_eu_eps_immunization.contextbeside its medication summary context, soProject::with_contextcompiles the immunisations from the embedded files. Both contexts map one template, soMapping::compile_project(&EPS)now compiles two programs, and a run that used it for the medication summary narrows the project first:EPS.with_context("ferrobridge_eu_eps_medication.context")(#1531).- The server and the operator console run on
ferrohealth-config0.2.8,ferrohealth-server0.4.3 andferrohealth-telemetry0.2.4. A configuration refusal no longer echoes a value written unquoted, such as a secret set as a number, and a refusal inside an array of tables names its key with the element’s index. The panic line of the log carries the server’s request id of the request that panicked. The request span is named{method} {route}(#1537).
0.0.18 - 2026-11-04
A short release that closes the one-owner reshape. A FHIRconnect manual
entry that writes into openEHR records the reads of the FHIR elements it
names, so eehrxf no longer declares such an element lost. The eehrxf
imaging and discharge codings carry the displays the HL7 Europe EU Health
Data API package gives them, and one named context of an eehrxf mapping
project compiles alone. The operator console runs on ferrohealth-session
0.2.2. eehrxf 0.1.151 removes the public constant
document::imaging::PRIORITY_CATEGORY: a consumer uses
category::PRIORITY_SYSTEM, which holds the same URL. The crate line moves
one patch per change, a breaking one included, so a consumer pins it
exactly.
Added
eehrxf:Project::with_context(name)narrows a shipped mapping project to one of its context mappings, soMapping::compile_projectcompiles that context alone from the embedded files and a run over a template two contexts map has one program to select (the MPD project’s request and dispense). A name the project does not compile is refused withmappings::UnknownContext(#1527).
Changed
- The operator console runs on
ferrohealth-session0.2.2.[oidc] resolvereaches the provider’s host at a fixed address, and[oidc.tls]names the client certificate the console presents to its provider (RFC 8705 §2) and the lowest TLS version of that connection.POST /logoutgoes to the provider’s end-session endpoint only when the ended session holds an ID Token, so a Basic sign-out returns to the console’s signed-out page (#1521).
Fixed
fhirconnect: amanualentry that writes going into openEHR records a read of each FHIR element its paths name, at the occurrence its mapping binds, soOutcome::readsno longer leaves out an element a status table carried. An entry itsfhirConditionrefuses, or one that runs out of openEHR only, records none.eehrxfno longer declares such an element lost once a project accounts for it (#1518).eehrxf: the imaging form’sMedical-Imagingpriority category and the discharge report’s18842-5section now carry the display the vendored HL7 Europe EU Health Data API 1.0.0-ballot gives them, and the imaging report category85430-7takes that guide’s value-set display,Diagnostic imaging report, over an example’s.document::imaging::PRIORITY_CATEGORYis removed: usecategory::PRIORITY_SYSTEM, the same URL. Five section codes no vendored HL7 Europe, MyHealth@EU or Xt-EHR material gives a display (81338-6,57080-4,77599-9,48767-8,LP173421-1) still carry none (#1523).
0.0.17 - 2026-11-04
The interoperability-component release. eehrxf feeds the patient
summary’s medication summary from medication orders, so a patient whose
medicines a CDR records only as orders has them in the summary. It feeds the
immunisations from the medication actions the CKM vaccination list section
holds, placing each entry by the template section that records it, never by
its content (hazard I-03). Every coding of a document the component writes
now carries its display, read from the MyHealth@EU catalogue and the HL7
Europe guides, so a receiver with no terminology server can read it. The
prescription and dispense collections name each entry by fullUrl, and the
CI fhir-validator job holds them to HL7 Europe MPD 1.0.0. $tofhir maps no
resource from a composition that holds no occurrence of the context’s start
archetype. The operator console moves to FerroUI 0.6.6 and draws a mapping
revision’s changes as a line diff. The model layer FHIRconnect and OMOCL
share moves into openehr-mapping-core. The laboratory project carries a
received result’s reference range and its order into openEHR and back, and
names each received element it carries nowhere. The openehr-* crates move
to 0.0.128, which accepts an ADL 2 template’s sections of one archetype told
apart by name.
Four changes move a consumer’s code. The published crates drop their
forwarding functions, and the longest modules are split by concern, which
moves public items to new paths (both listed under Changed). fhirconnect’s
$tofhir over a composition without the start archetype answers
EngineError::NotApplicable where it mapped one resource from the root.
The published crates require openehr-* ^0.0.128.
Added
eehrxf::mapping::identifiednames every entry of thecollectionBundle a mapping run answers by thefullUrl{base}/{type}/{id}, giving the run’sProvenancea free id, so the prescription or dispensation a system exchanges identifies each resource it holds (FHIR R4Bundle.entry.fullUrl). The CIfhir-validatorjob now runs HL7’s FHIR Validator over the mapped MPD prescription and dispensation againsthl7.fhir.eu.mpd1.0.0 (#1321).eehrxfships an HL7 Europe Patient Summary mapping project (mappings::EPS) over FerroBRIDGE’s patient summary template, built from CKM archetypes. It maps each medication order of the template’s medication summary section to aMedicationStatement-eu-eps, so a patient whose medicines a CDR records only as orders has them in the medication summary, and each medication action of its immunisations section to animmunization-eu-core. The patient summary crosswalk names these openEHR sources (crosswalk::patient_summary::SOURCES): an entry is placed by the template section that holds it, so a composition with a vaccine and a medicine puts each in its own section (#1323).eehrxf’s laboratory project carries a received result’s reference range into thenormal_rangeof its quantity and back out, and the order a report answers into theKDS_Laborberichttest request details by its identifier. A project now accounts for received elements (Project::accounted,Mapping::accounting): each received instance of one that the run carries into no structured element, such as a typed reference range or the order a result answers, is awarningissue in the composition’sOperationOutcome.ReceiveMappingErrorgainsOriginal.fhirconnectresolves a path below a polymorphicELEMENTto the one value alternative whose class carries its tail, reads a bound belownormal_rangeas the quantity’s own class, and names the resource of eachLocation(Location::resource,Type/id) (#1481).
Changed
- The published crates drop the functions that only forwarded to another,
so a caller names the one that decides:
fhirconnecttakes the template pin inresolve::select::select_by_profile, the code inengine::library::ratio::to_fhirandto_openehr, andresolve::derive::STRUCTURALin place ofis_structural;ferrobridge-hl7v2takes the row’s source inmap::condition::parseand dropsparse::Component::textforsubcomponent(1);eehrxftakes an optional template context interminology::transcode::transcodeandtranscode_with, which replacetranscode_localandtranscode_local_with;ferrobridge-validatornames the release inset::PackageSet::loadandnew, which replaceload_releaseandnew_release;omop-cdmtakes the origin inwriter::CdmWriter::commit, which replacescommit_from, and rebuilds an era throughderived::era; the mapping sets and the registry are built withDefault(#1415). openehr-mapping-coreowns what FHIRconnect and OMOCL share at the model layer:schema::SchemaError,schema::compileandschema::validate(the draft-07 compilation of a mapping schema and the step that turns each schema error into a positioned diagnostic),diagnostic::LanguageCodes(a language crate’s code set, converted into aDiagnosticCode),diagnostic::render_admittedandloader::in_path_order.fhirconnectandomocldrop their ownSchemaErrorand theDisplayof theirModelCode, and implementLanguageCodesfor their code sets; every diagnostic code, position and message stays as it was (#1416).- The published crates’ longest modules are split by concern, which moves
their public items to new paths:
ferrobridge-hl7v2serves and sends throughmllp::listener(serve,serve_with,Connection,Handler,Timeouts) andmllp::sender(send,SendTimeouts,SendError);fhirconnectnamesengine::rm::carried::{Carried, carried},engine::seam::identity(IdentitySink,IdentityRequest,ResourceIdentity,ResourceRequest,DerivedIdentity) andengine::cell::withheld::{withheld, uncarried_code};eehrxfnamesdocument::form(Slot,slot,Code,Companion,Kind,Authorship,Form) anddocument::section(Section,EmptyReason) (#1423). - The operator console moves to FerroUI 0.6.6, and its assets are served
under
/ferrohealth-ui/0.6.6/. A mapping-set revision’s page draws each changed file as a line diff: every line with its numbers before and after, a removed line marked “−” and an added line “+”, each with its word for a screen reader. It replaces the plain unified text of the code viewer. The table of the revision’s changed files heads its key column “File” (#1501).
Fixed
eehrxf’s structural check (receive::conform) matches an occurrence of a choice element such aseffective[x]to its type slice by the type its property names. It refused a conformanteffectivePeriodunder the closed type slicing ofMedicationStatement-eu-epsbefore (#1323).ferrobridge-fhirpath: a\uescape in a string or delimited identifier takes four hexadecimal digits and no sign, as the FHIRPath N1 grammar’sUNICODErule writes it.'\u+041'reads asu+041(N1 §4.1.2: a backslash before a non-escape is dropped) where it read asA, andunescape('json')refuses\u+041(RFC 8259 §7) (#1425).fhirconnect’s$tofhirno longer maps a resource from the composition root when the composition holds no occurrence of the context’s start archetype. That resource held only a context’s constant mappings, for a record that is not there. The run now refuses as not applicable, as it does when the context’s condition admits no occurrence (FHIRconnect 1.0.0context-mappings.adoc§Start,rest-api.adoc§$tofhir).eehrxf’s patient summary medication context drops the guard it carried against it (#1486).eehrxfwrites adisplayon every coding of a document it assembles:Composition.type, each section’scode, each section’s empty reason and the LOINC categories of a form. A laboratory result’s category, written by the shipped laboratory project, carries one too. Without these, a receiver with no terminology server refused the document. Each display comes from the vendored European material: the MyHealth@EU Master Value Sets Catalogue 9.1.0 first, then an HL7 Europe guide’s value set or code system, then an English example of a guide, and FHIR R4list-empty-reasonfor an empty reason.document::display::displayanswers it. The six section codes none of that material names (18842-5, 48767-8, 57080-4, 77599-9, 81338-6, LP173421-1) and the imaging priority category still carry no display (#1499).- A composition of an ADL 2 template that holds several sections of one
archetype, told apart by their fixed names as the International Patient
Summary’s
SECTION.adhoc.v1sections are, is accepted and each entry reads from its own section. Before, the composition check counted the sections as one node and refused it with “too many occurrences”. Theopenehr-*crates move from 0.0.116 to 0.0.128, which carries the fix, so the nexteehrxf,fhirconnect,openehr-mapping-coreandferrobridge- hl7v2publish requiresopenehr-* ^0.0.128(#1487).
0.0.16 - 2026-11-03
The console-breadth release. With [operator] mapping_dir, the bridge keeps
every state of the console’s mapping files it ran as a revision, with who,
when and why, and the operator API lists, diffs, applies, exports and imports
them as ZIP archives; the operator console shows them on the Mapping set’s
Revisions tab with Roll back to this revision. The console also gains a
synthetic example composition per template in the $tofhir playground, the
OMOP ETL run history (each finished etl run and etl fhir report is kept
in the bridge schema), the HL7 v2 face’s ConceptMap directory, and sign-in
through ferrohealth-session with FerroUI’s session watch. Two lanes land
beside it: [fhir_outbound] delivers each changed composition to a FHIR R4
endpoint as one transaction Bundle, and [audit] writes the Regulation
(EU) 2025/327 Annex II 3.2 access record of every facade access and sends it
as an IHE BALP AuditEvent, refusing the access with 503 when the record
has no place. eehrxf maps prescriptions and dispensations to and from the
HL7 Europe MPD 1.0.0 resources and laboratory reports to and from the HL7
Europe Laboratory Report 2.0.0 document, and ships its FHIRconnect projects
in its package. The openehr-* crates move to 0.0.116.
Four changes break an existing deployment or a consumer. The console refuses
at start a [session] whose absolute_timeout_s is below its
idle_timeout_s; config check reports it. fhirconnect’s
engine::fhir::FhirKind and FhirValue gain UnsignedInt and
PositiveInt, and its Loss gains Absent, so an exhaustive match adds the
arms. ferrobridge-hl7v2’s Map gains title, so a consumer that builds
one by its fields adds it. The published crates now require
openehr-* ^0.0.116, so a consumer moves its openehr-* pins with them.
The library crates publish at eehrxf 0.1.141, fhirconnect 0.1.212,
openehr-mapping-core 0.1.138, ferrobridge-hl7v2 0.1.171,
ferrobridge-validator 0.1.142 and ferrobridge-fhirpath 0.1.129, and
fhir-types 0.1.128, hl7v2-types 0.1.127 and ferrobridge-term 0.1.141
stay where they are. A crate version an entry below names is the step at
which that change came in.
Added
eehrxfmaps electronic prescriptions and dispensations between openEHR and the HL7 Europe MPD 1.0.0 resources through FerroBRIDGE’s FHIRconnect contexts.Mapping::compile_templatecompiles a mapping against an ADL 2 operational template as well as an OPT 1.4 one.ReceivedResources::readreads acollectionBundle as strictly as a document, andMapping::resources_to_openehrmaps it into one composition that keeps the collection as its original content.ReceivedComposition::instructed_bynames the order a received dispense carries out. The MPD request mapping now carries the refills authorised, their least interval, the refills remaining, and the amount and duration of one fill, from the CKM medication authorisation and supply amount clusters. Every mappedMedicationRequestcarries the statusunknown, because no published crosswalk pairs the openEHR order status with the R4 request status (#1322).eehrxfmaps laboratory reports between openEHR and the HL7 Europe Laboratory Report 2.0.0 document through FerroBRIDGE’s FHIRconnect laboratory project overKDS_Laborbericht. The crate now ships its FHIRconnect projects undermappings/in its package, andeehrxf::mappingsembeds them (MPD,LABORATORY,Project::write_to).Document::with_mapped_reporttakes the report, results, specimens andProvenanceof one mapping run into a laboratory report document, andreceivenames a receivedBundle-eu-laba laboratory report and holds it to theBundle-eu-labandComposition-eu-labprofiles.DocumentErrorgainsUnmapped. TheDiagnosticReport-eu-labcontext no longer loads the mapping library’sreport_result.v1.DiagnosticReportmodel, whose mappings it overwrote to none (#1324).- The outbound FHIR lane, behind a new
[fhir_outbound]section, follows the change feed and delivers each changed composition to a FHIR R4 endpoint as onetransactionBundle per event, mapped through the facade’s programs: every resource is aPUTcarrying itsid,meta.versionIdandmeta.source, and a deletion, an erasure or a resource a new version no longer maps to is aDELETE. Delivery is at least once; a composition of an EHR bound to no patient, or a resource without its subject, is refused and parked; the start warns that the lane carries identifiable data (#1374). - The bridge records its own accesses behind a new
[audit]section. Every FHIR facade access an authenticated caller makes is written as the access record of Regulation (EU) 2025/327 Annex II 3.2: the caller the token verified, the categories of the templates it reached (the[audit.categories]map), the time and the CDR as the origin. Each message the HL7 v2 face commits is written as a system import record. Both are sent as IHE BALPAuditEvents over the ITI-20 ATX: FHIR Feed to the Audit Record Repository[audit] base_urlnames, from a spool on disk. Recording fails closed: an access whose record has no place is refused with503before the CDR is called, and an HL7 v2 message is answeredAR(#1377). - The FHIRconnect engine carries an openEHR
DV_COUNTto and from the R4 restricted integersunsignedIntandpositiveInt, such asMedicationRequest.dispenseRequest.numberOfRepeatsAllowed. A count below the least value the type admits (0 or 1) is refused going out, never clamped. The FHIRconnect 1.0.0DV_COUNTpage names onlyinteger, so this pairing is FerroBRIDGE’s own reading of the R4 definitions. This breaks thefhirconnectAPI:engine::fhir::FhirKindandFhirValuegain the variantsUnsignedIntandPositiveInt, so a consumer that matches either exhaustively adds the two arms (#1400). - The operator console answers
GET /sessionwith the idle and absolute seconds its session has left, never counting as activity,POST /sessionextends the idle timeout, and both answer401once the session is gone, with an RFC 9457 problem whosedetailis in the console’s language. Every signed-in page carries FerroUI’s session watch, which warns before the idle timeout with Stay signed in, and ends every tab of the console together when the session ends or the operator signs out, leading to the sign-in with the page left as its return address (#1435). - The FHIRconnect engine declares every element a run writes out of
openEHR with only the FHIR R4
data-absent-reasonextension as a loss,Loss::Absent, awarningin the run’sOperationOutcomelocated at the element.Lossgains that variant, so a consumer that matches it exhaustively adds the arm (#1443). fhirconnect::model::load::load_set_from_textloads a FHIRconnect mapping set from(name, text)pairs through the same schema, lowering and semantic checks asload_set, andeehrxf’sMapping::compile_projectcompiles a shippedmappings::Projectfrom its embedded text with no file written (#1445).- With
[operator] mapping_dir, the bridge keeps each state of the console’s mapping files it ran as a revision undermapping_dir/..revisions: at start-up, after each save, after a reload that finds the files changed and after each apply, with who, when and why. The operator API lists them atGET /operator/revisions, answers one atGET /operator/revisions/{id}and its line diff against the running one atGET /operator/revisions/{id}/diff, and applies one atPOST /operator/revisions/{id}/applyunderIf-Matchon the running revision with a reason, compiling the set first and changing nothing when it does not compile. Provisioned files are in no revision. The operator console lists the revisions on the Mapping set’s Revisions tab and shows each one’s diff with Roll back to this revision (#609). - The operator API exports a mapping-set revision as a ZIP at
GET /operator/revisions/{id}/export, the same bytes at every export of the same files, and imports one atPOST /operator/revisions/import: the ZIP sent raw asapplication/zipwith a reason, read with a ceiling, checked with the provisioned files as a dry run and saved as a revision that does not run until an apply. An import that does not compile is refused with its diagnostics, and a body that is no mapping-set archive answers the newbad-archiveproblem. The operator console exports from a revision’s page and the Mapping set’s More menu, and imports from the new Import a mapping set page (#610). - The operator API answers a synthetic example composition of each template
the running set compiled against at
GET /operator/templates/{id}/example, generated from the template’s Web Template, validated against it and the same at every request. A template with no example answers the newno-exampleproblem. The operator console’s playground offers it from the Example menu of the$tofhirtab, so a mapping can be tried without hand-written input.openehr-mapping-core0.1.138 addsWebTemplateIndex::example_compositionandPathError::NotComposition(#611). etl runandetl fhirkeep each finished run’s report in a run table of the bridge schema, whichferrobridge cdm initcreates, and the operator API answers the newest runs atGET /operator/etl/runsand one run atGET /operator/etl/runs/{run_id}. The operator console lists the runs on the OMOP ETL page’s Runs tab and shows each run’s report: when it ran, the rows it wrote, its deletion check and every record it refused. When the record is refused, the job still prints the report and then exits with the refusal (#612).- The operator API answers
GET /operator/hl7v2/concept-maps, the HL7 v2 face’s ConceptMap directory: every map the face runs with its kind, what it maps from and to, whether it is the guide’s or a supplement’s, its rows and the messages it served since the bridge started. The operator console shows it on the HL7 v2 page’s ConceptMaps tab.ferrobridge-hl7v2gives eachMapitstitleand itsends(), and eachMappedthe maps itapplied(); a consumer that builds aMapby its fields addstitle(#613).
Changed
- The
openehr-*crates move from 0.0.109 to 0.0.116, so the publishedeehrxf0.1.133,fhirconnect0.1.208,openehr-mapping-core0.1.136 andferrobridge-hl7v20.1.166 requireopenehr-* ^0.0.116(#1394). - The OMOP CDM v5.4 definitions move to OHDSI
CommonDataModeltagv5.5.0, read at its v5.4 files only: the tag corrects the v5.4 field definition ofcdm_source.cdm_etl_reference, whose text is user guidance and no ETL convention, and the boolean casing of the v5.4 table definitions. The CDM stays on v5.4, the DDL is unchanged, andcdm initnamesOHDSI v5.5.0as the definitions it applies (#1403). - The operator console signs operators in and keeps their sessions through
ferrohealth-session0.1.1, the sign-in crate of every FerroHEALTH console, in place of its own copy. The routes stayGET /login,GET /auth/callbackandPOST /logout;GET /logintakes?return=<page>and a completed sign-in lands on that page of the console, and the sign-in card’s button carries the page the operator asked for.[oidc]takesissueralone and discoversauthorization_endpoint,token_endpoint,jwks_uri,end_session_endpointand the newrevocation_endpointwhen the console starts, each written one taking the place of the discovered one, with the new keysca_fileandtimeout_s(default10);config checkcontacts no provider.[session]addsstore(memory, the default, orsealed, one encrypted cookie per session) withkeyorkey_file, and refuses anabsolute_timeout_sshorter thanidle_timeout_s. A sign-out revokes the operator’s token at a provider that has a revocation endpoint, and lands on/signed-outon a console with no provider in place of a503. A session without a refresh token ends when its access token expires. A cookie that names no live session is answered with its removal. The cookie names are unchanged. Upgrade: no key is renamed; a configuration whoseabsolute_timeout_sis below itsidle_timeout_sis refused at start and needs one of the two changed, andconfig checkreports it (#1434).
Fixed
ferrobridge-fhirpath:lowBoundary()andhighBoundary()(the FHIRPath 3.0.0 STU functions behindEnvironment::with_fhirpath_stu3_functions) read a FHIR decimal written with an exponent at the precision of its mantissa.9.5e2now stands for945to955, sohighBoundary(0)answers955where it answered951, and1.5e-3stands for0.00145to0.00155(#1426).eehrxfreserves thefullUrlof a document’s report among its entries, so theBundlekeeps FHIR R4bdl-7: a resource added later under the report’sDiagnosticReport/{id}takes the next free id, andDocument::with_reportrefuses a report whosefullUrlan entry holds already as the newDocumentError::Collision(#1442).eehrxf’s shipped laboratory mapping writes each result’seffective[x], from the time of the laboratory test result’s event, and itsperformerabsent with the FHIR R4data-absent-reasonextension, becauseKDS_Laborberichtholds no performing laboratory. HL7 Europe Laboratory Report 2.0.0Observation-resultslab-eu-labrequires both.Document::with_mapped_reportkeeps the run’sOperationOutcomeout of the document, which reaches every entry from itsComposition(#1443).
0.0.15 - 2026-11-02
The change-feed release. [change_feed] is the adapter the new consumers
follow, with two sources: aql, a vendor-neutral poll of ITS-REST 1.1.0
/query/aql that works against any CDR, and ferroehr, FerroEHR’s outbox
cursor feed. [events] publishes every commit event to an AMQP 0.9.1 broker
with publisher confirms. It takes over from the RabbitMQ publisher FerroEHR
removed in 5.6.0 and keeps its routing keys
(<kind>.<change_type>.<template_id>) and its message body identical, so a
queue bound to them keeps matching. A FerroEHR 5.6.0 deployment that needs
RabbitMQ events runs this release beside it. The FerroEHR cursor-feed source
needs FerroEHR 5.6.0-rc10 or later, and the wiremock contract tests cover
it against the feed contract posted on FerroHEALTH/FerroEHR#4786. The
vendor-neutral AQL source works against any CDR, and its wiremock tests
cover the ITS-REST 1.1.0 /query/aql exchange. The end-to-end lane runs
against FerroEHR 5.5.0, which has no outbox feed: it runs the incremental
OMOP load against that CDR with the events handed to the consumer, and runs
neither feed source. Several consumers follow the
feed, each under its own reader name, and a poisoned event is parked in a
dead-letter store and replayed through
POST /operator/events/{consumer}/parked/{id}/replay. The operator console
gains an Events page over the consumers, their parked events and the AMQP
topology. [omop_incremental] keeps the CDM database current between batch
runs through the per-composition step etl run uses. The run report’s JSON
is pinned over the laboratory round trip, which closes the run report and
the Rust port of the Data Quality Dashboard checks. mapping check --vocabulary checks every OMOCL file that loads when another file of the
set is refused (#1385). The architecture records the access-record
decision of #1301: the FHIR facade is to write the EHDS Annex II 3.2 access
record and an IHE BALP AuditEvent of every access an authenticated caller
makes, and to refuse the access when the record cannot be taken, which #1377
builds. The operator console moves to FerroUI 0.6.2 and draws every page on
its server, with no WebAssembly.
Two changes break an existing deployment. The console’s [server] site_root key is gone, and a configuration that still sets it is refused
at load: remove the line. The release no longer publishes the console’s
site bundle (ferrobridge-console-<tag>-site.tar.gz and its attestations).
The library crates publish at fhirconnect 0.1.207, ferrobridge-hl7v2
0.1.165 and eehrxf 0.1.132, and fhir-types 0.1.128,
ferrobridge-fhirpath 0.1.128, hl7v2-types 0.1.127, ferrobridge-term
0.1.141, ferrobridge-validator 0.1.141 and openehr-mapping-core 0.1.135
stay where they are. A crate version an entry below names is the step at
which that change came in.
Added
[change_feed](off by default) is the change-feed adapter the consumers follow, with two sources:aql, which polls ITS-REST 1.1.0/query/aqlover composition versions by commit instant past a watermark kept in aredbfile and works against any CDR, andferroehr, the reference CDR’s outbox cursor feed. Each consumer reads under its own reader name, moves its watermark only over the events it finished, and reportsdegradedwithout blocking readiness while it cannot follow. The book’s change feed page states the limits of the AQL source (#117).[server] idle_timeout_ms(default120000) closes a kept-alive HTTP/1.1 connection that sends no next request within that time, with a clean end of stream, fromferrohealth-server0.4.0 (#1348).[events](off by default) publishes every commit event the change feed reads to an AMQP 0.9.1 broker (RabbitMQ) with publisher confirms, one persistent message per changed version under the routing keys the reference CDR used (<kind>.<change_type>.<template_id>), and moves the feed’s watermark only after the broker confirmed an event whole. The exchange and the bound queues come from the configuration, the broker URL has aurl_fileroute, an unreachable broker turns theeventsindicator degraded without blocking readiness, and the usage report countsevents_published. The book’s events lane page carries the migration from FerroEHR’s own publisher (#1367).- The operator console has an Events page (
/events): each change-feed consumer’s source, reader and position, its health, the messages it published since start and its last failure with the cause, then the AMQP exchange, the routing-key grammar and the bound queues, read-only from the bridge’s newGET /operator/events. A bridge with no events lane says so in one line (#1370). - Every change-feed consumer follows the one
[change_feed]source on its own task under its own reader name, with its own health indicator. A poisoned event is retried up to[change_feed] max_attemptspasses (5 by default) and then parked with its cause in the dead-letter store[change_feed] dead_lettersnames, which is required; a transient failure never counts towards parking.GET /operator/eventslists every consumer with its parked events,POST /operator/events/{consumer}/parked/{id}/replayoffers one again before the consumer’s next page, and the console’s Events page lists them with a Replay button. Thedead-letters-unavailableproblem type answers a store that refuses (#1372). [omop_incremental](off by default) is a change-feed consumer that keeps the CDM database current between batch runs: for each composition an event names it reads the latest version over ITS-REST and commits it through the per-composition stepetl runuses, removes the rows of a composition the CDR reports deleted or an erasure names, reads the visits and rebuilds the derived tables once per pass, and reports degraded asomop-incremental. A batch run after an incremental run writes the same rows (#1373).
Changed
jsonschema0.60.0. The FHIRconnect and OMOCL mapping schemas are checked withjsonschema0.60.0, which runs an unfinished regex match once per validation and keeps the error evaluation path linear in the$refdepth; what a mapping file passes or fails is unchanged.fhirconnect0.1.207,ferrobridge-hl7v20.1.165 andeehrxf0.1.132 follow their requirements (#1347).- The
OperationOutcomea FHIR route answers when its handler fails names the request id the response echoes inX-Request-Id, and the server’s own id beside it when the client sent its own, so the client finds the id it sent and the operator the one the log names. It used to name the server’s id alone (#1348). - FerroBRIDGE 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). FerroBRIDGE was not exposed to the regression 0.4.1 fixes: no release ran on an affected version, and the facade guard and the operator API guard only the routes they serve, so an anonymous request to a path no route matches answers404with no challenge before and after, while a route under/fhiranswers401(#1353). - The operator console moves to FerroUI 0.6.0 and draws every page on its
server: a link, a search, a tab or an action loads one complete page, and
FerroUI’s small script modules add the editor’s highlighting, the search’s
suggestions, the menus and the dialogs on top, so every page and every
action works with them refused. The console carries no WebAssembly, its
Content-Security-Policy is
script-src 'self'; style-src 'self'with no nonce, and its stylesheet, theme and modules are served by the binary under/ferrohealth-ui/0.6.0/. Reload the set, the editor and the playground post to their own page, which draws the bridge’s answer beside what you entered (#1355). - The operator console moves to FerroUI 0.6.2 and
ferrohealth-server0.4.2. A select in a dense options row and a long identifier or link in a stacked table no longer scroll the page sideways at 320 px, and the mapping editor keeps its typing speed as a JSON or XML document grows. The console’s Content-Security-Policy is unchanged (script-src 'self'; style-src 'self', no nonce) and now comes from the family’s server-rendered console headers, and FerroUI’s script modules are served under/ferrohealth-ui/0.6.2/(#1361).
Removed
- The operator console’s
[server] site_rootkey (FERROBRIDGE_CONSOLE__SERVER__SITE_ROOT) is gone, and the console image carries no/sitedirectory: the binary serves everything the pages load. A configuration that still sets the key is refused at load, naming it; remove the line (#1355). - The release no longer publishes the console’s site bundle
(
ferrobridge-console-<tag>-site.tar.gzand its attestations) (#1355).
Fixed
- The operator console’s server no longer panics on a disposed router value
while it draws a page, which could fail a page with a
500: the console draws every page in one pass with no router left to dispose (#1355) (#1331). - On a kept-alive HTTP/1.1 connection,
[server] header_read_timeout_mscounts from the first byte of each request head. It 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 (#1348). ferrobridge mapping check --vocabularychecks the literal concept ids of every OMOCL file that loads when another file of the set is refused, so one refused file no longer leaves the vocabulary pass empty (#1385).
0.0.14 - 2026-10-29
The EU profile release. FHIRconnect contexts round-trip the HL7 Europe Base
and Core medicalTestResult-eu-core, the Laboratory Report
Composition-eu-lab and the Medication Prescription and Dispense profiles,
and the facade answers Composition/$document. The eehrxf crate, the
European interoperability software component, moves here from FerroFED, its
canonical URLs move to ferrobridge.eu, and HL7’s FHIR Validator checks the
documents its suites write. The server and the operator console run on the
FerroSYS crates, with config check, healthcheck, the family’s [server]
keys and GET /operator/readiness. The facade and $tofhir give every
resource, created ones included, one deterministic id, which is a breaking
change for stored ids. The CDR client reads RFC 9457 problem details, and
every error outside the FHIR routes is one. Each release now attaches the EHR
system’s information sheet and instructions for use.
The library crates publish at fhirconnect 0.1.206, ferrobridge-term
0.1.141, ferrobridge-validator 0.1.141, ferrobridge-hl7v2 0.1.164,
openehr-mapping-core 0.1.135 and eehrxf 0.1.131, and fhir-types
0.1.128, ferrobridge-fhirpath 0.1.128 and hl7v2-types 0.1.127 stay where
they are. A crate version an entry below names is the step at which that
change came in.
Added
Composition/$documenton the FHIR facade (#116, the R4 operationComposition-document).GET /fhir/Composition/{id}/$document, andGET /fhir/Composition/$document?id={id}, answer a document Bundle: an identifier derived from the composition version, the assembly timestamp, the Composition first and then every resource its context’s outbound run creates, each with its read URL asfullUrl. The caller needs read on every type the document carries.persist=trueandgraphare refused with anOperationOutcome, and the operation is declared onCompositionin theCapabilityStatement. The facade now binds a context whose start is a composition model, such asComposition-eu-lab, to the composition itself.- The HL7 Europe Laboratory Report 2.0.0
Composition-eu-labround trip (#116). A FerroBRIDGE document context starts at the report composition of the publishedKDS_Laborberichttemplate and maps it to aComposition-eu-lab: status, identifier, date, author, the LOINC 11502-2 type and a title, and one section that carries the test’s code and references theDiagnosticReport-eu-lab, which references its results and specimens. The document’s report reads its status and identifier out of openEHR, because the Composition writes those nodes going in. - The HL7 Europe Base and Core 2.0.0
medicalTestResult-eu-coreround trip (#116). A FerroBRIDGE context maps the laboratory test result of the publishedKDS_Laborberichttemplate to amedicalTestResult-eu-coreObservation, with its category, code, effective time, status and report identifier, and each analyte as a memberObservation-resultslab-eu-labit references. The result’s status travels through the codes the R4 diagnostic-report-status and observation-status code systems share. - The HL7 Europe Medication Prescription and Dispense 1.0.0 round trip
(#116). Two FerroBRIDGE contexts map FerroBRIDGE’s medication template, an
ADL 2 template over seven published CKM archetypes, to
MedicationRequest-eu-mpdandMedicationDispense-eu-mpd, each with a referencedMedication-eu-mpdand the dosage as aDosage-eu-mpd; the dispense is the medication ACTION at its careflow step “Prescription dispensed”.scripts/vendor/ckm-medication.shvendors the archetypes at the CKM mirror commitdocs/VERSIONS.mdpins, and the suites build the operational template at test time.fhirconnect0.1.196 (withferrobridge-hl7v20.1.152 andopenehr-mapping-core0.1.131) takesopenehr-adlas a test dependency, and the bridge moves to theopenehr-*crates at 0.0.100, whose ADL 2 Web Template builder reads the ADL 1.4 term constraints of the CKM sources. - The EHDS readiness page in the book (#116). It states the legal status
plainly: Regulation (EU) 2025/327 names the six priority categories, the
implementing act that fixes the exchange format is not adopted, and the HL7
Europe guides are the current proxy, so nothing is a conformance claim. Its
readiness matrix lists, per category, each target profile with its
committed template and the round-trip test that proves the transform, and
records the patient summary Composition, imaging and discharge reports as
corpus gaps. A
fhirconnecttest generates the matrix fromdocs/ehds/readiness.tomland fails when a template, a context or a test it names is gone.fhirconnect0.1.198 (withferrobridge-hl7v20.1.153) takestomlas a test dependency. ferrobridge config checkandferrobridge healthcheck(#1260), the FerroHEALTH family’s subcommands fromferrohealth-server.config checkprints the running configuration one key per line with where each value came from and every secret as***, then resolves it asservedoes and exits 78 with every refusal on stderr.healthcheckasks the running server for/health/readinesson loopback and exits 0 only on200, and the image declares aHEALTHCHECKthrough it. Every subcommand takes--set key=value, applied over the file and the environment.$tofhiranswers one resource per occurrence of a repeated start archetype (#1271). A composition holding two diagnoses answers two Conditions under oneProvenance, each with a stable id derived from the composition and its occurrence, and an occurrence the context’s condition does not admit is counted in theOperationOutcome. The identity seam’s request names the occurrence, and two resources taking one id refuse the call.- Each release attaches the EHR system’s information sheet and
instructions for use. The EHR system Cadasto B.V. declares under the
EHDS is FerroEHR with FerroBRIDGE, and both documents are pages of the
FerroHEALTH book. The release lane takes them at the FerroHEALTH commit
docs/ehds/system-documents.envpins, refuses a page whose revision differs from the pin, and attachesferrobridge-<tag>-information-sheet.mdandferrobridge-<tag>-instructions-for-use.mdwith the release’s facts appended: the system version, the release date (EHDS Art. 38(2)(b)) and the versions of the standards FerroBRIDGE supports (Art. 38(2)(e)). The release notes name the pinned revision of each system page (#1279). ferrobridge-hl7v2sends over MLLP (#1281).mllp::sendopens a connection within a connect timeout, writes one message as one MLLP frame and returns the one reply frame within a reply timeout, bounded by the codec’s ceiling. A refused connection, either timeout, a peer that closes before or inside its reply, and a reply past the ceiling are each their ownSendErrorvariant, and none carries the message or the reply. FerroPIX sends its ITI-10 notifications through it.- The family’s
[server]keys (#1287):base_path,header_read_timeout_ms,drain_delay_ms,max_concurrent_requests,retry_after_s,trusted_proxies,forwarded_header,compression,compression_min_bytesand[server.tls], and[telemetry] environment. GET /operator/readinessbehind the operator scope: the readiness document with why each indicator is down, which the open route no longer names. The operator console reads it, and falls back to the open route while the operator API is off (#1287).- The
eehrxfcrate, the European interoperability software component of an EHR system under Regulation (EU) 2025/327 (Art 2(2)(n), Art 25(1)), joins the crate line at 0.1.128. It moves here from the FerroHEALTH federation gateway, where it was built up to 0.0.40 and never published, so its earlier history is that project’s changelog. It carries the format-neutral dataset model read from the Xt-EHR EHDS Logical Information Models, one feature per Art 14(1) category with its crosswalk to the HL7 Europe profiles, the exchange format in FHIR R4 (fhir-r4), and the mapping between openEHR and that format throughfhirconnect(openehr). Against 0.0.40 its one change of behaviour is the id of a resource mapped from a composition, which is now the FHIRconnect deterministic idfhirconnect0.1.203 derives from the composition’s uid and the entry path (FHIRconnect v1.0.0, engine/id-management.adoc, Deterministic IDs). The corpora its tests read are vendored byscripts/vendor/eehrxf.sh, and the book gains the component’s pages: the component, the category crosswalks and receiving a document (#1314). - HL7’s FHIR Validator checks the documents the
eehrxfsuites write. The CIfhir-validatorjob runs it offline over every patient summary document the suites emit underEEHRXF_EMIT_DIR, against the HL7 Europe Patient Summary and Base and Core profiles and the MyHealth@EU Master Value Sets Catalogue. It fails on an error, a fatal issue or a claimed profile it could not find, and keeps its results as theeehrxf-fhir-validationartifact (scripts/checks/fhir-validator.sh) (#1318). - The CDR client reads RFC 9457 problem details. A CDR that answers its
refusals as
application/problem+jsonkeeps its explanation on the facade: the problem’stitle,detail, eacherrorsviolation aspath: detail, and itstypereach theOperationOutcomediagnostics, as a{message, validationErrors}body still does. The composition and contribution writes already sendPrefer: return=representation, so a CDR that lists violations only for such a write lists them (#1334). - The run report of
etl fhircarries an element ledger (#408): per input resource, every element with a value and one of four outcomes.mappednames the openEHR node a FHIRconnect mapping read the element into and the CDMtable.columntargets an OMOCL column reads there,droppednames the loss a mapping declared,refusedthe reason the resource or its composition was refused, andunmappedmarks an element no mapping names or no column reads where it went. The text report adds aledgerline with the counts.fhirconnect0.1.193 records every element a mapping reads going into openEHR (Outcome::reads,Transformed::reads), the OMOCL program names the composition node each CDM column reads (Program::column_reads), andferrobridge-hl7v2moves to 0.1.147.
Changed
openehr-mapping-coreandferrobridge-operator-apicompile forwasm32-unknown-unknown, so the operator console’s browser half can draw the bridge’s documents. The workspace takesopenehr-itswithout its ITS-REST client, which only the server adds, and the console CI lane checks the operator contract for wasm32 (#1256).- The operator console hydrates the whole page on FerroUI 0.5.0: the
server draws the first page and the browser draws every page after it,
so a link, a tab, the search or an action no longer reloads the document,
and the browser’s back and forward walk the pages you visited. The pages
load in five groups, each the first time you open one of its pages or
earlier while the browser is idle. Every page and action still works with
no WebAssembly, as plain links and form posts. The facade’s
CapabilityStatementreaches the browser reduced to the newferrobridge-operator-apicapability::Capabilitydocument, which the console’s server writes, and the entry WebAssembly’s budget rises to 646 KiB (#1256). - The operator console takes FerroUI 0.5.5 (
=0.5.5), and Reload the set, the mapping editor’s check and save, and the playground’s runs post to their server functions through<ActionForm>in FerroUI’s answer mode. With no WebAssembly the browser posts to/api/reload,/api/editor/api/runand the console draws the page the form was on with the answer and what the operator entered; the browser’s address stays at the function’s. The console’s own post routes for these actions (POST /mappings,POST /mappings/new,POST /mappings/edit/…,POST /playgroundand its tabs) are gone (#1265). - The operator console takes FerroUI 0.5.4 (
=0.5.4, from 0.5.1). It hydrates through FerroUI’swidget::hydration::hydrate, so the page’s mark isdata-ferroui-hydratedand a click or a submit before hydration ends is left to the browser; a post the console draws in the page counts as drawn, so a busy search box ends its wait; the mapping editor and the playground’s input take the_by_editeditors and keep no copy of the text; the skip link moves the focus to the main area on a hydrated page. The forms keep their own post routes as the no-WebAssembly path until FerroUI’s<ActionForm>can bring an answer back to its page (#1265). - The operator console takes FerroUI 0.5.1. Its shell is drawn once and follows the router, so the search’s words and the navigation’s scroll survive a link, and the user menu closes once one of its items is chosen. The library marks the page once it has hydrated, and a debug build names a page changed before then (#1267).
- Breaking: the FHIR facade’s resource ids are the deterministic ids
$tofhiranswers, and every occurrence of a start archetype is a resource of its own. A resource id is now the hash FHIRconnect v1.0.0 recommends over the composition uid and the entry path (engine/id-management.adoc, §Deterministic IDs), the id$tofhirgives the same occurrence; an entry’sLOCATABLE.uidno longer becomes its id. The facade finds the occurrences the way the engine does, so a start archetype inside aSECTION, at any depth, and an instance repeating below another entry each read, search and bind as their own resource, under an entry path such as/content[openEHR-EHR-SECTION.adhoc.v1]/items[2]. Every id the facade served before changes. The identity store writes schema 4 and refuses a file of an earlier schema at boot, naming it: remove the[facade] identity_storefile to reset it, and the bridge creates it anew.fhirconnect0.1.205 (withferrobridge-hl7v20.1.163 andeehrxf0.1.129) addsengine::traverse::occurrence, which names the occurrencesto_fhir_eachmaps without running the program (#1276). - Breaking for stored resource ids:
$tofhirids follow the FHIRconnect deterministic id (#1276). A resource the identity seam and the mapping give no id takes the hashengine/id-management.adoc§Deterministic IDs recommends, over the composition’sobject_idand the entry path of its occurrence, as 52 lowercase base32 characters, in place of the composition’sobject_idand the<uid>.2form. An id a caller stored from an earlier$tofhiranswer no longer matches; map the composition again to read the new id. The identity seam’s request carries the entry path, andfhirconnect::engine::identityandWebTemplateIndex::entry_pathare the shared derivation the FHIR facade adopts next. ferrohealth-smart0.7.3 for the workspace andferrobridge-term’ssmartfeature (ferrobridge-term0.1.138, withferrobridge-hl7v20.1.155 andferrobridge-validator0.1.138). It renders every secret and masked URL of the shared sections throughferrohealth-secret, the family’s one mask: a secret shows as***in place of[redacted], and a masked URL hides its query too (#1278).ferrobridge-term0.1.139 requiresferrohealth-smart0.7.4 as a caret requirement in place of an exact pin, so a smart patch reaches a product through its lockfile without a release of this line first. The products keep pinningferrobridge-termexactly (#1282).ferrohealth-smart0.8 (caret0.8.3) for the workspace andferrobridge-term’ssmartfeature (ferrobridge-term0.1.140, withferrobridge-hl7v20.1.159 andferrobridge-validator0.1.140), so a product on the 0.8 line hands itsTokenSourceto the terminology client. This breaks thesmartfeature’s API for a consumer still onferrohealth-smart0.7: it moves to 0.8 with this release (#1285).- The operator console runs on the FerroSYS crates (#1287): its
configuration through
ferrohealth-configandferrohealth-secret(everyFERROBRIDGE_CONSOLE__variable keeps its name,--setjoins them,RUST_LOGis the alias of the new[telemetry] filter), its log throughferrohealth-telemetry, and its security headers, same-origin check, health routes, drain, healthcheck and subcommands throughferrohealth-server.config checkprints the running configuration with every secret as***;healthcheckasks/health/readiness;GET /healthanswers{"state":"up"}; a_filesecret loses its trailing line ending alone; the 403 of a cross-site post is in the console’s configured language. - The operator console signs operators in through
ferrohealth-smart’s OpenID Connect relying party (oidc::RelyingParty), in place of its own authorization request, PKCE, code exchange, ID Token check, refresh and end-session request. The[oidc]keys, the sign-in and sign-out routes and the sign-in page’s states are unchanged (#1287). ferrohealth-smart0.8.6 and theopenehr-*crates 0.0.109 (#1287). The workspace requiresferrohealth-smartas the caret0.8.6and the nineopenehr-*crates at 0.0.109, the newest releases on crates.io on 2026-10-27, and still takesopenehr-sdtwithflatalone. AnINTERVAL_EVENT’smath_functionnow reads back through FLAT with the openEHR terminology’s text for its code, which thefhirconnectround-trip law records as a change.openehr-mapping-core0.1.134,fhirconnect0.1.202,ferrobridge-term0.1.141,ferrobridge-hl7v20.1.160 andferrobridge-validator0.1.141 follow their requirements.- The server runs on the FerroSYS crates (#1287):
ferrohealth-config,ferrohealth-secret,ferrohealth-telemetry,ferrohealth-health,ferrohealth-serverandferrohealth-usage-report, pinned exactly, in place of its own configuration loader, console, request log, request id, panic catch, health registry, drain and usage report. Every key and variable keeps its name. What an operator sees change: a secret renders as***; a_filesecret loses its trailing line ending alone and an empty file is refused; a[telemetry] filterthat does not parse refuses the start; a refusal names the closest known key and several are reported at once;[server.caller_rate]and[telemetry.otlp]are refused; a response is compressed when the client accepts gzip or Brotli. The readiness document is the family’s:phasebesidestate, the indicators as a list sorted by name, readiness503while the process boots or drains,GET /healthanswers the state alone, and the open route names no indicator’s detail. The request log never logs the client’sX-Request-Id: the line, a panic or refusal body and the CDR calls name the server’s own id, and the client’s is echoed on the response. The panic line never names the panic message. The banner is the family’s, and/health/infonames the commit in seven characters. The usage report leaves out a counter that stayed at 0. - A pull request records its user-visible effect as a fragment,
changelog.d/<issue>-<kebab-slug>.<section>.md(changelog.d/README.md), and no longer editsCHANGELOG.md, so two open pull requests stop conflicting on[Unreleased]. The release cut assembles the fragments into the version’s section withscripts/release/changelog.sh --assembleand deletes them, and the releaseplanjob refuses a tag that still has one. CI refuses a malformed fragment, a change that writes under[Unreleased], and a change to a user-visible surface with no fragment unless it carries theno-changeloglabel.scripts/gh/changelog-merge.shis retired (#1289). serde-saphyr2.0.0. The mapping loader, the search declaration reader and the fuzz targets parse YAML withserde-saphyr2.0.0. A consumer ofopenehr-mapping-corethat walks the source ofLoadError::Yamlnow meetsserde_saphyr::Errorof 2.0.0, whoseAliasErrorcarries the original error.openehr-mapping-core0.1.135,fhirconnect0.1.203 andferrobridge-hl7v20.1.161 follow their requirements (#1315).jsonschema0.59.0. The FHIRconnect and OMOCL mapping schemas are checked withjsonschema0.59.0, which refuses a value whose regex match the engine cannot finish where 0.58 accepted it undernotorpatternProperties.fhirconnect0.1.204 andferrobridge-hl7v20.1.162 follow their requirements (#1317).- Breaking: the canonical URLs
eehrxfdefines move toferrobridge.eu. The archetype-local code systems arehttps://ferrobridge.eu/fhir/CodeSystem/archetype-local/followed by the archetype id, and the remaining-dispensations extension ishttps://ferrobridge.eu/fhir/StructureDefinition/remaining-dispensations, where they were underferrofed.eu. The FerroBRIDGE site serves the extension’sStructureDefinitionat its URL and describes the code systems at their base. No compatibility alias reads the old URLs, since no production deployment holds a document written with them; a consumer that matches either URL updates it.eehrxf0.1.130 (#1319). - Breaking: a resource a run creates takes one id on
$tofhirand on the FHIR facade, and keeps it in every composition version. A furtherhierarchy.splitoccurrence and areferencetarget are named byfhirconnect::engine::identity::created_id, a hash of the composition’s version container, the entry path of the occurrence that creates them, and their type, the parent’s type, the creating mapping, their openEHR positions and a split’suniquevalues.$tofhirframed the full version id into the hash, so each new version renamed every created resource, and the facade derived a different id of its own. Every created id either surface answered before changes.$tofhirnow maps each occurrence on its own (engine::traverse::occurrence::to_fhir_at) with an identity sink anchored at it.fhirconnect0.1.206 (withferrobridge-hl7v20.1.164 andeehrxf0.1.131) (#1332). - Problem details for every error outside the FHIR routes (#1333,
RFC 9457). The operator API answers every refusal as
application/problem+jsonwith the status it answered before, where it answered a JSON object witherrorandmessage. Each problem’stypelinks to its section of the new Problem types page of the book, such ashttps://ferrobridge.eu/docs/operate/problems.html#provisioned, and a refusal whose status says all there is to say isabout:blank. The stack’s own408,413,429,503and panic500on a non-FHIR route are problems too, the request id as aurn:uuid:instance. No problem quotes a path, a mapping body, a reason, a token or an upstream answer; a503of a reload names its cause in the server log. The FHIR facade and the operations keepOperationOutcome. The operator console reads a problem’s title and detail into the refusal it draws. Migration: a client of the operator API readstype,titleanddetailin place oferrorandmessage. The server takesferrohealth-server0.3.9. - The bridge writes the composition’s
language,territoryandcomposer, the_feeder_audit,_link:i,_participation:i,_other_participation:i,_providerand_health_care_facilityfamilies, and a role’sperformerwhole, under|raw(#618, #1000), through theopenehr-sdt0.0.99 builder. A composer that carries identifiers, and a provider or facility with an external reference, now reach the composition whole, where thectx/keys and the suffix spellings left those parts out or refused them. A party builds throughbuild_party, with each member of a value at the root passed as<root>/<attribute>|raw. The last local openEHR spellings of #618 are gone.fhirconnect0.1.197,openehr-mapping-core0.1.132,ferrobridge-hl7v20.1.151. - The bridge takes the
openehr-*crates at 0.0.99 and drops three local openEHR spellings (#618). The archetype HRID of an ADL 2 template ETag and of an archetype node id now reads throughopenehr-am’sFromStrforArchetypeHrid, so the server no longer depends onopenehr-adl. ATERMINOLOGY_IDis built withopenehr-base’sTerminologyId::new. Thechange_typeandlifecycle_statecodes and rubrics of a commit come fromopenehr-term’s named concepts, now a direct dependency. What the bridge writes is unchanged.fhirconnect0.1.195,openehr-mapping-core0.1.130 andferrobridge-hl7v20.1.149 carry the new pins.fhirconnectremoves the publicfhirconnect::engine::lens::code_phrase::terminology_id; a caller usesTerminologyId::new(system, version).
Fixed
- A
manualentry whose openEHR paths reach two data elements writes both. The engine merged every path of one entry into the element the last path reached, so an entry that set thecurrent_stateand thecareflow_stepbelow oneism_transitionwrote only the careflow step, with no diagnostic, and the build then defaulted the state. Each data element the paths reach is now created, as FHIRconnect’s manual mappings page says (“Full FHIR or openEHR elements are created from all given paths”) (#116). - A composition holding a context’s start archetype more than once maps
each occurrence on its own (#1254). The FHIRconnect engine mixed the
entries into one resource, taking a field from whichever entry had it. The
new
traverse::to_fhir_eachmaps every occurrence to its own resource, with the context’s condition checked per occurrence, andtraverse::to_fhirmaps the first and reports the rest as theunmapped-occurrenceswarning. - The
[etl]queries must end theirORDER BYinv/uid/value. The versions of one contribution share its commit time (openEHR RM Common 1.1.0, Contributions), so a composition query ordered byv/commit_audit/time_committed/valuealone could tie, and offset paging over a tie can skip or repeat a row.etl runnow refuses to start when the composition or visit query’s last order key is not theuid/valueof itsVERSION [LATEST_VERSION]variable; add, v/uid/valueto the end of theORDER BYto upgrade. The book’s composition query is the batch contract overVERSIONED_OBJECT, and the end-to-end tests run against the reference CDR release that takesVERSIONED_OBJECTinFROM(#1284).
Security
Shipped with functional changes because: the library crates publish from main one patch per change, and main already holds the unreleased changes above, so a separate security-only crate patch has no tree to come from.
- The bridge and
ferrobridge-term’ssmartfeature takeferrohealth-smart0.7.1 in place of 0.7.0: every earlier release can render a configured URL’s credentials in full (CWE-532, GHSA-vphj-3f8c-5hpx).ferrobridge-term0.1.137,ferrobridge-hl7v20.1.152 andferrobridge-validator0.1.137 carry it, so a product pinningferrobridge-termcan take the patched crate (#1264). - The server and the operator console take
ferrohealth-server0.3.7 in place of 0.3.6 (GHSA-2mc2-h3jq-c5wg). Every earlier release held a plain-HTTP connection that never sent a byte for as long as the client kept it open, so a client with no credentials could exhaust the process’s file descriptors, and the listener then retried a failedacceptat once and logged every failure. Such a connection now closes once[server] header_read_timeout_mspasses, counted from accept, and the listener backs off after anEMFILEorENFILE. A response to a request whose body the routes left unread, such as a404to aPOSTof an unserved path, now carriesConnection: close(#1310).
0.0.13 - 2026-10-25
The security and OMOP release. A write the facade makes for an authenticated
caller states that caller as its committer, and [auth] mode = "introspection" checks opaque access tokens (RFC 7662). On the OMOP side,
etl fhir loads FHIR R4 into the CDM with no CDR and every row names its
resource, vocab load loads an Athena download, the OMOCL targets write
DEATH, provider_id and visit_detail_id, [cdm.pseudonymisation]
pseudonymises source identifiers and shifts dates, and the Data Quality
Dashboard’s conformance, completeness and temporal plausibility checks run in
Rust through dq check. The derived tables keep another ETL’s rows, the CDM
pool trusts the configured CA alone, FHIRconnect converts DV_ORDINAL and
writes an ACTION’s time, and the first HL7 Europe profile contexts arrive.
The library crates publish at fhirconnect 0.1.192, ferrobridge-term
0.1.136, ferrobridge-validator 0.1.136 and ferrobridge-hl7v2 0.1.146, and
fhir-types 0.1.128, openehr-mapping-core 0.1.128, ferrobridge-fhirpath
0.1.128 and hl7v2-types 0.1.127 stay where they are. A crate version an
entry below names is the step at which that change came in.
Added
-
Every CDM row
etl fhirwrites names the FHIR resource it was mapped from (#409): the bridge schema’sresource_origintable records each composition’s resource type, id andmeta.versionIdin the commit’s transaction, andCdmWriter::origins_of_rowandrows_of_resourcelook a row’s resources and a resource’s rows up.cdm initadds the table. -
ferrobridge_eu_laboratory.contexttargets HL7 Europe Laboratory Report 2.0.0 over the publishedKDS_Laborberichttemplate: the laboratory result becomes aDiagnosticReport-eu-labthat references oneObservation-resultslab-eu-labper analyte and oneSpecimen-eu-labper specimen. The round trip asserts each profile’s canonical and elements: the report’s identifier, status, code, effective time, conclusion and references; the result’s status,laboratorycategory, code, quantity, interpretation and method; the specimen’s type, accession identifier, received time and collection. The mapping library’seehrxf_labcontext is recorded as refused (#1235). The testkit exposes the template asKDS_LABORBERICHT_OPT(#116). -
ferrobridge-term0.1.135 takes the client credentials token offerrohealth-smartas itsTokenProviderbehind the newsmartfeature (#1227):smart::SmartToken, built from aTokenSource, sends the cached token and drops one the server refuses with401, so the repeated request carries a token fetched anew. The server’s terminology lane uses it in place of its own adapter.ferrobridge-hl7v20.1.144 andferrobridge-validator0.1.135 move with it. -
The first HL7 Europe profile context:
ferrobridge_eu_condition.contexttargets Base and Core 2.0.0condition-eu-coreover the publishedKDS_Diagnosetemplate, with the published diagnosis, qualifier and composition model mappings and FerroBRIDGE’s extensions for the profile’sassertedDateextension andonsetDateTimeslices and its canonical. The round trip asserts the code, both slices,clinicalStatusandverificationStatus(#116). -
ferrobridge mapping check --vocabularychecks every literal concept id of the OMOCL files against the vocabulary loaded in the[cdm]database: a literal the vocabulary does not hold, or whose domain is not one the CDM field definitions name for its column, is a diagnostic (#97). -
ferrobridge_eu_patient.contexttargets HL7 Europe Base and Core 2.0.0patient-eu-coreover the publishedKDS_Persontemplate, loading the person chain of the KDS person context with a gender extension that names the EU profile in place of the MII one and leaves out the German gender-amtlich extension. The round trip asserts the requirednameandbirthDate,genderand the canonical (#116). -
The profile package set pins
hl7.fhir.eu.laboratory2.0.0 andhl7.fhir.eu.mpd1.0.0, the HL7 Europe Laboratory Report and Medication Prescription and Dispense guides the EU profile contexts target, fetched with their provenance byscripts/vendor/profile-packages.sh; every package they depend on was already in the set (#116). -
The Data Quality Dashboard’s seven temporal plausibility checks run in Rust beside its conformance and completeness checks (#1222):
measureObservationPeriodOverlap,plausibleTemporalAfter,plausibleDuringLife,withinVisitDates,plausibleAfterBirth,plausibleBeforeDeathandplausibleStartBeforeEnd, each planned where the Dashboard’s v2.9.0 settings enable it, with its threshold, and translated from its SQL template, whichscripts/vendor/dqd.shnow vendors.dq checkand the post-load step ofetl runreport them. A person whose year of birth is 0, as a placeholderPERSONrow carries, has no birth date for these checks instead of failing them. -
[cdm.pseudonymisation]pseudonymises every row the CDM writer writes (#410): the columns the CDM field definitions describe as a link back to the source carry an HMAC-SHA-256 pseudonym under a_filesecret key, stable across runs so incremental loads join, the provider’s name,npianddeaand a location’s address are NULL, anddate_shift_daysmoves every date of a person by one per-person shift, so intervals within a person stay intact. The Integrate and Operate pages state what it does not de-identify. -
cdm initand everyetl runandetl fhircount the rows of each CDM table whose ids the bridge assigns that no entry of its side table owns, rows another load wrote, and warn of each table; the run report carries the counts asforeign_rows(#240). The Operate page states that one bridge owns the tables it writes and that era ids are not stable across rebuilds. -
ferrobridge-hl7v20.1.143 serves a consumer of its listener and parser alone.parse::structure::structure_declaredselects the structure MSH-9.3 names over the message definition where the two disagree, so an IHE ITI-8ADT^A05^ADT_A01groups by the A01 structure (IHE ITI TF-2 §3.8.4.1.2.1; HL7 v2.5.1 chapter 2 §2.15.9.9) (#1217).parse::ErrorCode::UnknownKeyIdentifieris table 0357’s204(#1218).mllp::Connection::peergives a handler the address of its connection’s peer (#1220).mapand its dependencies (fhirconnect,ferrobridge-term,fhir-typesand the openEHR crates) sit behind the defaultmapfeature, sodefault-features = falsedrops them (#1221). A consumer that matchesErrorCodeexhaustively adds the new variant. -
A write the facade makes for an authenticated caller states that caller as the version’s committer, as ITS-REST 1.1.0 recommends (“provision these headers based on authentication and authorization runtime data”): a single write sends
openehr-audit-detailswithcommitter.nameset to the token’ssub(or the Basic user-id) and acommitter.external_refin the issuer’s namespace, and a transaction states the same committer in everyUPDATE_AUDITof its CONTRIBUTION.system_idkeeps naming the bridge. A write no caller made (an HL7 v2 message, an open surface) still commits under the bridge’s name. Reads still reach the CDR under the bridge’s own credential (#532). -
[auth] mode = "introspection"with an[auth.introspection]table checks opaque access tokens by OAuth 2.0 Token Introspection (RFC 7662) throughferrohealth-smart’s introspector: each token is posted to the issuer’s introspection endpoint under the bridge’s client authentication ([auth.introspection.client]) or a client credentials token ([auth.introspection.bearer]), an active answer withscope,client_idandexpadmits the caller with its scopes andpatientcontext, the answer is held until itsexpand at mostcache_max_age_seconds, an inactive token answers401and an endpoint that fails503(#533). The Operate configuration page lists the keys. -
ferrobridge etl fhir PATHloads FHIR R4 resources, a Bundle or an NDJSON file, into the CDM with no CDR (#1209, decided on #407): each resource maps through the FHIRconnect set into an openEHR composition held in memory, which the OMOCL set maps to CDM rows the writer commits. The composition’s identifiers derive from the resource’s type, id,meta.versionIdand subject, so a re-run writes the same rows, and the run report counts the resources read, mapped, unmapped and refused.[etl] aqlbecomes optional at load;etl runrefuses to start without it. -
ferrobridge vocab load DIR --schema NAMEloads an OHDSI Athena vocabulary download into the vocabulary tables of the CDM schema (#233). It takes the nine files every download carries andSOURCE_TO_CONCEPT_MAP.csvwhen present, replaces each table in a transaction of its own throughCOPYwith the column list from the header row checked against the CDM definitions, names every other file and leaves it alone, and prints the rows per table and the vocabulary version. The format is the one the Athena application writes, read from its source at a pinned commit and vendored underdocs/specs/athena/byscripts/vendor/athena.sh(#88). The Operate pages describe the load and the vocabulary licences you accept. -
FHIRconnect converts
DV_ORDINALagainstCodeableConcept(DV_ORDINAL.adoc§CodeableConcept, #93): the coding carries the symbol, and going into openEHR the ordinal value is the one the template’sC_DV_ORDINALlists for the symbol’s code. A symbol the template does not list, or a node whose template lists no options, is refused.fhirconnect0.1.191 addsRmValue::Ordinal,lens::ordinaland a fifth parameter tocell::put, the node’s ordinal options; a caller ofcell::putpasses&[]where it has none. -
An OMOCL mapping’s
provider_idandvisit_detail_idnow write (#243): the record graph names aPROVIDERby the text the mapping reads and aVISIT_DETAILby the composition’s visit and that text, and the CDM writer resolves or creates each row inside the composition’s transaction, the visit detail taking its person, concept, dates and type concept from the visit. A record that names a visit detail without a visit is refused. The bridge schema gains theproviderandvisit_detailkey tables, whichcdm initcreates on an existing schema. -
The OMOCL
Deathtarget writes itsDEATHrow (#1208): the row takes the person’sperson_idas its id, the newest composition that writes one gives it its columns, and removing that composition restores the row of the writer that remains.cdm initadds thedeath_rowside table and lets several compositions of a person record aDEATHrow. -
The Data Quality Dashboard’s six completeness checks run in Rust beside its conformance checks (#405):
measurePersonCompleteness,measureConditionEraCompleteness,measureValueCompleteness,standardConceptRecordCompleteness,sourceConceptRecordCompletenessandsourceValueCompleteness, each planned where the Dashboard’s v2.9.0 settings enable it, with its threshold, and translated from its SQL template. A run now carries the Dashboard’s not-applicable status: a check of a missing or empty table, or of a missing or unpopulated field, is neither failed nor passed and names why. -
ferrobridge dq checkruns the ported Data Quality Dashboard checks against the database[cdm]names and prints the failing checks and the counts, or with--format jsonthe run in the Dashboard’s own result fields (CheckResults,Overview,startTimestamp), so the Dashboard’s viewer reads it. It exits non-zero when a check fails or cannot be evaluated (#406). With[etl] quality_checks = true,etl runruns the same checks over the tables it wrote and adds the verdicts to its report.
Fixed
- A FHIRconnect mapping can write an
ACTION’s time (#1226):$archetype/timeunder anACTIONno longer refuses withfc-uncarried-tail, and the engine writes and reads it as the action’stime, the way it carries an observation’s history origin. A FHIRProcedure’sperformedDateTimenow reachesACTION.time, and on theetl fhirpath thePROCEDURE_OCCURRENCE.procedure_dateOMOCL reads from it.fhirconnectmoves to 0.1.192 andferrobridge-hl7v2to 0.1.145. Breaking for a consumer offhirconnect::engine::rm:Carried::HistoryOriginisCarried::EntryTime, andHISTORY_ORIGINandHISTORY_ORIGIN_KEYareENTRY_TIMESandentry_time_key. - A run rebuilds
OBSERVATION_PERIOD,CONDITION_ERAandDRUG_ERAonly for the persons the bridge writes, so the derived rows another ETL wrote into those tables survive it (#1223).[etl] derived_tables = "whole_table"keeps the whole-table rebuild for a deployment where the bridge is the only writer. - With
[cdm] tls_caset, the concept resolver’s pool now trusts that CA alone, as the CDM writer does (#266). The pool no longer runs its PostgreSQL client’s own TLS, which added a built-in root set to the CA: it reaches the database through a relay on a private Unix socket that handshakes with the writer’s TLS configuration. A URL that asks for TLS names one host and one port; a list of hosts is refused at start.
Changed
-
The bridge and
ferrobridge-term’ssmartfeature takeferrohealth-smart0.7.0 in place of 0.6.0, the line the family moves to together:ferrobridge-term0.1.136,ferrobridge-hl7v20.1.146 andferrobridge-validator0.1.136. No configuration key or behaviour changes. -
The operator console’s search answers under the field as you type: a panel anchored under the top bar’s search asks the console’s
/search/answerroute and shows the running load’s contexts, mapping files and templates grouped by kind, five of each, with the words searched for emphasised; the arrow keys walk them and Enter opens one. Enter with none chosen, or “See all results”, opens the new search page (/search), which lists every match in the page. The console moves to FerroUI 0.4.0, and a setting row says where its value came from through FerroUI’s own marker (#1219, #1176).
0.0.12 - 2026-10-25
The FHIRconnect and facade outcomes release. A write through the facade now
shows the client the losses its mapping declared, a transaction names why it
refuses a linked resource, and the FHIRconnect operations answer 502 when
the terminology server fails. FHIRconnect looks up the display of a DV_TEXT
that fell back to a code, ranks a direct data-type pair above the text
fallback, and openehr-mapping-core exposes the DV_ORDINAL options a
template constrains. The fhir-types XML codec holds the narrative div to
well-formed XHTML both ways. The terminology client gains $expand,
$subsumes, the date input, a caller-built HTTP client for mutual TLS or a
private trust root, and context-aware $validate-code, and the operator
console draws the running configuration.
The library crates publish at fhir-types 0.1.128, openehr-mapping-core
0.1.128, fhirconnect 0.1.190, ferrobridge-term 0.1.134,
ferrobridge-validator 0.1.134, ferrobridge-fhirpath 0.1.128 and
ferrobridge-hl7v2 0.1.141, and hl7v2-types stays at 0.1.127. A crate
version an entry below names is the step at which that change came in.
Added
WebTemplateIndex::ordinal_optionsreturns the options an OPT 1.4C_DV_ORDINALconstrains at aDV_ORDINALnode, in template order: eachOrdinalOptioncarries the ordinalvalueand the code and terminology of its symbol, and a node with no ordinal constraint answersNone.openehr-mapping-coremoves to 0.1.127,fhirconnectto 0.1.186 andferrobridge-hl7v2to 0.1.135 with it (#1090).- The facade shows a write’s declared losses to the client that wrote it: a
committed transaction entry carries them in
response.outcome, and a single create or update asked forPrefer: return=OperationOutcomelists them after the committed version, one issue per loss with the FHIRPath inexpressionand the openEHR path indetails(#1115). GET /operator/configurationanswers the configuration the bridge started on, behind[operator]and the operator scope like the other operator routes: every key with its value and its source (the file, the environment or the default), and each secret by reference alone (set, read from a file, or unset), never its value. The document isferrobridge_operator_api::configuration::Configuration, which the operator console decodes (#1147).- The operator console draws the running configuration: a Configuration
page with the Logging, Mappings and Server and access tabs, a Settings tab
on the FHIR facade, HL7 v2, the OMOP ETL and each connection, and the
host and credentials of each upstream in the Connections table. Every
value is read-only, with its TOML key and whether it came from the
environment or is the default, and every secret is shown by reference
alone; How configuration works opens from the line that names the file.
An empty
[auth] product_scopeis answered as the scope the bridge runs on,__ferrobridge.operator(#1147). hl7v2-types(Apache-2.0) andferrobridge-hl7v2(BUSL-1.1) join the crate line at 0.1.127, leaving their 0.0.0 name reservations, so the next publish ships the HL7 v2 tables and the HL7 v2 face (MLLP framing, MSH-18 decoding, the positional parser, the acknowledgment and the v2-to-FHIR map) on crates.io for other projects to depend on. Each README carries a worked example, and the entry points offerrobridge-hl7v2carry tested# Examples. Pin each exactly, as for every crate of the line (#1131).ferrobridge-term0.1.130 sendsValueSet/$expandandCodeSystem/$subsumes, on STU3, R4 and R4B and in abatch.Client::expandtakes anExpansion(url,valueSetVersion,date,filter,offsetandcount,includeDesignations) and answers the expanded value set with the nesting ofexpansion.containskept, each entry with its system, version, code, display,abstract,inactiveand designations; a value set the server does not know isExpandOutcome::NotFoundcarrying theOperationOutcomeand itstx-issue-type, and an expansion the server could not make is a refusal, never an empty expansion.Client::subsumesanswersSubsumesOutcome:Equivalent,Subsumes,SubsumedByorNotSubsumed.Client::code_system_countasksGET [base]/CodeSystem?url=<system>&_summary=count.ferrobridge-validatormoves to 0.1.130 andferrobridge-hl7v2to 0.1.128 with it (#1177).ferrobridge-term0.1.131 reaches a terminology server through an HTTP client the caller builds:Client::with_http(config, reqwest::Client)sends every request through it, so a deployment can present a client certificate for mutual TLS, trust a private root beside the platform’s or use a proxy. The configured timeout still bounds each request, and the credentials, the retry budget and the typed errors apply as forClient::new(#1180).ferrobridge-term0.1.131 validates a code whose system its context implies:Coded::InContextsendsValueSet/$validate-codewithcontext,codeanddisplayand nosystem, which R4 and R4B accept (“If a code is provided, a system or a context must be provided”), alone or in abatch. STU3 requires a system for a code, so an STU3 client refuses the form with the newError::SystemRequiredand sends nothing, andClient::checkanswers the same (#1181).ferrobridge-validatormoves to 0.1.131 andferrobridge-hl7v2to 0.1.129 with it.
Changed
fhirconnect0.1.188 movesengine::rm::NULL_FLAVOUR,NULL_REASONandnull_flavour_oftoengine::rm::null_flavour, which breaks an import of them: name them throughengine::rm::null_flavour::(#1194).- A transaction entry whose mapping links a resource as a composition of its
own is refused with
422andnot-supported, naming why and the ways that commit it: the resource on its own, or as an entry of abatch, whose entries commit one at a time and follow the link as a single create does (#1120). ferrobridge-term0.1.130 carries thedateinput ofCodeSystem/$lookupandValueSet/$validate-code:Client::lookup_atsends it, andRequest::LookupandValidationgain adatefield. This breaks a struct literal of either: adddate: Nonewhere no date is meant (#1177).SECURITY.mdstates the fix-time targets every product of the Ferro family commits to, counted from the confirmed assessment: a fixed release within 7 days for a Critical vulnerability, 30 days for High, 90 days for Medium and with the next release for Low, beside the acknowledgement within about 5 business days and the initial assessment within about 10, both best effort as before.
Fixed
- The
fhir-typesXML codec holds a narrativedivto well-formed XHTML both ways:xml::to_xmlrefuses adivthat is no well-formed XHTMLdivin the XHTML namespace with anEncodeErrornaming its element path, such asBasic.text.div, andxml::from_xmlrefuses a start tag whose attributes are not well-formed XML (no whitespace between two attributes, a name that is no XML name, a<in a value), in the narrative and in every other element, where it accepted them and wrote them back repaired.fhir-typesmoves to 0.1.128,fhirconnectto 0.1.189,ferrobridge-termandferrobridge-validatorto 0.1.134,ferrobridge-fhirpathto 0.1.128 andferrobridge-hl7v2to 0.1.140 with it (#1178). - A coding with no
displaywritten into aDV_TEXT, whose value would otherwise fall back to the coding’s code, is looked up throughCodeSystem/$lookupas one written into aDV_CODED_TEXTis: the display becomes the value, an unknown code refuses unless[terminology] display_fallbackis set, a failed call refuses, and with no server the code stands.fhirconnectmoves to 0.1.185 andferrobridge-hl7v2to 0.1.134 with it (#1188). - An untyped
dateTimemapped onto anELEMENTwhose value admitsDV_TEXTandDV_DATE_TIMEconverts intoDV_DATE_TIMEwhatever the template order: a class that pairs with the FHIR type directly outranks the text fallback.fhirconnectmoves to 0.1.181 andferrobridge-hl7v2to 0.1.130 with it (#1114). $toopenehrand$tofhiranswer502with the issue typetransientwhen the terminology server fails during the run, with the upstream status in the diagnostics, as the facade’s writes do. A translation the server answers with no match stays a422(#1119).
0.0.11 - 2026-10-24
The operator console release. The console is rebuilt page for page on
FerroUI 0.3.6 and renamed from ferrobridge-viewer to ferrobridge-console,
so its image, environment variables, compose profile, cookies and page
addresses change: the Changed section below lists each, with what an
operator changes. Release images are scanned before they are tagged, every
release carries a vulnerability record in which each finding is judged, and
the notes state the support period and link the CRA information for users.
FHIRconnect registers the last mappingCode functions of the published
library and gains display resolution, NULL_FLAVOUR, the EVENT choice and
the quantity, temporal, URI, string and interval data-type pairs.
Added
-
The book has a CRA information for users page (#1152): the information and instructions Annex II of the Cyber Resilience Act (Regulation (EU) 2024/2847) has accompany each release, point by point, from the manufacturer and the vulnerability contact to the support period, secure use, updates, decommissioning and the SBOMs. The release notes
scripts/release/plan.shcomposes now end with a link to it, and the composition refuses when the book does not list the page.SECURITY.mdnames the operator console’s release tarballs and site bundle among the supported artefacts. -
The eighth
mappingCodefunction of the published FHIRconnect library,ehrStatusAddExternalREF, is registered (#1065), soKDS_admin_entry_person.ymlloads in the published person context. It writes no template node: it offers eachIdentifierthe mapping reads as the subject of the EHR, on the newOutcome::subjectchannel (fhirconnect::engine::subject::SubjectIdentifier), and coming out of openEHR it is declared skipped (SkipReason::EhrStatusSubject). The facade writes it intoEHR_STATUS.subject.external_refthrough ITS-REST 1.1.0ehr_status_updatewithIf-Matchon the version it read, before the composition is committed, for the identifier of the new[facade] ehr_status_identifier_systemkey. AnEHR_STATUSthat names another subject answers409, a CDR refusal answers through the status table with nothing committed, and with the key unset a write whose mapping offers identifiers answers422naming the key. New for a consumer offhirconnect:MappingFunctions::writes_subjectandto_subject, with defaults, and theSkipReasonvariant.fhirconnect0.1.180. -
A FHIRconnect mapping that names an
EVENTnode itself, with a FHIR time on the other side, writes and reads the event’s time (#1059), astypes-of-mappings/data-type/EVENT.adoc§POINT_EVENT and INTERVAL_EVENT pairs them. AdateTime,instantordateis aPOINT_EVENT’stime; aPeriodis anINTERVAL_EVENTwhosetimeisPeriod.end, whosewidthis the span back toPeriod.startand whosemath_functionis the RM default640|actual|. A choice element such aseffective[x]picks the class from the alternative going in and from the event’s class coming out. A FHIRtime, a period with a missing or partial bound, and a non-choice element of the other class are refused; an interval event whosemath_functionis notactualdeclares it as a loss going out.WebTemplateIndex::amendedits one node instance of a built composition and validates it again. New variants a consumer matching exhaustively adds arms for:PathError::AbsentInstance,Derived::Event,EngineError::EventTimeandSkipReason::EventFunctionUncarried.laboratory_test_result.v1.yml:120and:448no longer warnfc-anchor-without-children.openehr-mapping-core0.1.126,fhirconnect0.1.179. -
FHIRconnect LINKED mappings (#94): a
linkwhose FHIR side names a resource, such as a Condition’sencounter, now commits that resource as a composition of its own through the context itsmeta.profilenames, and writesehr:/<ehr_id>/compositions/<versioned_object_uid>into the linking composition’sLINK.target. A facade create or update runs in two passes, because ITS-REST 1.1.0 lets the CDR, not the client, assign a new composition’s id: a probe run finds the linked resources, each is committed as aPOSTwould commit it (a replay links the composition the first delivery produced, and a resource this server already serves links where it stands), and the final run writes their URIs. A resource no context maps is a declared loss,skipped-unmapped-link. A linking commit the CDR refuses answers its refusal with a warning naming each linked composition it left. A transaction or batch entry that links a resource is refused, since a transaction is oneCONTRIBUTION, and$validateruns the link without committing. The engine gains theengine::linked::LinkedCompositionsseam (Seams::with_linked),SkipReason::UnmappedLinkandReferenceError::Link; a run with no seam refuses as before.fhirconnect0.1.174. -
The FHIRconnect engine converts
ELEMENT.null_flavouragainst the code of the R4data-absent-reasonextension both ways (#93), throughengine::lens::null_flavourwith GetPut and PutGet property tests and a test per entry of its committed table. A tail on the element reachesnull_flavouras the_null_flavourfamily of the node the element shares with its value, with_null_reasonbeside it. FHIRconnectNULL_FLAVOUR.adoc’s table is no function; the cell reads it with the openEHR terminology’s null flavours (271 “no information”, 253 “unknown”), keeps a FHIR code with no flavour of its own innull_reason, and refuses a code outside either set. Breaking:SkipReasongainsNullReasonUncarried, the declared loss of anull_reasonthat names no code, so a consumer that matchesSkipReasonexhaustively adds the arm.fhirconnect0.1.176. -
A FHIRconnect mapping can now name the origin of an observation’s history,
$archetype/data/origin, which no Web Template node carries (#95). The engine writes it as the Simplified Formatshistory_originof the observation and reads it back fromHISTORY.origin. AnOBSERVATIONwhoseHISTORYcarries events, each with anITEM_LIST, now round-trips under both lens laws against a synthetic template: going out each event becomes its own resource (the FHIRconnect hierarchy split), and the origin and each event’s time keep their offset in both directions. The round-trip pass list gainsferrobridge_observation_events(5 of 5).fhirconnect0.1.171. -
Going into openEHR, a coding that carries no display now has its display resolved through
CodeSystem/$lookupon the[terminology]server (#95), as the FHIRconnectDV_CODED_TEXTpage recommends. A found display becomes theDV_CODED_TEXTvalue. A code the server does not know refuses the resource unless[terminology] display_fallback = true(FERROBRIDGE__TERMINOLOGY__DISPLAY_FALLBACK) writes the code instead. A failed call refuses either way, carrying the upstream status. With no terminology server the code stands as before, the page’s alternative “if a term server is not an option”. Lookups join the translations in one call or onebatchper round. The FHIRconnect terminology seam gainslookupanddisplay_fallback, both with refusing defaults. The engine answersEngineError::UnknownDisplayandEngineError::DisplayLookup.fhirconnect0.1.170. -
Five more
mappingCodefunctions of the published FHIRconnect library are registered (#95).timingToDailywrites a frequency per one unit of time as the1/<unit>frequency of the daily timing cluster (or an interval of them withfrequencyMax), one event per longer period as the interval between doses, and the one time of day.dosageQuantityToRangewrites a doseRangeas an includedDV_INTERVAL<DV_QUANTITY>.rangeToTextwrites a rateRangeas the text<low> <code> - <high> <code>, the only form the rate element admits beside a quantity.ratio_to_dosageandratio_to_dosage_actionwrite a rateRatio(R4’s “500ml over 2 hours”) as the rate per unit of time and the administration duration. Every quantity and range converts through the engine’sDV_QUANTITYandDV_INTERVAL<DV_QUANTITY>cells, a rate divides and multiplies exactly or is refused, and each function refuses what it cannot carry. A port onto a polymorphicELEMENTnow reads only the value node whose_typematches. The library’sdosage.v2.yml,dosage.v2.BackboneElement.ymlandtiming_daily.v1.ymlnow load, so the medication statement context gets to compile. Its refusals there are recorded on #101. It landed infhirconnect0.1.169 beside #1076, with no version of its own. -
The FHIRconnect engine converts a scalar
IntegerorInteger64tail against FHIRintegerand a scalarRealtail againstdecimalboth ways (#1081), throughengine::lens::scalarwith GetPut and PutGet property tests; going out these refused with no cell. A value outside FHIR’s 32-bitintegeris refused going out, and a decimal whose text theRealcannot render back (5.40,1e3) is refused going in, where it was rounded to the nearest binary number with no loss declared.fhirconnect0.1.173. -
The FHIRconnect engine converts
DV_QUANTITYagainstQuantity,decimalandinteger, andDV_COUNTagainstinteger,QuantityandCount(#93), each a lens with GetPut and PutGet property tests over the tables of FHIRconnectDV_QUANTITY.adocandDV_COUNT.adoc. Where a table is silent or contradicts R4, the cell decides and refuses rather than drops: the UCUM system is written beside a code (R4qty-3),units_display_nameis the counterpart ofunit, and amagnitude_statusno comparator states, a magnitude with more places than itsprecision, a count outside FHIR’s 32-bitintegerand a comparator into a count are typed refusals.FhirKind,FhirValueandRmValuegain variants, so a consumer that matches them exhaustively adds the arms.fhirconnect0.1.163. -
A FHIRconnect PROGRAMMED mapping now runs a registered function (#95).
fhirconnect::engine::library::Libraryis the registry the crate ships, and the server hands it to the loader, the compiler and every run. A function declares the openEHR ports it reads and writes below the mapping’swith.openehr, and the compiler resolves each port against the template at load: a port the template lacks isfc-unknown-template-node, one below a repeating nodefc-repeating-function-port, and ports under a mapping with no openEHR sidefc-unanchored-function-port. The first two functions of the published library are registered:dosageDurationToAdministrationDuration(Timing.repeat.durationand its unit against the administration duration) andtimingNonDaily(a timing once per week, month or year against the interval of the non-daily timing), both converting through the engine’sDV_DURATIONcell and refusing what they cannot carry. The library’stiming_non_daily.ymlnow loads in every published context. Breaking for consumers:MappingFunctionstakes the FHIR element and the port values,Method::Programmedcarries its ports, andMappingCodeRegistrygainsports.fhirconnect0.1.166. -
Every published FHIRconnect context now has its operational template in the tree (#258). Nine KDS templates join the three already vendored, each fetched by its own
scripts/vendor/kds-*-opt.shfrom the openFHIR commitdocs/VERSIONS.mdpins, with a sha256 and aPROVENANCE.md: Fall einfach, Laborbericht, Medikationseintrag, Medikamentenverabreichungen, Person Pseudonymisiert, Prozedur, Studienteilnahme, Todesursache and Vitalstatus. Thefhirconnectsuite compiles all 13 contexts verbatim against their templates and pins each verdict. None compiles: ten stop at load on a reference the library cannot resolve, three are refused at compile, and the EHDS laboratory template the library ships does not parse. A context that compiles joins the mapping-library pass list on its own. The list stays at 10 of 107. -
The FHIRconnect engine converts
DV_TIMEagainsttimeandDV_DURATIONagainstDuration(#93). The duration cell runs the UCUM to ISO 8601 bridge of FHIRconnectDV_DURATION.adoc, the eightCommonUCUMCodesForDurationrows as one committed table: a duration of several components reads in its smallest one by the factors UCUM fixes, a code outside the bridge, a comparator and a system other than UCUM are typed refusals, andmsis a one-way row. The time cell moves the text unchanged, gives the ISO 8601 basic form its separators, and refuses a time with an offset or with no seconds, which R4timecannot state.fhirconnect0.1.164. -
The FHIRconnect engine converts
DV_URIagainsturl, andDV_MULTIMEDIAandDV_PARSABLEagainstAttachment(#93), from FHIRconnectDV_URI.adoc,DV_MULTIMEDIA.adocandDV_PARSABLE.adoc. A parsable value travels base64 encoded asAttachment.data, its formalism as the content type only when it is itself a media type (the page gives no table), and a multimediaintegrity_checkishashonly for SHA-1, the algorithm R4 names. A compressed multimedia value is refused going out, since anAttachmenthas no field for the algorithm, and an attachment with data and no size takes the decoded length, a one-way row.fhirconnectnow depends onbase64.fhirconnect0.1.165. -
A FHIRconnect mapping writes a
Coding, anIdentifieror aReferenceinto an openEHRStringattribute and reads it back (#93), the cells of FHIRconnectString.adoc: a coding travels assystem::code, an identifier assystem::value, and a reference as its identifier, or as itsreferencestring coming in when it has none, a one-way row. Text holding::that would read back as another system and code is refused. Before, a tail on aStringattribute against those elements refused with no cell.fhirconnect0.1.166. -
The FHIRconnect engine converts
DV_INTERVAL<DV_QUANTITY>againstRange(#93), theRangetable of FHIRconnectDV_INTERVAL.adoc, each bound through theDV_QUANTITYcell. An absent bound is the unbounded side, as thePeriodcell reads it, and an excluded bound or a bound with a comparator, which noRangestates (R4sqty-1), is refused. A node the Web Template typesDV_INTERVAL<DV_DATE_TIME>orDV_INTERVAL<DV_QUANTITY>now reaches its cell and its pairs by the classDV_INTERVAL; before, the generic name matched no cell and a run over such a node refused.fhirconnect0.1.167. -
The shipped
datatype-pl-to-locationsupplement writes PL.11, the assigning authority, into theidentifier.assignerof each location level the PL carries (#345). The guide’s two PL.11 rows address all six levels with a[1-6].prefix the guide’s notation does not define, so the interpreter still refuses them asunsupported-target; the supplement spells them as one row per level under that level’s condition. The vendoredhl7v2corpus loses 22unsupported-targetoutcomes. -
ferrobridge-hl7v2ships message maps for 18 HL7 v2 structures the v2-to-FHIR guide has none for (#637): ADT_A15, ADT_A16, ADT_A21, ADT_A39, ADT_A44, ADT_A45, ADT_A60, BAR_P02, BAR_P12, DFT_P03, DFT_P11, MDM_T01, OMG_O19, OUL_R23, OUL_R24, PPR_PC1, RDE_O11 and REF_I12. Each takes the rows of a guide message map (or the shipped OUL_R22 map) for the segments it shares, at its own group paths, so the guide’s segment maps apply, and its description names the map it composes. A supplement for ADT_A06 names the guide’sADT_A01.PD1rowADT_A06.PD1, so ADT_A06 messages map too. Thehl7v2corpus gains the 56 messages, to 510 of 511. -
The HL7 v2 face reads a batch file (#642). A frame that opens with FHS or BHS is split by the HL7 v2 chapter 2 §2.10.3 structure into its batches and messages, each message is answered as if it had arrived alone, and the acknowledgments return in one response batch whose headers echo the file’s FHS-11 and BHS-11 and whose BTS-1 counts them (§2.10.3.2). A trailer count the file contradicts is a logged warning, and a file whose segments stand outside the structure is not answered.
ferrobridge-hl7v2gains thebatchmodule. The ReportStreamsample-batch-pdi-20210608-0001.hl7file now passes thehl7v2corpus. -
The HL7 v2 parser counts a valued repetition past a field’s cardinality, a valued component past its data type’s components and a valued subcomponent past its component’s data type, as the new
extra-repetition,extra-componentandextra-subcomponentoutcomes (#295). HL7 v2 chapter 2 §2.6 tells a receiver to ignore such constituents, so none refuses the message and each value stays in the parsed message. Components are checked against the v2.9.1 data types only, since the tables of earlier versions carry no component tables. -
A FHIRconnect mapping with no
typeonto anELEMENTwhose value admits several data types converts theELEMENT’s own value, then runs itsfollowedBychildren (#544), as FHIRconnectFollowedBy.adocorders them (“after the parent mapping method has been executed”). The compiler picks the value alternative whose class lists the FHIR type earliest inresolve::derive::PAIRS, the first in template order on a tie (our own design), and the program carries it asDerived::Value; such a mapping was an anchor that wrote nothing. The statutory insurance identifier of the library’sversicherungsinformationen.v0now round-trips in the KDS person chain as aDV_IDENTIFIER, and the twocollectedmappings ofspecimen.v1no longer warnfc-anchor-without-children.Derivedgains a variant, so a consumer that matches it exhaustively adds the arm.fhirconnect0.1.158. -
fhirconnect::operations::run::to_fhirtakes the id of the mapped resource from a caller-supplied identity seam when the seams carry one (#619):Seams::with_resource_identityover the newengine::seam::ResourceIdentitytrait, which answers aResourceRequest(the resource type, the template, the composition’sOBJECT_VERSION_IDand theidthe mapping wrote). A seam that refuses ends the run withOperationError::Identity, and an id outside the R4idgrammar withOperationError::InvalidId. Without a seam the id still derives from the writtenidor the composition’sversioned_object_uid. FHIRconnectengine/id-management.adochas the engine maintain its own resource ids and keep an export’s ids the same every time; the seam is where a caller’s identity store does that.OperationErrorgains two variants, so a consumer that matches it exhaustively adds the arms.fhirconnect0.1.156. -
[auth] scopes_supported: the scopes the bridge honours, listed asscopes_supportedin the SMART discovery document, which “the server SHALL support” (SMART App Launch 2.2.0, Conformance, Metadata); each value is one scope token, checked at load (#1007).
Changed
-
The operator console moves to FerroUI 0.3.3 (
ferrohealth-ui = "=0.3.3", #1154) with the library’ssplitfeature on, since its site builds withcargo leptos build --split. The parts the 0.3.2 rewrite drew stand-ins for are now drawn as designed (#1146): the Bridge group of the navigation and the dashboard’s flow and Upstreams card take the design’sflame,message-square,table-2andplugglyphs; every state a table cell, a fact or a title shows is the F12 state mark; a context file’s subtitle bolds its resource type and links its template. The Files tab’s Language and Owner filters are the library’s filter menu: a checkbox per choice with the number of files it keeps, sent with the find words, so?owner=console&owner=provisionednames several choices and an address with one value keeps working. -
The operator console moves to FerroUI 0.3.4 (
ferrohealth-ui = "=0.3.4", #1155), which carries the two parts the 0.3.3 move still drew stand-ins for. The dashboard’s flow draws the design’ssendglyph for the HL7 v2 senders andbook-openfor the terminology server, and its head offers How it is drawn, which opens the How the flow is drawn dialog: each state the flow draws, its line and what it means. The mapping editor and the playground’s JSON input take keys from the first paint, before the page hydrates. -
The operator console moves to FerroUI 0.3.5 (
ferrohealth-ui = "=0.3.5", #1166). The console draws no part 0.3.5 changes, so its pages look and behave as before. -
The operator console moves to FerroUI 0.3.6 (
ferrohealth-ui = "=0.3.6", #1168). The console draws no activity chart, the one part whose interface 0.3.6 changes, so its pages look and behave as before. -
Both container images name their manufacturer: the
org.opencontainers.image.vendorlabel and index annotation ofghcr.io/ferrohealth/ferrobridgeandghcr.io/ferrohealth/ferrobridge-consolereadCadasto B.V.where they readFerroBRIDGE(#1152). -
A release’s notes end with its support period (#1149): the month and year until which Cadasto B.V. keeps publishing security fixes, five years from the release date (CRA Art 13(8) and (19)). The release lane refuses a cut whose
### Securityentries name noGHSA-advisory orsecurity/vex/statement, or that mixes security and functional changes without saying why (CRA Annex I Part II(2));scripts/release/preflight.sh vX.Y.Zruns the same checks before the tag.SECURITY.mdaddsinfo@cadasto.comas a reporting route and describes the advisory each fix is published with. -
The
ferrobridgeandferrobridge-consoleimages of a release are tagged only after a Trivy scan of each pushed digest finds no fixable HIGH or CRITICAL vulnerability (#1149), and a release carriesferrobridge-vX.Y.Z-vulnerability-record.json: every finding of a full scan of both images and the server tarballs, joined with the OpenVEX statement undersecurity/vex/that judges it. The release is refused while a finding has none.security/vex/rust-advisories.openvex.jsonpublishes the argument for each advisorydeny.tomlaccepts, and the published images are scanned every week with those documents applied. -
Breaking: the operator console is renamed from
ferrobridge-viewertoferrobridge-console(#1133), as every FerroHEALTH product names its operator UI. The crate and its binary areferrobridge-console(app/ferrobridge-console), the image isghcr.io/ferrohealth/ferrobridge-console, built by the reusablerelease-console.ymlfromdocker/console/Dockerfile, and theferrobridge-viewerimage is no longer built. Upgrade note: change the image reference toghcr.io/ferrohealth/ferrobridge-console; rename the environment variables fromFERROBRIDGE_VIEWER__toFERROBRIDGE_CONSOLE__andFERROBRIDGE_VIEWER_CONFIGtoFERROBRIDGE_CONSOLE_CONFIG; incompose.yamlthe profile and serviceviewerareconsoleand the secret filesecrets/viewer_oidc_client_secretissecrets/console_oidc_client_secret, mounted at/run/secrets/console_oidc_client_secret; the compose variablesFERROBRIDGE_VIEWER_PORTandFERROBRIDGE_VIEWER_OIDC_CLIENT_SECRET_FILEareFERROBRIDGE_CONSOLE_PORTandFERROBRIDGE_CONSOLE_OIDC_CLIENT_SECRET_FILE. The session, sign-in and theme cookies are renamed fromferrobridge_viewer_*toferrobridge_console_*, so every operator signs in again after the upgrade and the theme starts from the system’s. The CI job and the build scripts follow (console,scripts/release/console-site.sh,console-tools.sh,scripts/checks/console-bundle.sh,console-paths.sh). -
Breaking: the operator console is drawn anew on FerroUI 0.3.2 (
ferrohealth-ui = "=0.3.2", #1143, FerroHEALTH/FerroUI#161), page for page from the FerroBRIDGE design. It runs in Leptos islands mode: the server draws every page whole and the browser hydrates only the menus, the code editor and the JSON input, each island loaded lazily from its own chunk (the entry bundle measured 316603 bytes brotli-compressed). The pages are the dashboard with the flow, the Mapping set with its Contexts, OMOCL, Templates, Files and Diagnostics tabs, each mapping file with its Program tab, each template, the editor, the playground with its$tofhir,$toopenehrand$validatetabs, the FHIR facade, HL7 v2, OMOP ETL, Connections, Your preferences and About. Upgrade note: the addresses moved, and an old bookmark answers the page-not-found page:/filesis/mappings/files,/files/{path}is/mappings/files/{path},/editis/mappings/new,/edit/{path}is/mappings/edit/{path},/validateis/playground/validate, and/capabilityis/facade/capabilityand/facade/security. -
Breaking: the console registers no server function. Every action (a preference, a reload, a check, a save, a playground run) is a plain form post to its page’s own address, which the server answers with the page it draws, so every action works before any WebAssembly arrives. Upgrade note: the console’s
/api/…server-function routes no longer exist; the console has no API, and a script reads the bridge’s operator API. -
Breaking: the theme toggle is gone from the top bar. The theme is set in the user menu and in Your preferences alone. Your preferences has three tabs (Appearance, Language and region, Keyboard), and each choice is kept in a cookie of its own for a year:
ferrobridge_console_theme,_density,_motion,_language,_week-startand_hints(under__Host-when the cookies are secure), with Reset to defaults clearing them. The sidebar folds to a rail, kept inferrobridge_console_sidebar. Upgrade note: every operator chooses the theme again; nothing to configure. -
Breaking: a sign-out with no
end_session_endpointconfigured lands on the new signed-out page,/signed-out, instead of the sign-in. A sign-in the provider refused, could not complete, or a full session pool now draws the sign-in card with what happened and the way on, with the status401,502or503. Upgrade note: nothing to configure; a monitor that followed the sign-out to/follows it to/signed-out. -
The editor saves a draft with LF line ends: a text area posts its line breaks as CRLF (HTML Living Standard §4.10.11), and the console reads the draft back with the LF the editor shows, so the bytes saved are the bytes you edited. A
$toopenehranswer in the playground shows the composition itscompositionparameter carries, with the issues of itsoutcomeabove it, and the template is a choice of the running set’s templates. The Settings tabs and the Configuration page of the design wait for the operator API’s configuration document (#1147); the design’s navigation glyphs, its state words and a subtitle with markup wait for FerroUI (#1146). -
The workspace builds with Rust 1.99.1 in place of 1.98.1, and the MSRV stays at 1.98: the FerroHEALTH family builds with the latest stable toolchain and declares the release before it as its MSRV. Clippy 1.99’s new
assert_is_emptylint is answered in the tests it names, which movesfhirconnectto 0.1.179 with no API change, since its unit tests live undersrc/. -
Every word the operator console shows now comes from its catalog (#956): the faults and refusals it draws in a page, the severity of a diagnostic, and the plain-text answers of sign-in, sign-out and a request from outside its pages, which follow the request’s
Accept-Languagelike the pages do. English is the one catalog, so the words are unchanged, and a language joins as one catalog file. The stray-literal check in CI now holds the console to no string outside the catalog, with a reason recorded for each protocol token it allows. -
A reference the facade could not fetch now refuses the request with
502 Bad Gatewaywhen a mapping reads it (#94): a sending site that answers a status other than404or410, times out, or answers a body that is not the referenced resource, and a CDR read that fails, are upstream failures, whichengine/Fail.adocdoes not let a mapping drop. The single create and update, a transaction and$validateall answer it, and theOperationOutcomenames the reference and the upstream status. A resource the sending site or this server does not hold stays a declared skip. -
The container lane runs the reference CDR at FerroEHR 5.1.0, which serves demographic AQL rooted at
PERSON,ORGANISATIONandROLE(#965). The facade’s party search runsidentifier,name,_idand_countonPatient,Practitioner,OrganizationandPractitionerRoleagainst it and finds the parties the test created, paged and with a deleted party left out. A search configured overGROUP,AGENTorPARTY_RELATIONSHIP, which the CDR refuses, answers501 not-supportednaming the Cadasto experimental AQL demographic extension. -
The FHIRconnect engine’s data-type cell dispatch is a module folder,
engine::cellwith the held-value readers in a child module (#1079), under the file-length threshold. Behaviour and public API are unchanged. It landed infhirconnect0.1.170 beside the display lookup (#95), with no version of its own. -
The operator console takes FerroUI 0.2.0 and reads every word it hands FerroUI from its catalog at run time (#956): table captions, column headers, pager nouns with their plurals, navigation, fields, dialogs and page titles come from
locales/en/ferrobridge-viewer.ftl, and the stray-literal baseline drops from 384 to 78 literals. English remains the only locale. -
openehr-mapping-core0.1.121 parses a mapping header’sspec.openEhrConfig.archetypethrough theopenehr-baseBASE 1.2.0ArchetypeIdand drops its own copy of the grammar (#1026). The accepted form is unchanged: FHIRconnect v1.0.0 writes the header’s archetype asopenEHR-EHR-ACTION.informed_consent.v0and never names a namespaced ADL 2 id, so the namespaced form and a full version stay refused (our own design). Breaking for a consumer that matches onArchetypeIdError: itsShape,QualifiedRmEntity,DomainConceptandVersionIdvariants are gone, and a refusal is nowLexical, carrying theopenehr-baseIdErroras its source, orVersionRangefor a version pastu32.ArchetypeId::basereturns theopenehr-basevalue.fhirconnect0.1.163 renders the new requirement. -
Breaking: the facade, the operator API and the CDR and terminology lanes authenticate through
ferrohealth-smart0.1.0, the FerroHEALTH family’s SMART and OAuth 2.0 resource-server crate (#981). Its sections replace the bridge’s own, so a deployment changes these keys:[auth]is on by default (enabled = true).serverefuses to start a facade, an operator API or a FHIRconnect operations lane until[auth]namesissuerandaudience, or untilenabled = false(FERROBRIDGE__AUTH__ENABLED=false) serves them open. A server that serves only/and the health routes, and the jobs, read no[auth].auth.audienceis a list (audience = ["https://…/fhir"], andFERROBRIDGE__AUTH__AUDIENCE='["https://…/fhir"]'); a token’saudmust contain one of them.auth.jwks_refresh_interval_msbecomesauth.jwks_refresh_interval_seconds(default60), andauth.jwks_max_age_seconds(default600) is new: a key set older than that is read again before a token is checked, so a key the issuer withdrew stops verifying (#972).auth.algorithmsdefaults toRS256,RS384,PS256,PS384,ES256andES384, where it wasRS256andES256.auth.issuermay be plainhttpon a loopback host; elsewhere it stayshttps.auth.operator_scopebecomesauth.product_scope, and its defaultferrobridge.operatorbecomes__ferrobridge.operator, the extension form SMART App Launch 2.2.0 gives a scope (a string starting with__or a full URI); any other value refuses the start. Grant the new scope in the authorization server before you upgrade.- New in
[auth]:[[auth.issuer]]tables for several trusted issuers,[[auth.basic.users]]for HTTP Basic callers with an Argon2idpassword_hash(orpassword_hash_file) and theirscopes,jwks_file, andrealm. [cdr.credentials]and[terminology.credentials]loseuser_file; the user-id is read inline fromuser.[cdr.credentials.oauth]and[terminology.credentials.oauth]takeclient_auth = "private_key_jwt"withprivate_key_file,kidandassertion_alg, andtimeout_ms(default10000), which bounds a call to the token endpoint in place of the lane’s own timeout; an emptyscopesends noscopeparameter.
The facade’s refusals keep their
OperationOutcomebodies and challenges; twoAuthorizationvalues, or a value that is no credential (a scheme with nothing after it), answer400withinvalid_request(RFC 6750 §3.1), and a route the guard does not classify answers its403without a challenge. The discovery document no longer claimspermission-v2, which SMART App Launch 2.2.0 defines as granular scope support the facade does not evaluate. The audit line moves to theferrohealth_smart::audittarget with the family’s field set:principalreplacessubject,target(Condition/c-1) replacesresource_typeandresource_id, andvia,issuerandrouteare new. The operator API’s request line moves there too; a save or a reload still writes its change record onferrobridge::audit.src/auth/andsrc/cdr/oauth/are gone from the server (#977), andferrobridge_server::credentials::UpstreamTokenhands the crate’s token to both upstream clients. -
The HL7 v2 corpora count a message the face refuses correctly as a pass (#639).
crates/ferrobridge-hl7v2/tests/it/corpus/expected-refusals.txtlists 167 messages with the acknowledgment code and the HL7 table 0357 error HL7 v2 chapter 2 owes them: 152 ReportStream mapping-inventory fragments, 6 FHIR-Converter samples that break their declared structure, 4 AIRA examples built to omit the RXA, and 5 messages whose bytes leave the declared character set or whose MSH-18 names no table 0211 code. A listed case fails when the face takes the message or answers it otherwise. Thehl7v2badge moves from 290 to 453 of 511 and thehl7v2-smokebadge from 375 to 379 of 379. -
The release workflow refuses a tag whose milestone, titled exactly as the tag, is missing or still holds an open issue or pull request, and names each one; once every leg has succeeded, crates.io included, it closes that milestone (#983).
-
The
openehr-*crates move from 0.0.87 to 0.0.89 (openehr-base,openehr-rm,openehr-its,openehr-sdt,openehr-am,openehr-queryandopenehr-adl). 0.0.89 adds theopenehr-sdtparty builder, the builder option that namesARCHETYPED.rm_version, and the BASE 1.3.0ARCHETYPE_IDgrammar inopenehr_base::v1_3, which now admits the namespaced ADL 2 form and a full version.openehr-mapping-core0.1.119 andfhirconnect0.1.160 render the new requirements. -
A composition the bridge builds names each structure the FLAT form leaves out (an
ITEM_TREEunder an entry, for example) by its term definition in the template, where it named it by its node id before (RM Common IM,LOCATABLE.name). Theopenehr-sdt0.0.89 builder does this. -
ferrohealth-smart0.4.0 (#1110). Every[<lane>.credentials.oauth]table takes the keys the crate adds:client_auth = "tls_client_auth"or"self_signed_tls_client_auth"withclient_certificate_fileandclient_key_filefor RFC 8705 §2 mutual TLS to the token endpoint,ca_filefor trust roots added to the built-in ones, andassertion_audience = "issuer"for aprivate_key_jwtassertion that names the issuer (RFC 7523 §3) in place of the token endpoint. -
ferrohealth-smart0.3.1 and theopenehr-*crates 0.0.90 (#1062), whichferrohealth-smart0.3.1 pins;fhirconnect0.1.168 andopenehr-mapping-core0.1.124 build on them. The facade and the operator API refuse a token whosesubis empty or whitespace only (RFC 9068 §2.2, RFC 7519 §4.1.2) and a bearer value outside the RFC 6750 §2.1b64tokensyntax, each with the generic401 invalid_token. An enabled[auth]section with Basic users and no issuer is refused at load: the discovery document and theCapabilityStatementname the issuer’s token endpoint. -
ferrohealth-smart0.2.0 (#1018). The SMART discovery document writesissuerandsso-openid-connectonly when[auth] capabilitiesnamessso-openid-connect; SMART App Launch 2.2.0 (Conformance, Metadata) omitsissuerotherwise. A client that readissuerfrom the document reads the authorization endpoints it names, or the bridge advertises OpenID Connect sign-in by configuration. The document declarespermission-v1,permission-patientandpermission-user, the scopes the route table and the patient compartment enforce. -
ferrohealth-smart0.1.1 (#1007). The operator scope moves from[operator] scopeto[auth] product_scope(environmentFERROBRIDGE__AUTH__PRODUCT_SCOPE), default__ferrobridge.operator, checked by the crate in the same two SMART extension forms. The audit line’s field for what a request addressed isaddressed, where it wastarget, so a JSON log keeps it beside the event’s owntarget; a log query that readtargetfor the addressed resource readsaddressed.[auth] capabilitiesrefuses at load a value SMART App Launch 2.2.0 does not define unless it is a full URI. The issuer and resource checks of[<lane>.credentials.oauth]and the Basic password read are the crate’s now, with the same refusals at load. -
servewarns that[auth]is off only when a surface it guards runs, and names those surfaces (the facade, the operator API, the operations lane); a server with only/and the health routes logs nothing (#1005). -
openehr-mapping-core0.1.120 passes the RM release it chooses to theopenehr-sdtcomposition builder (#901), so the builder writesARCHETYPED.rm_versionand the walk that rewrote it afterwards is gone. The choice is unchanged: Release 1.1.0, unless the composition holds aGENERIC_ENTRYwhosedatais noITEM_TREE. -
openehr-mapping-core0.1.120 builds a party through theopenehr-sdttemplate walk (#906) and drops its own party assembly with the OPT 1.4 structure index behind it.ROLE.performer, which no template node holds, is still placed on the root after the walk (#1000). Breaking for a consumer that matches onPartyError:NoStructure,UnconstrainedandInstanceGapare gone, and a value the builder refuses is the newPartyError::Build, which carries theopenehr-sdtFlatErroras its source.fhirconnect0.1.161 renders the new requirement.
Fixed
- A FHIRconnect untyped choice element that admits both
PeriodandRange, mapped onto aDV_INTERVAL<DV_QUANTITY>node, is written asRange(#1080); it pickedPeriodand the run refused with no cell.resolve::derive::PAIRSkeys the interval rows by parameter (DV_INTERVAL<DV_DATE_TIME>withPeriod,DV_INTERVAL<DV_QUANTITY>withRange), an interval of any other parameter pairs with nothing and is refused at load, and the cells refuse aPeriodinto a quantity interval and aRangeinto a date-time one.PAIRSgains two rows, so a consumer that reads the table sees them.fhirconnect0.1.177. - A facade write, transaction or
$validatewhose mapping run fails because the terminology server failed (no answer, a timeout, a5xx, a refused$translateor$lookup, an answer that does not decode) now answers502withtransientand the upstream status in the diagnostics (#1094). It answered422withprocessing, as if the resource were wrong. A translation the server answers with no match stays the mapping’s422. - A FHIRconnect
mappingCodemapping, amanualmapping and ahierarchy.splitinside areferencenow run when their FHIR path climbs out of the referenced resource with^(#1095). They read and wrote the referenced resource and refused with an unknown element; they now read and write the resource the path climbs to, as every other mapping has since the worked^^.use.codingexample ran.fhirconnect0.1.173. - A value node of a polymorphic
ELEMENTreads only a value of its own class (#1100).WebTemplateIndex::readlet every alternative read the element’s one value, so aDV_INTERVALwas also read at theDV_QUANTITYnode. The_typeof the value now picks the alternative, the most specific class it conforms to, andWebTemplateIndex::alternativesandWebTemplateIndex::holdsare new. A value with no_typeat a polymorphicELEMENTisPathError::UntypedAlternative, a new variant. Infhirconnect, a mapping whose type the compiler matched to one alternative refuses anELEMENTthat holds another, and an instance that holds another alternative still counts when the engine probes occurrences.openehr-mapping-core0.1.125,fhirconnect0.1.178. - A FHIRconnect
DV_INTERVAL<DV_DATE_TIME>whose present bound is excluded is refused going out toPeriod(#1076), because both R4Periodbounds are inclusive; it was written as an inclusive bound with no loss declared. The refusal is aLensError::ShapenamingDV_INTERVAL.lower_includedorDV_INTERVAL.upper_included.fhirconnect0.1.169. - A
^run that climbs out of a referenced resource now runs in both directions (#94). The compiler accepted the worked^^.use.codingexample ofbasics/path_operators.adoc, and the engine then refused it, reading the Encounter’s path in the referenced Condition. Each FHIR target now records the resource it is rooted in, the engine keeps the document areferencemapping left with the occurrence it was entered at, and a conditiontargetRootand the children of such a mapping anchor in that resource too.fhirconnect0.1.170. - A FHIRconnect tail below a
DV_INTERVAL<T>node, such as/lowerbelowDV_INTERVAL<DV_QUANTITY>, compiles and runs (#1077): the tail is looked up on the interval class and a bound is read as the node’s parameter, so/lowerconverts through theDV_QUANTITYcell. It was refused at load withfc-uncarried-tail, and a tail the parameter does not declare is still refused.fhirconnect0.1.172. - The console’s file editor names its mode in its header (#982): the New
file route reads “New mapping file” and an existing file reads “Edit
”, with the matching page title. - An untyped FHIR choice element mapped onto an
ELEMENTwhose value admits several data types converts (#1055), the shape the publishedlaboratory_test_analyte.v1.ymlandvital_status.v1.ymlwrite forObservation.value. The compiler keeps every pair of a choice alternative with a value alternative the data-type chapter defines (Derived::Polymorphic); going into openEHR the alternative the document carries selects the value node, and coming out the class the composition holds selects the alternative written. An alternative or a class no pair names refuses the run. Before, the mapping derived nothing and drew anfc-anchor-without-childrenwarning.Derivedgains a variant, so a consumer that matches it exhaustively adds the arm.fhirconnect0.1.168. - An HL7 v2 message sent under a code and trigger event that no v2.9.1
message definition carries, and whose MSH-9.3 names no known structure, is
parsed against the structure the interactions of its version’s tables send
under that event (#1016):
REF^I14^REF_I14at 2.8 takesREF_I12, counted asother-structure, where it was refused with AR. The HL7/v2ig definitions carry no REF or RRI message, sofhir-codegenreads theinteractions.jsontable of the IGAMT export andhl7v2-typesgainsmessage::LEGACY_EVENTSandmessage::legacy_events, every other code and event a legacy version’s interactions send one of its structures under. FHIR-Converter’sREF-I14-01now maps. - A FHIRconnect model mapping that names an archetype node the operational
template excludes now compiles: the method is left out of the program with
everything under it and an
fc-excluded-template-nodewarning, where it was refused withfc-unknown-template-node(#1040). FHIRconnectmodel-mappings.adoc§Mapping 0..0 fields says such methods “are ignored and not executed”. The node counts as excluded only when the archetype root of an OPT 1.4 defines its at-code and the template carries no node for it at that place; a code the archetype never defined, a name the template does not carry, and a method an extension contributes are still refused.WebTemplateIndex::archetype_definesis the newopenehr-mapping-corecall behind it. - A FHIRconnect mapping onto
$composition/context/end_timenow compiles and round-trips (#1043). The engine writesEVENT_CONTEXT.end_timeas the_end_timefamily of thecontextnode, as Simplified Formats master05 §EVENT_CONTEXT spells it, and reads it back from the context, where it was refused withfc-uncarried-tail. - A FHIRconnect path that names an
ELEMENTthe Web Template compacts into its value now reaches the element’slinks(#1042), asFHIRReference.adoc§Dedicated Node writes$openehrRoot/linksbelow an element. Alinkthere writes the element’s_link:ifamily and reads it back from the element, and a condition onlinksreads the element’s list; the resolver used to walklinkson the value’s class and refuse it.openehr-mapping-coregainsWebTemplateIndex::read_elementandPathError::NotAnElementValue. - Two sibling FHIRconnect mapping methods that share a name now compile with
an
fc-duplicate-method-namewarning, and the refusal moves to theoverwriteorappendTothat names the shared name (#1041). FHIRconnectbasics/body.adocgives a mapping name no role outside those references. - The HL7 v2 interpreter removes every reference a kept resource holds to a
resource it left out of the Bundle and counts each as a
dangling-referenceoutcome naming the element and the resource left out (#313). FHIR R4 resolves a Bundle reference against the entries’fullUrl, so such a reference pointed at nothing. The referring resource stays unless the removal leaves it without a required element, and the corpus test asserts no Bundle keeps one. The vendoredhl7v2corpus carries 29 of them in 27 messages. - A Bundle entry member the HL7 v2 interpreter cannot write is a counted
entry-unwritableoutcome naming the resource and the path, where it was only a warning in the log (#316). - The
defining_codeof aDV_CODED_TEXTvalue read out to a FHIRstringis a declared loss (#1011). The chapter writes nostringrow forDV_CODED_TEXT(FHIRconnectDV_CODED_TEXT.adoc§STRING calls the pairing not possible), so the value converts asDV_TEXTand its code was dropped with no trace; the run now reports it as aLoss::Skippedwith the newSkipReason::DefiningCodeUncarried, located at the element and the value’sdefining_code. A consumer that matchesSkipReasonexhaustively adds the arm. The facade’s loss log labels itskipped-defining-code-uncarried.fhirconnect0.1.160. $toopenehrresolves areferencemapping against the request Bundle by the R4 rules for a reference inside a Bundle (R4 bundle.html §2.36.4.1), the same resolver the subject check runs (#1010): a version-specific reference matches the entry’smeta.versionId, and a relative<type>/<id>is read against the server base of the mapped entry’sfullUrl. Before, the seam matched only an exactfullUrlor<type>/<id>, so a versioned reference fell through to the further source. A reference two entries answer refuses the run with the newReferenceError::Ambiguous, andBundleReferences::with_referrernames the entry whose references it resolves. A consumer that matchesReferenceErrorexhaustively adds the arm.fhirconnect0.1.161.- The FHIRconnect operations answer a refusing identity seam and an id it
answers outside the R4
idgrammar as the server failures they are (#1012):500with the issue codeexceptionforOperationError::Identityand500withvalueforOperationError::InvalidId, where both were a400withprocessing.OperationError::issue_typechanges for the two variants, and the server’s status table names every variant, so a new one is a compile error until it is placed.fhirconnect0.1.162. - A
TERM_MAPPINGthat aDV_TEXTorDV_CODED_TEXTvalue carries out to a FHIRstring, or aDV_CODED_TEXTvalue carries out to a singleCoding, is a declared loss (#623). Those pairs givemappingsno FHIR row (FHIRconnectDV_TEXT.adoc§String,DV_CODED_TEXT.adoc§Coding), so the engine writes none of them, as before, and now reports each one as aLoss::Skippedwith the newSkipReason::TermMappingUncarried, located at the element and the value’smappings;term_mapping::Withheldgainscause(). A consumer that matchesSkipReasonexhaustively adds the arm. The facade’s loss log labels itskipped-term-mapping-uncarried. SkipReason::EmptyReferencedocuments what the engine does (#511): aReferencewith no literal reference is skipped whatever else it carries, because adisplayor anidentifieralone names no resource to fetch (R4 references.html §2.3.0.3 and §2.3.0.4).fhirconnect0.1.159.- The HL7 v2 parser judges a segment group by placing every following
segment with the same choice rule it applies to the segment itself, so a
repeated
ORDER’s ORC in an OML^O21 opens a newORDERinstead of an optional-ledPRIOR_RESULT.ORDER_PRIORit cannot complete (#638). The six NIST LOI OML_O21 messages refused for it now parse and map. The nested trial walks share a budget of 4096 placements per segment, our own bound on the work an ambiguous message can cost. - The HL7 v2 face decodes a message whose MSH-18 repeats with its first
repetition, the default character set by HL7 v2.9.1 chapter 2 (#641). It
still refuses one whose MSH-20 names a switching scheme from table 0356.
In
ferrobridge-hl7v2,DecodeError::AlternateCharsetsis replaced byDecodeError::SwitchingScheme { scheme }; a caller matching the old variant matches the new one. $toopenehrcompares the subjects of a Bundle as the entries their references resolve to (#399), by the R4 rules for resolving a reference in a Bundle (bundle.html §2.36.4.1): an absolute reference (urn:uuid,urn:oid, a URL) matches an entry’sfullUrl, a relative<type>/<id>is made absolute against the root of the referring entry’s RESTfulfullUrl, and a version-specific reference also matchesmeta.versionId. A document that addresses its Patient entry by aurn:uuidfullUrl, as both HL7 Europe EPS example documents do, now maps; references that resolve to two Patient entries are still refused. A relative reference in an entry with no RESTfulfullUrl, which R4 gives no meaning, is read against each entry’s type and id (our own design).fhirconnect0.1.153.scripts/gh/watch-prs.shno longer writes a broken line when the default branch and a pull request both changed the same version line (#1022). The merge read its second capture after a nested match had overwritten it, sofhirconnect = { … version = "0.1.157" }became0.1.157glued to the next line. It now keeps the higher version at each position, leaves any hunk that differs beyond its versions to stop the merge, and refuses a manifestcargo metadatacannot read.
Security
Shipped with functional changes because: only the newest release is supported (SECURITY.md), so a separate 0.0.10 patch published beside 0.0.11 would be out of support the moment 0.0.11 lands and give no one a release to stay on; each fix is a dependency or base-image bump with no behaviour change of its own.
ctutilsmoves from 0.4.2 to 0.4.5 (RUSTSEC-2026-0385, GHSA-qq87-xvj3-pfgj): before 0.4.4 its constant-time mask generation could compile to a branch on a secret value. It reaches the build throughdigest0.11.- The TLS stack the bridge calls the CDR, the terminology server and the
sending sites through no longer trusts the distrusted emSign
intermediates:
rustls-webpki0.103.16 rejects their public keys (RUSTSEC-2026-0382), andwebpki-rootsandwebpki-root-certs1.0.10 drop the root that allowed them (RUSTSEC-2026-0381, RUSTSEC-2026-0383, GHSA-6q27-c9m3-vj9m). - The bridge and operator console images no longer trust the compromised
eMudhra (emSign) intermediates in the system trust store (Debian
DSA-6572-1, GHSA-6q27-c9m3-vj9m, #1140). The distroless base
gcr.io/distroless/static-debian13:nonrootmoves to index digestd620678, which shipsca-certificates20250419+deb13u1, in theFROMofdocker/Dockerfileanddocker/console/Dockerfileand in the pin row.
0.0.10 - 2026-10-19
The openEHR demographics release. The FHIR facade serves Patient,
Practitioner, PractitionerRole and Organization from FHIRconnect party
contexts over the ITS-REST 1.1.0 Demographic API, searches them through the
Cadasto experimental AQL demographic extension, chains clinical searches
through the patient identifier, and gives a created Patient its EHR. The
terminology lane authenticates with OAuth 2.0 client credentials, and the
static bearer token is gone from both upstreams.
Added
-
The terminology lane authenticates with the OAuth 2.0 client credentials grant (#962):
[terminology.credentials.oauth]takes the keys of[cdr.credentials.oauth], and the same token cache obtains the token, shares it across calls, renews it before it expires, and renews it once when the terminology server answers401. A renewal that obtains no token ends the call with the terminology server’s refusal and the token endpoint’s error.ferrobridge-term0.1.129 addsconfig::Credentials::OAuthover a caller-suppliedconfig::TokenProvider, and theerror::Error::Tokenanderror::Error::Renewalvariants.ferrobridge-validatormoves to 0.1.129 with it. -
The party search takes
name,_idand_count=0besideidentifier(#931).namematches a name that starts with the value, case-insensitively as R4 string search asks:[facade.party_search.types.<Type>] name_querybinds the value as typed, in lower case and capitalised, because the extension’sLIKEis case-sensitive; other case forms and accents are a stated gap._idreads the one party it names._count=0answers the number of matches intotalwith no entries (R4 search §3.1.1.5.3), and_countis capped atsearch_count_max. A bare identifier value two parties carry answers both. A type’squeryis now optional, and theCapabilityStatementdeclares exactly the parameters each type takes. -
A
Patientcreated in a party context gets its EHR under the subject link when[facade] ehr_policyiscreate_on_first_write(#932): the facade finds the EHR keyed by the new party’s id, or creates it with that id inEHR_STATUS.subject, so the clinical resources that name thePatientfind it. Underexistingthe create sends no EHR call. A failed EHR call after the party committed answers the EHR refusal with a warning naming the storedPatient. No specification governs this: our own design. -
fhir-types0.1.127: everyschema::FieldSchemacarriestarget_profiles, theElementDefinition.type.targetProfilecanonicals of the element’s types in definition order, in all five versions (#926), so a consumer reads which resource types aReferenceadmits from the element table. A consumer that builds aFieldSchemaliteral adds the field. -
The facade’s subject search parameters take the
:identifiermodifier (#923):Condition?patient:identifier=[system]|[value]matches theReference.identifierof a resource’s subject (R4 search.html §3.1.1.4.12). That identifier is the subject the identity map keys by system and value, which the facade renders as an identifier. A subject rendered as a literal reference carries none and matches nothing, and so does|[value].[value]alone and[system]|answer400 not-supported, because the map keys a subject by system and value. No specification governs the identity map: our own design. -
The facade searches
Patient,Practitioner,PractitionerRoleandOrganizationbyidentifierthrough the Cadasto experimental AQL demographic extension, behind[facade.party_search]with one configured query per type (#480). Each page runs the query withoffsetandfetchand reads every party it names over the Demographic API. A CDR that answers400to the query, as one without the extension does, answers501withnot-supportednaming the extension. TheCapabilityStatementdeclaressearch-typeandidentifieron exactly the configured types, and a configured type no party context serves refuses to boot.docs/architecture.md§4.12 writes down the dialect’s semantics as the extension’s guide documents them and Cadasto observed them, with the findings Cadasto plans to change. No specification governs the extension: our own design. -
The FHIR facade serves
Patient,Practitioner,PractitionerRoleandOrganizationfrom party contexts over the ITS-REST 1.1.0 Demographic API, DEVELOPMENT, behind[cdr] demographic(#470). Read, vread,GET [type]/[id]/_history, create, update (overIf-Matchor the latest version) andDELETE [type]/[id], which answernot-supportedfor a type no party context serves; a party context with the key off is a boot refusal. The id is the party’sversioned_object_uidandmeta.versionIdits version tree id, with no identity-map entry; a Demographic API400answers500, and404,409,412and422answer as themselves. TheCapabilityStatementdeclares the six interactions and no search per party type. No specification governs a party context: our own design. -
A party context maps
ROLE.performer, the mandatoryPARTY_REFno template node holds (RM Demographic IM, theROLEclass), as$archetype/performer, so the facade creates and updates aPractitionerRole(#911).PractitionerRole.practitionermust name aPractitionerthe facade serves, relative or under its base, with nothing besidereference. It becomesPARTY_REF {namespace "demographic", type "ACTOR", id HIER_OBJECT_ID <uid>}and reads back asPractitioner/<uid>, the type taken from the element’stargetProfile. A reference of another server (EngineError::ForeignParty), of another type, carrying a display, or local to the request answers422, and aROLEwith noperformer, built or served, is refused (PartyError::RoleWithoutPerformer). An element whose reference admits no single type is refused at load (fc-party-ref-target).fhirconnect0.1.151 addsRmValue::PartyRef, thePARTY_REF-against-Referencepair,EngineError::ForeignPartyandEngineError::PartyRefTarget, which breaks an exhaustive match over either enum;openehr-mapping-core0.1.118 addsPartyError::RoleWithoutPerformerthe same way. No specification governs this correspondence: our own design. -
The facade’s search chains through the patient identifier (#492):
Observation?patient.identifier=MRN-1,subject.identifierandsubject:Patient.identifier, on every type a search declaration answers. With[facade.identifier_search] enabled, a configured demographic AQL query in Cadasto’s experimental extension resolves the identifier to its parties, each party’s uid names a patient, and the EHR comes from the identity map orGET /ehr?subject_id=. An unknown identifier answers an empty searchset with no clinical query, and_count=0answers the total alone. A value naming a system needssystem_query. TheCapabilityStatementdocuments the chain on each subject parameter while it is on. No specification governs the resolution: our own design. -
A party program runs through the engine (#905).
WebTemplateIndex:: build_partybuilds a canonicalPERSON,ORGANISATIONorROLEfrom the node values a party context writes, through theopenehr-rmtypes: the objects between two template nodes are the ones the OPT 1.4 constrains there, named by their rubric, every list attribute is an array, no composition attribute is written, and the result decodes strictly as the root’s class (PartyError::Invalidotherwise).openehr-sdt0.0.87 builds no correct party (#897, FerroHEALTH/FerroEHR#3810).fhirconnect’sengine::traverse::party::to_partyandfrom_partymap a FHIR resource to a party and back;WebTemplateIndex::readreads anyCanonicalDocument. No specification governs a party build: our own design. -
FHIR
Organizationround-trips through the KDS laboratory request chain (#543). The publishedKDS_Laborauftragtemplate is vendored byscripts/vendor/kds-laborauftrag-opt.shat the openFHIR commitdocs/VERSIONS.mdpins, and a FerroBRIDGE project context compiles the library’sorganisation.v1.ymlverbatim, reached through the service request’sreferenceto its requester: a containedOrganizationmaps into theEinsendercluster and comes back as a createdOrganizationthe request references, and both lens laws hold.organisation.v1.ymljoins the mapping-library pass list andkds_laborauftragthe round-trip list; every published file of the chain that does not compile is pinned by file and line. -
FHIRconnect party contexts compile (#898). A context whose operational template is rooted at a
PERSON,ORGANISATIONorROLEis a party context, read from the RM type of the template root, andProgram::partynames the class. A party context refuses at load, each with a code of its own:$composition(fc-party-composition-variable), a path naming a composition attribute the defaults orctx/set (fc-party-composition-field),participationsFunction(fc-party-participation),link(fc-party-link) and entering a context whosestartslots a composition (fc-party-sub-context-composition).to_openehrandto_fhirrefuse a party program withEngineError::PartyProgramuntil the party build lands (#897). No specification governs a party context: our own design. Breaking for a consumer that matchesResolveCodeorEngineErrorexhaustively: add the new arms.
Changed
-
Only the newest release is supported (#979).
SECURITY.mdsays that every earlier release stops receiving fixes when a new one is published, with no maintenance branches, no long-term-support line and no backports, and that upgrading is free. Cadasto B.V. commits to keep publishing security fixes for at least five years after each release (Regulation (EU) 2024/2847 Art 13(8)) and ships them only in the newest release (Art 13(10)). -
A CDR that refuses the chained
patient.identifierquery of the Cadasto experimental AQL demographic extension now answers501withnot-supported, the answer the party search gives, where it answered500(#954). Both paths go through one status function, naming the extension and carrying the CDR’s words. -
Breaking for a library consumer of
fhirconnect0.1.148:fhirconnect::resolve::program::binding::PartyClassis gone, andProgram::partyanswersopenehr_mapping_core::party::PartyClass; a consumer imports it from there.EngineErrorgainsCompositionProgramandPartyBuild, and a consumer that matches it exhaustively adds the arms. -
The operator console draws with
ferrohealth-ui0.1.4 (#904). The dashboard’s build instant reads on one line as the library draws every date-time, in UTC and cut to the second, with the value as the bridge sent it in its title. On a phone the dashboard’s tiles are compact one-line tiles, and a disabled field keeps its edge in the dark theme. -
The operator console draws with
ferrohealth-ui0.1.5 (#924), the FerroUI release every FerroHEALTH console moves to together. The console looks the same: 0.1.5 adds a per-row form field and a header title it does not use yet, and its browser half no longer asks for a wasm-bindgen of its own. -
The operator console draws with
ferrohealth-ui0.1.6 (#948), the FerroUI release every FerroHEALTH console moves to together. The console looks the same: 0.1.6 adds the shared field shapes the other consoles needed, and the console’s fields already draw through the library. -
The operator console draws with
ferrohealth-ui0.1.7 and is ready for more languages, English the one that ships (#956). The library’s words and the console’s come from Fluent catalogs, the console’s underapp/ferrobridge-viewer/locales/, so a language joins as a catalog file with no code change. The locale is chosen once per request, the best language ofAccept-Languagethe console’s catalog holds or else the new[server] locale(defaulten), and the page writes it as<html lang>.scripts/checks/stray-literals.shfails CI on a console string outside the catalog beyond the per-file baseline the remaining strings hold while they move. -
The README, the landing page and the build-order page name v0.0.9 as the latest release, and
scripts/checks/versions.shcompares the release each names with the workspace version and its changelog date, so the next cut fails the guard until they move with it (#908).
Removed
- Breaking: the static bearer token is gone from
[cdr.credentials]and[terminology.credentials](#961). The bridge authenticates to an upstream with RFC 7617 basic authentication, or to the CDR with a token it obtains through the OAuth 2.0 client credentials grant ([cdr.credentials.oauth]). A configuration that still setsbearer_tokenorbearer_token_file, or theFERROBRIDGE__CDR__CREDENTIALS__BEARER_TOKEN[_FILE]andFERROBRIDGE__TERMINOLOGY__CREDENTIALS__BEARER_TOKEN[_FILE]variables, refuses to start on an unknown key. Replace it withuserandpassword_file, or for the CDR with[cdr.credentials.oauth]. The compose quickstart’scdr_bearer_tokensecret is nowcdr_password, read throughFERROBRIDGE__CDR__CREDENTIALS__PASSWORD_FILEbesideFERROBRIDGE__CDR__CREDENTIALS__USER, and the quickstart passes theFERROBRIDGE__CDR__CREDENTIALS__OAUTH__variables through. The Operate page recommends the OAuth path when the FHIR facade and the CDR are separate audiences of one authorization server (#952).ferrobridge-term0.1.128 dropsconfig::Credentials::Bearer, and the server’sCdrConfig::with_credentialsbecomeswith_basic; a consumer passes a user and a password.
Fixed
- The compose quickstart passes the terminology server’s credential
variables through to the bridge,
FERROBRIDGE__TERMINOLOGY__CREDENTIALS__USERand__PASSWORD_FILEfor basic authentication and the five__OAUTH__variables for the client credentials grant, as it does for the CDR, and mounts a newterminology_passwordsecret (#976). Createsecrets/terminology_passwordbefore the nextdocker compose up; it may be empty when the terminology server checks no credentials. The CI compose check asserts every CDR and terminology credential variable reaches the bridge. scripts/checks/crate-version-guard.shdiffs from the merge base of its base ref and the head, and the CI job passes the target branch as fetched now, so a crate changemaingained after a pull request forked is no longer counted against that pull request (#969).--self-testreproduces that case over a scratch repository, and the CIversionsjob runs it.scripts/gh/watch-prs.shjudges only the newest run of each workflow on a pull request’s head, so the failed jobs of a run a later push superseded or cancelled no longer stop it as red (#955).--self-testchecks the verdict against fixture checks, and the CItracker-helpersjob runs it.- A chained
patient.identifier,subject.identifierorsubject:Patient.identifiervalue that more than one patient carries now matches the clinical resources of every one of them (#944). The facade answered400 multiple-matchesinstead, which was non-conformant: FHIR R4 search §3.1.1.4.10 matches a bare value “irrespective of the value of the system property”, §3.1.1.4.15 answers every matching target, and R4’s one refusal there is for a chain whose matches span resource types. The default[facade.identifier_search] querydrops itsLIMIT 2; a configured query with aLIMITshould drop it too. - A FHIRconnect run into openEHR declares every
INSTRUCTION.narrativeit leaves to the FLAT builder (#919). The narrative is a mandatoryDV_TEXT(RM EHR IM §INSTRUCTION), and the builder fills one no mapping writes with a placeholder text. The run now records it as one moreLoss::Defaultedwarning per instruction instance, and in the composition’sFEEDER_AUDITwhen the run carries an origin, so the stored composition names the value no mapping wrote. scripts/gh/watch-prs.shno longer stops on a changelog conflict whose[Unreleased]keeps a blank line between two bullets or a heading with no blank line above it (#946). The entry merge keeps the blank line between bullets, renders a heading with one above it, and refuses only when the text lines would not read back in order, naming the first such line.- A pull request merged after a release no longer files its changelog
entries under that release (#913).
scripts/gh/watch-prs.shmergesCHANGELOG.mdby entry through the newscripts/gh/changelog-merge.sh, which keeps a branch’s entries under[Unreleased], also when a clean line merge would have placed them under a version cut meanwhile.scripts/checks/changelog-released.shfails CI when a released section from 0.0.9 on differs from its text at its tag.
0.0.9 - 2026-10-19
Added
-
The ITS-REST 1.1.0 Demographic API, DEVELOPMENT, behind
[cdr] demographic(off by default; #894). The Demographic OpenAPI document is vendored beside the other ITS-REST documents, itsx-status: DEVELOPMENTchecked, and a test holds the generatedopenehr-itsclient to every operation it declares.CdrClient::demographicreads, creates, updates and deletesPERSON,ORGANISATIONandROLE; a400,404,409,412or422maps to a facade answer throughfacade::status::demographic. A Release 1.1.0PARTYthat carriesreverse_relationshipsreads: the member is dropped before the decode and the dropped entries are counted, because each one restates a relationship the repository holds (RM Demographic IM Release 1.1.0 §2.2.1; #845). No FHIR resource is served from it yet. -
A FHIRconnect sub-context’s
template.idis checked against the template the parent’s OPT 1.4 states at the slot node (C_ARCHETYPE_ROOT.template_id, read by the newWebTemplateIndex::embedded_template). A different template is refused asfc-sub-context-template-mismatch, and a slot node that states none leaves the warningfc-sub-context-template-undecided(sub-contexts.adoc§Validation errors;openehr-mapping-core0.1.115,fhirconnect0.1.145; #886). -
FHIRconnect sub-contexts (#864,
types-of-mapping-files/sub-contexts.adoc).fhirconnect0.1.143 readsslotContexton a mapping, andscope(rootorsub) andcontextson a context. The strict schemas carry all three, withslotArchetypeandslotContextmutually exclusive.- The semantic rules refuse:
- a
slotContextor acontextsentry naming no loaded context; - a
slotContextatopenehr: $reference; - a
scope: subcontext no context lists; - a cycle through
contexts.
- a
- The resolver compiles a
slotContextinto the parent program asMethod::SlotContext, from the entered context’sstartwith that context’s own extensions and against the parent’s template, and skips the composition slot of a root context entered this way. It refuses:- a sub-context compiled as a root;
- a
slotContextthe entering context does not list; - a sub-context whose
startslots a composition; - a
startthat does not match the slot’s archetype.
- The engine maps a sub-context into the parent composition in both
directions, and
Outcome::consumednames the resource aslotContextpulled in through areference. - The server loads only root contexts as programs and never fetches a
sub-context’s template. A transaction passes over, as a root, an entry
another entry’s
slotContextconsumed, and answers it200 OKwith no location of its own. An entry nothing consumes is still processed as a root.
- The semantic rules refuse:
-
fhir-types0.1.126 readsValueSetandCodeSystemrelease-neutrally (#876).definition::ValueSetReadcovers the composition (includes, excludes, filters, imports,inactive) and the expansion, anddefinition::CodeSystemReadcovers content, hierarchy meaning, case sensitivity, the declared properties and the concepts. A nested concept or expansion entry is read through the same trait as its parent (ConceptRead,ContainsRead). Every version implements them from its own package, and STU3’suriimports read as R4’s canonicals. The profile validator now decides STU3 bindings from the STU3ValueSetsandCodeSystemsof the package set as it does R4 ones.Releasenames the release’sValueSetandCodeSystem,PackageSet::value_setandcode_systemanswer in the release’s model, andReason::TerminologyNotReadis gone. -
A
Patientkeys its own EHR through the configured subject link (#867). Under[facade] subject_id_form = "logical_id"or"uuid"a Patient create or update finds or provisions its EHR by its logical id insubject_namespace, the id aPatient/<id>reference of its resources names, so on a CDR whose owner links each EHR under its own namespace the Patient and its resources reach one EHR. A Patient with noid, or underuuidone whoseidis no UUID, is refused namingfacade.subject_id_form. In a Bundle, a subject reference to a Patient entry that carries anidkeys by that id too, and one without anid, such as an HL7 v2 message’s Patient, keeps the identifier key. Underreferencenothing changes. -
The profile validator validates STU3 resources against STU3 profiles (#838).
PackageSet::<Stu3>::load_releasereads a package set as STU3, andValidatorover it walks the STU3 element table with the checks, refusals and unevaluated listing of R4: cardinality, the types of a choice, the single STU3type.profileandtype.targetProfile, slicing, the lexical forms of the STU3 package, invariants as FHIRPath over the STU3 types, and extension contexts in STU3’sresource,datatypeandextensioncodes. The walk is generic over the sealedrelease::Release(R4,Stu3) and reads every definition through the release-neutralfhir_types::definitionread.PackageSetandValidatortake the release as a type parameter defaulting to R4, andPackageSet::loadandPackageSet::newstill read R4. An STU3 binding is never decided from the package set, since itsValueSetsandCodeSystemshave no release-neutral read yet (#876): it is listed with the newReason::TerminologyNotReadand kept for a terminology server. -
The facade’s patient-to-EHR link is configured to match the CDR owner’s own link (#467).
[facade] subject_typesets thePARTY_REF.typeof the subject of an EHR the facade creates (defaultPERSON, until now fixed), and[facade] subject_id_formsets how the id of a literal subject reference is written:reference(the default,Patient/<id>as before),logical_id(the bare<id>) oruuid(the bare<id>, refused with a diagnostic naming the key when it is no UUID). Asubject_typeoutside the BASEPARTY_REFType_validityset, or asubject_namespacethat breaks theOBJECT_REFnamespace rule, refuses the boot naming the key; both are checked throughopenehr-base. The bridge never derives a subject id the CDR mints itself, such as a pseudonym. -
fhir-types0.1.124 completes the release-neutral definition read (#859).ElementDefinitionReadgainsis_modifier, and its reads carry a type’sregex, a binding’smax_value_setand a constraint’sbest_practice, read from the core extensions with those urls in every version (STU3 statesmaxValueSetas aReference, R4 as acanonical; the R5 and R6 core packages define neither of the two binding and constraint extensions). The newStructureDefinitionReadreads the url, version, type, base definition, kind,abstract, derivation, snapshot, contexts and context invariants of every version: an STU3 context (onecontextTypebeside a list of strings) reads as the sameContextReadentries as an R4 context, each release keeping its own type codes.fhirconnectmoves to 0.1.140 for the requirement. Breaking for a consumer that buildsTypeRead,BindingReadorConstraintReadliterals, or implementsElementDefinitionReaditself. -
The ITS-REST 1.1.0 Overview and System OpenAPI documents are vendored beside EHR, Query and Definition (#478). All five are
x-status: STABLEat tagRelease-1.1.0. The Overview defines the common headers the CDR client sends (openehr-version,openehr-audit-details,openehr-template-id), and System defines theOPTIONS /capability call.scripts/vendor/its-rest.shfetches and checks all five, and the corpus test reads each. -
The FHIRPath evaluator has an STU3 type model,
model::stu3::Stu3, over the generated STU3 element table (#837), so paths,ofType(),isandasresolve against STU3 types (an STU3valueAttachment,Patient.animal). Every STU3 core invariant with a typed element passes the static check, except the two the package publishes with a defect (inv-1,sdf-15).
Changed
-
Breaking for a library consumer of
fhirconnect0.1.146: a demographicReference.referenceresolves through the newDemographicsseam (engine::demographics, #469), and theSeamsdefault,NoDemographics, refuses it. A consumer installsIssuerDemographics(the ids of its own FHIR server, the fallbackengine/demographics.adocnames) or its ownDemographicswithSeams::with_demographics. The identity travels inPARTY_IDENTIFIED.identifierswhere the FLAT format carries it, and inPARTY_PROXY.external_refon the composer and on a participation’s performer; a read turns it back into the reference. The server installs the facade-base port,[facade] base_urlis checked at boot as its issuer, and the operations lane uses it when the facade is configured. -
ferrobridge-validator,ferrobridge-termandferrobridge-fhirpathjoin the crate line at 0.1.126, leaving their 0.0.0 name reservations, so the next publish ships the validator as it stands onmain. Pin each exactly, as for every crate of the line (#432). -
The operator console draws with
ferrohealth-ui0.1.3, the FerroHEALTH component library the four consoles share (#850). It keeps only its brand theme and its screens: the shell, the cards, tables, pagers, code panels, forms, refusals and empty states are the library’s, its icons are the library’s Lucide glyphs, and the console’s own Tailwind stylesheet, style module and highlighter are gone; the site build no longer installs the Tailwind CSS CLI (#890). The top bar carries the one theme toggle, a moon in the light theme and a sun in the dark one, which posts with no script and, once hydrated, swaps the theme in place while the server keeps the choice in its cookie. The playground (its navigation entry now reads “Playground”) takes its composition, Bundle and resource in JSON editors with numbered lines, shows its answers as highlighted JSON in bounded panels, and an issue row shows itsdetails.textand the openEHR path it names. The mapping editor highlights the draft as YAML with numbered lines as you type, marks the lines a check’s diagnostics name, and links each diagnostic to its line. A mapping or a resource without a profile says “none”. The dashboard’s Bridge card carries the build facts across one row with the file counts the tiles leave out, a table column no row fills is left out, and every screen reads at 390 CSS pixels as well as 1440. -
The README’s generated badge block keeps the two HL7 v2 corpus badges in view and folds the per-family and per-version badges into a collapsed block, which
scripts/checks/conformance.sh --updaterenders (#860). -
The FHIRconnect specification source moves to upstream commit
e5871641, which carries the merged REST API chapter (pull request #93) and the sub-contexts (pull request #100) (#477). The chapter is no longer a draft with a pin of its own:scripts/vendor/fhirconnect.shvendors it and its FSH operation definitions (rest/) from the one commit, anddocs/specs/fhirconnect/draft-rest-api/is gone. The conformance corpus, its badge and the worked-example fixtures are renamedrest-api. Against the head the bridge first implemented, the merged chapter changes no FSH definition and no worked example; it adds that thecontextfields are a fixed list an engine MUST refuse to extend, which$tofhiralready refused and a test now asserts by name. Upstream re-rendered both published v1.0.0 schemas in place, addingspec.unidirectionalandoperational; the bridge adopts the new render, re-records both sha256 values indocs/architecture.md§2, and reports the in-place change as #856. No refusal of the strict schemas changes. The sub-contexts are filed as #864.fhirconnect0.1.139. -
The openEHR RM is pinned (#476): the conformance target is RM Release 1.1.0, the newest published release, and the code compiles against the
openehr_rm::v1_2development generation, whichopenehr-sdtandopenehr-itsbuild on.docs/VERSIONS.mdanddocs/architecture.md§2 carry the sixth specification row and whatv1_2changes against Release 1.1.0 (EHR.tags,GENERIC_ENTRY.datawidened toITEM,PARTY.reverse_relationshipsremoved); §3 records the1.2.0ARCHETYPED.rm_versionstamp as a deviation (#844).scripts/checks/versions.shcompares six specification pins and fails a hand-writtenopenehr_rm::v1_Npath underapp/,crates/ortools/that names another generation. -
scripts/vendor/profile-packages.shhashes a profile package tree once (#840): the count and digest of a verified tree are stamped under the ignoredtarget/with a fingerprint of its files’ sizes and modification and change times, and a run that finds the fingerprint unchanged reads them from the stamp and says so. A changed or added file changes the fingerprint and the tree is hashed again; the pin is compared on every run. A second run over the 17 trees takes about 2 seconds instead of about 3 minutes..gitignorerefuses the*.pending-snapand*.snap.newfiles insta writes (#839).
Fixed
- A demographic
Reference.reference(a recorder, a provider, a participant) was dropped without a trace on the way into openEHR; it now reaches the composition as the identity the demographics endpoint gives it, or the run refuses (#469). The unusedLoss::DeferredReferenceis gone. - Every composition the bridge builds, and every
EHR_STATUSthe facade creates, names RM Release 1.1.0 inARCHETYPED.rm_versionin place of 1.2.0, a release openEHR has not published (RM Common IM Release 1.1.0 §3.2.3). A composition holding aGENERIC_ENTRYwhosedatais noITEM_TREE, which only the development line admits, keeps 1.2.0 (openehr-mapping-core0.1.114,fhirconnect0.1.144; #844). fhir-types0.1.125: the release-neutralTypeRead::regexreads a primitive’s lexical form from the STU3 extensionstructuredefinition-regexas well as from R4’sregex, so an STU3 primitive such asdate.valuereads its form instead of none (#875).
0.0.8 - 2026-10-18
Added
-
fhir-types0.1.123 carries a release-neutral read ofElementDefinition,definition::ElementDefinitionRead, implemented for every version’s generatedElementDefinitionfrom that version’s package (#836). It reads the element id, path, slice name, cardinality,maxLength,contentReference, the types with their profiles, target profiles, aggregation and versioning, the binding strength and value set, the constraints, the slicing, andfixed[x]andpattern[x]in their JSON form. STU3’s singletype.profileandtype.targetProfileread as lists, and itsbinding.valueSetUriorvalueSetReferenceas the value set’s URL (STU3 and R4 elementdefinition.html), so the profile validator can read STU3 definitions without a second model.fhirconnectmoves to 0.1.138 with the requirement. -
The R4 profile validator is held to the HL7 FHIR Validator 6.10.4 on a synthetic corpus, the
validator-agreementconformance corpus (#442): ten cases (conforming resources, and resources that break one invariant, one required binding, one profile cardinality, one slice and one entry profile, the EU ones againstpatient-eu-coreandbundle-eu-eps), the reference outcomes recorded beside them, andscripts/vendor/hl7-validator-agreement.sh, which fetches the jar and the packages it loads by sha256 from the new “HL7 FHIR Validator” table ofdocs/VERSIONS.mdand regenerates the outcomes offline. Nine of ten agree; the tenth is adjudicated in the test (the reference indexes a Bundle entry off by one, FHIRPath N1 §5.3.1). -
fhirconnect0.1.136 holds every FHIR resource a run out of openEHR produces or creates to R4ext-1before it leaves the engine (#651). An extension with a url and no value, or with a value and nested extensions, refuses the run as the newEngineError::Invariant, naming the constraint and the instance path, so a facade read or a$tofhircall refuses it instead of answering a resource that breaks an error-severity constraint (R4 conformance-rules.html §2.1.0.6).engine::invariantholds the checks, one per constraint key;docs/architecture.md§4.4 records why they are targeted checks and not FHIRPath evaluation. A consumer matchingEngineErrorexhaustively gains a variant. -
The operator console has browser journeys, screenshots and a book page (#602). The journeys drive headless Chrome through chromedriver with the
thirtyfourWebDriver client against a running bridge (ferrobridge serve’s run path over awiremockCDR and a synthetic mapping tree) and a running console serving its release site bundle, and fail on any error the browser logs. They cover the sign-in, the shell and its theme switch and sign-out, the engine state, every mapping file view, the transform playground (an answer, a refusal, and an operations lane that is off) and the mapping editor end to end: a refused draft leaves the disk and the running set unchanged, a save is byte-identical and reloads the programs, and the bridge’s audit line names the actor and the file and nothing of the draft. They run behindFERROBRIDGE_JOURNEYS=1in the newjourneys (browser)CI job at the Chrome for Testing releasedocs/VERSIONS.mdpins, whichscripts/release/journey-tools.shinstalls locally.FERROBRIDGE_SCREENSHOTS=1captures every console page in light and dark at 1440 pixels for the book’s operator console page, and a guard in the ordinary suite fails on a console route without both images. The test OpenID Provider of the testkit can now sign a real browser in. -
The FHIRPath evaluator admits the functions FHIRPath 3.0.0 adds as Standard for Trial Use behind the opt-in
Environment::with_fhirpath_stu3_functions(#633), so the default stays FHIRPath N1 2.0.0, the release FHIR R4 cites. This change implementsmatchesFull(),trim(),split(),join(),encode(),decode(),escape()andunescape(). HL7’s FHIRPath R4 suite now counts as two corpora with a badge each:fhirpath-r4(874 of 886, N1) andfhirpath-r4-stu3(33 of 104, the tests that call one of the 13 3.0.0 functions, run with the opt-in). -
The FHIRPath 3.0.0 opt-in adds
lowBoundary(),highBoundary(),precision()andcomparable()(#633). A decimal boundary is half a unit of its last place away, rounded outward to the precision asked for. A date and time boundary fills the missing components and keeps the value’s own offset, as the 3.0.0 examples show.fhirpath-r4-stu3moves to 85 of 104; the suite cases that contradict those examples are the upstream report #815. -
The FHIRPath 3.0.0 opt-in adds
sort(), with theascanddesckey directions of the 3.0.0 grammar’ssortArgument(#633), which completes the 13 functions.fhirpath-r4-stu3moves to 93 of 104. -
The FHIRPath evaluator has a strict ordering mode,
Environment::with_strict_ordering, off by default (#636). It refusesfirst(),last(),tail(),skip(),take()and the indexer over a collection derived fromchildren()ordescendants()withEvalError::Unordered, the error FHIRPath N1 §3.1 lets an implementation return for an order-dependent operation on a list whose order is undefined. -
The profile validator checks a resource against a profile on the abstract
ResourceorDomainResource(#620): a reference target, ameta.profileclaim or aprofilediscriminator walks the resource over the profile’s elements and its own core definition for the rest, so it conforms or fails instead of being listed.Reason::AbstractProfileis gone, as nothing is listed for it any more. -
The profile validator holds every resolved extension to where its definition admits it (#481): each
StructureDefinition.contextof the typeselement,extensionandfhirpath, read as R4 defining-extensions.html §2.5.1.2 and theextension-context-typecode system define them, and eachcontextInvariantevaluated on the element holding the extension with%extensionbound to it. A misplaced extension is anextension-contexterror and a broken context invariant acontext-invarianterror; a context the walk cannot decide, and a context invariant that does not parse or evaluate, stay listed as unevaluated with the reason.Reason::ExtensionContextnow carries that reason as aString, andConstraint::ContextInvariantis new: a consumer matching the unit variant changes its pattern. -
A profile slice that holds too few items names why the closest item failed it (#490): when a
profilediscriminator, or slicing with no discriminator, keeps an item out of a slice that then falls short of its minimum, the errors of the rejected item with the fewest are reported asslice-rejectioninformation beside the cardinality error (an EPS Bundle whose Patient lacksbirthDatenow namesbirthDate). -
The profile validator holds a
Referenceor acanonicalto its element’stype.versioning(#514, R4 elementdefinition.html §2.30.0.4.4): underspecifica REST reference without_history/[vid]or a canonical without|[version]is aversioning-mismatcherror, underindependentone with a version is, and under any rule aReferencewithout a literalreferenceis. A reference that names no FHIR REST server counts as version specific (references.html,Reference.reference), soindependentlists it as unevaluated.Constraint::Versioningand the reasonsNotRestfulReferenceandVersioningRuleare new. -
The operator console ships as its own image,
ghcr.io/ferrohealth/ferrobridge-viewer(#603).docker/viewer/Dockerfilebuilds it on the bridge image’s distroless base, runs as65532:65532, and probes itself with the binary’shealthchecksubcommand. The reusablerelease-viewer.yml, called from the release lane, builds the console’s musl binaries withcargo auditableand its site bundle, attaches them to the release with their checksums, provenance and SBOMs, and pushes the multi-platform image with the same attestations and self-verification as the bridge image; a cut refuses to publish without those assets.compose.yamlgains aviewerprofile with a read-only root, every capability dropped,no-new-privileges, and the OIDC client secret as a file secret, and CI resolves the quickstart under every profile and dry-runs the console image build. -
fhir-types0.1.118 resolves a JSON member name against the element table (#483):TypeSchema::memberanswers the element an object key names, the type code a choice form such asvalueQuantityselects, and whether the key is the_sibling of a primitive (R4 json.html §2.6.2), andFieldSchema::choiceslists a choice element’s alternatives with their type codes. The profile validator uses both and drops its own copy of the choice matching. The change adds API and breaks none;fhirconnectmoves to 0.1.132 with the requirement. -
fhir-types0.1.119 lists every primitive type with the type itsStructureDefinition.baseDefinitionnames, in each version’sschema::SCHEMAS.primitives, read bySchemas::primitive_base_of(codespecializesstring) (#635). The newprimitivesfield breaks a consumer that builds aSchemasvalue by hand: it adds the field.fhirconnect0.1.133 follows the requirement.
Changed
-
FHIRPath
distinct()andisDistinct()are near-linear (#803). An item is compared with=only against the kept items that share its value’s bucket, so the result is unchanged and 10000 distinct strings take 1.5 ms where they took 1.4 s. The R4 core Bundle invariantbdl-7no longer grows quadratically with a Bundle’s entries. -
ferrobridge_fhirpath::model::path_typestypes a path that continues through a choice element (Observation.value[x].unit, theunitofQuantity) or below a primitive (string.extension, theextensionofElement), so the R4 core constraint sweep now also checks those 54 invariants (#572). Only the invariants of the five logical models remain untyped. -
The profile validator and the HL7 v2 face each state their support for an STU3 terminology server (#558). The validator supports one: a binding to a versioned value set, which STU3
$validate-codecannot carry, is set aside with the client’sUnsupportedParameterand stays listed while the other bindings are still sent, where before one such binding failed the whole batch. The HL7 v2 face does not: its translations name each table map by canonicalurl, which STU3$translatelacks, so the run fails before anything is sent.ferrobridge-termgainsClient::check, which answers whether the configured release can carry a request without sending it, and the validator’sTerminologytrait gainssupports, defaulted. -
fhirconnect0.1.135, the HL7 v2 face and the profile validator name a choice element’s JSON members through the element table’sFieldSchema::choicesandTypeSchema::member(#813), so the R4 json.html §2.6.2 naming rule lives infhir-typesalone. Breaking for a consumer offhirconnect::tree::element::Move:Move::Choicecarriesschema: &'static FieldSchemain place ofvariants, whose alternativesschema.choices()lists. -
The profile validator indexes each Bundle once per validation, its entries by
fullUrland by their resource, so resolving a reference inside a Bundle no longer scans every entry twice (#515). A synthetic document of 12002 entries validates in 3.6 s instead of 9.9 s in a release build; the matching rules of R4 bundle.html §2.36.4.1 are unchanged. -
The profile validator checks an invariant a profile declares on a choice element it narrows against the types the profile keeps (#573, R4 elementdefinition.html §2.30.0.4.2): an expression naming a member only a removed type defines is listed as refused at the check stage. An invariant the profile inherits is still checked against every type the base choice admits.
Fixed
- A facade read, vread or search whose stored composition the engine refuses
to render answers
500with anOperationOutcomewhoseissue.codeisprocessing, naming the refusal and never a clinical value (#831). It answered422before, the status of a write whose posted content is at fault; a read sends no content, so the failure is the server’s (R4 http.html §3.1.0.4). The row isfacade::status::OUTBOUND_REFUSED, with a wire test per path; a write whose content the engine refuses keeps its422. fhir-types0.1.122: the XML reader refuses an element or attribute under a prefix with no namespace declaration in scope asMalformedXmlnaming the prefix anywhere in a resource, not only inside the narrative, since such a document is not namespace-well-formed (Namespaces in XML 1.0 §5, Prefix Declared) (#830). Outside the narrative it answeredUnknownPropertyfor an attribute andWrongRootfor a root before; the refusal stays a refusal and only its kind changes.fhirconnectmoves to 0.1.137 with the requirement./health/readinessno longer answers200while the server is still handing the listener from the boot probe routes to the lanes (#796). When the CDR was not ready at boot, a successful retry marked thestartupindicator up while the probe routes, which answer503for every other route, were still serving, so readiness reported ready a moment before the lanes did. The indicator now stays down, naming the handover, until the lanes serve their own readiness.fhir-types0.1.121: the XML reader refuses a narrative element or attribute under a prefix with no namespace declaration in scope asMalformedXml, naming the prefix, since such a document is not namespace-well-formed (Namespaces in XML 1.0 §5, Prefix Declared) (#577). It refused these before asUnknownElementorUnknownProperty. The narrative content rulestxt-1andtxt-2stay invariants ofNarrative.divthat the profile validator evaluates throughhtmlChecks(), now with a test for each.fhirconnectmoves to 0.1.135 with the requirement.- The FHIRPath
isoperator andis()function test a FHIR primitive against the types it specializes, soPatient.gender is stringis true, as FHIRPath N1 §6.3.1 and the R4codedefinition ask;ofType()andaskeep every primitive an independent type (FHIR R4 fhirpath.html §2.9.1.5) (#635). - A FHIRconnect operation the operations lane cannot serve answers with the
true reason (#810). With
[operations] enabled = falsethe503now says[operations] enabled is false; it said “no mapping set is configured” even when[mappings] directorywas set, which is still the reason when it is not. - The operator console’s theme switch returns to the page it was used on
(#602). It returned only to the dashboard and the About page, so a switch
on any page added since landed elsewhere; it now returns to every route
of the console, a file path below
/filesand/editincluded, and still never off the console. - The operator console serves the brand favicon at
/favicon.ico(#602). Every first page a browser loaded asked for it and logged a404. - A bridge refusal the console draws carries each issue’s
details.textas well as itsdiagnostics(#602). The FHIRconnect operations put their reason indetails.text, so a refused$tofhiror$toopenehrshowed its status and no reason. - The profile validator holds a child that a profile’s snapshot leaves out to the core definition of the type declaring it (#484), so the core bindings, invariants and fixed values of that child apply. Before, a partial snapshot left such a child with no element definition at all.
fhir-types0.1.119 holds the logical id of every resource to theidform,[A-Za-z0-9\-\.]{1,64}, in every version (#482). The published definitions typeResource.idasid(R4 resource-definitions.html#Resource.id), while the R4 4.0.1 package and 123 resource snapshots of the R6 ballot5 package statestring(upstream report #798). The R4 and R6 element tables now listidfor every resource’sid, the generated decoders refuse an R4 or R6 resource whose id has a space, another character outside the form or more than 64 characters, and the profile validator reports it aslexical-form. A consumer that decoded such a resource before gets aBadValueerror at<Type>.id. One R4 example leaves thefhir-r4pass list, aSearchParameterwhose 67-character id breaks the form.fhirconnectmoves to 0.1.133 with the requirement.fhir-types0.1.120 refuses a resource whose required repeating element is absent (#312): a1..*element such asProvenance.targetorSearchParameter.basefails to decode withMissingPropertyat its own path (R4 elementdefinition-definitions.html#ElementDefinition.min), and an empty array or a too-short one fails there too (json.html §2.6.2), where an empty array was reported at its parent. APath::lenientreader keeps the items it finds. Each string primitive’s lexical form is public as<Primitive>::check(text)with the newcodec::LexicalError, and each version’sprimitives::check_value(code, value)decodes a JSON value as the primitive a type code names; the HL7 v2 face checks a value with it in place of decoding a probeExtension. A consumer that decoded a resource missing a required list before gets an error now. Thefhir-stu3,fhir-r4andfhir-r4bpass lists lose theSearchParameterexamples that carry nobase.fhirconnectmoves to 0.1.134 with the requirement.
0.0.7 - 2026-10-17
Changed
-
The bridge’s health and operator documents have one definition (#777): the new library crate
ferrobridge-operator-apiholds them as serde types, the server writes/health/info,/health/readiness, the engine state, the file listing and every load report through them, and the operator console reads them back into the same types, so a renamed field fails the build of both. The wire JSON is unchanged. The console’s server half now links three workspace crates, andtests/it/boundary.rsholds it to them. -
A facade search translates a
conceptmapcode once per request (#763): the page and itsBundle.totalshare the answers of one terminology session, so a code repeated across their entries costs oneConceptMap/$translatecall. Nothing is kept past the request. -
The facade, the FHIRconnect operations lane,
mapping checkand the operator API load a FHIRconnect set through one path,mappings::compile(#725): one read, one template resolution from the template directory or the CDR, one compile loop. The boot refusals are unchanged. -
fhirconnect0.1.131: the four seam traits,ReferenceSource,IdentitySink,TerminologyandMappingFunctions, requireSend + Sync, and a compile-time assertion keepsSeamsSend, so an async caller holds the seams of a run across an.await(#764). This breaks the crate’s public API: an implementation that holds aCellor aRefCellmoves to aMutexor an atomic. The facade’s transaction path now looks a reference up in the Bundle’s own entries throughBundleReferencesinstead of copying them into its resolved set. -
A facade search lists every resource a
hierarchy.splitwithcreate: resourcecreates beside the entry’s own resource, each once (#731). A page holds at most_countresources and may end between two occurrences of one entry,Bundle.totalcounts every resource (the count reads the rows for such a context), and an_idnaming a created resource answers that resource alone instead of matching nothing. -
fhirconnect0.1.130: the fouroperations::runentry points (to_fhir,to_fhir_with_warnings,to_openehr,to_openehr_with_warnings) take the caller’s&Seamsin place of a&dyn MappingFunctions(#722), so a caller supplies the terminology server beside the mapping functions. This breaks the crate’s public API: a consumer passes&Seams::default().with_functions(functions)where it passedfunctions.$toopenehrresolves a reference outside the request Bundle through the reference source the seams carry. -
The facade resolves a reference a request names and does not carry, for a
referencemapping that reads it (#224). A relative reference, or one under[facade] base_url, is read through the identity map and the CDR; an absolute one is fetched only from a base listed in the new[facade.references] fetch_bases(empty by default, so nothing is fetched until you list a base), with redirects refused,timeout_ms(default 10000) per fetch andmax_depthlevels (default 2), each reference once. A reference that is not resolved is a declared skip the write proceeds without; the log names the reference, the base and the upstream status, and$validateanswers it as awarningissue. In a transaction Bundle an entry answers a reference to itsfullUrlor its<Type>/<id>first (#753). -
ferrobridge-termtranslates by concept map with an optional target system and an optionalreverse(#721). This breaks the crate’s public API:Client::translatetakes aTranslation(Translation::new(system, code)withwith_version,with_concept_map,with_target_systemandwith_reverse), andRequest::Translatewraps one. Each ofversion,url,targetsystemandreverseis sent only when it is set, as R4ConceptMap/$translatedeclares each0..1, so a FHIRconnectconceptmap, which names only the map, can be translated in both directions. -
A resource the facade’s outbound mapping creates, a further
hierarchy.splitoccurrence withcreate: resourceor the target of areferencemapping, is no longer carried as a contained resource with a#idreference (#225). It gets an identity-store binding of its own under an id derived from its parent’s entry, the creating mapping and the openEHR occurrence, stable across re-runs and composition versions, and the parent references it as<Type>/<id>.GET /fhir/<Type>/<id>and the vread answer it, aPUTof it answers405, and a type only areferencecreates is declared withreadandvreadin theCapabilityStatement. The identity store writes schema 3 and reads schemas 1 to 3; a file of schema 1 or 2 opens unchanged and is stamped 3, and a build before this one refuses a schema 3 file by name. -
The FHIRconnect operations lane reads its mapping directory through the walk the facade uses (#524), so a
.YMLor.YAMLfile is now read by both lanes; the operations lane read only the lower-case spellings before. -
The README, the book’s Licensing page and the landing page answer “do you need a commercial licence?” at a glance (#111): a table of what you are doing, what you need and the part of
LICENSEthat decides it, the same shape as the FerroHEALTH family table, with the change date and the commercial-licence contact beside it. The README’s top navigation links the table, and theferrobridge-fhirpathandferrobridge-validatorREADMEs state the terms like the other BUSL-1.1 crates. -
SECURITY.mdandCONTRIBUTING.mdkeep what is particular to FerroBRIDGE and link the FerroHEALTH family book at https://ferrohealth.eu/docs/ for the rest (#402).SECURITY.mdkeeps the supported versions, the reporting route, the response times, the scope and release verification, and links the family policy for disclosure, advisories and the support period.CONTRIBUTING.mddescribes the current build and test gate,scripts/checks/fast.sh. The README and the book’s introduction link the family book for the manufacturer, the Cyber Resilience Act, how the products fit together, and licensing and trademarks. -
The identity store records its schema (#298): a file with no schema row, which 0.0.6 or earlier wrote, reads as schema 1 and is stamped on open, and a file in a schema this build does not read stops the start with an error naming the file, the schema found and the schemas this build reads, leaving the file unchanged. The schema this build writes is in the entry for #225.
Added
-
The console edits mapping files (#608). A text area opens a file with the digest the operator API’s
ETagnames. Check sends the draft toPOST /operator/mappings/checkand shows its diagnostics inline. Save sends the draft’s exact bytes toPUT /operator/mappings/{path}underIf-Match(orIf-None-Match: *for a new file), with a one-line reason inFerrobridge-Reason, behind a confirmation the server checks again. The result takes the focus: the reload’s report after a save, the diagnostics of a refused draft (nothing written, the running set unchanged), or the412conflict when the file changed meanwhile. Reload callsPOST /operator/reload. A provisioned file opens for a check alone, and no draft reaches a log line. The WebAssembly budget rises to 314 KiB with the measurement in.claude/rules/leptos-ui.md. -
The console has a transform playground and a validation dry run (#605). The playground runs
$tofhir(a canonical or FLAT composition, a template id and acontext.patientreference) and$toopenehr(aBundle, a template id and the composition format) against the bridge’s running programs. The dry run runs$validateon a resource type theCapabilityStatementdeclares it on. What the operator enters travels in the request body alone, with autocomplete off. Every answer isno-storeand drawn on the server: theBundle’s resources, the composition, and theOperationOutcomeissues ordered by severity, with the raw JSON behind a disclosure. A refusal shows its status and diagnostics, and nothing is stored or logged. A form waits for its page to hydrate, and a plain post is refused before the bridge is asked. -
The console shows the mapping files (#607): the list from
GET /operator/mappingswith each file’s language, kind, owner, whether it is writable and its diagnostics count, and each file at/files/{path}fromGET /operator/mappings/{path}, verbatim, one numbered line per line, its YAML highlighted on the server and its SHA-256 from theETag. Beside each file are the running load’s diagnostics about it, read intoopenehr_mapping_core::diagnostic::Diagnosticand each linked to its line. A file that is not UTF-8 is refused, never shown altered, and a path that is not plain names below a root is refused before the bridge is asked. -
The console shows the engine state (#604). The dashboard has the bridge’s build facts, pins, lanes and listeners from
GET /health/info, its readiness indicators fromGET /health/readiness, and the counts of its running load fromGET /operator/state. The capability screen shows the R4CapabilityStatementas cards for its resources with their interactions, search parameters and operations, the system level and the security, with the JSON behind a disclosure and the SMART discovery document beside it. The mappings overview shows each context’s program with its template, profile, resource type, models, extensions and search declaration, the templates with their source, the OMOCL files, and every diagnostic, read intoopenehr_mapping_core::diagnostic::Diagnostic. Each screen is drawn on the server. A refused or unreachable call draws its status and diagnostics, or the fault, in its section. -
The console has its shell and visual system (#601): a role layer (
surface,ink,muted,accentand the status tints) derived from the “Indigo & Iron” brand tokens, the light, dark and system themes drawn by the server from a cookie and switched by a plain form post, the top bar with the bridge’s status and version as a word and a tint, the theme switch and the operator menu, the navigation grouped Overview, Mappings, Tools and Bridge with a drawer on a narrow screen, a skip link, an About page naming Cadasto B.V., and the page for a path the console does not serve. A test computes WCAG 2.2 contrast for every text and ground pair in both themes (4.5:1 for text, 3:1 for a control edge and the focus ring), and the scroll padding keeps a focused control clear of the top bar (SC 2.4.11). The WebAssembly budget rises to 244 KiB with the measurement in.claude/rules/leptos-ui.md. -
The operator API saves search declarations (#766):
PUT /operator/mappings/fhirconnect/{name}.search.ymlchecks the declaration against the context it names and writes it undermapping_dir/fhirconnect/, where it was refused with400before. The reload binds every declaration, provisioned and console, and swaps them in with the facade’s programs. A declaration that does not bind answers422with anfb-search-declarationdiagnostic and changes nothing. -
The operator API saves OMOCL files (#757):
PUT /operator/mappings/omocl/{path}checks the draft with the whole set and writes it undermapping_dir/omocl/, where it was refused with409before.etl runreads that directory beside[mappings] omoclwhenever the operator API is on, through the same OMOCL load the reload checks with: a provisioned file owns a path both directories hold, and two files that define one mapping refuse the run. -
The operator API checks, saves and reloads mapping files (#597), with
[operator] mapping_dirset:POST /operator/mappings/check?path=answers a draft’s diagnostics over the running set;PUT /operator/mappings/{path}withIf-Match(orIf-None-Match: *) and aFerrobridge-Reasonheader saves a FHIRconnect file undermapping_dir/fhirconnect/when the whole set compiles with it, written to a synced hidden file and renamed into place, and answers422with every diagnostic, leaving disk and programs unchanged, when it does not,412on a staleETag,428without a precondition and409over a provisioned file;POST /operator/reloadcompiles the files on disk. A clean set replaces the facade’s programs and search declarations, the FHIRconnect operations and the operator state in one swap each request reads at entry, so theCapabilityStatementfollows a save at once. Console files join the set at start-up. Each save leaves an audit line with the caller’ssub, the file, the old and new SHA-256 and the reason, never content.compose.yamlmounts./operator-mappingsas the one writable path beside the read-only root file system. -
Operators sign in to the console with OpenID Connect (#600): the authorization code grant with PKCE (
S256) and anonce, the ID Token checked against the provider’s JWK Set, issuer, audience,azpandnonce, and a session held on the console’s server in two bounded pools, carried by one__Host-HttpOnlySameSite=Laxcookie. The console refreshes the access token on its server, once per session at a time, keeps a rotated refresh token, and ends the session when the provider refuses a refresh.POST /logoutends the session and sends the operator to the provider’s end-session endpoint with the ID Token hint. Every request other than a safe method is taken only from the console’s own pages, and the console calls the bridge with the operator’s own access token.[session]and[oidc]configure it, and the book’s Operate section documents it under “The operator console”. The test OpenID Provider isferrobridge_testkit::oidc. -
ferrobridge servesends the FerroHEALTH installation report to FerroPULSE on its report envelope v2 (#581): onestartreport per process start and onedailyreport a day tohttps://report.ferropulse.eu/v1/report, carrying the version, the licence type, the deployment kind, coarse host size, the enabled lanes, the mapping counts as ranges, the upstream health and latency histograms per route group, and never clinical content, an identifier other than the random instance id, a mapping name, a URL or a request path. The new[usage_report]section (enabled,endpoint,state_dir,deployment) configures it; it is on by default, sends nothing without a writablestate_dir, stays off in a CI environment, and logs one boot line saying which. The compose file keeps the instance id on a newferrobridge-statevolume. The book’s new Operate page, The usage report, lists every field and carries the privacy notice. Every report the server builds is validated in the tests against FerroPULSE’s schema, vendored byscripts/vendor/ferropulse-schemas.sh, andscripts/checks/usage-report-off.sh(a new CI job) fails a test launcher that leaves the report on. -
The daily installation report counts the HL7 v2 face’s messages and the mapping failures (#744): a new
hl7v2_messagelatency group times each message from its frame to its acknowledgment, the countershl7v2_aa,hl7v2_aeandhl7v2_arcount the acknowledgment codes the face sent, andmapping_failurescounts each resource or composition a FHIRconnect program refused to map, on a facade or HL7 v2 ingest, on a facade read or search (#773) and on an operation call. The book’s usage report page lists the new keys. -
The server translates the codes of every
conceptmapmapping through the configured[terminology]server (#722), on the FHIR facade, the$tofhirand$toopenehroperations and the HL7 v2 face. A composition going into FHIR callsConceptMap/$translatewith the mapurland the source code, and FHIR going into openEHR addsreverse=true. Every code is resolved before the run that builds the result, so a terminology fault never leaves a half-built document. With no[terminology]section aconceptmaprefuses with “no terminology server is configured to translate through”. -
fhirconnect0.1.128 translates the codes of a mapping that names aconceptmapthroughConceptMap/$translate(#219), over a newengine::terminology::Terminologyseam thatSeams::with_terminologysets. With no server configured the run refuses (EngineError::Terminology), so a code is never passed through under a system it was not translated into. Each distinct code is translated once, with the resource’s own system and code, before the composition is built; only anequivalentorequalmatch counts, and the translated concept’s display wins over the source text. An untranslatable code at an optional element writes nothing and is declared asSkipReason::Untranslated; at a required element it refuses the unit (EngineError::Untranslated). Breaking for a consumer that matchesSkipReasonexhaustively: add an arm forUntranslated. -
The read-only operator API (#596), behind
[operator] enabled(off by default, refused at boot without[auth]):GET /operator/stateanswers the compiled programs with their files, templates and search declarations, the OMOCL validation result and every diagnostic of the running load;GET /operator/mappingslists every mapping file with its language, kind, SHA-256, owner and diagnostics;GET /operator/mappings/{path}serves a file verbatim with its SHA-256 as theETag, confined to its directory. Every route answers401without a token and403withoutauth.operator_scope, and logs one audit line naming the caller and the route, never content. The book’s Operate section has a page for it. Every diagnostic it andferrobridge mapping check --format jsonanswer is the serde form ofopenehr-mapping-core’sDiagnostic(#726), somodel_pathis now an array of steps. -
$validateadmits a token that carries the operator scope beside itscorupermission, and$tofhirand$toopenehradmit it as they admit any valid token, so an operator console dry-runs a mapping without a clinical write scope (#598). -
ferrobridge mapping checkruns (#595). It loads the FHIRconnect tree of[mappings] directory, compiles every context against its template from[mappings] templatesor the[cdr], loads and validates the OMOCL files of[mappings] omocl, and prints every diagnostic with its file, line, column, severity, code and message, as text or with--format json. It exits 0 when no diagnostic is an error, 1 when one is, 69 when the check cannot run and 78 when the configuration names nothing to check. The checker is the library modulecheck, which the operator API reuses. -
openehr-mapping-core0.1.113:Diagnostichas a serde form (#726), one flat object withfile,line,column,severity,code,message,mappingandmodel_path, and reading it back refuses an invalid code or mapping name as the constructors do.DiagnosticCode::parsereads a code from its stable spelling.fhirconnectmoves to 0.1.129 with it, since it pinsopenehr-mapping-coreexactly. -
scripts/deploy-probe.shprobes a running deployment at a base URL (#220) and reports each lane (health, the facade under/fhir, the FHIRconnect operations) ason,off,failingoruncovered. Anuncoveredlane fails the run with its own exit status,--expect <lane>=<on|off>fails a lane in the wrong state, and the report names the findings each lane was not observed in. The Operate section of the book documents it under “Checking a deployment”. -
The operator console has its crate,
app/ferrobridge-viewer(#599): theferrobridge-viewerbinary, a Leptos app rendered on the server and hydrated in the browser, withserve,config checkandhealthcheck. It reads a TOML configuration withFERROBRIDGE_VIEWER__<SECTION>__<KEY>overrides and_filesecrets, answers every response with a per-response nonce Content-Security-Policy,nosniff,DENYframing andno-referrer, marks every documentno-store, and compresses only its site bundle. Its bridge client reads the bridge’s R4CapabilityStatementand keeps the status and body of a refusal. A test holds its server half toopenehr-mapping-coreandfhir-typesof the workspace and its browser half to none, and the CIviewerlane lints the WebAssembly half, builds the site bundle with pinned tools and fails it above a 112 KiB brotli-compressed budget. Sign-in and the pages follow in #600 and #601. -
fhir-types0.1.117 carries a search parameter registry per FHIR version behindresources(#522):<version>::search_parameters::SEARCH_PARAMETERSholds everySearchParameterof the core package, apart from its examples, with canonical, code, base types, type and expression, andSearchParameters::of(type, code)answers the standard parameter a resource type answers, its own or a base type’s.fhirconnectmoves to 0.1.127 with it. -
The facade refuses at boot a search declaration that gives the code of a standard R4 search parameter of its resource type another type, and the
CapabilityStatementnames the standard parameter’s canonical assearchParam.definitionfor every declared standard code (#522). -
/health/readinesscarries acdmindicator when a[cdm]section is configured (#615). It opens one connection to the CDM database over the configured TLS and asksSELECT 1, and reports down with the reason on a refused connection or a failed query, so an unreachable CDM shows before the nextetl runfails. Without[cdm], readiness is unchanged. -
The operate book says where the FHIR facade’s identity store lives, which volume it needs on a read-only root filesystem, and what happens across replicas and restarts, with a Kubernetes pod spec (#419). The container page no longer says the server writes nothing.
-
A facade read and vread answer
Last-Modified, the commit time the CDR’s revision history records for the version (#348). Each read makes one more CDR call,GET /ehr/{ehr_id}/versioned_composition/{uid}/revision_history. TheCapabilityStatementdeclaresversioning: versioned-updateandreadHistory: trueon every resource type.
Fixed
-
The operator API checks and compiles the console’s FHIRconnect files on every save and reload when no
[mappings] directoryis provisioned (#774). Before, those files were listed and never checked, so a broken draft was written. In that deployment the templates come from the CDR. -
The request log writes
<unmatched>as the route of a request no route matched (#746), instead of the raw path the client sent, so an identifier in that path no longer reaches the log. -
A percent-encoded
_count, such as_count=%32%30, reads as its decoded value on every facade route (#523). The request guard read_countfrom the raw query and refused it with a400, while the search read the decoded value; both now read the one decoded value. -
A vread of an earlier version after the latest version was deleted answers that version (#348). The facade names the version from the revision history, where it took the creating system from the latest version and so answered
410. -
A CDR call whose token the CDR refused, and whose renewal the token endpoint then refused, is no longer retried (#663). The client asked the refusing token endpoint again on every retry of a
GET; it now ends the call after the one renewal, with the401standing and the token error as its cause, and the facade still answers it with the credentials502. -
A CDR that does not answer the boot template fetch yet no longer fails the start (#422).
servebinds its listen address, answers liveness200and readiness503with astartupindicator naming the attempt and its reason, and tries the start again after a wait that doubles from 1 to 30 seconds, so a Kubernetes pod that starts before its CDR stays up instead of crash-looping. A documented refusal, such as a404for a template the CDR does not hold, still stops the start. -
The facade keys a second or later entry of a composition by the openEHR positional path
/content[<n>],nits 1-based place incontent, and the first by/content[<archetype>], both built with theopenehr-rmpath types (#242). Earlier builds wrote/content[<archetype>, <n>], which the openEHR BASE path grammar reads as a name predicate and refuses. Each new binding records identity derivation 2. An id an earlier build recorded under the old form keeps naming its entry: the facade looks the old key up when the new one is unbound and still reads a stored binding of the old form, so no resource a client holds is renamed. A resource first bound by this build gets an id derived from the new path. -
A binding a build up to 0.0.5 recorded for a composition holding several entries of one archetype named its entry by its place in
content, and 0.0.6 read the same/content[<archetype>, <n>]text as thenth entry of the archetype, so such a resource could answer another entry (#659). The facade now reads both meanings: the path resolves when one names an entry or both name the same one, and when they name two entries, the read, search or bind that meets it answers500with anexceptionissue naming the path, and no id moves to another entry. -
A transaction entry, and a retry that binds a contribution an earlier delivery committed, now derive the entry’s identity from the composition the CDR stored at its version (#284). Before, they derived it from the composition the current run built. Nothing the derivation reads differed between the two, so no id changes. A CDR that stores an entry
LOCATABLE.uidthe sender did not send now gives that entry the same id on the transaction path as on the single create. -
The
409a create meets when an identity store written before 0.0.4 binds itsidto two compositions now names the repair (#298): itsconflictissue lists the resource id of each composition, and an update (PUT [base]/[type]/[id]) of the one the sender means revises it. -
A stored version container that the openEHR BASE
HIER_OBJECT_IDgrammar refuses, or a storedehr_idcarrying a character that would change the request path, now answers a500whoseexceptionissue names the resource the record belongs to, the field and the value (#280). Before, the issue named neither the resource nor the field. The Operate page on failure and identity states the rule.
Security
- An inline secret in the configuration file (
bearer_token,password,client_secret, the[cdm] url) is aSecretStringfrom the moment the file is parsed, so aDebugrendering of the configuration tree redacts it and its memory is zeroed when it is dropped (#309). A_filesibling’s text is wrapped the same way as soon as it is read.
0.0.6 - 2026-10-17
Added
- A FerroBRIDGE OMOCL
Personmapping for the KDS person template (#568),crates/omocl/tests/fixtures/projects/ferrobridge/kds_person/kds_person_data.yml. The corpus fileperson_data/person_data_v0.ymlreads gender atitems[at0019], whichKDS_Persondoes not carry, so every KDS person tookgender_concept_id0. This file reads the administrative gender atitems[at0022]: its code resolves through the loaded OHDSI vocabulary intogender_concept_idand is kept ingender_source_value, and a person with no gender, or a code with no standard concept, takes concept 0. Point[mappings] omoclat a directory holding it in place of the corpus file. [etl.vocabulary_aliases]maps a terminology id, such as a URI or an OID, to the OHDSIvocabulary_idthe ETL looks a coded value up in (#625). The table is added over the defaults (LOINCtoLOINC,SNOMED-CTtoSNOMED) and checked at load: an empty id or vocabulary, or a vocabulary longer than the 20 characters of OMOP CDM v5.4VOCABULARY.vocabulary_id, refuses the start. A KDS administrative gender coded underhttp://terminology.hl7.org/CodeSystem/v2-0001now reachesperson.gender_concept_idonce that id is aliased to the vocabulary that holds its codes; before, any terminology id longer than 20 characters resolved to concept 0.- The FHIR facade answers
batchBundles onPOST [base](#531). Each entry runs as the read, vread, search, create or update itsrequestnames, through the same handler as the single interaction, withifMatchandifNoneExistas its conditional headers and the request’sPrefer: returnapplied to it, and the answer is abatch-responseBundle with one entry per request entry in the same order, each carrying its status,location,etagand resource, or itsOperationOutcomeinresponse.outcome(R4 http.html §3.1.0.11). A CDR refusal of one entry is that entry’s status through the status table and the others still run. Under[auth]each entry is authorised on its own, and an entry the token does not cover, or one outside apatient/token’s compartment, answers403inside the response. An entry referencing another entry’sfullUrlanswers400, as R4 calls it non-conformant, and a Bundle with an entry that has norequest, or aPOSTorPUTwith no resource, is refused whole with400. Each entry leaves its own audit line, with its position asentry, beside the request’s line, whose interaction readsbatch. TheCapabilityStatementdeclaresbatchbesidetransaction. - The FHIR facade answers search (#98):
GET [base]/{type}?…andPOST [base]/{type}/_searchover an AQL projection declared beside the context mapping, in a<name>.search.ymlfile that names the context, the subject parameters, thetoken,stringanddateparameters with the repeated node each is read under and its path relative to that node, and the total order pages are read in. The query binds that node in itsFROMonce per parameter occurrence, so a token’s code and system always come from one coded value (#526), a path crossing a node the template lets repeat below the bound one is refused at load, and a composition matching on several nodes is one entry, counted once. FHIRconnect leaves search out, so the format is FerroBRIDGE’s own. Every declaration is checked and every query it can build is parsed at boot, and a declaration that does not parse refuses the start. A search answers asearchsetBundle with anid,meta.lastUpdated, one entry per composition with a uniquefullUrlandsearch.mode = match,totalcounting matches, andselfandnextlinks over the CDR’soffsetandfetchpaging._id,_count(capped by the new[facade] search_count_max, default pagesearch_count),_count=0and_summary=count,_sortand_totalare supported. A parameter the type does not declare is a400naming it unless the client sendsPrefer: handling=lenient; an unsupported modifier is always a400. An unknown subject or id is an empty searchset with no CDR call, and a CDR refusal maps through the facade’s status table, a query400to a500and a query408to a502. TheCapabilityStatementnamessearch-typeand exactly the declared parameters with_id. Under[auth], a search needs thespermission of its type, and apatient/token’s search is held to its patient’s EHR. - FHIR
Patientfrom the KDS person template through FHIRconnect (#468). The published KDS person chain of the FHIRconnect mapping library compiles against the publishedKDS_Personoperational template, whichscripts/vendor/kds-person-opt.shvendors from the openFHIR test resources, under a FerroBRIDGE project context, and a synthetic MII PersonPatientholds both lens laws through it. The published files that do not load, compile or convert are replaced by stand-ins, each refusal pinned by file and line; the defects are recorded on #475 and #468. Seven library files join the mapping-library pass list and the chain joins the round-trip one.fhirconnect0.1.114 adds theDV_DATEagainstdateandDV_BOOLEANagainstbooleancells, readsvalueon a primitive as the primitive itself, the form FHIRconnect writes in a condition, and writes the context’shealth_care_facilityas the_health_care_facilityfamily. The facade keys aPatientby its first identifier with a value, so aPatientwritten through it is stored as theKDS_Personcomposition of its own EHR and reads back. - The terminology client speaks FHIR STU3 (3.0.2) beside R4 and R4B (#455).
[terminology] wire_version = "stu3"selects it, and every operation and the batch go through the generated STU3 operation contracts. The client sends a code system version as STU3’sversionon$validate-code, reads STU3’scode-typed$lookupproperty values, and reads the same$translatematch parts and equivalence codes as R4. A request naming a parameter STU3 does not declare (a concept map URL on$translate, a value set version on$validate-code) is refused withError::UnsupportedParameterbefore anything is sent. - The FHIR facade authenticates its callers as a SMART App Launch 2.x
resource server (#400). A new
[auth]section, off by default, names the issuer and the audience; the issuer’s metadata and key set are read at boot, and every request under/fhirneeds a bearer JWT access token (RFC 9068 profile by default) exceptGET /fhir/metadataand the new/.well-known/smart-configurationdocument. A missing or invalid token answers401and a token whose SMART v2 scopes (patient/,user/,system/withcruds, v1.readand.writeincluded) do not permit the request answers403, neither naming a claim or a scope. Apatient/token reaches only its patient’s compartment, a transaction is authorised entry by entry and fails whole, a create that revises a resource the facade holds needsubesidec, a scopeless token gets system rights only for a listed subject, and every FHIR request leaves one audit line on theferrobridge::audittarget without the token or the body. TheCapabilityStatementcarriesrest.securitywith the SMART service and theoauth-urisextension. With[auth]off the facade stays open, and the server warns at start-up. - The R4 profile validator evaluates every invariant on every element in
play, the core definitions’ and each profile’s, with
ferrobridge-fhirpathon each occurrence of its element (#439). The focus is the element,%resourcethe resource holding it and%rootResourceits container when it is contained. A failed invariant is an issue of typeinvariantunder its key and declaring canonical with the constraint’s own severity; a best-practice one (elementdefinition-bestpractice) is a warning unlessValidator::with_best_practice(BestPractice::Error)asks for errors. An empty result neither meets nor breaks the rule, which asks for “true” (conformance-rules.html §2.1.0.6), and is listed (Reason::InvariantEmpty).resolve()reaches contained resources and Bundle entries,memberOf()reads the value sets of the package set andconformsTo()validates against a profile of it. An invariant whose expression does not parse, does not fit its element’s type or does not evaluate, including a call the run cannot answer, is listed as unevaluated with the error (Reason::InvariantRefusedandReason::NoExpressionreplaceReason::Invariants), and the published defects ofcid-0,inv-1anddom-3name their upstream report. A constraint the snapshot repeats from the core is evaluated once per occurrence.ferrobridge-fhirpathaddsFocus::withinto name the resources%resourceand%rootResourcestand for. and the server warns at start-up. The guard classifies every route under/fhirby name, and a route it does not classify answers403without reaching a handler, so a route added without a classification fails closed (#547). fhir-types0.1.111 names each type’s base type in the element table (TypeSchema::base, fromStructureDefinition.baseDefinition, and for a backbone element theBackboneElementorElementits element names), in every version, and carries the abstract types a base chain passes through (Resource,DomainResource,BackboneElement, and from R5Base,DataTypeandBackboneType) as table-only entries.Schemas::base_ofandSchemas::specializeswalk the chain.ferrobridge-fhirpathreads it, sois,as,ofTypeand a leading type name seeAgeas aQuantityandPatientas aDomainResourceand aResource; the R4 profile validator takes a resource under an element typedDomainResourceonly when its type specializesDomainResource, so aBinaryor aBundlethere is refused, and the same base chain decides the profiles such an element applies and atypeslicing discriminator (#458).- The R4 profile validator resolves references inside a Bundle by the method
of the R4 Bundle page (absolute, relative against the entry’s
fullUrl,urn:uuid:, version-specific throughmeta.versionId), with a reference that matches two entries an error, so aresolve()discriminator reaches across entries (#441). It holds the resolved target to the element’stype.targetProfile, any of them, and the reference to itstype.aggregation; validates every resource against each profile it claims inmeta.profile, reporting a claim the package set lacks; and holds a document Bundle to the content rules of R4 documents §3.3.1: every resource the Composition references is in the Bundle, and the Bundle holds only the Composition, what it references directly or indirectly, a CSS stylesheetBinaryand theProvenanceof what it includes. Target and claimed profiles are no longer listed as unevaluated when the validator can check them. scripts/vendor/profile-packages.shfetches the package set of the R4 profile validator at build time into the ignoreddocs/specs/fhir-packages/<package>#<version>/package/(#435), about 570 MB that is never committed; only eachPROVENANCE.mdis. The set is the HL7 Europe Patient Summaryhl7.fhir.eu.eps1.0.0-ballot, HL7 Europe Basehl7.fhir.eu.base2.0.1 and the International Patient Summaryhl7.fhir.uv.ips2.0.0, with every package theirpackage.jsonfiles name, transitively, at the version each dependent names: 17 package versions, among them EU Base 2.0.0 (the version EPS names) and five versions ofhl7.terminology.r4.hl7.fhir.r4.core4.0.1 is read from the generator’s tree. Each tarball is checked against the registry shasum, and each tree against the file count and digestdocs/VERSIONS.mdpins, a cache-restored tree included. The CI jobprofile-packagesfetches the set over a cache keyed on the pins and runs--check, which fails when a dependency of a pinned package is not pinned too;scripts/checks/conformance.shfetches the set beside the other build-time inputs.ferrobridge-fhirpath, a FHIRPath evaluator for FHIRPath Normative Release 2.0.0 with the FHIR R4 additions (#436): parse an expression once, check its paths against the context type, and evaluate it on a resource or an element with exact decimals and dates that keep their precision.resolve(),memberOf(),subsumes(),conformsTo(),elementDefinition()andslice()call seams you supply, and a call without its seam is an error naming the function. The HL7 FHIRPath test suite for R4 runs as thefhirpath-r4conformance corpus, and every invariant of the vendored FHIR packages parses.ferrobridge-fhirpathconverts quantities by UCUM (#459):=,~, the comparisons,+and-work across commensurable units in the more granular of the two, so4 'g' = 4000 'mg'is true and the R4 invariantrng-2compares a low and a high in different units, andtoQuantity(unit)andconvertsToQuantity(unit)convert to the unit asked for. The newucummodule parses UCUM expressions (prefixes, exponents, annotations, the10*and10^forms, parentheses) against the UCUM 2.2 essence, whichscripts/vendor/ucum.shvendors and the crate embeds whole with its licence. Degree Celsius, Fahrenheit and Réaumur convert by their functions; other special units, arbitrary units and units of different dimensions answer empty. Six more cases of the HL7 FHIRPath suite pass.ferrobridge-validator, the foundation of a FHIR R4 profile validator (#437). It reads FHIR packages offline from.tgzfiles and unpacked directories, refuses a set that lacks a dependency a manifest names, and resolves StructureDefinitions by canonical into the generated R4 model. It checks a resource against the core definition of its type or a profile: unknown elements, empty objects, arrays and strings, cardinality per parent, choice types,contentReference, the lexical form, range and length of every primitive,maxLength,fixed[x],pattern[x], and extensions resolved byurl, with an unknown modifier extension an error. The report carries typed issues with their FHIRPath location and converts into an R4OperationOutcome; every slicing, invariant, binding and profile the validator meets and does not yet evaluate is named in it asnot-supported.- The R4 profile validator evaluates slicing (#438): the discriminator types
value,exists,pattern,typeandprofile, combined; discriminator paths in the simple FHIRPath subset, withresolve()through contained resources,extension(url),ofType()andas();valueandpatternmatched by a required binding over a value set the package set enumerates; slicing without a discriminator; the rulesclosed,openandopenAtEnd, ordered slicing, the@defaultslice and re-slicing; extension slices byurl, including the relative urls of a complex extension’s children; and the cardinality of each slice and of the slicing entry. An item matched to a slice is held to the slice’s constraints, and content is validated against the profiles its type names. A discriminator the validator cannot decide (a path outside the subset, a reference outside the resource, a value set it cannot enumerate) is named asnot-supported, and a#idreference that resolves to nothing is a warning. fhir-types0.1.109 carries FHIR STU3 (3.0.2) as thestu3module, behind a feature of that name in the default set, emitted fromhl7.fhir.r3.core3.0.2 (#453). The generator reads the shapes STU3 states differently from R4: it strips a UTF-8 byte order mark on read, decodes the single and the list form ofprofileandtargetProfileand merges type entries of one code into one, takes a primitive value’s type from its_codeJSON type and refuses a type entry with neither, readsstructuredefinition-regexand both STU3 binding forms, and givesElement.idandExtension.urlthe plain-string shape they have in R4. STU3 has noTerminologyCapabilities, so its terminology root set is the other seven resources, and its operation contracts carry exactly what 3.0.2 declares, without the terminology ecosystem overlay.fhirconnectsteps to 0.1.109 with the requirement.- The STU3 examples package,
hl7.fhir.r3.examples3.0.2, runs as the conformance corpusfhir-stu3with its README badge “FHIR STU3” (#454): every one of its 8287 resources decodes through thestu3model, re-encodes, and goes through the XML codec and back. It is fetched at build time like the other examples packages, and the suite strips the byte order mark 19 of its files begin with. - The R4 profile validator checks terminology bindings (#440) on
code,string,uri,Coding,CodeableConceptand quantity units: a code outside the value set is an error underrequiredand under theelementdefinition-maxValueSetextension, a warning underextensibleand information underpreferred;exampleis not checked. Membership is read from the package set: listed concepts, whole code systems with their nested concepts, excludes, imported value sets (all of them, as R4 valueset.html §4.9.5 composes them), pinned code system versions, theis-a,descendent-of,is-not-aandgeneralizesfilters over anis-ahierarchy, the=,in,not-inandexistsproperty filters,compose.inactive, and a complete expansion. A coding whose display is none its code system gives the code is a warning. A binding the package set cannot decide is named with its reason and kept as a pending check thatReport::resolve_bindingssends to a terminology server throughferrobridge-term, one call or one batch; a refusal or failure stays named with its status and is never a pass. The slicing value-set discriminator uses the same membership. ferrobridge-termvalidates aCodingand aCodeableConcept, and a code with itssystemVersionanddisplay, with an optionalvalueSetVersion(#440).Client::validate_allanswers several validations in one call or one batch, andError::upstream_statusnames the status of a refusal.omop_cdm::qualityruns the nine conformance checks of the OHDSI Data Quality Dashboard v2.9.0 (cdmTable,cdmField,isRequired,cdmDatatype,isPrimaryKey,isForeignKey,fkDomain,fkClass,isStandardValidConcept) against a CDM v5.4 PostgreSQL database, with the Dashboard’s violated-row count, denominator, threshold verdict, check id and result fields (#404). The checks follow the CDM v5.4.3 definitions where the Dashboard’s field settings disagree with them, soepisode.episode_object_concept_idis checked against both of its domains, andnote_nlp.offsetis checked too. A query that fails or returns no counts is an error result and never a pass, and the run summary counts a pass only from a passed check. The generator emits the Dashboard’s check catalogue and its table and field settings asomop_cdm::generated::dqd, refusing any threshold that is not a whole percentage, and the column metadata gainsfk_class.scripts/vendor/dqd.shvendors the OHDSI Data Quality Dashboard v2.9.0 CDM v5.4 check catalogue, thresholds, the SQL templates of its fifteen conformance and completeness checks, and the R sources that define their verdicts underdocs/specs/dqd/(#403), as the oracle of the Rust port of those checks (#97). A test pins the ten places where the Dashboard’s field thresholds disagree with the CDM v5.4.3 definitions (#411).fhirconnectandopenehr-mapping-coreare published on crates.io at 0.1.108, joining the crate linefhir-typescarries (#397). Both build on theopenehr-*0.0.84 crates, so a project on that release, such as the family’s federation gateway, runs FHIRconnect mappings in process with one copy of the openEHR types.- The bridge obtains its CDR token with the OAuth 2.0 client credentials
grant (RFC 6749 §4.4) and renews it before it expires (#421).
[cdr.credentials.oauth]takes atoken_endpoint, or anissuerwhose RFC 8414 metadata (or OpenID Connect discovery document) names it, aclient_id, aclient_secretorclient_secret_file,client_auth(client_secret_basicorclient_secret_post), and an optionalscope,audienceand RFC 8707resource. The token is fetched on the first CDR call, shared by every call, and fetched againrefresh_margin_ms(30 seconds by default) beforeexpires_inruns out; concurrent calls share one fetch. A CDR401drops the token and the call is sent once more under a new one, and a second401reaches the caller as before. A refused grant is an error carrying the token endpoint’s status and its OAutherroranderror_description, and a token that cannot be obtained takes thecdrreadiness indicator down with that reason. - The
ferrobridge-fhirpathstatic check narrows the focus under a type guard (#571). A test$this is T,$this.is(T)oris(T), itsnot(), and anandororof such tests, narrows what the focus reaches: the right operand ofandandimpliessees the test true, the right operand oforsees it false,iif()checks its second argument with the criterion true and its third with it false, andwhere()answers the types its criterion keeps. A member or call in a branch no type reaches is not refused, and a member only a type the guard excludes defines is.toString()on an input none of whose types is a primitive or aQuantityis refused asSemanticError::Input(N1 §5.5.8, §11). Thefhirpath-r4corpus checks a case against the types itscontextTypenames.
Changed
-
A facade search total costs one AQL count query that reads no composition (#661). A search that binds no node and no
_id, over a template that places the context’s entry only among the composition’s owncontentitems, counts the entries withSELECT COUNT(*) … CONTAINS COMPOSITION c CONTAINS <class> x[<archetype>], which equals the entries the search answers._total=estimatealways answers from that count, or from the row count of a search that binds a node._total=accurate,_count=0and_summary=countread the rows only for a search that binds a node or an_id, or a template that nests the entry in aSECTION, where AQLCONTAINSalso finds nested entries. -
fhir-typesdocumentsUnknownResource, in every FHIR version, as the carrier of any resource’s JSON body, a root-set type such asMedicationRequestincluded, so a relay can write another server’s resource beside typed entries in one Bundle (#569). The encoder writes the body with its values as given, decimals in their lexical form, and its members in sorted key order; a decode still yields the typed variant for every resource type the enabled features select. A test pins an R4 Bundle carrying both.fhir-types0.1.115 andfhirconnect0.1.119. -
The
openehr-*crates move to 0.0.87, the line the federation gateway pins;fhirconnect0.1.117 andopenehr-mapping-core0.1.111 build on it. -
[etl] aqland[etl.visits] aqlmust read everyCOMPOSITIONbelowVERSION v[LATEST_VERSION], and a configuration whose query reads one without that scope (noVERSION, a bareVERSION v, orALL_VERSIONS) now refuses to load with anetl.aqloretl.visits.aqlerror (#494). AQL 1.1.0 leaves the scope of a query withoutLATEST_VERSIONopen, and a deleted composition’s newest version holds no data (openEHR RM Common 1.1.0 §6.2.5), so the scope keeps deleted and superseded versions out of the CDM. AddCONTAINS VERSION v[LATEST_VERSION]aboveCOMPOSITION cin an existing query. -
The bridge builds on the
openehr-*0.0.86 crates, the release the federation gateway pins, so a project on 0.0.86 that takesfhirconnect0.1.111 oropenehr-mapping-core0.1.109 carries one copy of the openEHR types. -
The CI
testlane and the SonarQube Cloud lane restore and fetch the profile packages before the tests, and the profile validator’s package-gated tests fail under CI when the packages are absent, where they returned early and passed (#503). -
fhirconnect0.1.110 locates every loss a run declares (#498). Afhirconnect::engine::outcome::Warningis now aLoss(the former variants:Skipped,Defaulted,LastOfMany,OneWayFallback,DeferredReference) with aLocation, read throughWarning::loss()andWarning::location().Location::fhir()is the FHIRPath of the FHIR element the loss concerns (the input going into openEHR, the output coming out to FHIR), with an index on each repeating element and no function, so it fitsOperationOutcome.issue.expression;Location::openehr()is the archetype path of the openEHR node. Neither carries a value from the input.operations::run::to_fhir_with_warningsandto_openehr_with_warningsreturn aTransformedthat holds the answer and the typed warnings in the order the engine raised them, so a consumer that logs each transformation no longer parses issue text;to_fhirandto_openehrkeep their signatures. Each issue of a run’sOperationOutcomesetsexpressionto the FHIRPath and carries the openEHR path as adetails.codinginhttps://ferrobridge.eu/fhir/CodeSystem/openehr-path(operations::issues::OPENEHR_PATH_SYSTEM);details.textis unchanged.fhirconnect::tree::locate::locatenames one element of a document as such a FHIRPath. A consumer that matchedWarning::Skipped { .. }matchesLoss::Skipped { .. }onwarning.loss(). -
SonarQube Cloud analyses FerroBRIDGE under the FerroHEALTH organisation: organization
ferrohealth, project keyFerroHEALTH_FerroBRIDGE, insonar-project.properties, the MCP server configuration and the README badges. -
The
openehr-*crates move from 0.0.72 to 0.0.84 as one pin group (#397). The generated ITS-REST client now reads a2xxbody that depends onPreferas the resource or itsIdentifieritself, so a CONTRIBUTION201body that is neither is refused by the client and the bridge still answers with the committed contribution’s uid. Four new client refusals (a passed deadline, a failed DPoP proof, a credential provider that produced nothing, and credentials that cannot form anAuthorizationvalue) each name their own class in a diagnostic. -
A commercial licence, and any other business or licensing question, goes to Cadasto B.V., the Licensor, at info@cadasto.com or https://www.cadasto.com/contact/ (#395). Every BUSL
LICENSEcopy names that contact in place of the maintainer, and the README, the book’s licensing page,MAINTAINERS.md,GOVERNANCE.mdandSUPPORT.mdsay the same. The maintainer handles the technical side. The licence terms are unchanged. -
The Licensor and copyright holder of the project’s own work is Cadasto B.V., replacing Vernum Projecten B.V. (#392). Every
Licensor:, copyright andSPDX-FileCopyrightTextline names the new company, as do the governance text and the site footer. The licence terms are unchanged, and maintainer credit stays a person.fhir-typessteps to 0.1.108 for its new headers. -
The tracker records the kind, the urgency and the size of an issue in GitHub’s native issue type (Bug, Feature, Task) and the organisation’s Priority and Effort fields (#416). The
bug,enhancementandP0toP3labels are retired, the bug and feature forms set the issue type, the release notes drop their two label-keyed categories, andscripts/gh/fields.shandscripts/gh/migrate-fields.shcarry the model and the migration.labels.shgains theno-crate-bumplabel the crate-version guard already reads.
Fixed
fhir-types0.1.116 holds an element id to thestringform in R4B and R5 (#378). The published definitions typeElement.idasstringin every version, while the 4.3.0 and 5.0.0 core packages stateidon the copiesElementDefinition.id,Extension.idand the other datatypes inherit, so an element id such asPatient.extension:birthPlaceor one longer than 64 characters was refused. A resource id keeps the form its package states. The R4B and R5 examples corpora pass 544 and 191 more instances.- A create with no
meta.versionIdof a source the facade already holds as one entry of a multi-entry composition is recognised as a replay when its mapping is that entry as it stands, and commits nothing (#667). The replay check compares what a revision would commit, that entry spliced into the standing composition, with the composition the CDR holds, and the replay answers that entry. - The facade
CapabilityStatementdeclaresconditionalUpdate: false(#666). R4CapabilityStatement.rest.resource.conditionalUpdatenames thePUT [type]?[search parameters]interaction (http.html#cond-update), which the facade does not serve;If-Matchon an update is the version-aware update, which the facade still honours. - A facade update whose body names no
id, or anidother than the one its URL names, answers400with aninvalidOperationOutcomeat<type>.idand commits nothing, as R4 http.html#update requires (#665). The facade used to accept it and record the bodyidas a consumed source of the resource the URL named. - A CDR credential the token endpoint will not issue answers the FHIR caller
502(#518). When the OAuth 2.0 client credentials fetch fails, because the token endpoint is unreachable or refuses the bridge’s own credentials, the facade answers502 Bad Gatewaywith the token endpoint’s status and OAuth error in theOperationOutcomediagnostics, never the client secret. It used to answer500. - A request under
/fhirover the body ceiling or past the request timeout answers anOperationOutcome(#548). The ceiling answers413with thetoo-longissue and the timeout answers504 Gateway Timeoutwith thetimeoutissue, both asapplication/fhir+jsonwith the limit named in the diagnostics. A timed-out FHIR request used to answer a plain408, which tells a client it may resend a write the CDR may already hold. Every other route keeps its plain408and413. - The KDS diagnosis project context keeps a diagnosis code system outside
ICD-10-GM when it reads a Condition back (#379). The
codingmethod of theicd10ProblemDiagnoseappend was gated by afhirConditiononly, which FHIRconnect applies to FHIR input alone, so out of openEHR it wrote the ICD-10-GM system over a SNOMED CT or any other coding. It now carries anopenehrConditionon the stored terminology as well. - A KDS diagnosis read no longer carries an
icd-10-gm-diagnosesicherheitextension with a url and no value, which FHIR R4 ext-1 forbids (#629). The extension method of the same append had the same one-sided gate, so its url manual ran for every read; it now runs only when the composition holds a diagnostic certainty. - A facade search that matches a composition’s second entry answers that
entry (#530). Each entry of the archetype a context maps is a resource with
an id of its own, derived from the composition and the entry’s place among
the entries of its archetype; the first entry keeps the id it had alone. A
search reads which entry a row matched from the node it selects, so a
composition with two matching diagnoses answers two
Conditions, each carrying its own code, andBundle.totaland the paging count entries. A read, a vread and an_idsearch of an entry’s id answer that entry. - A
CodeableConceptwith codings and notextfills aDV_TEXT(#626). The facade used to refuse such a resource with a422, becauseDV_TEXT.valuehad no source. It now takes the first coding’sdisplay, then itscode, the fallback FHIRconnect writes forDV_CODED_TEXT, and records the one-way row in the outcome. Reading the resource back addscode.textholding that rubric and leaves the codings as they were. - A
recorderthat carries only a reference no longer leavesCOMPOSITION.composerempty (#627). The FHIRconnect engine used to count the empty party as a written composer, so the default composer was skipped and the CDR refused the composition with “missing fieldcomposer”. A party holding no name, identifier or external reference now leaves the composer to its default, and a composer with an external reference travels asctx/composer_id,ctx/id_namespaceandctx/id_scheme(Simplified Formats, §Composer). - A facade update of one entry’s resource keeps the composition’s other
entries (#657). A
PUTof an entry’s id, and a create that revises a known source, commit the composition version they follow with that entry replaced and every other item as it stood; before, the composition was rebuilt from the one resource and lost its other entries.If-Matchnames the composition version every entry shares, and anIf-Matchnaming a version the CDR does not hold is412. - A CDR credential the token endpoint will not issue answers the FHIR caller
502(#518). When the OAuth 2.0 client credentials fetch fails, because the token endpoint is unreachable or refuses the bridge’s own credentials, the facade answers502 Bad Gatewaywith the token endpoint’s status and OAuth error in theOperationOutcomediagnostics, never the client secret. It used to answer500. - A request under
/fhirover the body ceiling or past the request timeout answers anOperationOutcome(#548). The ceiling answers413with thetoo-longissue and the timeout answers504 Gateway Timeoutwith thetimeoutissue, both asapplication/fhir+jsonwith the limit named in the diagnostics. A timed-out FHIR request used to answer a plain408, which tells a client it may resend a write the CDR may already hold. Every other route keeps its plain408and413. - A handler panic under
/fhiranswers anOperationOutcome(#655):500asapplication/fhir+jsonwith theexceptionissue and the request id in the diagnostics, never the panic message. It used to answer the plain JSON body every other route keeps. - A CDR token refusal the bridge cannot renew answers the FHIR caller with the
token endpoint’s refusal (#654). When the CDR answers
401and the one renewal of the OAuth token fails, the facade answers the credentials502with the token endpoint’s status and OAuth error (RFC 6749 §5.2) in the diagnostics, never the client secret. It used to answer “the openEHR service could not be reached”. - A facade search that binds no node, such as
Condition?patient=…, answers every entry of the context’s archetype in each matching composition, each with its own id, where it answered only the first (#658).Bundle.totalcounts those entries for every search, so_count=0,_summary=countand_total=accurateread the rows instead of running an AQLCOUNT. - Removing a person’s newest
PERSONwriter hands the row to the writer that remains (#561). When several compositions of one EHR write the person’sPERSONrow and the newest of them is deleted in the CDR, or a new version of it no longer writes the row, the row now takes the columns of the newest writer that remains instead of keeping the removed writer’s demographics. The bridge schema gains aperson_rowtable holding each writer’s columns; runferrobridge cdm initonce after upgrading to create it. A writer committed before the upgrade has no columns recorded, so a person left with only such writers keeps the row it has until one of them commits again. - A visit query that names
$sincerefuses the start (#542). The ETL never binds--sinceto the[etl.visits]query, so such a query passed the load check and the CDR refused it at run time for the unbound parameter;etl.visits.aqlis now refused when the configuration loads, with the reason. - A
TERM_MAPPINGwhosematchis>,<or?no longer fails the whole openEHR to FHIR run (#588). FHIRconnect calls the other operators “not mappable to FHIR”, so the mapping still writes noCoding, and the run now declares it as a locatedLoss::Skippedwhose newSkipReason::TermMappingMatchcarries the match code, the target terminology and the code as fields; the value’s text and every=mapping convert. Going back into openEHR, such a mapping the target already holds keeps its place. A consumer that matchesSkipReasonexhaustively needs an arm for the new variant (fhirconnect0.1.120). - The container harness starts the reference CDR with
FERROEHR__USAGE_REPORT__ENABLED=false(#582). A container does not inherit the CI runner’s environment, so FerroEHR’s own CI detection never fired, and each “e2e (containers)” run reported itself to FerroPULSE as an installation. - An invariant on a choice element reads every type the choice admits
(#563). The FHIRPath evaluator checks an expression whose context is a
choice element against all of its types, and on an occurrence of a choice
a member only another of its types defines is empty, as
Observation.value.unitis on a string value (FHIRPath N1 §3.2). R4ras-1now holds on a decimalRiskAssessment.prediction.probabilitywhere the R4 profile validator listed it as unevaluable, and the core-constraint sweep checks the 191 invariants on choice elements it skipped. A member no type of the choice defines is still refused. - The R4 profile validator reports an extension whose
urlthe package set cannot resolve to a definition (a#fragment, or two definitions under one canonical) as an unknown extension at that extension, a warning or an error undermodifierExtension, and goes on, where it ended the whole validation with a resolution error (#550). fhir_types::xml::from_xmlresolves the namespace of every element and attribute, so the namespace decides and the prefix never does: “FHIR elements are always in the namespace http://hl7.org/fhir” (R4 xml.html §2.6.1, the same rule in STU3 and R5). A root or nested resource outside it is refused asWrongRoot, any other element asUnknownElement, and a prefixed attribute in another namespace or under an unbound prefix asUnknownProperty;<f:Patient xmlns:f="http://hl7.org/fhir">is read. It took the local name and ignored the prefix, so<x:Parameters xmlns:x="http://example.org/other">read as a FHIRParameters(#555).fhir-types0.1.113 holds the narrativedivto the XHTML namespace (R4 xml.html §2.6.1: “the only other namespace that occurs in FHIR resources is the XHTML namespace”; R5 §2.1.6.3.3: “a root<div>element in the xhtml namespace”) and refuses it asUnknownElementatResource.text.divotherwise. A declaration of the XML Schema instance namespace on thedivor on any element inside it is refused as in the rest of the resource (R4 xml.html §2.6.1.1). The reader copied the narrative’s attributes raw with no check. The content is otherwise carried verbatim (#556).fhir-types0.1.114 writes every attribute of the narrativedivit reads from XML in double quotes with a"the value holds escaped as"(XML 1.0 §2.3AttValue, §4.6), sotitle='a "b"'yields a well-formeddivstring that reads back equal. The reader wrapped the raw value in double quotes whatever quote the source used (#575).fhir-types0.1.114 reads a narrativedivwhose XHTML prefix is declared on an ancestor (xmlns:hon the root,<h:div>) to a self-contained string in the default-namespace form R4 json.html §2.6.2.4 shows,<div xmlns="http://www.w3.org/1999/xhtml">, with the prefix removed from thedivand every element inside it, so the string is theinnerHTMLR4 narrative.html §2.4.0 describes. An element inside the narrative outside the XHTML namespace is refused asUnknownElement, and a prefixed attribute outside thexmlnamespace asUnknownProperty(R4 xml.html §2.6.1). The reader copied<h:div>verbatim, leaving a prefix nothing in the string bound (#576).fhir_types::xml::from_xmlrefuses a resource that declares the XML Schema instance namespace on any of its elements, naming the declaring attribute (Resource.xmlns:xsi), because exchanged content “SHALL NOT specify the schema or even contain the schema instance namespace in the resource itself” (R4 xml.html §2.6.1.1, the same rule in STU3 and R5). It ignored the declaration and refused only thexsi:schemaLocationattribute, as an unknown property. The writer declares the FHIR namespace alone. The five FHIRPath suite cases onparameters-example-types.xml, which declares both, fail with that rule as their reason (#457).fhir-codegen terminologyfails with the file’s path when a package file cannot be read or is not JSON, where it skipped the file and bundled without it. The manifest and the index a package carries are told apart by having noresourceType. The generator’s corpus tests fail the same way on a file that does not parse, and skip only a refusal they list with its citation (#487).- The OMOCL engine writes a
PERSONrow from the corpus’sperson_datamapping (#560). CDM v5.4 requiresperson.race_concept_id, and OMOCL has no key that writes it, so everyPersonrecord was refused and no person got a row. The engine now writes concept0in a required standard concept column that no OMOCL key writes. The CDM conventions use0“if there is no information available for that field”, and the column’s own definition says “If a clear race or ethnic background cannot be established, use Concept_Id 0”.person.race_concept_idis the only such column across the ten tables OMOCL writes. The run report counts each one as a concept0assignment. A mapping that leaves out a key it could have written, such asethnicity_concept_id, is still refused. openehr-mapping-core0.1.110 compares a name predicate theaqlPathof a Web Template node carries on an ancestor segment, so a mapping path below one of two sibling clusters that share a node id (theStraßenanschriftandPostfachaddresses ofKDS_Person) names the node below that cluster alone (#468).- Every
person_idanetl runwrites names aPERSONrow, where the rows of a person no mapping wrote aPERSONrow for named aperson_idthatPERSONdid not hold, against the CDM v5.4 foreign key (#541). APERSONrow an OMOCL mapping writes is the person’s source; otherwise[cdm] person_policy = "create_on_first_sight"writes a placeholder row (every concept 0,year_of_birth0, theehr_idasperson_source_value) that such a mapping later replaces, andexistingrefuses the row, also when the person map knows the EHR but itsPERSONrow is gone. The run report counts thePERSONrows and the placeholders (persons). - A second composition of an EHR writing the
PERSONrow another composition of the EHR already writes commits, where the bridge’s side table refused it and the commit failed (#540). Each writer is recorded, the one committed last rewrites the columns, and the row stays while any writer or any row of the person remains; every other table keeps its one-row-per-id guarantee. Runferrobridge cdm initonce after upgrading to bring an existing bridge schema to this shape. - FHIRPath quantity products and quotients carry the UCUM unit with
identical units merged, so
12 'cm' * 3 'cm'answers36 'cm2'and12 'cm2' / 3 'cm'answers4 'cm'as FHIRPath N1 §6.6.1 and §6.6.2 show, where the unit was the two expressions joined ('cm.cm'). Units that cancel give'1'; a prefix stays part of its unit, and an annotated unit is still joined whole (#499). - The facade’s loss log records each declared loss as a value-free kind
(
skipped-unresolved-reference,deferred-reference,defaultedand the rest) with its FHIRPath and its openEHR path, where it logged the loss’s display text, which could carry a reference literal such asPatient/123. The$validatedry run renders each loss as the operations lane does, with its FHIRPath inissue.expressionand its openEHR path as adetails.coding, severitywarningand codeincomplete, orinformationandinformationalfor a defaulted composition field (#509). etl runremoves the CDM rows of a composition deleted in the CDR after an earlier run loaded it, where they stayed in the CDM (#527). After the compositions, each composition an earlier run committed and this run’sLATEST_VERSIONquery did not answer is read from the CDR over ITS-REST 1.1.0composition_get; a204, the answer for a deleted composition, removes its rows, links and watermark in one transaction, and the derived tables are rebuilt after it. A200or a404keeps the rows, and a call that reaches no documented answer ends the run with a typed error.[etl] deletions = "report"lists a confirmed deletion and keeps its rows; the default isremove. The run report counts the checks and lists the removed, kept and unknown compositions with the rows removed per table.- Updating or removing the composition that wrote a
PERSONrow keeps the row while any row of the person remains, where the update or removal deleted it and left clinical rows naming a missing person (#536). ThePERSONrow goes only when no composition writes it and no row of the person is left, and the newest version that writes it rewrites its columns. etl runremoves a visit the visit query no longer answers, such as one whose every composition was deleted, where itsVISIT_OCCURRENCErow stayed and the observation period kept spanning it (#537). A visit some CDM row still names is kept and counted, and a run whose visit query refused a row removes none.fhir-types0.1.110 writes a repeating primitive whose every position carries only anidor anextensionas the_namearray alone, in every version, where it wrote a value array of nulls beside it ("event": [null]); FHIR JSON renders only the_property for a primitive with no value (https://hl7.org/fhir/R4/json.html#primitive).primitive_arraysreturns the value array as anOption. The examples that carry the shape now round-trip: eight in STU3 and nine in each of R4, R4B, R5 and R6, among them the ActivityDefinitions with atimingTimingthat holds only_event(#486).- The R4 profile validator resolves a canonical that two versions of one package carry at one resource version to the higher package version, where it refused it as ambiguous; two different packages carrying one canonical at one version with different content stay ambiguous (#502).
- The R4 profile validator refuses a resource of a type its element’s types
do not name, where an element typed
ResourceorDomainResourcestill takes any resource (#488). - The R4 profile validator resolves a version-less canonical a definition names within the dependency closure of the package that carries the definition, so a profile built against one version of a package no longer gets another loaded beside it, and falls back to the whole set only when that closure does not carry the canonical (#489).
- Readiness no longer reports a CDR that refuses the configured credentials
as up. The CDR check lists the ADL 1.4 templates through the ITS-REST
Definition API with the configured credentials, filtered so the answer is
empty, instead of a
GETon the REST root, and a401or403from the CDR or the terminology server marks that indicator down with the reason in its detail (#423). - The mapping directory walk of the facade, the FHIRconnect operations and
etl runreads a Kubernetes ConfigMap volume once. It skips every entry whose name starts with..and follows a symlink only when it names a file, so the..datalink and the..<timestamp>directory behind it no longer make each mapping load three times and refuse the start withduplicate-mapping-name(#420). - A
FERROBRIDGE__…environment value takes the type of the key it sets: a string key takes the text verbatim, soFERROBRIDGE__CDR__CREDENTIALS__USER=12345is the user name12345instead of a number the boot refuses, andtrueor1.5stay text too. A number, boolean or array key still reads the text as TOML syntax. Quotes are kept as part of a string value, so write a value without the quotes that used to keep it text (12345, not"12345").[cdr.credentials]and[terminology.credentials]gainuser_filebesidepassword_file(#424). - The generated CDM metadata carries the vocabulary domains of a concept
column as a list (
ColumnMeta::fk_domain), soepisode.episode_object_concept_id, which the CDM v5.4.3 definitions give the two domainsProcedure, Regimen, accepts a concept of either. Theomocldomain checks test membership instead of comparing the whole cell as one domain name, and the quality checks read the list instead of splitting the cell (#414).
Security
- The TLS stack moves to
rustls0.23.46, which fixes RUSTSEC-2026-0346, RUSTSEC-2026-0347, RUSTSEC-2026-0348 and RUSTSEC-2026-0349 in the CDR, terminology and CDM database connections (#447).
0.0.5 - 2026-10-01
Changed
- The repository moved to the FerroHEALTH organization
(https://github.com/FerroHEALTH/FerroBRIDGE, #385); the old
rubentalstra/FerroBRIDGEURLs redirect. The image now publishes toghcr.io/ferrohealth/ferrobridge, and the quickstart, the book and the landing page name that reference. Everything published up to v0.0.4 stays available underghcr.io/rubentalstra/ferrobridge, and its signatures namerubentalstra/FerroBRIDGEas the repository that built it (SECURITY.md). The roadmap board is now https://github.com/orgs/FerroHEALTH/projects/3.fhir-typessteps to 0.1.107 for its newrepositoryfield and README links.
0.0.4 - 2026-09-26
Added
-
FHIR conformance per version (#373). HL7’s examples package for R4, R4B, R5 and the R6 ballot, at the versions of the pinned core packages, is fetched at build time by
scripts/vendor/fhir-packages.sh --build-timeintotools/ferrobridge-testkit/vendor/(about 600 MB unpacked, so only eachPROVENANCE.mdis committed; the pins carry a file count and tree digest,versions.shreads them back andpin-freshness.shreads each version against the registry). Four corpora,fhir-r4tofhir-r6, send every example through thefhir-typesJSON codec and back and then through the XML codec and back; a fifth,fhir-r4-facade, creates and reads every R4 example of a type the suite and KDS contexts map through the facade over awiremockCDR, with the other examples counted by type, and behindFERROBRIDGE_E2Ea sample of its passing cases runs against the reference CDR. The README’s FHIR row carries the five badges beside the round-trip laws, and the CItest,conformanceand coverage jobs restore the packages from a cache keyed on their pins. -
Conformance badges per standard, per HL7 v2 message family and per HL7 v2 version (#366). The HL7 v2 corpus test records each case’s family (MSH-9.1) and MSH-12 version in its result, and
scripts/checks/conformance.sh --updatewrites one badge per family with a case in either corpus (conformance/badges/hl7v2-family-<family>.json) and one per version seen (hl7v2-version-<version>.json), each the pass fraction across both HL7 v2 corpora. The script generates the README badge block: the build badges, then one conformance row per standard, each badge linking to its pass list;--checkfails when a badge or the block is stale. -
The file-length guard (#351).
scripts/checks/file-length.shfails the CI guard tier when a hand-written Rust file exceeds 1000 lines or a listed breach inscripts/checks/file-length-allow.txtgrows; the rule (1000 hard, split into a module folder at 750, generated files excluded) is in.claude/rules/rust-style.md, and the forty files that breach it today are listed with the sub-issue that splits each. -
The FHIR facade answers the R4 vread,
GET /fhir/{type}/{id}/_history/{vid}(#305), so theLocationevery create, update and transaction entry answers now resolves. The facade reads the composition version whose version tree id is{vid}and answers it with itsETag; a version the CDR does not hold is404, one it reports deleted is410, and theCapabilityStatementlistsvreadon every supported type. -
FerroBRIDGE’s supplements to the HL7 v2-to-FHIR guide (#256): ConceptMaps in the guide’s own shape, shipped inside
ferrobridge-hl7v2undersupplements/and loaded over the guide’s package byCorpus::with_shipped_supplements, which the face calls before the[hl7v2] supplementsdirectories; a supplement with the id or url of a loaded map replaces it, any other is added, and the run counts each one it uses assupplemented(Outcome::Supplemented,corpus::Origin). The shipped set runs CWE.1, CE.1 and CF.1 intoCoding.codewithout the guide’s narrative gate, names the CF components and theQuantityelements OBX-6 fills, keeps HD.2 out ofMessageHeader.source.software, gives the destination one name, lets MSH-24 give the source endpoint beside an MSH-3 application name, writes ORC-2, SCH-26, SCH-27 and PID-2 to PID-4 asReference.identifierwhere the guide names a resource no map fills, fixes theADT_A01.PD1row of the ADT_A05 and ADT_A09 message maps, and adds message maps for ADT_A03, BAR_P01, ORL_O22 and OUL_R22. The vendored HL7 corpora move from 142 to 153 of 511 and the NIST and AIRA smoke sets from 189 to 199 of 379. The HL7 v2 face page lists every supplement with its reason. -
The HL7 v2 face in the server (#255).
[hl7v2] enabled = truestarts an MLLP listener beside the HTTP server, under the sameSIGTERMdrain, with anhl7v2line in the boot banner and anhl7v2-listenerreadiness indicator. Each message runs throughferrobridge_hl7v2::inboundand the v2-to-FHIR ConceptMaps into an R4 message Bundle, whose entries go through the facade’s ingest service as one transaction: the program is selected bymeta.profileas the facade selects it, a configured profile per resource type is claimed where the guide wrote none, an entry naming no subject references the message’s onePatient, and every composition’sFEEDER_AUDITnames the message by MSH-10 and message type. The acknowledgment follows the commit:AAwhen the CDR holds the compositions or held them from an earlier delivery,AEwith oneERRper refused entry for a refusal of the content,ARwhen the message cannot be read or the CDR or the terminology server failed (HL7 v2.5.1 chapter 2 §2.9.2.2). The section carries the listen address, the default MSH-18 character set, the ConceptMap directory and its supplements, the unmapped-entry rule, an EHR policy of its own, the idle and frame timeouts, the frame ceiling and whether anAEorARlogs the counted outcomes. No message byte reaches a log line; each connection and each message has its own span naming the peer, MSH-10 and the message type. The Operate book gains the HL7 v2 face page. Until a FHIRconnect context maps the guide’s resources (#258), a message is answeredAEfor lack of a program.[hl7v2] senderslists the MSH-4 sending facilities accepted, by namespace id (HD.1) or by universal id and type (HD.2, HD.3); a message from any other isARwith anERRat MSH^1^4 and is never mapped, counted asrefusedon the connection’s span./health/infogainslanes, thehl7v2lane with its listen address and whether its listener is up, and the facade’sCapabilityStatementnames the HL7 v2 face inimplementation.descriptionwhen it is configured. -
ferrobridge_hl7v2::mllp::serve_withtakes an idle and a frame timeout: a connection idle past the first is closed, and a frame that does not complete within the second is answeredARasMalformed::Stalled.mllp::Handler::handletakes the connection’smllp::Connection, on which a handler counts the frames it refused by its own policy; themllp_connectionspan recordsmessagesandrefused. -
The ingest service reads a subject reference to another entry of the Bundle through that entry, taking the person from its first
identifier, and a Bundle none of whose entries maps is refused naming every skipped entry and why. A Bundle whose EHR lookup the CDR failed or refused answers with the status the status table gives that answer, as a single create does, instead of422. -
hl7v2-typescarries the message structures HL7 withdrew before v2.9.1 (#303), soferrobridge-hl7v2parses theORM^O01orders legacy senders still send.scripts/vendor/v2-legacy.shfetches the NIST IGAMT export of HL7’s v2 database (versions 2.1 to 2.8.2) at build time, never committed, pinned indocs/VERSIONS.mdby commit, file count and tree digest. The generator emits every structure whose code no v2.9.1 structure carries underlegacy::<version>: 218 trees of 57 codes over 11 versions, each with itsversionandwithdrawn_as_of(ORM_O01: 2.7), each code checked against table 0354 ofhl7.terminology. The segments those trees name come from the same version’s tables (495 per-version segments emitted; 98 references linked to the v2.9.1 segment they agree with), andmessage::LEGACYwithmessage::find_legacyindexes them by code, event and version.parse::structure_forfalls back to it by MSH-12, taking the nearest earlier version the export carries, refuses a version before the first tree withStructureError::NoLegacyVersion, and a parse against a legacy tree is the counted outcomewithdrawn-structure. A structure’s and a segment’surlis nowOption, a field’s data type can beDataTypeRef::Legacy, andOptionalitygainsNa. -
The v2-to-FHIR interpreter reads the condition and assignment forms the guide’s own rows write (#326). A condition compares a component spelled
HD-3(a name before-that is a data type and no segment) as well asHD.3, so thehd-endpointmaps’IF HD-3 = "ISO"andNOT INrows run. Anassignmentof quoted literals and operands joined by+("urn:oid:"+HD.2,MSG.1+"^"+MSG.2+"^"+MSG.3) is written as the joined text. A valued MSH-24 or MSH-25 of type ISO, UUID, DNS or URI now gives the guide’surn:endpoint. A check that names no operand (IF NOT VALUED) is counted asdefective-condition, two parts with no+between them (RP.3"/"RP.4) asdefective-assignment, and an operand the scope cannot read asunevaluable-assignment. AnINorNOT INwith no operand reads the row’s own source, asmapping_guidelines.md§Conditions lists them, and so doVALUEDandNOT VALUED(the bridge’s own reading), so thehd-endpointHD.3 rows write the guide’s data-absent-reason endpoint. Across the 263 ConceptMaps, 415 conditions parse and 44 are refused (2 for a missing operand). Two qualifying data type maps that write one child with the same value agree, and only differing values count asdatatype-conflict. The typedurn:endpoints come from the guide’s rows alone:convert::endpointbuilds only the derivedurn:ferrobridge:hl7v2-hd:form, as a fallback a row of the guide at the same element replaces, so an HD in MSH-5 or a facility field (no guide row writes a url from it) now gets the derived form.crates/ferrobridge-hl7v2/scripts/guide-forms.shlists every form with its count. The HL7 v2 corpus passes 134 of 511 messages, up from 111: the 23 that value MSH-24. The smoke corpora stay at 189 of 379. -
hl7v2-typescarries the data type and message definitions (#289).data_typeholds the 83 data types of the HL7 v2 definitions (12 primitive, 71 complex with 448 components), each component with its position, name, data type, cardinality, optionality, lengths and table, and a segment field now points at its data type’s static (Varies, which has no definition, stays a code).messageholds the 696 message definitions, indexed by message code and trigger event, each with the structure variant it names, soADT^A04selectsADT_A01-B. Every tree and table type derivesPartialEqandEq.ferrobridge-hl7v2’sparse::structure_forselects the variant of a structure from that index, soORU^R01^ORU_R01parses asORU_R01-Awith no caller-side table. The generator tolerates four more defects of the definitions in the files that carry them: the editorial group name inMDM_T02-Ato-E,CSU_C09andSRM_S01, the misspelleddefintionmember of the complex data types, theMessage.structureprofile URLs, and the 34 message definitions that name no structure; a conformance length withoutlengthis tolerated inCP,ERL,MOandMOPbesideMSH. -
HL7 v2 message corpora for the v2 face, and their corpus test (#292).
scripts/vendor/hl7v2-samples.shvendors three sets verbatim undercrates/ferrobridge-hl7v2/vendor/, each with itsPROVENANCE.mdand upstreamLICENSE: the Microsoft FHIR-Converter samples with their expected R4 Bundles (MIT, 139 messages), the CDC ReportStream data tests (CC0-1.0, 364.hl7files), and the HL7 v2-to-FHIR benchmark page, from which the script extracts the seven benchmark messages into derived files (Apache-2.0). With--build-timeit fetches the NIST LRI, LOI and syndromic surveillance test bundles and the AIRA MQE examples into ignored directories, asscripts/vendor/v2ig.shdoes, since neither repository carries a licence. The crate’sincludekeeps every vendored file out of the package. The corpus test runs every message from an MLLP frame through decoding, parsing, the v2-to-FHIR interpreter (with the table maps answered from the guide’s own maps) to an R4 Bundle, records every counted outcome, and counts each difference from an expected Bundle as a corpus gap, a supplement (#256), a candidate defect or a value beyond the oracle. Two pass lists and badges join the conformance gate:hl7v2(115 of 511 after #302) andhl7v2-smoke(189 of 379, the fetched sets). The testkit’sCasecarries per-case outcome counts into the result the gate reads,pin-freshness.shreads the seven new commit pins against the head of their branches, and thetestandconformancejobs restore the build-time sets from a cache keyed on their pins. -
The ITS-REST client reads a contribution back, and a transaction survives a retry after its binding failed (#270).
ferrobridge-openehrgainsClient::contributionforGET /ehr/{ehr_id}/contribution/{contribution_uid}(contribution_get), with one outcome per documented status (200the CONTRIBUTION,404not found) over the generated parameters and the RMContribution.create_contributionreads an empty201asReturned::Minimalwhatever the preference, reads theIdentifierthe201schema also admits, and reports any other201body asError::CommittedBodynaming the committed contribution. The facade’s transaction records the contribution uid against every keyed entry before it binds any of them (a fifth identity table,source_contribution), binds from the contribution read back when the commit answer lists no versions, and answers a re-sent Bundle whose first binding failed by reading that contribution back, committing nothing. The testkit carries the empty201, the200read and the CONTRIBUTION body as ITS-REST stub shapes. Every2xxwith an empty body now reads asReturned::Minimal, so a composition create or update answered without a body is bound from itsETaginstead of failing after the CDR stored it. -
The
ferrobridge-hl7v2crate, the HL7 v2 face behind the server (#254), reserved on crates.io at 0.0.0.mllpframes<SB> message <EB><CR>(MLLP Release 1) on thetokio-utilcodec traits and runs a listener that answers each frame and drains on a shutdown signal; a frame with no start block, a stray start block, a missing trailer or a size past the ceiling is refused, with anARwhen a header can still be read.decodereads the character set MSH-18 names (ASCII, ISO 8859 parts 1 to 9 and 15, UTF-8, with a per-connection default for an empty MSH-18) and refuses a byte outside it, never replacing it.parsesplits by the MSH-1 and MSH-2 delimiters, decodes the escape sequences, and places every segment in the structure’s group tree fromhl7v2-types, counting a Z-segment, a segment out of place and a field past its table, and refusing a missing required segment or field.ackanswersAA,AEwith oneERRper refusal, orAR, echoing MSH-10 in MSA-2, andinboundsettles those answers for one message.mapruns the 263 ConceptMaps of the v2-to-FHIR guide (hl7.fhir.uv.v2mappings1.0.0, read from a directory, with a supplement directory that replaces a map by its url): the message map, then the segment, data type and table maps, theComputable-ANTLRconditions (398 of the corpus’s rows parse) and the[n]and(Type)target notation, writing FHIR throughfhirconnect::treeinto an R4 messageBundlewith the MessageHeader first andurn:uuidfull urls. Every table value goes throughConceptMap/$translate. A narrative or unsupported condition, an unresolved target, an unmapped segment, field or component, a value a FHIR primitive cannot hold, and a resource that does not decode as R4 are each a typed, counted outcome.tokio-util,bytes,encoding_rs,logosandchumskyjoin the workspace dependencies; all five were already in the lock. -
The
hl7v2-typescrate, the generated HL7 v2 tables (#253), under Apache-2.0 besidefhir-typesand reserved on crates.io at 0.0.0.structureholds every message structure of the HL7 v2 definitions (305, for exampleORU_R01-A) as a static segment-group tree, with each segment’s and group’s position, cardinality and segment status, choice groups and the openHxxslots.segmentholds every segment definition (190), the batch envelopesBHS,BTS,FHSandFTSincluded, with its 2912 fields: position, name, data type code, cardinality, optionality, length, conformance length, standards status and the table binding by number and value set URL. A tree node points at the segment’s own static, andfindlooks either up by definition id. The crate is emitted by a newv2root set intools/fhir-codegen. It reads the fetched v2ig definitions, which have nopackage.json. The differential is read as the snapshot, and a definition carrying a snapshot is refused. Each defect the definitions carry is tolerated only in the files where it was found, so the same defect anywhere else fails the emit.emit --checkcovers the new tree, and the CI test and coverage lanes fetch the definitions the generator’s tests read. -
The HL7 v2 inputs, vendored with provenance (#252). The v2-to-FHIR implementation guide package
hl7.fhir.uv.v2mappings1.0.0 (FHIR 4.0.1, 263 ConceptMaps) is the sixth packagescripts/vendor/fhir-packages.shvendors undertools/fhir-codegen/vendor/. It carries theLICENSEand the mapping guidelines page of its source repositoryHL7/v2-to-fhirat the1.0.0tag, and itsPROVENANCE.mdrecords both licences, the package’s CC0-1.0 and the repository’s Apache-2.0. The HL7 v2 definitions (HL7/v2iginput/sourceOfTruth, 1,694 files, pinned by commit) have terms that do not permit redistribution, so the newscripts/vendor/v2ig.shfetches them at build time into the ignoredtools/fhir-codegen/vendor/hl7-v2ig/and checks the file count and tree digest on every run. The one committed file there is thePROVENANCE.mdthat quotes the licence text HL7 attaches and records the owner’s decision to use the material as a generator input. Thecodegen-driftCI job restores the tree from a cache keyed on the commit and runs the fetch before the drift check.scripts/checks/versions.shreads every FHIR package provenance and the new corpus rows, digests included, back againstdocs/VERSIONS.md. -
The conformance pass lists and their badges (#24). The corpus tests give every case of four corpora a verdict: each file of the FHIRconnect mapping library (2 of 107 pass: parse, published schemas or the pinned rejection set, strict schemas, a clean load, and a compiled program reaching it), each file of the OMOCL library (199 of 208), the two FHIR round-trip chains (both lens laws hold on both) and the two FSH operation definitions of the draft REST API chapter (both). The verdicts are ratcheted against committed lists under
conformance/, and a listed case that stops passing fails the test.scripts/checks/conformance.shcompares,--updaterewrites the lists and the shields.io endpoint badges underconformance/badges/, and--checkruns as the newconformanceCI job. The README shows the four badges. -
The boot banner and the console (#245).
ferrobridge serveunder theprettyformat prints the FerroBRIDGE wordmark, the version, the pins it serves (FHIRconnect, FHIR, OMOCL, OMOP CDM, openEHR ITS-REST, theopenehr-*crates andfhir-types, each read from its crate or fromCargo.lock) and the four lanes with the hosts they reach; underjsonit prints none of it. The boot logs oneconsoleevent (the format, the filter and whether colour is on), onebuildevent (the git commit, the build instant, honouringSOURCE_DATE_EPOCH, and therustcversion) and onelaneevent per lane with its hosts and what its mapping set loaded, beforelistening.GET /health/infoanswers the same build facts and pins as JSON. A carriage return or line feed inside aprettyrecord is written as\ror\n, so a value cannot forge a second line.FERROBRIDGE_LOG_FORMATandRUST_LOGoverride[telemetry] formatandfilter. -
etl runties each composition to a derived visit (#244): the visit of its EHR whose window contains the composition’scontext/start_time(for a composition without a context, the first date its mapping resolved), with thecontext/health_care_facilityname deciding between several windows against each visit’s source. Every clinical row of a tied composition carriesvisit_occurrence_id; a composition inside no window, or inside several the facility does not decide, carries none, and the run report counts both. The composition query may leave outversioned_object_uid, which the runner then reads from theversion_uid, so a CDR that answers noVERSIONED_OBJECTinFROMcan be read. The rule is FerroBRIDGE’s own and is on the OMOP ETL page. -
The OMOP round trip, the v0.0.4 acceptance test (#92): three synthetic laboratory compositions in two EHRs, committed to the reference CDR over ITS-REST as canonical JSON, read by
etl runwith the publishedLaboratory_test_result_v1,Laboratory_test_analyte_v1andSpecimen_v1files copied verbatim, and written into a CDM v5.4 PostgreSQL with the synthetic vocabulary. TheMEASUREMENT,SPECIMEN,FACT_RELATIONSHIP,VISIT_OCCURRENCEandOBSERVATION_PERIODrows are a reviewed snapshot; an unmapped analyte lands as concept 0 and is counted; a second run leaves the database identical, and a composition changed in the CDR replaces exactly its own row on the next run. The synthetic vocabulary gains theLOINC,UCUMandSNOMEDstand-in codes the compositions use, theMeas Value Operatorconcepts, and synthetic visit and type concepts. The OMOP ETL page gives the Data Quality Dashboard steps for a populated database.etl::job::runis the job the binary calls, so a test drives the same path. -
The OMOCL engine (#90).
omocl::resolve::compilebinds a loaded mapping set to one template once: every file at every archetype root of the template it maps, anIncludebelow its including root at itsbase_path(one archetype may be included at two base paths, a cycle is refused), aCustomMappingto its converter, and every path checked against the Web Template. A part of a mapping the template carries no node for is listed as unbound; a required column none of whose alternatives binds refuses the compile.omocl::engine::runwalks one composition with that program into anomop_cdm::graph::RecordGraph, reading every value through the generatedopenehr-rmtypes.alternativesare tried in order and the first present value wins; a required column with no present value, a path that matches several nodes where the record does not iterate, an at-code aconceptMapdoes not list, amultiplicationthat overflows its exact decimal product, a resolved concept outside the domain of its column or itstype, and an ambiguous code each refuse one record with a typed refusal naming the record, the column and the instance path, while the rest of the composition runs. ADV_QUANTITYprojects its magnitude, its units (resolved inUCUM), its normal range and its magnitude status; a code with no standard concept writes concept 0 and keeps its source value. The graph’s report carries every refusal and every element no mapping read.FactRelationshipCustomConverterlinks each laboratory analyte’sMEASUREMENTrow to the result’sSPECIMENrow. The vocabulary is aConceptSourcetrait asked once per distinct question in a run, and an openEHR terminology id is read as an OHDSIvocabulary_idthrough a configurable alias table (SNOMED-CTasSNOMEDby default). A source code mapped to several standard concepts writes one row per concept, as the CDM conventions ask.ferrobridge etl runnow runs: it reads the OMOCL files of the new[mappings] omocldirectory at start, compiles them against each template the first time a composition of it arrives, maps every composition through the engine with the[etl] type_concept_id, resolves concepts, operators and domain concepts through theomop-cdmresolver, and prints the run report as text and as JSON. The record key gains a discriminator (the mapping, the entry and the branch), which the writer’s side table keys on too;graph::Refusalnames its table and column; the vocabulary’s key, resolution and error types no longer need thedatabasefeature, and the error boxes its large fields. Therust_decimal1.43.0 crate joins the workspace for the exact product. -
The OMOP concept resolver (#89).
omop_cdm::vocabulary::ConceptResolverlooks a source code up inCONCEPTby(vocabulary_id, concept_code)and returns it when it is standard, or every standard concept itsMaps torelationships reach, ordered byconcept_id. Every row it touches must have noinvalid_reasonand validity dates that contain the record date. Two valid concepts under one key are a typed error naming the key and the date, and a code with no standard concept comes back unmapped with its key, for the caller to write as concept 0 and count. Each concept carries itsdomain_id. The queries go throughsqlx0.9.0 and are checked at compile time against the vendored DDL from the committed.sqlx/metadata, whichscripts/checks/sqlx-offline.shregenerates or checks.omop_cdm::databasebinds a pool to one CDM schema and applies OHDSI’s tables, primary keys and indices to it in one transaction; the rendered constraints file stays out, because PostgreSQL refuses it (#232). The testkit carries a synthetic vocabulary for the ten vocabulary tables, in a CSV shape of FerroBRIDGE’s own thatCOPYreads. The loader for an Athena export is #233, which waits on #88 recording that format from an observed export. Thesqlx-offlineCI job fails when the committed query metadata no longer matches the queries. -
omocl::model, the OMOCL file model (#87): the AST with positions for the header, the twelve entrytypevalues, column entries withoptionaland orderedalternativesof exactly one ofpath,code,conceptMapandmultiplication(whose factors arepathorcode),base_path,IncludeandCustomMapping; the JSON Schema FerroBRIDGE authors for OMOCL (crates/omocl/schemas/); the key-to-CDM-column projection table for all ten targets, checked against the CDM v5.4 column metadata; and the load-time rules (an unknown key, two keys writing one column, an unknownCustomMappingconverter and an unresolvedIncludeare refusals). A literal concept id is checked against the domain its CDM column takes through a hook the vocabulary resolver plugs into. 199 of the 208 library files load; the nine refusals are pinned with their defect. -
openehr_mapping_core::schema, the one projection of a positioned tree into JSON and the one JSON Pointer locator thatfhirconnectandomoclboth validate their files through. -
omop_cdm::meta::ColumnMeta::fk_domain, the vocabulary domain the CDM v5.4 field definitions name for a concept column, emitted bytools/omop-cdm-codegenfrom thefkDomaincell. -
The OMOP sink (#91).
omop_cdm::graphis the record graph one composition becomes: rows checked against the column metadata as they are built, keyed by EHR, versioned composition, archetype root and occurrence, with references to a person, a visit or another row for the writer to resolve,FACT_RELATIONSHIPlinks, and the per-composition report. A row missing a required column, a date among them, is refused naming the column.omop_cdm::writer::CdmWritercommits one graph per transaction over its owntokio-postgresconnection: ids come from oneintegersequence per table in a bridge schema (ferrobridgeby default) beside the CDM, a natural-key side table keeps each key on its id across runs, a later version deletes the rows the earlier one wrote, the rows cross through binaryCOPY, links are written in both directions withrelationship_concept_id0, and a watermark names the version committed. An exhausted sequence is a typed error and rolls the composition back.omop_cdm::derivedrebuildsOBSERVATION_PERIODfrom the first to the last clinical event per person, andCONDITION_ERAandDRUG_ERAwith the PostgreSQL form of the scripts the CDM publishes (crates/omop-cdm/sql/, checked against the digest of the vendored page). The PostgreSQL side ofomop-cdmsits behind adatabasefeature, on by default;omocltakes the crate without it. -
The ETL runner and the
[etl]configuration (#91): the composition query and the visit query are parsed withopenehr-query0.0.69 at load and refused without their four aliased projections, anORDER BY, or with aLIMIT; the run pages them throughPOST /query/aql, reads each template once, validates each composition, commits it whole, reports a refused one and goes on, skips on--resumeevery composition whose watermark names the same version, binds--sinceto$since, derives visits grouped by EHR and source, and prints a run report with rows per table, concept 0 assignments, zero-relationship links, unmapped fields and refusals.[cdm]gainsschema,bridge_schemaandperson_policy. -
ferrobridge cdm initruns: it applies the CDM DDL and the bridge schema to the configured database.ferrobridge etl run [--resume] [--since TIME]parses and names #90, the OMOCL engine it waits on, andferrobridge vocab load DIR --schema NAMEparses and names #233. -
docs/specs/omop-cdm/site/sqlScripts.qmd, the source of the CDM’s SQL scripts page, joins the vendored OMOP CDM corpus at the same tag. -
The CDM database connection carries TLS (#237). The concept resolver’s pool and the CDM writer both honour the
sslmodeof[cdm] urlas libpq documents it,disable,require,verify-caandverify-full, over rustls with the aws-lc-rs provider, and check the certificate against the PEM CA in the new[cdm] tls_caortls_ca_file, or the webpki root set when none is set. A URL withoutsslmode(libpq’s default isprefer),prefer,allow, an unknown mode and any othersslURL parameter are refused when the configuration is read, naming the mode or the parameter, and so is aPGSSLROOTCERT,PGSSLCERTorPGSSLKEYin the environment, which the pool’s client would read and the writer’s would not. The quickstart’scdm_urlnow ends in?sslmode=disable. Theetllane’s startup event carries thesslmodein effect.omop_cdm::connection::CdmConnectionsettles the TLS once for both clients, andCdmWriter::connect_withtakes it. -
ferrobridge cdm initcan run again (#238). It reads the schema’s tables first: a schema holding every CDM v5.4 table is reported as initialised, with thecdm_versionof itsCDM_SOURCErows, and nothing is applied; a schema holding some of them is refused naming the missing tables; the vendored OHDSI DDL is applied unchanged.omop_cdm::database::initreturnsInit::CreatedorInit::AlreadyInitialised.
Changed
ferrobridge-hl7v2splits its files over 750 lines into module folders (#355), with no change in behaviour: the interpreter run inmap/run/by phase, the parser inparse/by phase, and the interpreter tests intests/it/map/; the condition grammar tests move totests/it/condition.rs, and a caller names the parse phases by their module (parse::lex::lex,parse::structure::structure_for,parse::grouping::group).openehr-mapping-core,omoclandomop-cdmsplit their six files over 750 lines into module folders (#356), with no change in behaviour; the public types keep their names and a caller imports each from its new child module (header::metadata::MappingName,graph::row::Row,writer::error::WriteError).- The five generator tests that emit a whole crate run only behind
FERROBRIDGE_CODEGEN_EMIT=1, set by thecodegen-driftjob over a release build; thetestjob and the SonarQube Cloud coverage run skip them, since a full emit ofhl7v2-typestook up to fourteen minutes per test under coverage instrumentation and pushed both past their 45-minute timeouts.codegen-driftrunsemit --checkin release. fhirconnectsplits its twelve files over 750 lines into module folders (#352), with no change in behaviour; a caller imports a moved public type from its child module (engine::traverse::error::EngineError,resolve::program::mapping::Mapping,model::ast::keyword::Direction).ferrobridge-serversplits its seven files over 750 lines into module folders (#354), with no change in behaviour; the configuration file tree moves toconfig::section(config::section::Telemetry), and every otherfhir-codegensplits nine of its files over 750 lines into module folders (#353), with no change in behaviour or in the generated crates; every public item keeps its path.ferrobridge-hl7v2parses every message against the tree and segment tables of the version its MSH-12 declares, not only the structures v2.9.1 withdrew (#333). The required fields follow that version’s optionality: a 2.5.1DG1is held to DG1-1, DG1-2 and DG1-6, and a 2.9.1 one to DG1-1, DG1-3 and DG1-6. An empty required field no longer refuses the message: it is counted asmissing-required-fieldnaming the field, the segment and the version, and the message is mapped and answeredAA. Only MSH-9, MSH-10 and MSH-12, which the answer needs, still refuse; required segments and groups refuse as before. A guide row whose innermost group the version’s tree omits (ORDER_OBSERVATION.COMMON_ORDER.ORCagainst the 2.5.1 ORU_R01) reaches the segment placed in the parent group, counted asgroup-path. The IGAMT 2.7.1 and 2.8 tables’ OBX-4R, which every other version and v2.9.1 writeC, is tolerated as an export defect and emittedC. A message declaring 2.9.1, 2.9, a version after 2.8.2, none, or a version whose tables lack the structure is parsed against v2.9.1. Each selection is counted asversion-selectedwith the version used.hl7v2-types::legacynow holds every structure of versions 2.3 to 2.8.2 (1713 of 254 codes). A segment or tree identical to an earlier one links to that static, so the crate packages at 1.2 MiB compressed. Siblings in a legacy tree are now ordered by row id, which fixes groups placed after their segments in the 2.5 to 2.8.2 trees.- The nine
openehr-*crates step from 0.0.71 to 0.0.72, whose generated ITS-REST client carries what the bridge’s CDR client added around it (#293, FerroEHR #3487). The composition commit headers travel through the generated parameters asopenehr-version,openehr-audit-detailsandopenehr-template-id; a refusal’sissue.diagnosticsreads the error body the generated outcome orClientErrorcarries, so a400in the prose error shape is the documented400; a version uid travels with its:literal in the path segment; and[cdr]credentials are theopenehr-itsCredentials, built withCredentials::basicandCredentials::bearerover aSecretString, in place of the bridge’s own copy of that type. - The nine
openehr-*crates step from 0.0.69 to 0.0.71, andopenehr-itsis taken with the newrestfeature in place ofrest-server, so the ITS-REST DTOs come without axum. 0.0.71 also ships therest-clientfeature (FerroEHR #3485), which #285 adopts in place of the hand-written client. - The
omop-cdmrecord graph keys its rows by theopenehr-baseBASE 1.3 identifiers (#279): the EHR and the versioned composition are aHierObjectIdand the version anObjectVersionId, so the ETL runner hands the ids it parsed from the AQL row straight to the CDM writer. The graph’s ownEhrId,VersionedObjectUidandVersionUidare gone.Source::newtakes the EHR and the version and reads the versioned composition from the version’sobject_idas written,RecordKey::newtakes theSourceit belongs to, and anehr_ida composition or visit row carries must now parse as a BASE 1.3HIER_OBJECT_ID. A watermark whose stored version is noOBJECT_VERSION_IDis the newWriteError::Version. The side tables store the same strings as before. ferrobridge-openehris the ITS-REST client transport only, and takes the openEHR model from the published crates (#276). The version, version container, template anduid_based_ididentifiers are theopenehr-baseBASE 1.3ObjectVersionId,HierObjectId,TemplateIdandUidBasedIdtheopenehr-itsDTOs use, so anETagor a stored id now parses against the BASE 1.3uidgrammar.CommitContextcarries the lifecycle state as aDvCodedTextand the audit as the ITS-RESTUpdateAuditData, and renders theopenehr-version,openehr-audit-detailsandopenehr-template-idheaders byte for byte as before; the facade builds that audit once for a single write and a transaction entry. The ADL 2 template fetch answers theopenehr-amArchetypeHrid. The bridge’s ownObjectVersionId,VersionedObjectUid,TemplateId,ArchetypeHrid,LifecycleState,ChangeType,CommitterandCommitterRefare gone;EhrId,ContributionUid,SubjectId,SubjectNamespaceandRequestIdstay.- The facade’s write pipeline is one transport-neutral service,
facade::ingest(#261). It maps a resource through its FHIRconnect program with the origin on the engine defaults, resolves or creates the EHR by subject, strict-reads the built composition, commits over ITS-REST and records the identity binding and the consumed source version, taking plain values and answering a typed result.ingest_bundleanswers one outcome per entry (committed, or skipped with a typed reason) under an explicitUnmappedEntriesrule:Refuse, which the transaction route passes, orSkipAndCount, which skips an entry no program maps and commits the rest.Provenance::Itemnames one originating item for every composition, andSourceItem::messagebuilds one from a message control id and type. The create, update and transaction handlers keep the HTTP half and answer exactly as before. ferrobridge cdm init --with-constraintsapplies OHDSI’sOMOPCDM_postgresql_5.4_constraints.sqlafter the tables, one statement at a time in a transaction of its own, and names the file line and the text of a statement PostgreSQL refuses (#232). Without the flag the foreign keys are left out, as before. At the pinned OHDSI tagv5.4.3PostgreSQL refuses line 157, a foreign key ontovocabulary (vocabulary_id)that the primary keys file gives no key (SQLSTATE42830), so the flag fails the run and leaves the tables in place.- The vendored OMOCL corpus moves to
SevKohler/OMOCLcommitc082db8e(#228): six new mapping files and the README acknowledgements, 208 mapping files in all. - The server calls the CDR through the generated ITS-REST 1.1.0 client of
openehr-its(rest-client, #285). The[cdr]keys keep their names and their meaning:timeout_msis the per-request timeout of thereqwestengine,retry.max_attempts,retry.initial_backoff_msandretry.max_backoff_msare the client’s retry budget over idempotent calls, andcredentials(with its_fileforms) are the Basic or Bearer credentials sent on every call. Two answers read differently: a501is no longer retried, since a repeat cannot change it, and a204to a create underreturn=minimalis a committed write instead of an undocumented status. The facade answers every CDR status with the same FHIR status andOperationOutcomeas before.
Removed
crates/ferrobridge-openehr, the hand-written ITS-REST client (#285). Its identifiers, the commit-header rendering, the template fetch and the AQL paging move into the server’scdrmodule; its transport, outcome enums and retry are the generated client’s. The 0.0.0 name was never published.
Fixed
- The HL7 v2 parser no longer opens a segment group the following segments
leave with a required member empty when a later node takes the segment
(#343). A 2.9.1 OUL^R22 of
SPM, OBR, ORC, OBXplaced its OBX inORDER_DOCUMENT, whose required TXA never came, and reported nothing; the OBX now opens theRESULTgroup, and an OBX followed by its TXA still opensORDER_DOCUMENT. A group left with a required member missing is a100refusal naming the member and the group, located at the group’s first segment. - A facade read, vread or
return=representationwrite answers a valid R4 instance (#350). AConditionmapped through a context with no outbound subject row read back withoutsubject, which R4 makes1..1, so the read body could not be sent back as an update. The facade now writessubject(orpatient, where the type names it so) from the person the identity map recorded for the composition’s EHR whenever the rendered resource lacks it, in the form a create reads back into the same EHR, and logs the element paths it filled. It then checks everymin 1element of thefhir-typeselement table, nested and contained ones included, and answers500 exceptionnaming the element when one stays absent. The identity map gains a seventh table from eachehr_idto its person, and a store an earlier version wrote gains its rows when it opens. - A facade update that sends back the
ETaga read answered,If-Match: W/"1", commits the next version and answers200with_history/2and the newETag(#347), as R4 concurrency prescribes. Before, every suchPUTanswered412, and only the CDR’s ownuid::system::Nform succeeded. The facade completesW/"N","N"and a bareNto the current version of the bound composition, at the cost of one extra CDR read per versioned update, answers412with the currentETagwhenNis stale, and400 invalidwhen the value names no version. The CDR’s own form still passes through, and one naming another composition is412. - A transaction Bundle that carries one resource
idat twometa.versionIds is refused with400 invalidnaming both entries and commits nothing (#306), as R4 allows a resource in a transaction once by identity. Before, the two entries passed the duplicate check and an unknownidproduced two compositions. An entry that repeats another’s version as well keeps its422 duplicate. - A FHIR path that names a choice alternative by its concrete key, such as
Observation.effectiveDateTime,valueQuantityor an extension’svalueCodeableConcept, resolves to the one type that alternative carries, soResolved::type_codeanswersdateTimewhere it answered nothing (#290). The v2-to-FHIR interpreter drops its own reading of the suffix and asks the resolver, and a row whose target has no single type (a choice element no alternative names) is counted asuntyped-targetnaming the element, where it went on under an empty type name. scripts/checks/conformance.shstops with “cargo not found on PATH” and exit 1 before it runs anything, where a missing cargo read as every corpus test failing.- A patient location (PL) gives one Location per level it values, linked by
partOf, and the Encounter references the finest level: the bed, else the room, else the point of care (#342). The guide’sdatatype-pl-to-locationwrites the levels through[1].to[6].rows, which the interpreter counted asunplaced-instance(1538 outcomes over the vendored corpus), so only the bed was written. A[k].row of a data type map whose rows reference a labelled instance of the resource type they fill now writes thek-th sibling of the resource the(Type)row created, on first sight; a reference between siblings to a level no value reaches climbs to the level that one’s own row names, and one that reaches no valued level is counted assibling-unresolved; the references to the family take the finest level, counted asfinest-sibling, or stay put assibling-ambiguouswhen the chain leaves two. A supplement to the PL map (#332) links the levels in the order its PL.10 rows give (bed, room, point of care, floor, building, facility), where the guide’spartOfrows disagree and the building names itself; writes the point of care’smodeandphysicalTypeat elements Location has; fixes the PL.10 labels and conditions; and writes PL.9 into the finest valued level. The guide’s MDM^T02 sample now maps to the four Locations of its expected Bundle. The pass counts do not move (153 of 511 vendored, 199 of 379 smoke); over the vendored passes the expected-Bundle comparison counts 63 fewer corpus gaps (571 to 508: everyLocation.partOf,identifier,modeandphysicalTypedifference) and 15 fewer count differences (166 to 151). - A segment whose group path no row of the guide’s message map names takes
the rows of the one source whose groups differ from its own by a single
group, other than the group holding the segment (#334). The guide writes
ORM_O01.ORDER_DETAIL.CHOICE.OBRwhere the 2.3 tree places OBR atORM_O01.ORDER.ORDER_DETAIL.CHOICE.OBR, so the OBR, RXO, NTE, DG1 and OBX of a legacy order now reach their rows, each counted asgroup-pathnaming the row path and the tree path. A row path that reaches two tree paths, or a tree path two row paths reach, staysunmapped-segment. Over the corpora 39 segments take this path; the pass counts do not move (142 of 511 vendored, 189 of 379 smoke). - A group of a row’s path that names no tree group at its position pairs
with the one tree group there whose segments hold the row’s segment and
every segment the guide’s rows place in the row’s group (#339). The guide
writes
ORM_O01.PATIENT.VISIT.PV1where the 2.3 tree hasORM_O01.PATIENT.PATIENT_VISIT.PV1, so the PV1 and PV2 of a legacy order now reach their rows, counted asgroup-renamednaming both group names. A pairing composes with the one-group tolerance of #334, and among the pairings the one with the fewest renamed groups counts; two tree groups that qualify leave the segmentunmapped-segment. The v2.9.1 MDM_T02 definitions name the observation groupFIXME, so the OBX of a document notification now reaches the guide’sMDM_T02.OBSERVATION.OBXrows. Over the corpora 60 segments take this path; the pass counts do not move (142 of 511 vendored, 189 of 379 smoke). - A legacy field whose version names its type by a version-specific code
the guide has no data type map for resolves to the base type before the
map lookup (#335):
CM_MSGtoMSGandCE_0051toCE, counted asbase-typednaming both codes. A code the guide maps keeps the guide’s map:TSstays ondatatype-ts-to-datetime.hl7v2-typescarries the link: each legacy version module gains adata_typemodule with oneLegacyDataTypeper code its segments’ fields name, whose base isMSGforCM_MSG,CEbound to table 0051 forCE_0051andDTMforTS, andDataTypeRef::Legacypoints at it. A code that stands for no defined type keeps its code and staysno-datatype-mapwhen no map names it. The pass counts do not move. - The two
datatype-eip-<half>-to-identifiermaps each fill anIdentifierof their own (#336). The guide maps SPM-2 intoSpecimen.identifier[1]andidentifier[2]and ORC-4 intoDiagnosticReport.identifier[3]andidentifier[4], and the placer map reads EIP.1 where the filler map reads EIP.2, so the rows in map order take the halves in component order: the first row the placerIdentifier(PGN), the second the filler’s (FGN), each counted asdatatype-halfnaming the map chosen. A value valuing a component neither half reads (an EI written into ORC-4) stays adatatype-conflict. A(Type)row whose one step inside the referenced resource is aReferenceno data type map fills runs the data type map from its source into that resource when every row of that map writes through that element, counted asreference-root: OBX-25 intoperformer(PractitionerRole.practitioner)and ORC-12 intorequester(PractitionerRole.practitioner)rundatatype-xcn-to-practitionerrole, which gives thePractitionerRoleitsPractitioner. A primitive a data type map writes at$valueof a complex element with a primitivevaluechild lands there, counted asvalue-child: TXA-16 throughdatatype-st-to-identifiergivesDocumentReference.identifier.value. Over the corpora,datatype-conflictfalls from 1226 to 155 andno-datatype-mapfrom 1525 to 389; the pass counts do not move (142 of 511 vendored, 189 of 379 smoke), since no outcome decides a verdict. - A field of a legacy v2 message takes its data type from the segment
definition of the version the parser selected (#329). Where that type
differs from the type the guide’s row names, the version’s type chooses
the data type map and the run counts a
version-typedoutcome naming the field, both types and the version: anORM^O01at 2.3 maps OBR-4 byCE(datatype-ce-to-codeableconcept) where the row namesCWE. A code v2.9.1 dropped resolves by code through the same map lookup, and a message of a structure v2.9.1 still carries keeps the row’s type. The corpus pass counts are unchanged: 112 of 511 vendored messages and 189 of 379 fetched ones. - A v2-to-FHIR row whose data type maps are alternatives for one value runs
one of them (#327). Two maps are alternatives when both map one component,
with no condition, into the same child or into the target itself, as the
four
datatype-ei-<qualifier>-to-identifiermaps do with EI.1. The map whose rows write from the most components of the value is chosen, and among equally specific maps that write the same, the one with the fewest rows. ORC-2, ORC-3 and TXA-12 each give oneIdentifier: a bare value fromdatatype-ei-defaultassigner-to-identifier, a value with an assigning authority fromdatatype-ei-organization-to-identifier, with its assigner. The[System]variant, whose EI.1 row writes$valueand whose system rows are narrative, is no longer run, so theno-datatype-mapit counted throughdatatype-st-to-identifieris gone. Equally specific maps that write differently countdatatype-ambiguousnaming them, and none writes. A row whosemappedVianames a data type map runs that map alone (StructureDefinition-TypeInfo: “Url of the mapping artifact for the item”). The pass counts do not move (134 of 511 vendored, 189 of 379 smoke): no EI outcome decides a verdict there. - A v2-to-FHIR row into a complex element runs every data type map the
guide names for it (#324). The maps are found by the element’s type, else
by its element path, the form the guide’s map titles use for a backbone
element (
HD[endpoint]andHD[name]intoMessageHeader.source), so MSH-3 and MSH-24 intosourceand MSH-25 intodestinationrun both HD maps where they countedno-datatype-map. A child that another row of the same field targets directly stays that row’s, so MSH-3’s ownsource[1].endpointrow keeps the endpoint. When two maps write the same child for one value, as the four EI maps intoIdentifierdo with EI.1, the row writes nothing and countsdatatype-conflictnaming the child and the maps. The pass counts do not move (111 of 511 vendored, 189 of 379 smoke): the guide’sdatatype-hd-endpoint-to-messageheader-sourcegates every endpoint row on a condition outside the guide’s grammar (HD-3,=, a test with no operand) and assigns a concatenation, so its endpoint is never written and the 23 messages valuing MSH-24 still lackMessageHeader.source.endpoint. - A required FHIR primitive carried only by its
_namesibling with an extension counts as present, as FHIR R4 JSON represents a primitive with extensions and no value (https://hl7.org/fhir/R4/json.html#primitive) (#321). Thedata-absent-reasonthe guide’s MSH-24 row writes into_endpointnow completesMessageHeader.source, so a v2 message valuing none of MSH-3, MSH-24 and MSH-4 is mapped with that endpoint instead of answeredAR; a_namewith an empty extension list is still missing. Where MSH-4 is valued its endpoint still replaces the extension. A message whoseMessageHeader.sourceno row completes, such as one valuing MSH-24, whose row intosourcehas no single data type map, is still refused asMapError::NoMessageHeader. The smoke corpus passes 189 of 379 messages (187 before, the 2 AIRA messages that name no sender); the vendored corpora stay at 111 of 511. - The v2-to-FHIR interpreter emits only Bundles that decode as FHIR R4
(#302). A value outside the lexical form of its target primitive, such as
an application name with spaces written into the
urlMessageHeader.source.endpoint, is never written and counts asinvalid-valuenaming the element and the type (https://hl7.org/fhir/R4/datatypes.html#primitive). An element lacking an element its definition requires (MessageHeader.destinationwithoutendpoint, anextensionwithouturl,Provenance.agentwithoutwho) is left out, and so is a resource lacking one (MessageHeaderwithoutsource), each counted asmissing-requiredwith the definition path it lacks. A write taking a second alternative of a choice such asExtension.value[x]counts assuperseded. A resource that still does not decode is left out of the Bundle asundecodable. The vendored corpus now passes 115 of 511 messages (8 before) and the build-time smoke corpus 189 of 379 (26 before), and the corpus test asserts that no Bundle fails to decode and no resource is left out asundecodable. - Every
messageBundle the v2-to-FHIR interpreter emits opens with itsMessageHeader, as FHIR R4 invariantbdl-12requires (https://hl7.org/fhir/R4/bundle.html#invs) (#311). A v2HDwritten into aurlelement (MSH-3 intoMessageHeader.source.endpoint, MSH-5 intoMessageHeader.destination.endpoint) becomes the guide’surn:oid:,urn:uuid:,urn:dns:orurn:uri:form of its universal ID when HD.3 names one of those types, and otherwise the derivedurn:ferrobridge:hl7v2-hd:endpoint with each component percent-encoded; the namespace ID is kept in thenamebeside it. A message that names its sender in neither MSH-3 nor MSH-24 is answeredARwith anERRat MSH-3, and a run that still completes noMessageHeaderis refused asMapError::NoMessageHeadernaming the element it lacks. The corpus test assertsbdl-12over every Bundle it maps. The vendored corpus passes 107 of 511 messages (115 before) and the smoke corpus 162 of 379 (189 before): the cases that left are header-less Bundles now refused, 8 that value MSH-24 (whose row intoMessageHeader.sourcehas no single data type map) and 27 that value neither MSH-3 nor MSH-24. - A v2 message that values neither MSH-3 nor MSH-24 but names its sending
facility in MSH-4 is mapped instead of answered
AR(#315). TheMessageHeader.source.endpointandsource.namecome from the MSH-4HDby the endpoint rule above, the guide’ssenderOrganization from MSH-4 stays, and the fallback is counted as afacility-endpointoutcome naming the field and the element. MSH-6 fillsdestination.endpointthe same way when MSH-5 and MSH-25 are empty. Only a message valuing none of MSH-3, MSH-24 and MSH-4 is answeredAR. The smoke corpus passes 187 of 379 messages (162 before); the 2 AIRA messages that name no sender at all stay refused. - A v2-to-FHIR row whose own source field is empty runs when it maps that
absence: it assigns a literal and its condition requires the field
NOT VALUED(#318). The MSH map’s MSH-24 and MSH-25 rows (IF MSH-24 NOT VALUED AND MSH-3 NOT VALUEDand the destination pair) now write their data-absent-reason extension on the endpoint, and the data type rows of the same form (XTN.3whenXTN.4is valued) run too. A row on an empty field whose condition only tests another field (PID-13withIF PID-13.2 IS NOT VALUED) still writes nothing. Where MSH-4 or MSH-6 gives the endpoint, the facility’s value replaces the data-absent-reason, since the row’s comment leaves the implementer the choice between a known value and the extension. The vendored corpora pass 111 of 511 messages (107 before, the four MDM T06 and T10 samples); the smoke corpus stays at 187 of 379. - A v2 message whose MSH-9.3 names a structure the definitions lack
(
ADT^A08^ADT_A08,SIU^S13^SIU_S13) is grouped by the structure the message definition of MSH-9.1 and MSH-9.2 names, as HL7 v2.5.1 chapter 2 §2.15.9.9 derives it through table 0354, and counted asother-structurenaming both (#319). An MSH-9.3 naming a known structure the definition contradicts stays refused, and so does one with no definition to fall back on (ORM^O01^ORM_O01, 10 vendored messages). - A v2 message whose header carries no MSH-9.3 (the v2.3 senders in the vendored ReportStream set) resolves its structure from MSH-9.1 and MSH-9.2 through the generated message index instead of being refused as unnamed (HL7 v2.5.1 chapter 2 §2.15.9.9, table 0354).
- A transaction entry with an
idthe identity map knows and a newmeta.versionIdcommits a later version of that resource’s composition inside the Bundle’s contribution, as a single create of it does (#297). Before this fix it created a second composition under a second container. The entry goes in as anUpdateVersionwhosepreceding_version_uidis the composition’s latest version, with amodificationaudit, binds to the resource id it already has, and answers200 OKin thetransaction-responsewith aLocationnaming the new version. The commit-before-bind record, theFEEDER_AUDITpairing and the retry after a failed binding hold for such an entry, and a Bundle entry now also claims itsresourceTypeandidalone, as a single create does. - A conditional create’s
If-None-Exist: identifier=…finds a resource the facade committed (#299). The search read the external-id table under the identifier’s value, a key the ingest never wrote, so a conditional create of an existing resource committed a duplicate. Every committed resource now records eachResource.identifierit carries against its logical id (a sixth identity table,identifier_internal), and the search reads it in the R4 token forms[code],|[code]and[system]|[code], percent-decoded; the[system]|form answers400 not-supported. One match answers200 OKand commits nothing, several answer412. - A single create re-sent with the
idandmeta.versionIdthe identity map already consumed commits nothing and answers200 OKwith theLocation,ETagand body of the composition the first delivery produced, as a re-sent transaction entry is answered (#288). Before this fix it committed a new version of that composition on every delivery. A create of a knownidat anothermeta.versionIdcommits a later version of the same composition; before, it committed a second composition. A create of a knownidwith nometa.versionIdis a replay when it maps to the content the composition holds now (theuidand the clock-filled times masked, as the transaction path masks them) and a later version otherwise. Anidthe map binds to two compositions is refused with409 Conflict. A single create also claims itsresourceTypeandid, so two creates of oneidat different versions cannot run at once.PUTand the transaction path are unchanged. - Two overlapping deliveries of one transaction Bundle, or two overlapping
creates of one resource, commit once (#273). Each delivery claims the source
key of every entry before it reads the identity map and releases the claims
when it answers, on every exit path including a panic. A delivery that finds
a key claimed commits nothing and answers
409 Conflictwith aduplicateissue per entry; retried after the first delivery answers, it is recognised as a re-sent Bundle or resource. Before this fix both deliveries could pass the lookup and commit, leaving a composition no identity record named. - A re-sent Bundle whose entries share one
FEEDER_AUDITitem, as the entries of one message do, binds on retry after its first binding failed (#274). The content comparison that tells such entries apart now masks everyDV_DATE_TIMEthe engine filled from its clock (thectx/timedefault that reachesEVENT_CONTEXT.start_time,HISTORY.origin,EVENT.timeandACTION.time), where a retry mapped at a later instant failed the comparison with a500on every attempt. - A single create of a resource that a transaction committed and did not
finish binding binds from the contribution read back and answers
200 OKwith the composition the first delivery produced (#275), where it committed a second composition. The single and the transaction paths share the read-back and theFEEDER_AUDITmatch; the single path passes over the versions of the transaction’s other entries. - A value a FHIR resource maps into openEHR keeps every attribute the
reference model gives it (#241). The engine writes each data value whole as
its canonical JSON under the FLAT
|rawsuffix (ITS-REST 1.1.0 Simplified Formats, master04 §Raw canonical JSON) instead of through per-class suffix tables, which droppedhyperlink,languageandencodingon aDV_TEXTorDV_CODED_TEXTandnormal_status,normal_rangeandaccuracyon aDV_DATE_TIMEwith no error. A tail below a node is now admitted when theopenehr-rmattribute model defines it, and refused at load (fc-uncarried-tail) when it runs through a list or sits below a structural node other thanENTRY.provider; amanualpath must end on a string attribute. The composition defaults travel as thectx/keys of master06, and a default setting whose code and value name two concepts of the openEHRsettinggroup is refused. A value atCOMPOSITION.composer,languageorterritorythat thectx/keys cannot carry whole is refused instead of losing its identifiers or its terminology. TheLINKandPARTICIPATIONlists a composition carries are read as typed values, and a defective one is a refusal instead of an empty list. An EHR the facade creates stampsEHR_STATUS.archetype_details.rm_version1.2.0, the release its types come from, instead of1.1.0. - A transaction Bundle sent twice commits its compositions once (#264). The
transaction path records each entry’s identity binding and consumed source
the way a single create does, asking the CDR for the committed CONTRIBUTION
(
Prefer: return=representation) to learn each entry’s version and reading each version back to match it to its entry by theFEEDER_AUDITthe engine wrote, since ITS-REST states no order forCONTRIBUTION.versions; a version that matches no entry, or more than one, is a500naming the contribution and binds nothing. A committed transaction answers atransaction-responseBundle whose entries carry201 Created, thelocation[base]/[type]/[id]/_history/[vid]and theETaga create answers (R4 §3.1.0.11.3), where it answered anOperationOutcome. A Bundle whose every entry an earlier delivery consumed commits nothing and answers200 OKper entry with the same locations; one only some of whose entries were consumed is refused with409naming them, and one carrying a resource twice is refused with422. The ingest service keys a message’s entries on its control id and entry position, so a redelivered message commits once.
0.0.3 - 2026-09-25
The FHIR round-trip release. The fhirconnect crate runs every FHIRconnect
method over the generated FHIR model and the openEHR Web Template; the $tofhir
and $toopenehr operations and the FHIR R4 facade over a CDR are served by the
one binary; and the published KDS Diagnose chain round-trips under both lens
laws, through the operations and against a real CDR, modulo a declared set.
v0.0.3-rc.1, cut the same day, rehearsed the release lane with this content
and is superseded by this release.
Added
-
scripts/vendor/its-rest.shalso vendors the Simplified Formats and Simplified Data Template sources (docs/simplified_formats/,docs/simplified_data_template/) at the pinned ITS-REST commit, so the FLAT families the engine writes cite a vendoredmaster05-rm_mapping.adoc. -
The KDS diagnosis round trip (#86).
scripts/vendor/kds-diagnose-opt.shvendors the publishedKDS_Diagnoseoperational template verbatim, pinned by commit, path and sha256 indocs/VERSIONS.md, with its provenance and the repository licence beside it. A FerroBRIDGE project context compiles the publishedEVALUATION.problem_diagnosis.v1chain of the FHIRconnect mapping library against it; every published file the chain reaches loads verbatim or has its refusal asserted by file and line, and the project directory carries a stand-in for each one that does not. The two lens laws are asserted as reviewed snapshots of the declared set, with a corrupted intermediate that breaks each, over the synthetic chain and over the KDS chain. Both laws hold on the KDS Diagnose chain in the engine, over the two FHIRconnect operations and through the facade against the reference CDR, each modulo its declared set. The end-to-end lane commits a synthetic KDS composition to the reference CDR and reads it back. The server logs every warning a compiled program carries once at load, naming the context, the file, the line and the code. -
Context resolution refuses two sibling mapping methods of one file that share a name (
fc-duplicate-method-name, naming both positions), because anoverwriteor anappendToof that name has no single target, and warns when a listed extension extends a model the program never reaches (fc-unreached-extension). A compiled program carries its warnings. -
The carry-over wire cases on the facade (#115):
$validatenames the EHR the composition would be written into as well as its template, carries the validator’s message verbatim, writes nothing either way, and refuses at the operation level as create does; a refused commit stores nothing; the three absences differ inissue.codeanddiagnostics; both JSON media types are read on every write and anything else is415; the feeder audit carries the source version and records an absent id as unknown; and an EHR created on first sight names its subject as aPARTY_SELFover aPARTY_REFwhoseGENERIC_IDscheme is the namespace, while the default policy creates none. -
The FHIRconnect engine records where a composition came from in its
FEEDER_AUDIT(#187) (https://specifications.openehr.org/releases/RM/Release-1.1.0/common.html#_feeder_audit_class).Defaults::with_originnames the system and the source resource, which travel asoriginating_system_auditandoriginating_system_item_ids, and every composition field the engine defaulted travels as onefeeder_system_item_idsentry, in the order of theWarning::Defaultedentries. The facade and$toopenehrboth set the origin, so the facade no longer patches the audit onto the built composition. -
The FHIRconnect engine reads and writes a mapping’s reference-model tail below the deepest template node, in both directions (#189). The resolver records the class of the tail’s last attribute, the tail’s class selects the data-type cell, and a tail no FLAT part of the node’s class carries is refused with
EngineError::UnsupportedTailinstead of being dropped on the way to the wire. -
The FHIRconnect engine runs
reference,link,participationsFunctionandhierarchy.split(#186). What a run calls out to isSeams: themappingCoderegistry, aReferenceSourcefor referenced resources and anIdentitySinkfor the resources a run creates, whose default derives a stable id by digest. A reference that resolves to nothing is a declared skip and a reference cycle refuses. Alinkwrites an openEHRLINKwhose target must be anehr:URI, a participation writes oneother_participationsentry, and a split creates one resource or one archetype instance per occurrence and per distinctuniquetuple. Created resources travel onOutcome::created:$tofhiranswers them as Bundle entries covered by the oneProvenance, and the facade carries them as contained resources. -
The FHIRconnect operations compile against the templates the CDR serves when
[cdr]is configured and[mappings] templatesis not (#195): boot reads the context files, fetches each template they name atGET /definition/template/adl1.4/{template_id}(openEHR ITS-REST 1.1.0 §Definition), and refuses the start with the template id and the upstream status when the CDR does not serve one. A[mappings] templatesdirectory still wins when both are present. A[mappings] directorywith neither source is refused when the configuration is read, before any upstream call, while[operations] enabledis true. A mapping set that does not load stops the start with “the mapping set could not be loaded” followed by the cause. -
fhir-types0.1.106 carries theisSummaryandisModifierflags of every element onschema::FieldSchemaasis_summaryandis_modifier(#213), read from the pinnedStructureDefinitionof each version (https://hl7.org/fhir/R4/elementdefinition.html). A server answering_summary=true(https://hl7.org/fhir/R4/search.html#summary) reads the summary set from the element table instead of keeping its own copy. The element-table test compares both flags with the package JSON for every emitted element and pinsPatient.active,Patient.nameandPatient.photoper version. -
fhir-types0.1.105 refuses a primitive value outside its lexical form on decode (#204). Every primitive whose JSON form is a string carries theregexextension its own package puts on thevalueelement (https://hl7.org/fhir/R5/datatypes.html#primitive), compiled once behind aLazyLockin the generated module and matched against the whole value as the XML Schema pattern it is (https://www.w3.org/TR/xmlschema-2/#regexs), so"date": "yesterday", acodewith a leading space, auriholding a space and an id outside[A-Za-z0-9\-\.]{1,64}are aDecodeErrorwithBadValueand the element path. The form is read per version and never copied between them: 4.0.1, 4.3.0 and 6.0.0-ballot5 require the offset with a time and 5.0.0 does not, and 4.0.1 typesCodeSystem.idasstringwhere 4.3.0 and 5.0.0 type it asid. A primitive carried as a JSON number or a boolean keeps the number checks it already had. -
fhirconnect::operationsand the$tofhirand$toopenehrHTTP surface (#114). The two operations the draft FHIRconnect REST API chapter defines (specification pull request #93, pinned by commit) are served byferrobridge serve:POST /fhir/$tofhirtakes aParameterswhosecompositionis the openEHR composition as a JSON string, canonical or FLAT withtemplateId, plus an optionalcontextgroup ofehr_id,patient,whoandonBehalfOf, and answers acollectionBundle carrying the mapped resources, exactly oneProvenanceand anOperationOutcomeentry when the run declared a loss;POST /fhir/$toopenehrtakes a Bundle and answers aParameterswith the composition string and an optionaloutcome. The direct form the chapter keeps outside the FHIR implementation guide is served too, asPOST /fhir/tofhirwithContent-Type: application/openehr+jsonandPOST /fhir/toopenehranswering in that media type.templateId,formatandehr_idtravel in the body or the query, with the body taking precedence; a FLAT composition with no template is400 required; any other media type is415; every refusal is anOperationOutcomewith its R4 issue code. Strictness is the default, so a failed mapping answers an outcome and no Bundle or composition, a Bundle referencing more than one subject is refused naming the subjects, andcontext.patienttakes precedence over the subject a mapping resolved without ever being required. The mapping set is compiled once at boot from[mappings] directoryand the new[mappings] templateskey, and[operations]carries the lane switch, theDevicereference theProvenancedefaults to and the composition defaults an inbound run applies. -
The FHIR R4 facade (#85), mounted under
/fhirwhen[facade] enabledis set and answering nothing at all when it is not, so a disabled facade is a404rather than a403. It serves aCapabilityStatementbuilt from the mapping set the server compiled at boot, creates a resource as a composition the CDR commits, reads one back out of its composition, updates one underIf-Match, commits atransactionBundle as one openEHR contribution, and answers$validateas a dry run that writes nothing. Every response isapplication/fhir+json, and everything the facade authors is anOperationOutcome: an openEHR error body travels verbatim insideissue.diagnosticsrather than reaching the wire as its own document. One table maps each CDR answer to a FHIR answer with both sides cited, so a template refusal is a422carrying itsvalidationErrors, a deleted composition is a410, a401keeps itsWWW-Authenticate, and a CDR failure is a502naming the upstream status instead of an empty success. -
Identity for the facade (#85), in a
redbfile the lane opens at boot and readiness probes. A resource id comes from the entry’sLOCATABLE.uidwhen it has one and otherwise from a digest over the version container, the entry path and the split occurrence, so the same composition reads back under the same id whilemeta.versionIdmoves with each new version. The map wins once written, which is what makes a re-sent resource update the composition it already produced instead of creating a second one. The store holds identifiers and no clinical content, and a test greps the file to prove it. -
Provenance on every inbound commit (#85): the composition carries a
FEEDER_AUDITnaming the source resource’sidand type, itsmeta.versionId, and the configuredsystem_id, with an absent id recorded as unknown rather than invented. -
[facade]and[mappings]configuration sections (#85):enabled,base_url,ehr_policy,identity_store,subject_namespace,system_id,composition_languageandcomposition_territory, plus the directory the mapping files are read from. An enabled facade needs[cdr], a mapping directory, and both composition fields, and refuses to start without them. -
fhirconnect::engine, the bidirectional interpreter (#84). A data-type cell of the specification’s chapter is one lens, written once:getreads an openEHR reference-model value into its FHIR element andputwrites it back with the openEHR value the target already holds, and each pair carries the GetPut and PutGet laws asproptestproperties over the subset its table declares lossless. The cells areDV_CODED_TEXTagainstCodeableConceptand againstCoding,CODE_PHRASEandTERM_MAPPINGagainstCoding,DV_TEXTagainststring,CodingandCodeableConcept,DV_DATE_TIMEagainstdateTime,DV_INTERVAL<DV_DATE_TIME>againstPeriod,PARTY_IDENTIFIEDagainstReferencewithDV_IDENTIFIERbeside it, andDV_PROPORTIONagainstQuantityfor a percentage. A date and time value keeps the text it came with, soZ,+00:00,+01:00and fractional seconds survive both ways. An attribute the table marks as having no counterpart is carried from the value the target holds; a value the target would falsify refuses, so aTERM_MAPPINGwhosematchis not=, aDV_PROPORTIONthat is not a percentage, and aPeriodcollapsed into aDV_DATE_TIMEwhere the page gives no rule are each a typed refusal naming the element. Beside the cells, the module carries the direction rule (fhirConditionruns when FHIR is the input,openehrConditionwhen openEHR is), the five condition operators with the connectives the specification fixes, the three recurrence rules as structured occurrences, and the closed set of losses a run may declare. -
One traversal runs a compiled program from either side (#84):
to_openehrreads a FHIR resource and builds a canonical composition,to_fhirreads a composition and writes the resource the context names, and both walk the same mapping list top-down. Where a mapping writes follows one rule on whichever side is the output: the axes the parent bound keep their instance and every repeating element below them takes a fresh one per input occurrence, so a later mapping overwrites a single-valued output, two mappings append into a repeating one, and a0..ninput into a0..1output leaves its last occurrence with the rest declared lost. Amanualentry merges every path it names into one element, aslotArchetyperecurses with the whole chain checked for a cycle,type: NONEonly anchors what follows, and the composer and context start time are defaulted going into openEHR and recorded. Every refusal is typed and names the mapping: a value the element does not admit, a required1..1child the input does not carry, a slot chain that closes on itself, amappingCodethe registry does not hold, and the methods this milestone does not run (reference,link,participationsFunction). -
fhirconnect::resolve, context resolution into one immutable program per context mapping (#83).compileselects the start model mapping, applies the extensions the context declares in declaration order and file order, and resolves every path on both sides once: the FHIR side is bound to its anchor and resolved against the element table with its writability, and the openEHR side to a node of the Web Template with the repeating nodes on the way to it as its occurrence axes. The rules the specification leaves open are the bridge’s own and each is refused rather than guessed: anaddwhose name collides, anappendthat carries mapping logic or names no target, anoverwriteof a missing method, two extensions overwriting one name, an extension method on a nested mapping, aslotArchetypecycle, a template identifier orsem_verthe context and the template disagree on, an archetype revision the template’s identifier contradicts, and a write side that names a filtering expression. A program carries the profile and template it was compiled against, each optional version recorded as pinned or unpinned, andselectpicks one bymeta.profilemembership on the FHIR side or by template identifier on the openEHR side, refusing an ambiguous selection by naming the candidates. -
The diagnosis chain of the vendored FHIRconnect mapping library compiles into one program, snapshot-tested, from the published model and extension files plus a FerroBRIDGE-authored context and extension, against a synthetic operational template in the testkit.
-
openehr_mapping_core::composition::NodeValue::under, which writes a value under a value-internal family of its node (#84). Not every part of a data value is a datum suffix: Simplified Formats models an interval’slowerandupperand a term mapping’s_mapping:0/targetas paths below the node. -
openehr_mapping_core::index::node_id_matchesandarchetype_release_version, the two archetype-identifier comparisons a mapping language needs outside a path: an identifier is matched in its interface form, and only an ADL 2 identifier states the release version below its major.ResolvedNode::rm_pathhands back theaqlPaththe index already parsed, so a consumer never re-parses it and the empty path of the root node reads as the composition root. -
A
fuzz/crate withcargo fuzztargets over the YAML mapping loader and the openEHR mapping-path parser, seeded from the synthetic fixtures and a sample of the vendored mapping library, run weekly and on dispatch by.github/workflows/fuzz.ymlon a nightly toolchain (#155). The lane is time-boxed and never a pull-request gate; a panic or a hang is the finding. -
fhirconnect::model, the FHIRconnect file model and its three validation layers (#82).astcarries one Rust type per construct a model, extension or context mapping file may hold, each node positioned at the YAML it was read from;parselowers the positioned tree the shared loader returns and refuses an unknown key, a node of the wrong kind and a keyword value outside its documented set;schemacompiles JSON Schema over both the schemas FHIRconnect publishes and the stricter pair this crate ships underschemas/;semanticapplies the rules a schema cannot express (a condition’scriteriaagainst its operator, atargetRootthat names a child of thewithpath it filters, an extension method outside an extension file, areferencemapping without$reference, amappingCodenaming no registered function, and every cross-file reference against the loaded set); andloadruns all of it over one file or a whole set, returning every diagnostic rather than the first. -
The vendored FHIRconnect mapping library is exercised by all three layers. One test pins the exact set the published schemas refuse (24 of the 107 files, 34 errors, over
link,mappingCodeand a nullmappings), so an upstream schema fix fails the test and forces a re-adjudication; another pins that this crate’s schemas accept every file except the three that writemappingswith no value; a third pins the library’s own defects, including six duplicatemetadata.namedeclarations and eleven cross-references that name no loaded mapping.
Changed
-
The
zizmorpin moves from 1.29.0 to 1.30.1 in the CI lane and the pin matrix (#180). Its newself-repositoryaudit is disabled in.github/zizmor.ymlwith the reason: actionlint 1.7.12 refuses the$/form it asks for, and the switch waits on actionlint (#223). -
The vendored draft REST API chapter of FHIRconnect gains
rest/sushi-config.yaml,rest/ig.iniandrest/input/pagecontent/index.mdat the pinned commit, fetched byscripts/vendor/fhirconnect.sh, so the implementation guide canonical behind the$tofhirand$toopenehrdefinitions is citable from the tree. -
The
openehr-*crates move to 0.0.69, andopenehr-sdtjoins the workspace: the sibling split the Simplified Data Template engines (the Web Template builder, the FLAT and STRUCTURED codecs, the composition builder and the RM-instance validation) out ofopenehr-itsat 0.0.68, so the mapping foundation and the tests reach them throughopenehr_sdtandopenehr-itsis taken withopt14,jsonandrest-serveralone.openehr-itsis Apache-2.0 again andopenehr-sdtis BUSL-1.1, which the licence table records.jsonschemamoves to 0.57.0,thiserrorto 2.0.21, and both locks take every compatible update. -
The
openehr-*crates move from 0.0.64 to 0.0.67 in the workspace, the fuzz manifest and every pin row, one hand-made bump for the five Dependabot ones (#207 to #211) that cannot build alone because the family is one lockstep line; 0.0.65 to 0.0.67 changed only the copyright holder in the source headers.serde-saphyrmoves to 1.3.0 andclapto 4.6.7 with their pin rows (#206). Dependabot’s cargo ecosystem gains anopenehrgroup so the next family bump arrives as one pull request. -
The container base image
gcr.io/distroless/static-debian13:nonrootmoves to index digeste2e927e, in theFROMofdocker/Dockerfileand its pin row (#199, landed by hand because the pin row lives outside the Dockerfile). -
The Licensor and copyright holder of the project’s own work is Vernum Projecten B.V. (#197). Every
Licensor:, copyright andSPDX-FileCopyrightTextline names the company. The licence terms are unchanged, and maintainer credit stays a person. -
Keyword values compare case-insensitively inside their documented set, and a value outside the set is refused. The FHIRconnect text is case-inconsistent about its own keyword values, so
openEHR->fhirand$openEHRRootare admitted besideopenehr->fhirand$openehrRoot. YAML keys stay exact, because the published schemas fix them with a JSON Schemaenum. -
fhirconnect::tree, the bidirectional path model behindwith.fhir(#81). It parses the expression FHIRconnect writes, including the two head forms the specification adds ($resourceand$fhirRoot) and the^parent operator, resolves it against the R4 element tablefhir-typesemits, and reads and writes it over that crate’s lexicalValuetree. Navigation is by element name; a choice element resolves throughofType(),as()or the suffixed element name; a repeating element is an array addressed by a structured occurrence index;extension(url)selects or creates the entry carrying that url; and a primitive’sextensionlives in the sibling member named with a leading underscore, the FHIR JSON representation.resolve()returns a deferred outcome carrying the reference and the steps still to apply, and fetches nothing. Every expression is classified when it is parsed, so a mapping whose write side names a filtering expression (where(),first(),last(), an index) is refused with the offending step named, and every other refusal names the element path the table holds. A write applies to a copy and replaces the document only when every step succeeded.
Fixed
- The FHIRconnect compiler derives the data-type pair of a mapping with no
typekey from its two sides, since the type “is derivable from the instances” (data-mappings.adoc§Deprecated), and the engine runs what it derived: an untypeddateTimeelement pairs with aDV_DATE_TIMEnode instead of converting as text; an untyped mapping onto a structural node anchors its children astype: NONEdoes, and one with no child is afc-anchor-without-childrenwarning; a choice element with no type filter, and anExtensionagainst a data value through itsvalue[x], reads the alternative the document carries and writes the first pair of the node’s class, refusing at load withfc-underived-alternativewhen the choice admits none; and atypekey on a choice fixes the alternative both ways. The required-child check ofengine/Fail.adoccounts a structural node as provided once a value below it is written, and skips a child its own condition closed. The same pass fixes four engine defects the KDS chain reached: one resource maps into one instance of a repeating start archetype, a repeating FHIR element is counted by its document path socode.codingandverificationStatus.codingno longer share instances, amanualentry’sopenehrConditionis evaluated going out of openEHR, and a node the composition does not hold is no input occurrence.ENTRY.providertravels as its_providerFLAT family, and the engine defaultsEVENT_CONTEXT.settingto238“other care” as a declared default (Defaults::with_settingnames another), so the declared set of a round trip closes. - A mapping whose openEHR tail or
manualpath no FLAT part of the node’s class carries is refused at load (fc-uncarried-tail, naming the mapping, the class and the tail) instead of on the request that first reaches it; the engine keeps itsUnsupportedTailrefusal as a backstop. The publishedproblem_qualifier.v2,KDS_problem_qualifier,problem_diagnosis.v1,multiple_coding_icd10gm.v1andreport.v1.Conditionfiles name such tails, and the test contexts carry stand-ins for them. participationsFunctionwrites and readsEVENT_CONTEXT.participations($composition/context/participations) as the_participation:ifamily undercontext, as it doesENTRY.other_participations.- A mapping path now resolves to an element the operational template renames:
the compiler matched a compacted node by the exact text of its
aqlPath, so a template that constrains a name (items[at0002,'Kodierte Diagnose']) refused every mapping written by node id alone. It now applies the rule the index applies to an indexed node: a name the mapping does not write selects nothing, and one it does write must match. - The FHIRconnect engine evaluates a program’s own
openehrConditiongoing out of openEHR and refuses a composition it does not admit withEngineError::NotApplicable, the rule it already applied tofhirConditiongoing in (basics/Conditions.adoc). Amanualpath no FLAT part carries refuses withEngineError::UnsupportedTailinstead of being dropped, an openEHR position that does not fit is refused with its ownPositionErrorinstead of being dropped or reported as a zero, and a default whose template lookup fails for a reason other than a missing node refuses (#189, #187). WebTemplateIndex::readfinds the n-th instance of a repeating node among that node’s own occurrences (#186). It read the position as an RM positional predicate, which counts every element of the container (BASE Release 1.2.0 §Paths and Locators), so the first anatomical-location cluster behind a sibling element read as absent.GET /fhir/metadatadeclares$tofhirand$toopenehrinCapabilityStatement.rest.operationwhenever the FHIRconnect operations lane is served beside the facade, with the canonicalOperationDefinitionURL of each (http://fhirconnect.org/fhir/OperationDefinition/ToFhirand.../ToOpenEhr), and leaves them out when the lane is off (#194). The two direct forms stay undeclared, because the draft REST API chapter keeps them outside the FHIRconnect implementation guide.- The element table
fhir-typesemits now carriesElementwith itsidandextension, so a table-driven consumer resolves the members of a primitive’s underscore sibling (_birthDate) against the definition rather than against its own constants (#168). The entry is table-only: noElementRust type is emitted, because an element typedElementbecomes its own nested struct. The table types (Schemas,TypeSchema,FieldSchema,Kind,ValueKind) moved fromfhir_types::xmltofhir_types::schemain the same change, andSchemas::is_resourceis public. - The conformance findings of the
fhirconnectmodel and resolve review (#177). An openEHR path that names more than one template node is nowfc-ambiguous-template-nodenaming the candidates instead of binding to their parent; the reference-model attributes a path walks below the deepest template node are checked against theopenehr-rmattribute model; anappendrefuses every key butfollowedBy; a condition and ahierarchy.splitpath are read-only sites, sowhere(),first(),last(), an index filter andresolve()are accepted there; a slotted or extension file’spreprocessorand a file-levelspec.conceptmapandspec.unidirectionalreach the program;^crosses areferenceboundary into the enclosing resource; the model layer no longer refuses anappendTothat another extension’saddsupplies; the strict schema requirestargetAttributeortargetAttributeson anopenehrConditionagain, as the published one does; a mapping-level data type beside awith.typeis carried rather than dropped, and a disagreement between them is refused; and every refusal names the file it is about and the place it sits there, at any depth. - The program carries what the engine would otherwise re-derive from path text
(#177): a condition’s attachment to the path it guards, a
manualvalue as a literal or a named$contextmember, ahierarchy.splitcreateas one of three elements,FhirTarget::repeats()beside the openEHR occurrence axes, andProgram::mapping_namedfor a dotted method name. The profile-version refusal now names every program that claims the profile under another version instead of the last one.
0.0.2 - 2026-09-13
The foundation release. v0.0.2-rc.1, cut the same day, rehearsed the new
release lane with this content and is superseded by this release.
Added
-
app/ferrobridge-server, theferrobridgebinary shape (#21): a thinmain.rsover a testable library run path, withserveplus theetl run,cdm init,vocab loadandmapping checksubcommands, which parse and exit 2 naming the issue that lands each. Configuration is an optional TOML file, named by--configorFERROBRIDGE_CONFIG, withFERROBRIDGE__<SECTION>__<KEY>environment variables over it; every struct refuses an unknown key, every default lives inline in its ownDefaultimpl, every credential is reachable through a<key>_filesibling read once at boot, and a refused configuration exits 78. A lane is off until its section is present, and a section that reaches identifiable data says so once at start-up, naming the section and never a value. The console istracingwithauto,jsonandprettyrenderings,autoresolving by whether stdout is a terminal, and a filter that does not parse falling back to the default and logging the fallback. The HTTP surface isGET /,GET /health/livenessandGET /health/readiness, the last over a registry of per-upstream indicators that answers503while any of them is down. The middleware stack echoes anX-Request-Idonly when it is printable ASCII of at most 128 characters and mints a version 4 UUID otherwise, renders a handler panic as a500with a JSON body carrying the request id, answers408past the request timeout and413past the body ceiling, and writes exactly one log line per request with the method, the matched route, the status, the latency and the request id. A body never reaches the log, and a query value only when the deployment named its parameter.SIGTERMandSIGINTstart a bounded drain. The variable table is on the Operate page of the book. -
ferrobridge-openehrandferrobridge-termeach gain areachabilityprobe, oneGETon the configured base and on[base]/metadata(https://hl7.org/fhir/R4/http.html#capabilities), so a readiness indicator asks whether the upstream answers at all without running an operation. -
The container image and the quickstart (#22).
docker/Dockerfileis one stage ongcr.io/distroless/static-debian13:nonroot, pinned by the digest of its image index, copying the static musl binary the release lane stages atdist/<os>_<arch>/ferrobridge. It runs as uid 65532 written numerically, binds0.0.0.0:8080, exposes 8080/tcp, and carries an exec-formENTRYPOINTwithserveas the default command, so a KubernetesJobsetsargs:alone. It declares noHEALTHCHECK, because the base has no shell: the probe isGET /health/livenessfrom outside, with/health/readinessanswering503and a JSON body naming each down upstream.compose.yamlat the repository root is the quickstart: loopback port publishing with the Docker DNAT firewall hazard documented, a read-only root filesystem, every capability dropped,no-new-privileges:true, file secrets for the CDM URL and the CDR credential, and thecdm,cdm-initandvocab-loadprofiles over PostgreSQL 18.6.scripts/checks/versions.shnow checks the base-image digest, the quickstart image tag against the product and workspace versions, and the quickstart’s PostgreSQL pin; thedockerDependabot entry points at/docker; and the book gains an Operate page for the image, the variables, the probe and the CDM profiles. -
The release lane at SLSA v1.2 Build Level 3 (#23).
release.ymlkeeps the tag, the draft and the publish, and its build jobs becomeuses:calls to two new reusable workflows, which is what puts the signing identity out of reach of caller-defined steps.release-build.ymlbuilds one native target per call on a runner of that architecture, with no cache and withcargo auditable, and produces the tarball carrying the binary,LICENSE,NOTICEandREADME.md, its SHA-256 checksum, a CycloneDX SBOM of the source graph at spec version 1.5, a syft SBOM read from the shipped binary, Sigstore bundles for all three attestations, and the provenance DSSE envelope as.intoto.jsonl, refused unless it carries the SLSA v1 predicate type.release-image.ymlverifies this run’s musl tarballs against the build lane’s signer identity before staging them, pushesghcr.io/rubentalstra/ferrobridgeforlinux/amd64andlinux/arm64, attests the index and both platform manifests as OCI referrers, and verifies its own output the way a consumer would.finalize-releasenames the required asset set in full and refuses to publish a short release; a pre-release publishes with--latest=false.SECURITY.mdcarries thegh attestation verifycommands for a tarball and for the image and says what each one proves, and the pinned tool versions are guarded byscripts/checks/versions.sh. -
crates/ferrobridge-term, the FHIR terminology client (#77):CodeSystem/$lookupresolves a code’s display,ConceptMap/$translatemaps a code into another system,ValueSet/$validate-codetests membership of a value set, andbatchsends several of them as onebatchBundlethat is answered by position. R4 and R4B are both read, over the generatedfhir-typesoperation contracts rather than hand-written JSON; the two releases declare the same parameters for these operations, so the configured wire version selects the decoder. A negative answer an operation states in its ownoutparameters is an outcome, and every refusal is a typed error carrying the upstream status, the body, and anytx-issue-typecoding theOperationOutcomeholds. A missing display is aNotFoundoutcome, never an empty string; atranslaterefusal fails closed and is never a missing translation; every match is returned with its equivalence andaccepted()yields theequivalentandequalones alone, so awiderorinexactmatch never reaches a target system. Retry covers connect failures, timeouts and5xx, and thePOSTform is retried because the three operations declareaffectsState: false. The testkit gains theterminology()container, the syntheticCodeSystem,ValueSetandConceptMapthe reference server loads, theOperationOutcomeandbatch-responsestubs, and a pin row for the terminology server image. -
openehr-mapping-coregains the path module (#75): the Web Template built from either an OPT 1.4 or an ADL 2 OPT2 behind oneTemplateSource, theaqlPathindex with RM type, occurrences and node id, mapping-path resolution over it, the at-code versus id-code check that refuses an id-coded ADL 2 template, relative path derivation, composition build and read throughopenehr-itsandopenehr-rm, and the term-binding kind per generation. The ADL 2 fixtures are compiled from synthetic.adlssources withopenehr-adlas a test-only dependency. -
The container harness, the upstream stubs and the synthetic fixtures in
tools/ferrobridge-testkit(#78), with the two end-to-end tests they carry.containersstarts PostgreSQL 18.6 and the reference openEHR CDR with its own database, each image pinned by tag and digest indocs/VERSIONS.md, whichscripts/checks/versions.shnow compares with the harness constants, and torn down when the test’s value drops; every container-backed test returns early unlessFERROBRIDGE_E2E=1, so the ordinary suite stays offline.stubscarries the documented ITS-REST status shapes and the FHIR R4 terminologyParametersforwiremock, andfixturesthe synthetic operational template, composition and R4 resources. On that harness,omop-cdmapplies its embedded OHDSI DDL to a real database and asserts the catalogue against the generated column metadata (#73), andferrobridge-openehrcommits, reads, updates, queries and deletes a composition against a real CDR over ITS-REST (#76). Thee2eCI job runs both with the gate set. A second catalogue test pins what OHDSI’s renderedOMOPCDM_postgresql_5.4_constraints.sqldoes at tagv5.4.3: PostgreSQL refuses it, becausevocabularyis the one foreign-key target the renderedprimary_keys.sqldeclares no key for. -
The generated OMOP CDM v5.4 layer and its generator (#73):
omop-cdmcarries a row type and a column-metadata static for every one of the 39 tables the OHDSI definitions declare across theCDM,VOCABandRESULTSschemas, 432 columns in definition order, with the CDM datatypes mapped toi32,f64, a boundedVarchar<N>, and the lexicalCdmDateandCdmDatetime; OHDSI’s four rendered PostgreSQL files are embedded verbatim and their@cdmDatabaseSchemaplaceholder is substituted through a checked PostgreSQL identifier.tools/omop-cdm-codegenemits all of it from the vendored definitions at tagv5.4.3, byte-deterministically, and theomop-cdm-codegen-driftCI job fails on any difference. Tests assert the generated column set of every table against OHDSI’s DDL. -
crates/openehr-mapping-corecarries the half of the mapping foundation both languages share (#74): the header FHIRconnect and OMOCL standardize between them, withGrammarVersion,MappingName,MappingVersion,MappingTypeandArchetypeIdas distinct types and everything a language adds underspeckept as an opaque positioned node; a YAML loader overserde-saphyrthat resolves anchors, aliases and merge keys into a value tree where every node carries its line and column, and refuses a duplicate key, an unresolvable alias and a tab-indented file with a positioned diagnostic; a registry keyed by mapping name and by archetype id that refuses a repeated name naming both files; oneDiagnostictype carrying file, position, mapping name, model path, severity and code; and aMappingPathover theopenehr-rmBASE path parser that resolves the languages’ own../step against an anchor and refuses a step above its root. Both vendored corpora load through the public seam in the test suite, which pins the exact set of files this crate refuses and why. -
The
fhir-typeselement table (#121): every emitted type carries the path it is defined at, and every element carries itsElementDefinitionpath,min,max, the type codes the definition lists and thecontentReferencetarget, beside the XML kind the codec already read.Schemas::elementresolves a dotted element path through complex types, backbone elements and content references, on a choice element’s base path (Observation.value[x]) and on each expanded form (Observation.valueQuantity), andSchemas::type_ofgives the type such a path resolves to. A test walks every vendoredStructureDefinitionof the emitted set and asserts the table agrees element by element. -
fhir-typesconverts between its owncodec::Valueandserde_json::Value(#122):Value::into_serde_jsonandValue::to_serde_jsonhand a document toserde_jsononly when every number comes back in the text the document carried, and otherwise return a typed error naming the element path, the lexical form and whatserde_jsonwrites, so a decimal never changes on the way out (FHIR regards0.010as different from0.01, https://hl7.org/fhir/R4/datatypes.html#decimal).Value::from_serde_jsonis the infallible other direction for the HTTP edge and test fixtures, and the strict codec’s refusals still apply to a document that arrives that way. -
ferrobridge-openehris the openEHR ITS-REST 1.1.0 client (#76): every call answers with an outcome enum whose variants are the statuses the governing operation documents, each carrying the upstream body, and a refused connection, a timeout, a5xxand a401are typed errors that keep the status, the body and theWWW-Authenticatechallenge. It covers the EHR, COMPOSITION, CONTRIBUTION, AQL and template surfaces, sendsPreferexplicitly on every request, sendsIf-Matchas the bare quotedversion_uid, sends the three 1.1.0 committal metadata headers on a commit, and fetches a template over both generations,adl1.4first andadl2on a404or a406. Timeout and boundedbackonretry apply to idempotent calls only. -
The specification corpora under
docs/specs/(#71), each fetched by a committedscripts/vendor/*.shfrom the commitdocs/VERSIONS.mdpins and stamped with aPROVENANCE.md: the FHIRconnect specification source with its two published schemas and the unmerged REST API chapter, the FHIRconnect mapping library, the OMOCL corpus, the OMOP CDM v5.4 definitions with OHDSI’s rendered PostgreSQL DDL, and the threeSTABLEopenEHR ITS-REST OpenAPI documents. An integration test reads every tree, andscripts/checks/versions.shfails when a provenance stamp stops naming the pin the matrix records. -
fhir-typescarries a feature table (#120):r4,r4b,r5andr6gate the version modules,terminologycarries the terminology root set the crate has always held, andresourceswidens the declared root set to every concrete resource each package defines with the complete closure of the datatypes it references. The default set is every version plusterminology, so a dependant that names no feature gets what it had. One emitted tree holds the union and each item carries thecfgof the narrowest feature that selects it, so the drift gate still covers the whole tree; a newfhir-types-featuresCI job checks each feature on its own. -
docs/architecture.md§3 supports both template generations (owner requirement, 2026-09-12): ADL 1.4 fetched as OPT 1.4 XML and ADL 2 fetched as AOM2 canonical JSON from theadl2route, decoded into the two OPT types and built into one Web Template by the twoopenehr-itsbuilders behind one seam; the resolution order, the ADL 2Acceptrule, the HRID identifier handling, the at-code versus id-code refusal and the term-binding delta are recorded as FerroBRIDGE’s own;openehr-amjoins the pins andopenehr-adlstays out until a CDR serves ADL 2 as text alone. -
docs/architecture.mdcarries ten mermaid diagrams: the system picture, the two languages over one foundation, the openEHR path pipeline, the FHIRconnect pipeline, the inbound create and the$tofhirsequences, the OMOP ETL flow, the crate graph, the FHIR identity derivation and the build order; the book’s architecture tour gains the FHIRconnect pipeline and the ETL flow. -
The generated FHIR model and its generator (#72), moved in from the sibling terminology server by the owner decision of 2026-09-05:
crates/fhir-typesat 0.1.98, the one first-party crate under Apache-2.0, with the per-version R4, R4B, R5 and R6 modules, the strict JSON and XML codecs and the terminology operation contracts;tools/fhir-codegen, which emits the crate from the five vendored HL7 FHIR packages (380 MB, each with itsPROVENANCE.md);scripts/vendor/fhir-packages.sh, which refetches those packages against thedocs/VERSIONS.mdpins; thecodegen-driftCI job, which regenerates in check mode and fails on any difference; and theregen-codegenskill. Features, the public element table and theserde_json::Valueconversion follow in the next increments of #72. -
The crates.io lane the published crate line needs (#72): the
cratesleg ofrelease.yml, gated by thecrates-ioenvironment and authenticated with Trusted Publishing;.github/workflows/publish-crates.yml, the dispatch dry run and recovery path;scripts/release/publish-crates.sh, which uploads each member in dependency order and reads the registry back at each crate’s own manifest version; thepublish-dry-runCI job; andscripts/checks/crate-version-guard.sh, which fails a change that alters a crate’s packaged content without moving its version. -
The workspace root discipline is complete (#20): a composite
.github/actions/setup-rustaction readsrust-toolchain.tomlfor every Rust-tier job, and every workspace member carries one integration binary attests/it/main.rs(the foundation crate asserts the fouropenehr-*rows of the pin matrix name one line; the server test drives the library run path; the testkit tests its own pin-matrix reader). -
The Cargo workspace skeleton (#107): the root manifest with every lint the reliability rule names, the release profile,
rust-toolchain.toml,rustfmt.toml,clippy.toml,deny.tomland a committedCargo.lock; six placeholder library crates at version 0.0.0 (openehr-mapping-core,fhirconnect,omocl,omop-cdm,ferrobridge-openehr,ferrobridge-term), published to reserve their names, each carrying its pinned specification version as a constant that an integration test checks against the pin matrix; a thinferrobridgebinary over a library that does nothing yet; and theferrobridge-testkittool crate with the pin-matrix reader. CI tier 2 is active from this change on.
Fixed
scripts/site/assemble.shrenders the book into a temporary directory and copies from there (#58), so assembling the site no longer rebuildswebsite/book/book/in the source tree. The usage header says so.cargo deny checkprints zero warnings (#145). The licence check now covers dev-dependencies (include-dev = true), which is what theopenehr-adlexception needed to fire at all, and each of the tenmultiple-versionsduplicates carries askipentry naming the older version and the crates that require it.multiple-versionsstays atwarn, so a new duplicate still shows.- The server’s request log line now covers every outcome (#21 follow-up): the
log middleware sits outside the panic catcher, the request timeout and the
body-size ceiling, so a caught panic, a
408and a413each leave their onerequestline with the route, the status and the request id, where before they left none. - The SonarQube Cloud coverage step compiles and instruments one workspace
member at a time and merges the profiles into the single
lcov.infoSonar imports (#146); the workspace-wide all-features form was killed on the runner with exit 143 and never produced a report. The step now fails when the report carries zero line records.
Changed
-
Two guards join the repository, and the book explains the version lines behind them.
scripts/checks/favicon-sync.shfails when a book theme favicon differs from the brand mark it copies, and runs in tier 1 ofci.yml(#52)..github/workflows/pin-freshness.ymlreads every pin no Dependabot ecosystem covers, the analyzer versions inci.ymland the documentation toolchain, against the newest upstream release each week, and opens one issue when a pin is behind rather than failing red (#35)..claude/hooks/crate_version_bump_guard.shruns the crate bump guard before agit commitor agit push, so packaged content that moves without a version bump is refused where the fix is one edit (#79). The book gains an Operate page on the two version lines and Contribute pages on the bump rule and on cutting a release (#79, #66). -
docs/ci-cd.mdrecords what watches each class of pin and that no Dependabot ecosystem is failing any more now that both manifests exist (#41), why the GitHub licence field readsNOASSERTIONand why no layout change can fix it (#45), and a decision for each open Scorecard alert, including the branch-protection and code-review trade-offs a single maintainer accepts (#48). -
Every Rust job goes through the
./.github/actions/setup-rustcomposite (#157), which gainedcache-shared-keyandcache-save-ifinputs for the coverage lane; theactions-rust-lang/setup-rust-toolchaindigest now lives in one file. -
Both generators now write the two SPDX tags directly under the
@generated … DO NOT EDIT.banner, which keeps the first line (#129): Apache-2.0 forcrates/fhir-types, the crate’s own licence, and BUSL-1.1 forcrates/omop-cdm’s generated tree and the provenance note beside the copied DDL. The four copied DDL files are vendored upstream material and carry no header of ours.scripts/checks/versions.shanchors its SPDX pattern to the start of a line, so it still catches a header claim and no longer reads the emitter’s own string literal as one.fhir-typesmoves to 0.1.102, its packaged bytes having changed.fhir-codegenalso refuses acontentReferencewhose target is outside the emitted closure or behind a narrower feature than the element referencing it (#133), naming the element path and the reference; the vendored packages are consistent today, so the generated tree is unchanged.deny.tomlrecords the rule its allow list follows (#134): a licence joins the list the day a dependency needs it, with the reason it is acceptable here, and leaves when the last crate carrying it does. All four licences the issue named are carried by crates in the current graph, so none is pruned andcargo deny checkreports no unencountered licence. -
docs/architecture.mdis rewritten as the output of the third research pass (2026-09-12): thefhir-typesmove is re-baselined on the crate as it is today (no cargo features, a lexical-precisionValueinstead ofserde_json::Value, an XML-schema element table without cardinality, a crate line at 0.1.97 still published by the sibling); the draft FHIRconnect REST API ($tofhir,$toopenehr, specification pull request #93) becomes the engine surface beside the facade and ships ahead of it; FHIR identity takes the entryuidfirst per the upstream revision (pull request #94) with the hash as the fallback; the reference engine’s 3.0.x behaviour changes are adjudicated (plural condition keys with OR semantics, lexical date and time preservation, no inventedDV_PROPORTIONextension URLs, refusal instead of warn-and-continue); a carry-over register records every decided behaviour, test invariant and known defect of the reference CDR’s retiring FHIR connector with a disposition; the EHDS priority categories and the HL7 Europe guides become the planned profile targets in order (Base and Core, Laboratory, Medication, then Patient Summary), authored here and never a conformance claim; the build order gains v0.0.8 (the EU targets) and v0.0.9 (the change-feed adapter). -
docs/VERSIONS.mdmoves theopenehr-*crates to 0.0.64 and thefhir-typesfloor to the sibling’s latest release, pins the draft REST API chapter by pull-request commit, and gains a profile-package section that fills as contexts are authored.CLAUDE.mdstates the move as pending. -
docs/architecture.md§7 collapses the published crate set from twelve to seven (one crate per language, with modules), after a duplication check against both sibling projects; the tracker issues keep the module work units. -
docs/architecture.mdis rewritten as the output of the second research pass (2026-09-05): the FHIR model is generated in this repository (thefhir-typescrate and its generator move here from the sibling terminology server, which then consumes the crate from crates.io); the FHIRconnect mapping files are validated by a hand-written model, the vendored published schemas exercised as evidence, a strict schema of FerroBRIDGE’s own, and semantic checks; a context mapping compiles once into an immutable program with pinned extension ordering; one interpreter serves both directions over data-type lenses; the openEHR wire is canonical JSON with the Web Template built locally from the OPT; FHIR ids derive from the stable composition uid and OMOP ids from sequences with a bridge-owned natural-key table; the OMOP commit unit is one composition’s record graph; the library crates are published; the binary is one with subcommands; and the build order splits the round trips into v0.0.3 (FHIR) and v0.0.4 (OMOP). Every decision names its ground and its rejected alternatives. -
docs/VERSIONS.mdpins the corpora by commit, the fouropenehr-*crates, the five HL7 FHIR packages the generator reads, and the crate line; thefhir-terminologyrow is removed, since the client contracts live infhir-types.scripts/checks/versions.shchecks the new crate rows. -
The book’s Evaluate, Operate and Integrate pages,
CLAUDE.md,docs/ci-cd.mdand the rules cite the pinned ITS-REST release and follow the rewritten design.
0.0.1 - 2026-09-05
Added
.github/workflows/release.yml, the release lane, dormant until av*tag is pushed and running on nothing else. It validates the tag shape, refuses aworkflow_dispatchthat is not dispatched at the tag it names, checks the tag against every file that declares the product version (CITATION.cffand thedocs/VERSIONS.mdproduct row today, the rootCargo.tomlas soon as it exists), and takes the release notes from the## [X.Y.Z]section of this changelog, failing when that section is missing or empty. The release is created as a draft and published only once its expected asset set is complete. The binary build sits behind the same root-Cargo.tomldetectionci.ymltier 2 uses, so it is skipped on a tree with no workspace and activates by itself when one lands (#63).docs/release.md, the cut checklist in order, the no-retag rule, and what a published release is protected against: the immutable-releases setting freezes its notes and assets, and therelease-tagsruleset blocks tag deletion and non-fast-forward updates and requires a signature (#63).- The FerroBRIDGE brand assets under
assets/brand/: the mark and its dark-tile, monochrome, and favicon variants, the three lockups (light, dark, and one that followsprefers-color-scheme), the 1200x630 social card, the raster favicon set, the “Indigo & Iron” palette as--ferrobridge-*custom properties intokens.css, and the brand README with the usage rules and the raster regeneration commands. The landing page now carries the favicon, the social card as itsog:imageand Twitter card image, and the mark in its header; the book gets the same favicon throughwebsite/book/theme/; and the repository README shows the lockup (#32). scripts/site/assemble.shcopiesassets/brand/and the repository-rootllms.txtinto the assembled site, so the brand URLs the landing page names and https://ferrobridge.eu/llms.txt both resolve on the live host (#32)..github/release.yml, so GitHub’s auto-generated release notes group pull requests by the tracker’s own label taxonomy (Features, Fixes, Security, Documentation, Dependencies, Maintenance, Other changes), withno-changelogas the exclusion. The hand-curated changelog stays the primary record (#17).- Two
cargoanddockerentries in.github/dependabot.ymlbeside the existinggithub-actionsone, each grouping minor and patch bumps into one weekly pull request while majors stay individual, with the conventional commit prefixesci,depsandbuildandopen-pull-requests-limit: 10on cargo. Both are inert until their manifests exist (#17). - The Rust half of
.github/workflows/sonar.yml, gated on a rootCargo.tomlat step level: the pinned toolchain withllvm-tools-preview, the instrumentedcargo llvm-cov nextestrun that writeslcov.info, and thesonar.projectVersionderivation that anchors the New Code window to the workspace version.sonar-project.propertiesnames the lcov file and excludes build output, vendored trees, and the generated OMOP CDM subtree (#17). - The documentation site at https://ferrobridge.eu/: a hand-written landing
page at the root and an mdBook under
/docs/, organised by reader intent (Evaluate, Operate, Integrate, Contribute)..github/workflows/docs.ymlbuilds it on every pull request and deploys frommainthrough GitHub Pages,.github/actions/docs-toolchain/action.ymlinstalls the pinned mdBook toolchain, andscripts/site/assemble.shplaces both halves and renders the roadmap block from the open milestones.llms.txtandCITATION.cffland with it, the README badge block covers CI, CodeQL, Scorecard, the Sonar quality gate and coverage, the licence and the latest release, andscripts/checks/versions.shnow guards the citation version and the three documentation-toolchain pins (#18). .github/workflows/ci.yml, the CI gate, in two tiers. Tier 1 runs on a repository with no code: zizmor at--min-severity=lowwith the online audits enabled, actionlint through its digest-pinned official image, shellcheck at--severity=styleover every tracked shell program, hadolint over every tracked Dockerfile, and the comment-style and versions guards. Tier 2 is the Rust set (rustfmt, clippy, nextest and doctests, rustdoc,cargo deny, MSRV, dependency review), gated behind adetectjob that looks for a rootCargo.toml, so it activates by itself when the workspace lands. Theconclusionjob reads every job’s result and is the single required status check onmain. Housekeeping the lanes read lands with it:.hadolint.yaml,.dockerignore,.github/actionlint.yaml, and the.gitattributeslinguist-generatedline reserved for the generated OMOP CDM subtree.docs/ci-cd.mdrecords the design, why a mostly-skipped pipeline is still enforceable, and the owner actions that cannot be scripted (#16).- The CI tool pins (zizmor, actionlint, shellcheck, hadolint) as a section of
docs/VERSIONS.md, withscripts/checks/versions.shfailing whenci.ymland the matrix disagree (#16). docs/VERSIONS.md, the pin matrix: one place that records every version pin (the five specification pins, the publishedfhir-typesandfhir-terminologycrate pins, the Rust toolchain, edition, resolver and MSRV, the product version, and the licence) with the files that repeat each one.scripts/checks/versions.shfails on any disagreement and on a first-party file claiming a licence other thanBUSL-1.1, and skips with a printed reason for each file that does not exist yet. APostToolUsehook runs the guard when a pinned file changes (#15).
Changed
-
SECURITY.mdandMAINTAINERS.mdname both protections a published release has: the immutable-releases setting freezes its notes and assets, and therelease-tagsruleset stops its tag being moved or deleted (#68). -
The README’s mark uses an absolute URL, so it renders wherever the README travels rather than only on the repository page (#60).
-
The landing page footer shows the mark beside the wordmark, so the mark brackets the page instead of appearing only in the header (#56).
-
The FerroBRIDGE mark is now the fork the product draws: a filled circle for the openEHR source, a two-way arrow to HL7 FHIR, and a plain line into a table for the OMOP Common Data Model. Only the FHIR branch carries arrowheads, because that side is an exchange and the OMOP side writes rows. Every file in
assets/brand/is redrawn from the new masters, along with the book theme favicon, the social card, the lockups and the raster favicon set. The palette is unchanged.assets/brand/README.mddescribes the new geometry and its two drawing rules, and the landing page image alt text names the new shapes (#54). -
The landing page runs the approved “Indigo & Iron” palette. It carried a pre-brand blue that twenty-one rules read, so every link, button and gradient disagreed with the mark beside them. Every accent now clears WCAG AA against its background in both light and dark (#51).
-
The social card’s specification line is larger and lighter, so it stays legible at the size a link preview actually renders (#51).
-
SECURITY.mdlinks the private advisory form directly, so a reporter can act on the policy without navigating by hand. The document carried no hyperlink at all, which is what Scorecard’s Security-Policy check scores (#47). -
SUPPORT.mdsends a reader to the documentation site first. It still said there was no site, which went false the day the site went live and contradictedREADME.mdon the same tree (#44). -
The contributor page at
/docs/contribute/checks-and-gates.htmlnames the zizmor audit path.github/, matching what CI runs. It still named.github/workflows/, so following it missed the Dependabot configuration and everything under.github/actions/(#40). -
The zizmor lane in
.github/workflows/ci.ymlaudits.github/rather than.github/workflows/, sodependabot.ymland every composite action under.github/actions/are covered. A composite action runs with the calling workflow’s permissions, so it is the same class of token-holding code.CONTRIBUTING.mdand the pull-request template name the wider path too, so a local run still matches CI (#34). -
The Dependabot cooldown on the
github-actionsanddockerecosystems is 7 days, up from 3, which is the floor zizmor’sdependabot-cooldownaudit enforces and matches the 7-day minor value already oncargo. Security updates are exempt from cooldown, so an advisory still arrives immediately.docs/ci-cd.mdrecords why the earlier defence of the 3-day value did not hold and why no suppression was recorded (#34). -
CONTRIBUTING.mdlists all six tier-1 gatesci.ymlruns, in the same order and with the same flags. It named four, so a contributor who ran the listed commands could still fail CI on hadolint or the versions guard (#36). -
The licence of the project’s own code and text is the Business Source License 1.1 (
LICENSE,NOTICE): free for non-production use and for non-commercial production use, a commercial licence for any other production use, and Apache License 2.0 four years after each version. Every header, the README badge and licensing section, and the community and governance documents name it (#12).