Type History
History & Versioning
Type History
Get history of all resources of a specific type
GET
Type History
Type History
Retrieve the history of all resources of a specific type, showing changes across all instances of that resource type.The FHIR resource type (e.g.,
Patient, Observation, Encounter)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 for the resource type:
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
- Type history shows changes across all instances of the resource type
- History entries are ordered by
lastUpdatedtimestamp (most recent first) - Deleted resources appear in history with their deletion timestamp
- Use
_sinceto get incremental updates for a resource type - The
totalcount may be an estimate for performance reasons
Authorizations
Bearer token authentication
Path Parameters
The FHIR resource type (e.g., Patient, Observation, Encounter)
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