Count Patient Data
Get a count of a Patient’s data per resource.
Returns the amount of resources for each resource type, for a given Patient.
Path Params
The ID of the Patient.
Query Params
A comma separated, case sensitive list of resources to be counted. If none are provided all resources will be included.
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.
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.
The sum of all resource type count.
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.
The filters used to perform this operation.