Database schema
All resource types in Aidbox are stored in different tables, named with a lowercased resource type name. All these tables have a similar schema:
As you can see, resources are stored as JSONB documents in the resource column.
Resources are stored in Aidbox format, which is more friendly for storage, and converted into FHIR in REST API on the fly!
You can access attributes of resources using PostgreSQL JSON functions:
Tutorials
Check out our video tutorial about JSON queries in PostgreSQL:
Last updated