| features |
|
|||||
|---|---|---|---|---|---|---|
| languages |
|
Use SQL on FHIR on sample risk assessment form with Aidbox and visualize data with Metabase.
- Docker
- Cloned repository: Github: Aidbox/examples
- Working directory:
fhir-analytics
git clone https://github.com/Aidbox/examples.git
cd examples/aidbox-integrations/fhir-analytics
Use docker compose to start Aidbox and Metabase:
docker compose upGo to Aidbox console. Navigate to Notebooks in the sidebar. Open "SQL on FHIR: Analytics on form data" notebook.
The "SQL on FHIR: Analytics on form data" notebook is a step-by-step guide which shows how to use SQL on FHIR to make analytical queries much simplier.
Navigate to Metabase. Follow instruction to set up account, then connect data source.
To connect data source use the following values:
- host:
aidbox-db, - port: 5432,
- database:
aidbox, - user:
aidbox, - password:
password.
Then use view from the sof schema to make visualizations.