Expand description
FHIRPath implementation in Rust
A complete implementation of the FHIRPath expression language for FHIR resources.
Re-exports§
pub use utils::JsonResult;
pub use utils::fhir_value_to_serde;
pub use utils::from_json;
pub use utils::parse_as_fhir_value;
pub use utils::parse_json;
pub use utils::parse_with_serde;
pub use utils::reformat_json;
pub use utils::serde_to_fhir_value;
pub use utils::to_json;
pub use octofhir_fhirpath_analyzer as analyzer;
pub use octofhir_fhirpath_ast as ast;
pub use octofhir_fhirpath_core as core;
pub use octofhir_fhirpath_diagnostics as diagnostics;
pub use octofhir_fhirpath_evaluator as evaluator;
pub use octofhir_fhirpath_model as model;
pub use octofhir_fhirpath_parser as parser;
pub use octofhir_fhirpath_registry as registry;
pub use octofhir_fhirpath_model::fhir_model;
Modules§
- utils
- Utility functions for JSON conversion and compatibility
- value_
ext - FHIRPath value types and data model
Structs§
- Analysis
Context - Context for analysis operations
- Analysis
Result - Analysis result with rich semantic information
- Analysis
Settings - Settings for analysis operations
- Analysis
Validation Error - Validation error with precise location information
- Analyzer
Config - Configuration for the analyzer
- Binary
OpData - Binary operation data (separate struct to optimize enum size)
- Conditional
Data - Conditional expression data (separate struct to optimize enum size)
- Diagnostic
- A diagnostic message
- Diagnostic
Builder - Builder for constructing diagnostics fluently
- Diagnostic
Reporter - Streamlined diagnostic reporter
- Evaluation
Config - Configuration options for FHIRPath evaluation.
- Evaluation
Context - Context for evaluating FHIRPath expressions
- Fhir
Path Analyzer - Main analyzer for FHIRPath expressions
- Fhir
Path Engine - Unified FHIRPath evaluation engine.
- Fhir
Path Engine With Analyzer - Extended FHIRPath engine with optional analysis capabilities
- Function
Call Data - Function call data (separate struct to optimize enum size)
- Function
Registry - Function registry that manages both sync and async FHIRPath operations
- Json
Value - JSON value wrapper using serde_json
- Lambda
Data - Lambda expression data (separate struct to optimize enum size)
- Method
Call Data - Method call data (separate struct to optimize enum size)
- Mock
Model Provider - Mock model provider for testing
- Semantic
Info - Semantic information attached to AST nodes for FHIRPath specification compliance
- Smart
Collection Builder - Builder for constructing SmartCollections with automatic promotion optimization
Enums§
- Binary
Operator - Binary operators in FHIRPath
- Diagnostic
Code - Diagnostic error codes
- Diagnostic
Severity - Diagnostic severity levels
- 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
- Literal
Value - Literal values in FHIRPath
- Parse
Error - Parse error with location information
- Smart
Collection - Smart collection that can efficiently share data or own it depending on usage patterns
- 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
- parse
- Parse a FHIRPath expression from a string
Type Aliases§
- Result
- Result type alias for FHIRPath operations