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.
| Item | Version | Transactions |
|---|---|---|
| IHE PIXm | ihe.iti.pixm 3.1.0 | ITI-83 Mobile Patient Identifier Cross-reference Query, ITI-104 Patient Identity Feed FHIR |
| IHE PDQm | ihe.iti.pdqm 3.2.0 | ITI-78 Mobile Patient Demographics Query, ITI-119 Patient Demographics Match |
| IHE PMIR | ihe.iti.pmir 1.6.0 | ITI-93 Mobile Patient Identity Feed, ITI-94 Subscribe to Patient Updates |
| IHE mCSD | ihe.iti.mcsd 4.0.0 | ITI-90, ITI-91 (a feature of ihe-iti) |
| IHE XCPD | ITI Technical Framework Vol 2 Rev 20.1 (2024-12-12), no FHIR package | ITI-55 (a feature of ihe-iti) |
| IHE IUA | ITI Technical Framework Supplement Rev 2.5 (2026-06-18) | ITI-71, ITI-72 (a feature of ihe-iti) |
| Netherlands Generic Functions | fhir.nl.gf 0.3.0 | the functions of nl-generic-functions |
| IHE ITI Technical Framework | Volumes 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.1 | PIX 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 FHIR | R4, 4.0.1 | the resources and the RESTful API PIXm and PDQm are profiled on |
| HL7 v2 | the version each PIX or PDQ transaction names in ITI TF-2 | the HL7 v2 PIX and PDQ transactions, where in scope |
The toolchain
| Item | Pin | Repeated in |
|---|---|---|
| Rust toolchain | 1.99.1 | rust-toolchain.toml |
| Minimum supported Rust version | 1.98 | Cargo.toml [workspace.package] rust-version |
| Edition | 2024 | Cargo.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 aPROVENANCE.md, and theihe-citationscheck 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-pixanswer is held to itsOperationDefinition, 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
404reads as “patient unknown” only when itsOperationOutcomecarries anot-foundissue, 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.
| Corpus | What each example goes through |
|---|---|
| PIXm 3.1.0 | An 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.0 | An 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.0 | Each 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 records | Each 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:
| Service | Instantiates |
|---|---|
[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
- IHE ITI Technical Framework: https://profiles.ihe.net/ITI/TF/index.html
- IHE PIXm: https://profiles.ihe.net/ITI/PIXm/
- IHE PDQm: https://profiles.ihe.net/ITI/PDQm/
- IHE PMIR: https://profiles.ihe.net/ITI/PMIR/
- IHE mCSD: https://profiles.ihe.net/ITI/mCSD/
- HL7 FHIR R4: https://hl7.org/fhir/R4/
- The Netherlands Generic Functions implementation guide: https://build.fhir.org/ig/nuts-foundation/nl-generic-functions-ig/