finds.dev← search

// the find

niquola/fhir_cases_for_jsonp

C · updated May 2014

A 2014 test data generator for FHIR-style medical records (encounters, conditions, observations) stored as PostgreSQL JSONB. It generates synthetic clinical data via Go templates and SQL, paired with a bundled jsquery PostgreSQL extension for querying that JSONB. Zero real-world users; this is clearly personal benchmarking scaffolding that escaped into public.

The jsquery extension source is the only technically interesting artifact here — it implements a dedicated query language for JSONB with a hand-written lexer/parser (flex/bison), which predates PostgreSQL's native jsonpath by several years. The data generation approach (Go + SQL templates + flat data files) is simple and reproducible without external dependencies beyond Go and psql.

Abandoned in 2014 — jsquery is now superseded by PostgreSQL's built-in jsonpath (14+), making the main technical contribution obsolete. No tests, no documentation beyond a two-line README, and the generate binary is a compiled artifact checked into git. The Vagrant setup targets a specific port (5435) and username with no configuration, so you cannot actually run this without matching that exact environment. Zero stars, one fork, C language tag is misleading — it's mostly SQL and Go.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →