Viewer Enterprise EditionPaid upgrade to the free Viewer

Cohorts

Patients with a fact, such as a finding, condition, vaccine, allergy, medicine or encounter, compared with everyone else: who they are and what happens to them next. Define the group as a sentence, choose up to 8 outcomes to follow, and see the risk ratio and a curve for each. The page also suggests what else happens more often after the start.

ReadsPatientObservationConditionImmunizationAllergyIntoleranceMedicationDispenseEncounter
A guided tour

What you see

FHIR Vault Suite · Viewer · Cohorts
The Cohorts page of the FHIR Vault Viewer, with numbered callouts
Sample data. Click the screenshot to open it at full size.

The group reads as a sentence: Patients with HbA1c high, first recorded in 2025, new only, aged 0 to 130, all genders, followed for 1 year. Each boxed part can be changed, and the page answers at once.

  1. The groupThe fact opens a search across results, conditions, medicines, vaccines, allergies and visits. Then the period, New only, an age range, gender and how long to follow the patients (90 days to 2 years). Each patient’s start is the first date of the fact in the period.
  2. Outcomes to followUp to 8 outcomes, shown as chips. Pick them from the common outcomes (visits and frequent conditions), with Add outcome, or with + Follow on a suggestion of what happens more often after the start.
  3. Who is in the cohortThe cohort next to the comparison group by age band, gender and follow-up, so you see how the two groups differ.
  4. One outcomeThe share of each group in which the outcome happens within the follow-up, the risk ratio with its 95% confidence interval, and a curve by day since the start (Kaplan-Meier).
  5. What else happens more often after the startFacts within the follow-up that occur more often in the cohort, with the ratio. Add as outcome follows one of them.
Definitions

What it measures

Comparison group

Everyone else with a record in the period who never had the fact, starting from their first record. It is compared, not matched: the table shows how it differs.

Outcomes

Conditions and allergies count only when new; patients who already had them are left out. Encounters, results, vaccines and medicines count at their next occurrence after the start.

Risk ratio

The share in the cohort divided by the share in the comparison group, with its 95% confidence interval. A ratio is only given when both groups have at least 5 patients with the fact.

One row per concept

Codes that mean the same are merged, as on Correlations: the same code in other languages, ICD-10 variants, the LOINC codes of one result, the CVX and ATC codes of one vaccine.

Reading it. A higher risk after the start is co-occurrence in time, not an effect of the fact. The cohort is usually older and sicker than the comparison group, and facts that follow from the definition of the cohort (metformin after a high HbA1c) show up at the top. Follow-up stops at the last record in the data.
In practice

Open it and keep patients private

Where to find it

Open Cohorts at the top of the left panel of the Viewer. It appears when your account has the permission for it and can see the resource types it reads.

Privacy built in

Only counts are shown, never patients. Counts from 1 to 4 show as <5, groups with too few patients get no curve, and facts of types your account cannot see are not offered.

Viewer Enterprise Edition

Cohorts is part of Viewer Enterprise Edition, a paid upgrade: it is not in the free Viewer. It is included in the 30-day trial; after that it needs a Viewer Enterprise Edition licence. Ask us about it.

Keep exploring

Related dashboards

Enterprise EditionCorrelationsWhich findings, vaccines, allergies and medicines occur together in the same patients, adjusted for age and gender.PopulationWho is in the data: age and gender, where patients live, how many are active and how complete their details are.Medication useWhich medicines patients get, how that changes over the months, and who gets them.
← Command centreAll dashboardsCorrelations →