// the find
niquola/fhirpath-pg
A PostgreSQL extension that implements FHIRPath/FluentPath as a native C extension, letting you query FHIR JSON resources stored in jsonb columns using the HL7 path expression language. Aimed at health IT developers building FHIR servers on top of Postgres who want query performance without a separate FHIR query layer.
Native C extension means path evaluation happens inside the Postgres process with no serialization overhead. Comes with a proper lex/yacc parser (fhirpath_scan.l / fhirpath_gram.y) rather than a regex hack. Has a regression test suite using pg's installcheck framework with expected output files. Docker setup included, which is the right call for a C extension that requires building against Postgres source.
Dead since 2018 — eight years abandoned, meaning it targets an ancient Postgres version and will likely not compile against anything current without surgery. 7 stars and 9 forks signals it never got real adoption, so there are no production hardening stories. The README is mostly copy-pasted Postgres jsonb internals docs with barely any usage examples for the actual FHIRPath functions. No indication of which FHIRPath spec version is implemented or how complete the coverage is — the sql/failed.out file exists, which is never a confidence booster.