HealthRecordCommunity
FHIRHL7🌏 InternationalEnriched

FHIR MySQL Store: Rust Implementation for Healthcare Data Persistence

fhir_mysql_store - Rust - Docs.rs

November 1, 2026

Summary

The `fhir_mysql_store` crate provides a MySQL layer for FHIR. It manages the transactional storage of resources and maintains history, enabling data reconstruction while meeting requirements like M3.6 and R4.2.

Details

This Rust crate functions as the MySQL persistence layer for FHIR implementations. Its responsibilities include applying generated DDL, writing resources transactionally while maintaining history, and reconstructing data from stored rows. A key technical feature is that values are bound as text via `mysql_async`. This ensures that decimal scale and partial dates survive the round-trip process, addressing requirements of M3.6 and R4.2. The crate features modules for the tamper-evident audit chain, MySQL storage, search query construction, and TLS database integration, utilizing engine-agnostic value types for various operations (e.g., Audit, Access Record, Resource Status).

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

Original content copyright by respective publishers