creator cover Alexander Streltsov
Alexander Streltsov

Alexander Streltsov 

🚀 Building the Future of FHIR Tools in Rust

3subscribers

11posts

goals1
1 of 100 paid subscribers
When i will get 100 subscriber i can spent more time to develop libraries

About

👋 Hi! I'm Alexander, a passionate developer building comprehensive healthcare interoperability tools using Rust. I'm the creator of OctoFHIR - a complete ecosystem of FHIR (Fast Healthcare Interoperability Resources) libraries that are transforming how healthcare data is processed and exchanged.
🔧 Develop a full range of FHIR libraries in Rust - you can find the complete list at: Github
 🎯 Ready to support the future of healthcare technology?
Every contribution, no matter the size, makes a real difference in building better healthcare tools for everyone.

OctoFHIR: metrics, your own dashboards, and Grafana compatibility

Last time I showed how fast OctoFHIR is. Now you can also see what's going on inside it.
 
📊 Metrics from every instance
 
The Performance page used to read /metrics from whichever server the console talked to — behind a load balancer, that's a random pod. Dashboards now read from Prometheus, so you see every instance: all together, or just one.
 
🧭 Built-in System dashboard
 
Throughput, p50/p95/p99 latency, error rate, FHIR interactions by resource type (read, search, create, update…), routes, the PostgreSQL connection pool, cache, the Tokio runtime (worker utilization, task queue) and the process itself (CPU, memory, threads). Nothing to install or set up — it ships with the server.
 
🧩 Your own dashboards
 
Duplicate System or start from scratch. Panels drag and resize on a grid, sections collapse, and an instance variable narrows the whole dashboard. Drag across a spike on any chart to zoom the entire dashboard into it; the crosshair follows on every chart.
 
🛠 Queries without knowing PromQL — or with it
 
A visual query builder: pick a metric (with its description), filter by labels with suggested values, apply rate, increase or a histogram quantile, aggregate by labels. It writes plain PromQL underneath. Need more? Switch to the code editor with completion for metrics, labels and functions, and syntax errors underlined as you type.
 
🔍 Explain
 
Explain lays a query out as a tree and runs every step on its own, showing how many series each step returns. When a panel is empty, you see exactly which step lost the data.
 
🔗 Grafana-compatible
 
Any dashboard exports to Grafana JSON or pushes to your Grafana in one click. The token is sent once and never stored. It works the other way too: import a Grafana dashboard, and OctoFHIR lists anything it couldn't carry over. Grafana stays optional — everything works right in the console.
 
🔒 Safe on a shared Prometheus
 
The server parses every query and adds your deployment's selector to it, so a dashboard simply cannot read anyone else's series. Range, step and timeout limits apply too.
 
🚀 Try it
 
docker compose up -d
cargo run
Then open Performance in the console (g m). Optional Grafana on port 3030: docker compose --profile grafana up -d
 
In production it's one section in octofhir.toml:
 
[metrics.prometheus]
url = "http://prometheus:9090"
selector = '{job="octofhir"}'
 
Works with Prometheus, VictoriaMetrics, Mimir and Thanos. The docs include ready-made configs for plain Prometheus and Kubernetes, with or without the operator.
 
OctoFHIR is an open-source FHIR server in Rust: R4–R6, PostgreSQL, Docker, Apache-2.0.
https://github.com/octofhir/server-rs
 
Thank you to everyone supporting the project on Boosty — releases like this happen because of you. Tell me in the comments which metrics and dashboards you'd like to see next.

OctoFHIR: fast, correct, and a console you'll actually enjoy

OctoFHIR is an open-source FHIR server written in Rust. Here's where it stands today.
⚡ Fast
Numbers from the public FHIR server performance benchmark (k6), OctoFHIR run of October 31:
• CRUD — 11,754 requests per second. That's about a million requests every 85 seconds.
• Bulk import — 5,709 resources per second. Roughly 20 million resources an hour.
• Search — over 3,200 requests per second. Around 280 million searches a day.

Building our own JavaScript engine in Rust

Meet Otter — not another “hello world” WebAssembly demo, but a full TypeScript/JavaScript runtime you can embed into any Rust application in just a couple of lines.
Under the hood: JavaScriptCore (Safari’s engine, also used by Bun). Fast, mature, battle-tested.
The key idea: we embed Otter into our FHIR server.
So you’ll be able to write validators, mappings, and business logic in familiar TypeScript — and simply upload files to the server. No rebuilds. No redeploys. No pain.
What it already supports:
  • TypeScript out of the box — no separate tsc, it just works
  • Node.js-compatible APIs — fs, path, fetch, and the usual essentials
  • Built-in package manager — installs npm packages without requiring Node.js
  • Sandboxing & policies — control exactly what scripts can read/write/download
  • Essentially: Deno-like ergonomics, but as a library — embed it and run
CLI is already available and you can try it today.
There’s still a lot of work ahead — but with your feedback and real-world use cases we’ll move much faster: better prioritization, fewer wrong turns, more polish where it matters.
Source code (GitHub): https://github.com/octofhir/otter
First public release is coming soon. Stay tuned.

OctoFHIR: FHIRPath Engine now live in FHIRPath-Lab


Great news!
Our OctoFHIR FHIRPath engine is now integrated and available for testing directly in FHIRPath-Lab.

✨ What this means

  • You can try out the engine in your browser with real FHIRPath expressions.
  • Full support for R4 and R5, with extended tracing and metadata.
  • Opens the door for full validation through community-driven test cases.

🔍 Where to try

👉 dev.fhirpath-lab.com/FhirPath

