For AI agents: the documentation index is at /docs/aidbox/llms.txt. A Markdown version of this page is available at /docs/aidbox/notebooks.md or by requesting it with the Accept: text/markdown header.
Aidbox Docs

Community Notebooks

Runnable Aidbox notebooks published by the community — read them here, then open one in your own Aidbox to run it. 55 notebooks.

FHIR ConceptMap Resource and translation 7 cells

Learn how to translate concepts between CodeSystems

MarkdownREST
Jsonb access vs jsonb_path access. 25 cells

Learn how to use jsonb and jsonb_path access to data and understand their difference

MarkdownRESTSQL
Indexes. Search performance 35 cells

Create indexes to boost Aidbox performance

MarkdownRESTSQL
Aidbox Terminology 15 cells

Aidbox approach to terminologies

MarkdownREST
Getting Started: Search 29 cells

Aidbox search API overview

MarkdownREST
Getting Started: Custom Resources 34 cells

Guide on work with custom resources

MarkdownRESTSQL
FHIR & Aidbox format in SearchParameter 21 cells

Notebook showing differences of SearchParameters in different data formats supported by Aidbox

MarkdownREST
GraphQL Access Control 12 cells

Enable access control for resource access in GraphQL queries

MarkdownREST
Setup PA Test Patient 10 cells

Description

REST
New user role and feature access 8 cells

Follow this workflow to assign role and enable access for new user

MarkdownRESTSQL
Aidbox Forms 7 cells

This notebook will help you to create test patient, test encounter and test observation.

MarkdownREST
HL7v2 to FHIR conversion 18 cells

Example HL7v2 messages parsing and transformation in Aidbox

MarkdownREST
CCDA Converter API Demo 2 cells

Description

REST
Search API: _filter 12 cells

Description

MarkdownREST
Search API: _include, _revinclude 18 cells

Description

MarkdownREST
GraphQL API 21 cells

Description

MarkdownREST
Getting Started: SQL Basics 16 cells

Work with Aidbox database

MarkdownRESTSQL
Create AccessPolicy 2 cells

Create AccessPolicy for users with a specific role

MarkdownREST
Create Client 4 cells

Create Client and its AccessPolicy resources in Aidbox

MarkdownREST
Create User 2 cells

Create user with specific role

MarkdownREST
Delete Resources 13 cells

Examples to delete resources in Aidbox

MarkdownRESTSQL
SQL on FHIR (fhiranalytics talk by Nikolai) 47 cells

Description

MarkdownRESTSQL
Integraatio ohje 7 cells

Description

MarkdownREST
G9 amb1 / Alice Jones Newman 4 cells

Visit from 2015-06-22 to 2015-06-25

Markdown
Create Access Policy for Client to Tenant Resource 1 cell

YAML template for linking client/vendor to specific tenant reource. Will need a new policy for each resource that the client/vendor needs access to.

REST
Getting Started: Load Synthetic Data to Aidbox 3 cells

Load synthetic data to Aidbox using bulk import operation

MarkdownREST
Aidbox Forms: Populate & Extract 10 cells

How to create smart forms that may be prefilled with existing data, may update or create new resources

MarkdownREST
Find FHIR version 1 cell

Fetch the metadata for the FHIR server & confirm fhirVersion

REST
Extensions by StructureDefinition + ViewDefinition 13 cells

Description

MarkdownRESTSQL
Upload Sample Data 1 cell

Description

REST
How to build and test a Questionnaire in Aidbox Forms Builder 16 cells

Two ways: create from scratch or convert PDF

MarkdownRESTSQL
CPT Import 2 cells

Description

RESTRPC
SQL on FHIR: analytics on form data 45 cells

Description

MarkdownRESTSQL
Getting Started: Basic FHIR CRUD 9 cells

This notebook will help you create, read, update, and delete resources in Aidbox using FHIR API

MarkdownREST
Set up access policies and a system client 5 cells

Description

MarkdownREST
Getting Started: SQL on FHIR (preview) 29 cells

Description

MarkdownRESTSQL
Smart on FHIR Launch 2 cells

Description

REST
Sähköisen lääkemääräyksen määrittelyt: Lääkemääräyksen CDA R2 Header ja Lääkemääräyksen sanomat CDA R2 -rakenteena ja Lääkemääräyksen Medical Records -sanomat 1 cell

Description

REST
Integraatio ohje 4 cells

Description

MarkdownREST
Populate QuestionnaireResponse using logical reference 13 cells

Description

MarkdownREST
Workflows using PlanDefinitions 6 cells

Description

MarkdownREST
My notebooks 1 cell

This is my test notebooks

SQL
My notebooks 1 cell

This is my test notebooks

SQL
MPI Demo Script 11 cells

Script, instructions and REST-requests for Demo

MarkdownREST
Prepare for analytics 28 cells

Description

MarkdownREST
FHIR Connectathon 41 18 cells

Scripts for Testing the IG

MarkdownREST
PBM Demo — SilverCare Formulary 14 cells

Scenario: Maria Johnson (SC-2026-00147) calls her PBM asking about Lipitor coverage. Run each cell in order.

MarkdownREST
Dashboard consents 1 cell

Description

REST
Getting Started: SQL on FHIR 24 cells

This notebook explains how to flatten FHIR resources and run analytical queries using SQL

MarkdownRESTSQLView-definition
CVD Risk — dependency graph demo 20 cells

ViewDefinition -> SQLView -> SQLQuery graph computing CVD risk on synthetic data, with pie / bar / butterfly / line charts.

MarkdownRESTSql-querySql-viewView-definition
Add 'Specialistenbrief' to incoming post in mk-test-organization 1 cell

Description

REST
Batch validation 18 cells

Load R4-compliant Patients, validate against a US-Core-modeled profile, and chart the results (valid/invalid, issues by type, concentration).

MarkdownRESTSQLSql-query
Create self-measurement Task + Encounter + Observations 1 cell

Description

REST
OrgBAC: Users & Patients by Organization 3 cells

Reference notebook for apps/practitioner-app's OrgBAC sharing model — shows every Aidbox User and every Patient alongside the Organization their tenant-organization-id extension points at (LEFT JOIN, so untagged/pre-OrgBAC records show up too, with a null org).

MarkdownSQL
LBAC reference 7 cells

Security label options and a live look at which records actually carry them

MarkdownSQL