Production-Scale FHIR Analytics. Running Anywhere.
The first SQL-native clinical reasoning engine. Translate CQL to DuckDB SQL for blazing fast, auditable population health analytics with zero server infrastructure.
FHIR4DS treats FHIR as a first-class citizen in the analytical stack. No pre-flattening, no complex ETLβjust standard SQL powered by high-performance DuckDB extensions.
Query FHIR resources using native FHIRPath expressions directly in SQL.
import fhir4ds
con = fhir4ds.create_connection()
con.execute("""
SELECT fhirpath_text(resource, 'Patient.name.family')
FROM resources
""")Clinical logic compiles to a single, self-contained DuckDB SQL query. Query raw FHIR JSON directly without pre-flattening or ETL.
Same accuracy target. Radically different performance.
| Capability | FHIR4DS | CQF Clinical Reasoning |
|---|---|---|
| SQL execution per patient (all 47 measures) | ~3.9ms | N/A |
| SQL execution per patient (12 shared measures) | ~6.9ms | ~936ms |
| Speedup (mean, 12 shared measures) | ~137Γ faster | baseline |
| Zero server infrastructure | β DuckDB-WASM | β Requires JVM + server |
| Audit evidence trail | β Full narrative | β Aggregate counts only |
| Output is inspectable | β Plain SQL | β Black-box engine |
| Columnar scalability | β Vectorized | β οΈ Sequential loop |
| SQL-on-FHIR v2 support | β 100% compliance | β Not supported |
Join the modern healthcare data stack. Open-source, standards-compliant, and built for high-performance clinical quality measurement.