Expand description
FHIR Canonical Manager compatibility facade.
Existing features and import paths are preserved. Consumers that only need local
storage, package extraction, search and canonical resolution can depend on
octofhir-canonical-core with default features disabled to omit HTTP and TLS.
Modules§
- config
- Configuration management for FHIR Canonical Manager.
- content_
hash - Blake3-based content hashing primitives used by the package and resource indexes. Blake3 is faster than SHA-256 on large inputs while providing a 256-bit output, which is sufficient for content addressing inside this crate.
- domain
- Domain types: canonical URLs, versions, and storage-agnostic data structures.
- error
- Error types for the FHIR Canonical Manager.
- progress
- Progress tracking for package installation operations.
- registry_
clients - Registry client trait + per-protocol implementations for FHIR package backends.
- resolver
- Canonical URL resolution
- search
- Search engine for FHIR resources
- store
- Content-addressable virtual store for FHIR packages.
Structs§
- Broadcast
Callback - A callback that sends events through a tokio broadcast channel. Useful for SSE streaming to multiple clients.
- Canonical
Manager - Main FHIR Canonical Manager
- Canonical
Resolver - Service for resolving canonical URLs to FHIR resources.
- Canonical
Url - Normalized canonical URL newtype.
- Canonical
With Version - Canonical with optional version using
url|versionsyntax. - Channel
Callback - A callback that sends events through a tokio mpsc channel. Useful for single-consumer scenarios.
- Collecting
Callback - A simple callback that stores events in a vector. Useful for testing or collecting all events.
- FcmConfig
- Main configuration structure for the FHIR Canonical Manager.
- FnCallback
- A callback that wraps a function.
- Install
Options - Knobs for
CanonicalManager::install_packages_batch_with_options. - Install
Progress Context - Context for tracking installation progress. Holds state and callback reference.
- Optimization
Config - Configuration for performance optimization settings.
- Optimization
Metrics - Performance metrics for optimization components
- Package
Change Status - Status of package changes
- Package
Info - Package information returned from storage queries.
- Package
Spec - Specification for a FHIR package to be managed.
- Package
Version - Package/resource version represented using semver when possible, preserving original.
- Rebuild
Package Info - Package information for rebuild operations
- Registry
Config - Configuration for FHIR package registry connection.
- Registry
Package Info - Information about a package available in a registry.
- Resource
Index - Resource index returned from queries - extended with SD-specific fields.
- Resource
Metadata - Legacy metadata struct for backward compatibility during migration
- Search
Engine - Full-text search engine for FHIR resources.
- Search
Parameter Info - Information about a FHIR SearchParameter
- Sqlite
Storage - Storage
Config - Configuration for local storage paths and cache settings.
- Unified
Integrity Report - Integrity report
- Unified
Storage Stats - Storage statistics
Enums§
- FcmError
- Main error type for the FHIR Canonical Manager.
- Fhir
Version - FHIR spec version family
- Install
Event - Event types for package installation progress.
Traits§
- Install
Progress Callback - Trait for receiving installation progress events.
- Package
Store - Search
Storage - Trait for search storage operations.
Type Aliases§
- Result
- Main result type used throughout the FHIR Canonical Manager library.