Skip to main content

Custom statistics

Custom statistics are charts you configure for a cohort. They are grouped in dashboards, shown as tabs next to Data Profile on the Statistics tab. Dashboards belong to the cohort and are visible to all cohort members.

Create a dashboard​

  1. Open the cohort's Statistics tab.
  2. Select + next to the dashboard tabs.
  3. Enter a name.

Rename or delete the dashboard with the arrow next to Add custom statistic.

Add a statistic​

  1. Open the dashboard and select Add custom statistic.

  2. Enter a Name, select a Chart type, and select Continue.

    New custom statistic dialog with the chart types

  3. Fill in the Configuration and select Create.

    Configuration of a bar chart counting patients per age group, grouped by readmission

The chart is computed from the cohort's records. Waiting for computed data… is shown until the result is ready. Remove a chart with its delete action.

Dashboard Readmission overview with a stacked bar chart of age by readmission

Chart types​

ChartShowsMain settings
BarCounts or aggregations per categoryCategory property, value property, aggregation, group by, orientation, sort, category limit, stacked groups
PieShare of total per categoryCategory property, value property, aggregation, top N slices, labels
LineTrend over time or an ordered axisX property (date or numeric), Y property, aggregation, granularity, group by
ScatterTwo numeric propertiesX and Y property, group by, size property
HistogramDistribution of a numeric propertyProperty, bins, min, max
Box plotQuartiles, optionally per groupNumeric property, group by
HeatmapDensity across two axesX and Y property, value property, aggregation, X and Y bins (numeric only)

Without a value property, a chart counts rows.

SettingOptions
AggregationCOUNT, SUM, AVG, MIN, MAX, MEDIAN
Granularity (Line)DAY, WEEK, MONTH, QUARTER, YEAR