Aidbox Examples

Browse Aidbox integration examples and sample applications

Filters
Languages
Features

Showing 49 examples

Agentic Coding: FHIR Patient Dashboard

Building healthcare dashboards on top of FHIR data typically requires significant boilerplate: mapping FHIR resources to SQL, setting up charting libraries, and wiring everything together.

TypeScriptFHIR DashboardAI assistedClaude CodeSQL on FHIRChart.jsBunTypeScript
Agentic FHIR Implementation Guide Development

Traditional FHIR Implementation Guide development is complex and time-consuming. Creating and validating FHIR StructureDefinition resources and terminology resources requires deep technical expertise, which led to the development of additional tooling like the FSH (FHIR Shorthand) language.

MarkdownFHIR IGAI assistedClaude CodeImplementation guideMarkdown
Aidbox CQL Integration with Spring Boot Example

This Spring Boot sample application uses the CQL Java engine and implements the $evaluate operation.

JavaCQLCustom operationsSpring BootFHIR operationsClinical decision support
Aidbox Forms Smart Launch 2

First, copy `.env.example` to `.env` and set the correct values:

TypeScriptSMART on FHIRFormsQuestionnaireNext.jsEHR integration
Aidbox Notify via Custom Resources

Demo | Custom resources using FHIR Schema

JavaScriptCustom resourcesNotificationsFHIR schemaWorkflowAutomation
Aidbox Organization-Based Access Control (OrgBAC) Practitioner Application

This is a complete example application demonstrating how to build a practitioner-facing healthcare application using Aidbox with Organization-Based Access Control (OrgBAC). The application showcases JWT authentication, organization-scoped data access, and FHIR R4 resource management.

TypeScriptOrgBACJWT authPractitioner appNext.jsRole-based access
aidbox-forms-builder-angular

Example of integration Aidbox Forms Builder with Angular.js

HTMLForms builderQuestionnaireAngularWeb componentsFHIR forms
aidbox-forms-builder-angular-controlled

In controlled mode, integrating the Aidbox Forms Builder with Angular.js

HTMLForms builderControlledQuestionnaireAngularWeb components
aidbox-forms-flutter-web

Example of integration Aidbox Forms Builder with Flutter Web

DartForms builderFlutterWebQuestionnaireCross-platform
aidbox-forms-renderer-angular

Example of integration Aidbox Forms Renderer with Angular.js

HTMLForms rendererQuestionnaireAngularWeb componentsFHIR forms
aidbox-forms-renderer-angular

Example of integration multiple instances Aidbox Forms Renderer on the same page with Angular.js

HTMLForms rendererMultiple renderersQuestionnaireAngularComparison
aidbox-forms-renderer-angular-controlled

In controlled mode, integrating the Aidbox Forms Renderer with Angular.js

HTMLForms rendererControlledQuestionnaireAngularWeb components
aidbox-forms-renderer-react

Example of integration Aidbox Forms Renderer with React.js

HTMLForms rendererQuestionnaireReactWeb componentsFHIR forms
aidbox-forms-renderer-react-controlled

In controlled mode, integrating the Aidbox Forms Renderer with React involves

HTMLForms rendererControlledQuestionnaireReactWeb components
Aidbox: Override default FHIR endpoint

This example demonstrates how to use the Aidbox FHIR server to replace the default behavior of FHIR endpoints with your own custom logic. Aidbox provides the "App" functionality, which allows you to create an App entity and define new operations or override existing ones for any FHIR resource. With this approach, you can implement and manage custom logic for standard FHIR operations directly within your service.

TypeScriptAPI overrideCustom operationsFastifyApp frameworkFHIR extensions
AWS S3 Aidbox integration example

!image

TypeScriptS3StorageAttachmentsNext.jsPresigned URLs
beda-renderer

This package builds a static renderer page (`index.html` + `src/index.tsx`) that mounts the Beda FHIR Questionnaire renderer and speaks SDC SMART Web Messaging.

