Skip to main content

Crate octofhir_canonical_manager

Crate octofhir_canonical_manager 

Source
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§

BroadcastCallback
A callback that sends events through a tokio broadcast channel. Useful for SSE streaming to multiple clients.
CanonicalManager
Main FHIR Canonical Manager
CanonicalResolver
Service for resolving canonical URLs to FHIR resources.
CanonicalUrl
Normalized canonical URL newtype.
CanonicalWithVersion
Canonical with optional version using url|version syntax.
ChannelCallback
A callback that sends events through a tokio mpsc channel. Useful for single-consumer scenarios.
CollectingCallback
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.
InstallOptions
Knobs for CanonicalManager::install_packages_batch_with_options.
InstallProgressContext
Context for tracking installation progress. Holds state and callback reference.
OptimizationConfig
Configuration for performance optimization settings.
OptimizationMetrics
Performance metrics for optimization components
PackageChangeStatus
Status of package changes
PackageInfo
Package information returned from storage queries.
PackageSpec
Specification for a FHIR package to be managed.
PackageVersion
Package/resource version represented using semver when possible, preserving original.
RebuildPackageInfo
Package information for rebuild operations
RegistryConfig
Configuration for FHIR package registry connection.
RegistryPackageInfo
Information about a package available in a registry.
ResourceIndex
Resource index returned from queries - extended with SD-specific fields.
ResourceMetadata
Legacy metadata struct for backward compatibility during migration
SearchEngine
Full-text search engine for FHIR resources.
SearchParameterInfo
Information about a FHIR SearchParameter
SqliteStorage
StorageConfig
Configuration for local storage paths and cache settings.
UnifiedIntegrityReport
Integrity report
UnifiedStorageStats
Storage statistics

Enums§

FcmError
Main error type for the FHIR Canonical Manager.
FhirVersion
FHIR spec version family
InstallEvent
Event types for package installation progress.

Traits§

InstallProgressCallback
Trait for receiving installation progress events.
PackageStore
SearchStorage
Trait for search storage operations.

Type Aliases§

Result
Main result type used throughout the FHIR Canonical Manager library.