Expand description
Generic in-process SQL-on-FHIR runner.
Unlike the SQLite and PostgreSQL runners — which compile a ViewDefinition to
native SQL and execute it inside the database — this runner streams the
resources of the view’s target type out of a backend and evaluates the
ViewDefinition with the in-process helios-sof FHIRPath engine. It exists
for backends that have no query engine to push the computation into (S3
object storage, and S3-primary composites such as s3-elasticsearch).
The heavy lifting is delegated to helios_sof::PreparedViewDefinition,
the same engine that serves inline resource: runs and the sof-cli/sof-server
tools, so this runner introduces no new SQL-on-FHIR semantics. Resource
access is abstracted behind ResourceScan so the runner is
backend-agnostic.
Structs§
- InProcess
SofRunner - In-process SQL-on-FHIR runner backed by an arbitrary
ResourceScan.
Traits§
- Resource
Scan - Streams the live resources of a single resource type for a tenant.