TypeScriptCustom rendererForms builderQuestionnaireSDC QRFSMART Web Messaging
BedaEMR

Runs on Aidbox FHIR platform

YAMLBeda EMREHR integrationElectronic medical recordHealthcareIntegration
Canonical Mapping: HIS to FHIR

Two architectural approaches for exposing proprietary Hospital Information System (HIS) data as FHIR R4.

TypeScriptCanonical MappingFHIR FacadeFHIR Search
CQL Library/$evaluate on Aidbox — cqframework 4.5.0 (Kotlin)

Spring Boot application implementing FHIR Library/$evaluate via cqframework 4.5.0 — the Kotlin Multiplatform port of the CQL engine. Includes Aidbox docker-compose, 4 pre-loaded CMS measures (CMS130, CMS125, CMS131, CMS165), and sample clinical data for end-to-end testing.

JavaKotlinCQLCustom operationsSpring BootFHIR operationsClinical decision supportQuality measures
Custom Renderer Tutorial for Aidbox Forms Builder

This tutorial demonstrates how to connect custom renderers to the Aidbox Forms Builder preview.

TypeScriptCustom rendererForms builderQuestionnaireTemplateCustomizationSMART Web Messaging
Example: SMART App Launch using Smartbox and Keycloak

This example showcases the Smart App EHR and Patient launch flows.

YAMLSMART on FHIRGrowth chartAidbox onlyApp launchFHIR client
FHIR $purge Operation with Aidbox

This example demonstrates the implementation of the FHIR $purge operation using TypeScript and Aidbox. The $purge operation removes all current and historical versions of resources associated with a specific patient.

TypeScriptPurge operationCustom operationsAsync operationsData deletionFHIR operations
FHIR Analytics with Aidbox and Metabase

Use SQL on FHIR on sample risk assessment form with Aidbox and visualize data with Metabase.

YAMLAnalyticsMetabaseSQL on FHIRData visualizationRisk assessment
FHIR Orchestration Service

Implements `$getstructuredrecord` operation that fetches patient data from multiple FHIR sources, deduplicates resources using terminology translation, and returns a merged Bundle with Provenance tracking.

TypeScriptFHIR OrchestrationFHIR FacadeDeduplicationConceptMapProvenanceSMART on FHIR
FHIR R5 Topic-Based Subscriptions

This example demonstrates how to implement FHIR R5 topic-based subscriptions in Aidbox.

AnalyticsSubscriptionsFHIR R5
FHIR SDC API in Aidbox

This demo shows how to use FHIR SDC Api in Aidbox via Aidbox Forms module.

YAMLFHIR SDCStructured data captureQuestionnaireAPIForms
FHIRPath Editor - Moved

This project has been moved to its own repository.

HTMLFHIRPathEditorQuery languageExpressionTesting
Game of Pools - Aidbox Performance Testing Framework

A comprehensive automated performance testing framework for Aidbox FHIR server that systematically tests different configurations of CPU limits, web threads, and database connection pool sizes.

PythonJavaScriptPerformance testingConnection poolingK6DockerGrafanaPrometheusBenchmarking
Grafana dashboard for Aidbox metrics

This example demonstrates how to set up Grafana with Prometheus to visualize Aidbox metrics.

YAMLObservabilityMonitoringMetricsGrafanaPrometheus
Implementation of IPS FHIR IG on Aidbox FHIR platform

This repository contains pre-configured Aidbox instance and implementation of `$summary` operation defined by IPS:

TypeScriptIPSSubscriptionsInternational Patient Summary
Implementation of IPS FHIR IG on Aidbox FHIR platform

Demo | Inferno International Patient Summary Test Kit

TypeScriptIPSInternational Patient SummaryFHIR IGSummary operationNarrative generation
Implementation of IPS FHIR IG on Aidbox FHIR platform

