Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Conformance and specification pins

The specifications are the authority for every transaction, parameter, status and acknowledgment FerroPIX handles: the IHE ITI Technical Framework (Volumes 1 and 2), the IHE PIXm, PDQm and PMIR implementation guides, HL7 FHIR R4, and the HL7 v2 PIX and PDQ transactions. Where none of them governs a decision, the code says so and names the decision as FerroPIX’s own design.

The specification versions

These are the versions the crates implement. The table is read from the repository’s pin matrix, docs/VERSIONS.md, when the book is built, so it cannot disagree with it.

ItemVersionTransactions
IHE PIXmihe.iti.pixm 3.1.0ITI-83 Mobile Patient Identifier Cross-reference Query, ITI-104 Patient Identity Feed FHIR
IHE PDQmihe.iti.pdqm 3.2.0ITI-78 Mobile Patient Demographics Query, ITI-119 Patient Demographics Match
IHE PMIRihe.iti.pmir 1.6.0ITI-93 Mobile Patient Identity Feed, ITI-94 Subscribe to Patient Updates
IHE mCSDihe.iti.mcsd 4.0.0ITI-90, ITI-91 (a feature of ihe-iti)
IHE XCPDITI Technical Framework Vol 2 Rev 20.1 (2024-12-12), no FHIR packageITI-55 (a feature of ihe-iti)
IHE IUAITI Technical Framework Supplement Rev 2.5 (2026-06-18)ITI-71, ITI-72 (a feature of ihe-iti)
Netherlands Generic Functionsfhir.nl.gf 0.3.0the functions of nl-generic-functions
IHE ITI Technical FrameworkVolumes 1 and 2, each page pinned by sha256 in the corpus table; the ITI-8, ITI-9 and ITI-10 pages state Revision 20.0, ITI-21 Revision 20.2 and ITI-22 Revision 20.1PIX and PDQ: ITI-8, ITI-9, ITI-10, ITI-21 and ITI-22, and ITI-44 to ITI-47 as the TF-2 texts decide, with the actors and options of each
HL7 FHIRR4, 4.0.1the resources and the RESTful API PIXm and PDQm are profiled on
HL7 v2the version each PIX or PDQ transaction names in ITI TF-2the HL7 v2 PIX and PDQ transactions, where in scope

The toolchain

ItemPinRepeated in
Rust toolchain1.99.1rust-toolchain.toml
Minimum supported Rust version1.98Cargo.toml [workspace.package] rust-version
Edition2024Cargo.toml [workspace.package] edition, rustfmt.toml

The minimum supported Rust version is one minor release below the toolchain the repository builds with, the FerroHEALTH family’s rule.

How conformance is held

  • Every citation is checked against the vendored text. The specification texts the crates read are vendored under docs/specs/ at pinned versions, each with a PROVENANCE.md, and the ihe-citations check in CI holds every IHE section the tree cites to the vendored text of that profile and version. The ITI TF-2 texts of the HL7 v2 transactions (ITI-8, ITI-9, ITI-10, ITI-21 and ITI-22) reproduce HL7 tables whose rights HL7 reserves, so they are pinned by checksum and fetched into a local cache by the vendor script, never committed: a citation of one is checked when a local run has fetched it, and counted otherwise.
  • Each answer is held to its profile. The clients refuse an answer that departs from the transaction: a PIXm $ihe-pix answer is held to its OperationDefinition, a PDQm search to the Query Patient Resource Response Message profile, an ITI-93 feed message to the PMIR profiles. The crate pages say what each client checks.
  • An unknown patient is never an outage. A 404 reads as “patient unknown” only when its OperationOutcome carries a not-found issue, as PIXm and PDQm define it; every other failure is a typed error.
  • Each feature builds and tests on its own. CI lints and tests every feature of both crates alone and with its audit feature, as well as all of them together.

The conformance gate

The corpus tests of ihe-iti read and write every example the vendored implementation guides ship, and scripts/checks/conformance.sh holds each corpus to its committed pass list. A failing example stays in the list as failing, with its reason, so the count shows what is not met. Each corpus renders the shields.io badge the README shows.

CorpusWhat each example goes through
PIXm 3.1.0An ITI-83 request read by the Manager in JSON and XML, an answer read by the client and written by the Manager, the not-found answer both ways, and each Patient read as the ITI-104 conditional update its first identifier names.
PDQm 3.2.0An ITI-78 answer and each ITI-119 answer read by the client and written by the Supplier, each $match input read by the Supplier, and each Patient read from a search answer and written as a retrieve.
PMIR 1.6.0Each ITI-93 message read by the Consumer as the changes it names, the response written by the Consumer, the ITI-94 request written and a Subscription’s status read by the subscriber.
Audit recordsEach AuditEvent example against the record ihe-iti writes for that exchange, held to the example’s audit profile, the BALP pattern beneath it and the example itself. The Manager and Supplier records are written by the server, so they count as failing here.

Run scripts/checks/conformance.sh to compare, --update to rewrite the lists, the badge files and the README badge block after a change, and --check for what CI runs: a listed pass that stops passing fails every mode, and under --check so does a new pass, a moved total or a changed reason.

The server’s conformance statement

GET {base}/fhir/metadata answers the server’s CapabilityStatement, in FHIR JSON or XML, with no token. Its instantiates names the IHE actor statements of the services you switch on:

ServiceInstantiates
[pixm]https://profiles.ihe.net/ITI/PIXm/CapabilityStatement/IHE.PIXm.Manager
[pdqm]https://profiles.ihe.net/ITI/PDQm/CapabilityStatement/IHE.PDQm.PatientDemographicsSupplier and …/IHE.PDQm.PatientDemographicsSupplierMatch
[pmir]https://profiles.ihe.net/ITI/PMIR/CapabilityStatement/IHE.PMIR.PatientIdentityRegistry, when [pixm] and [pdqm] are on too, since that statement asks for $ihe-pix and the Patient read and search. With [pmir] on, the statement declares the ITI-93 message as sender (to each subscriber) and as receiver (from the Source), and the Subscription resource of ITI-94

implementation.description names the IHE actors the instance serves. Each resource entry names its profile, interactions, search parameters and operations, next to the security service and the scopes the permission table enforces, and GET {base}/fhir/.well-known/smart-configuration lists the same scopes. The pages under Integrate say what each transaction reads and answers, case by case, with the section of the profile behind each answer.

The published texts