Skip to main content
GET
Count Patient Data
Returns the amount of resources for each resource type, for a given Patient.

Path Params

string
required
The ID of the Patient.

Query Params

string
A comma separated, case sensitive list of resources to be counted. If none are provided all resources will be included.
string
The start date (inclusive) for which to filter resources to count - formatted YYYY-MM-DD as per ISO 8601. If not provided, no start date filter will be applied.
string
The end date (inclusive) for which to filter resources to count - formatted YYYY-MM-DD as per ISO 8601. If not provided, no end date filter will be applied.

Response

The amount of resources for each resource type, for a given Patient. It also includes the filters used to perform the query.
number
required
The sum of all resource type count.
Record
required
Object containing resource types as properties and the amount of entries for the resource as the value (number). Only resource types with amount of entries higher than one are included.
Filter
required
The filters used to perform this operation.