Skip to main content
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 a Bundle containing history entries:

History Entry Structure

Each entry in the history bundle includes:
  • fullUrl - The versioned URL of the resource
  • resource - The resource at that point in time
  • request - Information about the request that created this version
    • method - 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:
The response includes next and previous links when available.

Notes

  • System history can be very large - use _count and _since to limit results
  • History entries are ordered by lastUpdated timestamp (most recent first)
  • Deleted resources appear in history with their deletion timestamp
  • Use _since to get incremental updates
  • The total count may be an estimate for performance reasons

Authorizations

Authorization
string
header
required

Bearer token authentication

Query Parameters

_count
integer
default:10

Maximum number of results to return

Required range: x >= 0
_since
string<date-time>

Only return resources modified since this date/time

_at
string<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

resourceType
enum<string>
required

Resource type

Available options:
Bundle
type
enum<string>
required

Indicates the purpose of this bundle

Available options:
document,
message,
transaction,
transaction-response,
batch,
batch-response,
history,
searchset,
collection
total
integer

If search, the total number of matches

Links related to this Bundle

entry
object[]

Entry in the bundle