Skip to content

OctoFHIR FHIRPath

A high-performance FHIRPath implementation in Rust with multiple language bindings

OctoFHIR FHIRPath is a comprehensive implementation of the FHIRPath specification written in Rust. FHIRPath is a path-based navigation and extraction language for FHIR (Fast Healthcare Interoperability Resources) data.

High Performance

Written in Rust for maximum speed and memory safety with zero-cost abstractions.

Multiple Interfaces

CLI tool, Rust library, and Node.js bindings for seamless integration.

FHIRPath Compliance

Implements the official FHIRPath specification with comprehensive test coverage.

Expression Validation

Built-in syntax validation for FHIRPath expressions with detailed error reporting.

This project provides three main components:

  • fhirpath-core: The core FHIRPath engine with lexical analysis, parsing, and evaluation
  • fhirpath-cli: A command-line interface for FHIRPath evaluation and validation
  • fhirpath-node: Node.js bindings for JavaScript/TypeScript integration
Terminal window
# Install the CLI tool
cargo install --path fhirpath-cli
# Evaluate a FHIRPath expression
octofhir-fhirpath eval "Patient.name.given" patient.json

Get started with the installation guide or explore usage examples.