analytics

Counts per status as of a date

Returns counts per patient status for the latest day in mv_analytics_daily up to as_of, optionally filtered by from_date/to_date.

get/api/analytics/overview/counts

Query parameters

as_ofstring date-time required

As-of date/time (ISO 8601). Latest day <= as_of is used.

As-of date/time (ISO 8601). Latest day <= as_of is used.

from_datestring date-time nullable

Optional start of date range filter (ISO 8601).

Optional start of date range filter (ISO 8601).

to_datestring date-time nullable

Optional end of date range filter (ISO 8601).

Optional end of date range filter (ISO 8601).

Response

Successful Response

totalinteger required

Total number of rows (statuses)

Example response

{
  "items": [
    {
      "count": 100,
      "status": "active"
    }
  ],
  "total": 1
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.