System History
History & Versioning
System History
Get history of all resources in the system
GET
System History
System History
Retrieve the history of all resources in the system, showing changes across all resource types.Endpoint
Query Parameters
_count- Maximum number of results (default: 10)_since- Only return resources modified since this date/time_at- Return resources as they were at a specific point in time
Example Request
Response
Success (200 OK)
Returns aBundle containing history entries:
History Entry Structure
Each entry in the history bundle includes:fullUrl- The versioned URL of the resourceresource- The resource at that point in timerequest- Information about the request that created this versionmethod- HTTP method (POST, PUT, PATCH, DELETE)url- Resource URL
Filtering by Date
Since Parameter
Get all changes since a specific date/time:At Parameter
Get resources as they were at a specific point in time:Pagination
Use_count and _offset for pagination:
next and previous links when available.
Notes
- System history can be very large - use
_countand_sinceto limit results - History entries are ordered by
lastUpdatedtimestamp (most recent first) - Deleted resources appear in history with their deletion timestamp
- Use
_sinceto get incremental updates - The
totalcount may be an estimate for performance reasons
Authorizations
Bearer token authentication
Query Parameters
Maximum number of results to return
Required range:
x >= 0Only return resources modified since this date/time
Return resources as they were at a specific point in time
Response
200 - application/fhir+json
History bundle
A container for a collection of resources
Resource type
Available options:
Bundle Indicates the purpose of this bundle
Available options:
document, message, transaction, transaction-response, batch, batch-response, history, searchset, collection If search, the total number of matches
Links related to this Bundle
Entry in the bundle