|
5 min read
|

SQL on FHIR in PostgreSQL

Summarize this article with:
ChatGPTPerplexityClaudeGrok

Two types of SQL on FHIR View Runners - ETL (in-memory) & ELT (in-database) and demo the ELT implementation for PostgreSQL using: Aidbox Open-source ViewDefinition Builder Grafana

The slides Image 1FHIR Database & FHIR Server for FHIR-first appsImage 2SQL on FHIR RunnersImage 3ETL: in memory runnerImage 4ETL: in memory runnerImage 5ELT: in-database runnersImage 6Compare ETL and ELTImage 7FHIR Server with SQL on FHIRImage 8How to store & query FHIR in PostgreSQLImage 9Translate ViewDefinition to SQLImage 10How does translation worksImage 11What we can do with view def (query) Run aidbox:

mkdir aidbox && cd aidbox curl -JO https://aidbox.app/runme && docker compose up

in aidbox sandbox - https://aidbox.app

in viewbuilder - https://sqlonfhir.aidbox.app

Related article - SQL on FHIR: What is a ViewDefinition, and how does it work?

The bigger picture around the runner shown here — how ViewDefinitions, SQLView/SQLQuery, and the standard run/export/materialize API compose into full pipelines — is covered in FHIR analytics with SQL on FHIR: interoperable by design.

Author: Nikolai Ryzhikov, CTO at Health Samurai

See also: SQL on FHIR: What is a ViewDefinition?.

Share this article
Comments
Comments
Sign in
Loading comments...
Subscribe to our blog

Get the latest articles on FHIR, interoperability, and healthcare IT.