Expand description
Simplified FHIRPath Registry
This crate provides a clean, simplified registry system that splits operations into sync/async based on their actual needs, not artificial complexity.
§Usage
use octofhir_fhirpath_registry::{
traits::{SyncOperation, AsyncOperation, EvaluationContext},
signature::{FunctionSignature, ValueType, ParameterType},
FunctionRegistry,
};Re-exports§
pub use function_registry::FunctionRegistry;
Modules§
- function_
registry - Function Registry for FHIRPath Operations
- macros
- Macros for Easy Operation Implementation
- operations
- Simplified FHIRPath operations
- registry
- Simplified Registry System
- registry_
core - Core Registry Implementation
- signature
- Simplified Function Signature System
- traits
- Simplified FHIRPath Operation Traits
Macros§
- collection_
count_ op - Macro to create common collection operations
- impl_
async_ op - Macro to implement an asynchronous operation with minimal boilerplate
- impl_
default_ constructor - Macro to create a default constructor for an operation
- impl_
sync_ op - Macro to implement a synchronous operation with minimal boilerplate
- math_
unary_ op - Macro to create common math operations
- register_
async_ ops - Macro to register async operations in a registry
- register_
sync_ ops - Macro to register operations in a registry
- signature
- Convenience macros for creating common function signatures
- string_
manipulation_ op - Macro to create common string manipulation operations
Enums§
- Binary
Operator - Binary operators in FHIRPath
- Expression
Node - AST representation of FHIRPath expressions
- Fhir
Path Error - Comprehensive error type for FHIRPath operations
- Fhir
Path Value - Core value type for FHIRPath expressions
- Unary
Operator - Unary operators in FHIRPath
Traits§
- Model
Provider - Async-first ModelProvider trait for FHIR type introspection and validation This replaces the synchronous ModelProvider with an async-first design
Functions§
- create_
standard_ registry - Create a standard unified registry with all built-in operations
Type Aliases§
- Result
- Result type alias for FHIRPath operations