This repository contains pre-configured Aidbox instance and implementation of `$summary` operation defined by IPS:

TypeScriptIPSSubscriptionsInternational Patient Summary
Implementation of IPS FHIR IG on Aidbox FHIR platform

This repository contains pre-configured Aidbox instance and implementation of `$summary` operation defined by IPS.

TypeScriptIPSChile localizationFHIR IGInternational Patient SummaryNarrative generation
Init Bundle Environment Template

This example demonstrates how to dynamically template Aidbox init bundles using environment variables in Docker Compose by overriding the container entrypoint.

YAMLConfigurationInit bundleEnvironment variablesTemplatingSetup
Integrating external attachment preview tool

Example of integration Aidbox Forms Renderer with React.js

HTMLAttachmentsDICOMExternal viewerMultimediaForms
Managing user Roles in Keycloak using SMART on FHIR V2 scopes

This example demonstrates how to implement role-based access control (RBAC) for FHIR resources using Keycloak and SMART on FHIR V2 scopes.

TypeScriptSMART on FHIRKeycloakRole-based access
OpenTelemetry

This demo helps you to launch and explore the Aidbox observability features locally.

YAMLObservabilityOpenTelemetryMonitoringLogsMetrics
PostgreSQL Read-Only Replica for Aidbox

This guide demonstrates how to set up Aidbox with a PostgreSQL primary database and read-only replica, and how to configure Aidbox to direct read-only queries to the replica.

BashPostgreSQLRead replicaPerformanceScalabilityDatabase
Real-Time Analytics with Aidbox, ClickHouse, and Superset

This example demonstrates how to use SQL on FHIR with Aidbox, integrate it with ClickHouse for analytics, and visualize data using Superset.

MarkdownAnalyticsClickhouseSupersetSQL on FHIRData visualization
refero-renderer

This package builds a static renderer page (`index.html` + `src/index.tsx`) that mounts Refero and speaks SDC SMART Web Messaging.

TypeScriptCustom rendererForms builderQuestionnaireReferoSMART Web Messaging
Smart App Launch Subscriptions

The Smart App Launch Subscriptions is a fullstack application which allows to integrate widget into your EHR UI.

TypeScriptSMART on FHIRSubscriptionsReactNestJSReal-time updates
SMART App Launch with Aidbox and Keycloak

This demo showcases the Smart App EHR and Patient launch flows.

YAMLSMART on FHIRKeycloakGrowth chartEHR launchPatient launch
SMART Health Cards Issue Operation

A minimal TypeScript implementation of the FHIR `$health-cards-issue` operation that integrates with Aidbox to generate SMART Health Cards from patient health data.

TypeScriptSMART health cardsCustom operationsJWKSJWS signingFHIR operations
smart-forms-renderer

This package builds a static renderer page (`index.html` + `src/index.ts`) that mounts the SmartForms renderer and speaks SDC SMART Web Messaging.

TypeScriptCustom rendererForms builderQuestionnaireSmartFormsSMART Web Messaging
Topic-based Subscriptions to Kafka

Documentation

YAMLKafkaSubscriptionsEvent streamingQuestionnaire responseTopic-based
Using Aidbox with Outbound Proxy

This guide demonstrates how to configure Aidbox to route outbound HTTPS traffic through a proxy server (Squid). This is useful in enterprise environments where all external traffic must go through a corporate proxy for security, compliance, or monitoring purposes.

YAMLProxySecurityNetworkConfigurationEnvironment variables
Using Firely .NET SDK with Aidbox FHIR Server

This example demonstrates how to use the Firely .NET SDK to create a patient resource in Aidbox.

C#Firely SDKFHIR clientPatient creation.NETSDK integration
Using HAPI Java client with Aidbox FHIR Server

This example demonstrates how to use the HAPI FHIR Java client library to create a patient resource in Aidbox.

JavaHAPI FHIRFHIR clientMavenPatient creationJava client