HealthRecordCommunity
FHIRHL7🌏 InternationalEnriched

FHIR Persistence Engine-Agnostic Core: Implementing Tamper-Evident Audit Chains

fhir_store - Rust - Docs.rs

November 1, 2026

Summary

The `fhir_store` crate provides the engine-agnostic core for FHIR persistence. It ensures data integrity by maintaining a tamper-evident audit chain and tracking attribution and disclosure records.

Details

This crate was developed to solve the problem of code duplication that previously existed across six separate database ports (e.g., `fhir-postgresql`, `fhir-sqlite`). Its primary function is to manage the tamper-evident hash chain (spec M3.16, M3.16a) and maintain detailed records of who made changes (Audit) and what was erased (Purge Report). The implementation is designed to separate persistence logic from security perimeter functions, noting that authentication is handled elsewhere. Furthermore, the crate does not handle networking (HTTP/sockets); the RESTful interface is provided by `fhir-loco`. This standardization increases portability across multiple database environments.

πŸ“°
Read Original Article
docs.rs
β†’

Original content copyright by respective publishers