
Building a Scalable FHIR Analytics Platform with dbt, Parquet, and DuckDB
A professional guide to converting FHIR resources into analytical Parquet files using dbt, enabling secure multi-tenant analytics with DuckDB.
As a healthcare software architect, I often see how complex care pathways can be hard to follow, especially when they’re described in technical formats like FHIR PlanDefinitions. While these standards are important for interoperability, they aren’t always easy for everyone to interpret.
To help with this, we created a simple web app that turns PlanDefinitions into BPMN diagrams. BPMN is a visual way to show processes, making it easier for clinicians and teams to see how a care pathway is structured.
The app is straightforward: upload a PlanDefinition, and you’ll get a visual diagram you can explore. There’s no need for technical skills—just a clear view of the workflow, which can help with understanding and collaboration.
This tool is a small step toward making healthcare processes more transparent and accessible. I hope it helps teams work together more effectively and makes care pathways a little easier to navigate.
The app is built with a modern web stack (React, Vite, TypeScript). When you upload a PlanDefinition (in JSON), the app parses it and generates a BPMN diagram in your browser. There’s no backend—everything runs locally, so your data stays private.
Upload and view FHIR PlanDefinition files (JSON) Automatic conversion to BPMN diagrams Interactive diagram viewer (zoom, pan) Simple JSON editor for PlanDefinitions No installation or login required This tool aims to make care pathways more transparent and accessible, helping teams collaborate and understand processes more easily.
You can find the source code and contribute to the project on GitHub: https://github.com/gjergjsheldija/plandefinition-to-bpmn