💬 What’s next

We’d love to hear your feedback!
If you spot any bugs, odd behavior, or have suggestions — feel free to leave a comment or open an issue on GitHub:
👉 github.com/octofhir/fhirpath-rs
🎉 This is just the beginning. More features, docs, and developer tools are coming soon!
Beautiful!

We’re Live! 🚀

Great news — our official website is now live: https://octofhir.tech/
For now, it’s a simple landing page, but it’s just the beginning. Soon we’ll be adding more updates, tools, and resources for the OctoFHIR ecosystem. Stay tuned!

🚀 Double Strike: REPL + Web Server in octofhir-fhirpath!

Hello friends! 👋
We’ve got two big updates for everyone working with FHIR medical data.

What’s new?

We’ve added two powerful interactive environments to our CLI octofhir-fhirpath:

🖥️ Interactive REPL Environment

# Start REPL
octofhir-fhirpath repl
# Or start with a resource
octofhir-fhirpath repl --input patient.json
REPL features:
  • 🎯 Interactive execution of FHIRPath expressions
  • 📝 Command history with arrow navigation
  • 🎨 Colorized output for better readability
  • 📊 Variable management (:set, :unset, :vars)
  • 📁 Resource loading (:load file.json)
  • 💡 Built-in help (:help)

🌐 Built-in Web Server


# Start the web interface
octofhir-fhirpath server --port 8080
Web server capabilities:
  • 🌍 Full-featured web interface for FHIRPath
  • 📁 File storage for your JSON resources
  • 🔄 HTTP API for system integration
  • ⚡ Quick browser access for testing expressions

Example REPL session:


fhirpath> :load examples/patient.json
Loaded Patient resource (id: example-1)
fhirpath> Patient.name.given.first()
"John"
fhirpath> :set myVar "test"
Variable 'myVar' set
fhirpath> :help first
first() - Returns the first item in a collection

🎉 New analyze Command in Our FHIRPath CLI!

Hello, friends! 👋
I’m excited to share some great news — our CLI tool for FHIRPath now has a powerful new command: analyze! 🔥

What is it? 🤔

The analyze command is an intelligent FHIRPath expression analyzer that helps you:
  • ✨ Catch errors and typos – no more mysterious runtime issues!
  • 🔍 Validate FHIR fields – check if the specified fields actually exist in the FHIR specification
  • 🏥 Verify resource types – make sure you are working with the correct FHIR resources
  • 🔧 Analyze functions – validate function calls and their parameters
  • 💡 Suggest fixes – get smart hints on how to resolve detected issues

How to use it? ⚡

# Full analysis with type checking
octofhir-fhirpath analyze "Patient.name.given"
 # Validation only (fast check)
octofhir-fhirpath analyze "Patient.name.given" --validate-only
 # Quiet mode for scripts
octofhir-fhirpath analyze "Patient.name.given" --quiet

What does the analyzer show? 📊

  • 🔍 Data types – what type each part of the expression returns
  • 🏥 FHIR models – compliance with the official FHIR specification
  • ⚠️ Warnings – deprecated fields or potential issues
  • 💡 Hints – suggestions on how to fix detected problems
This dramatically speeds up development and helps you avoid mistakes at the coding stage! 🚀
Try out the new command and share your feedback in the comments or in github !

🚀 OctoFHIR MCP Server v0.1.0 Released!

Great news for FHIR + AI developers! 🎉
We’ve just released OctoFHIR MCP Server v0.1.0 – a blazing-fast Rust server that brings FHIR data processing into the world of AI assistants and applications.
With OctoFHIR, your AI can:
✨ Parse & validate FHIRPath
✨ Extract structured data
✨ Analyze queries
✨ Run high-speed evaluations (~0.1–10ms)

⚡ Key Highlights

  • Written in Rust → max performance
  • Supports MCP stdio & HTTP transports
  • Ready-to-use binaries (Linux, macOS, Windows)
  • Docker images for easy deployment
  • Seamless integration with Claude Desktop

🔗 Try It Now

GitHub 👉 octofhir/mcp-rs
Quick Start:
curl -L https://github.com/octofhir/mcp-rs/releases/latest/download/octofhir-mcp-linux-x86_64.tar.gz | tar xz
./octofhir-mcp stdio

🎯 Roadmap

Q3 2025: WebSocket transport, advanced caching
Q4 2025: Terminology services, validation tools
Q1 2026: Bundle processing, streaming support

💖 Support Development

OctoFHIR is open-source and grows thanks to your support!
Every contribution helps us build faster, more reliable FHIR tools for AI & healthcare.
Incredible!

Announcing MCP Server for FHIR Tooling: Starting with FHIRPath

We're excited to announce the development of a new Model Context Protocol (MCP) server specifically designed for FHIR tooling! 🚀
What is MCP?
The Model Context Protocol is Anthropic's open standard that enables AI assistants to securely connect to external data sources and tools. It creates a bridge between AI models and the rich ecosystem of development tools, databases, and APIs that developers use daily.
Our FHIR Tooling Vision
Hype
🕺🪩
Subscription levels3

☕ Coffee Supporter

400 ₽ per month
 Keeps me caffeinated during long coding sessions
+ chat

🛠️ Tool Builder

1 200 ₽ per month
- Priority feature requests and bug fixes
- Early access to new tools and updates
- Direct feedback channel for development priorities
+ chat

🚀 Ecosystem Patron

2 500 ₽ per month
- Influence project roadmap and feature priorities
- Exclusive updates on development progress
- One-on-one consultation for your FHIR projects
+ chat
Go up