Viewer Enterprise EditionPaid upgrade to the free Viewer

Correlations

Which findings, immunizations, allergies and medicines occur together in the same patients, more or less often than chance would give. A matrix of up to 16 facts shows the odds ratio of every pair, adjusted for age and gender and corrected for the number of pairs. Click a cell for the breakdown by age band, gender and region. Co-occurrence, not cause.

ReadsPatientObservationImmunizationAllergyIntoleranceMedicationDispenseMedicationAdministration
A guided tour

What you see

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

The page turns the records of each patient in the period into facts, and counts how often two facts are found in the same patients.

  1. OptionsThe period, Adjust for age and gender, and what each cell shows: the odds ratio, lift, phi coefficient or the patients with both.
  2. The patientsEveryone with a record in the period, and how complete their birth date, gender and city are.
  3. Facts in the matrixUp to 16 facts, shown as chips. Add facts searches by name, synonym or code; Suggested sets adds a ready-made set, such as heart and metabolism or vaccines and allergies.
  4. The matrixEach pair once, above the diagonal. Orange: more often together than chance; blue: less often; grey: not significant. The diagonal shows the patients with each fact. Click a cell for the breakdown.
  5. The breakdownThe 2×2 table of the pair, the crude and the adjusted odds ratio with their 95% confidence intervals, and the lift.
  6. By age band and genderThe odds ratio in each age band and gender, with the overall value as a dotted line.
  7. By regionThe odds ratio per city, postcode area, state or country, on a world map and as a list.
Definitions

What it measures

Facts

Observation: a result above or below its range, or a threshold you add. Immunization: a vaccine. Allergy: an active AllergyIntolerance. Medication dispensed or administered: a medication code. Codes with fewer than 10 patients are not offered.

Significance

Grey cells are not significant after correcting for the number of pairs (Benjamini-Hochberg q ≥ 0.05), or have too few patients.

Adjusting

Adjust for age and gender compares within age bands and gender (Mantel-Haenszel). When the adjusted value is much closer to 1 than the crude one, age and gender explain much of it.

One row per concept

Codes that mean the same are one row: the same code in other languages, ICD-10 variants, the LOINC codes of one result, the CVX and ATC codes of one vaccine, a local product code with its ATC medicine.

Reading it. A pair can go together because one is the reason for the other (metformin for a high HbA1c), because one rules out the other (amoxicillin is not given with a penicillin allergy), because both depend on something else, or by chance. A pattern between regions does not have to hold for the people in them.
In practice

Open it and keep patients private

Where to find it

Open Correlations 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. A table with a count from 1 to 4 shows no counts and no statistics, groups under 20 patients are left out and restricted patients take no part.

Viewer Enterprise Edition

Correlations 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 EditionCohortsPatients with a fact compared with everyone else: who they are and what happens to them next.PopulationWho is in the data: age and gender, where patients live, how many are active and how complete their details are.Vaccination coverageThe share of a target group vaccinated, against a target, by age band, gender and region, week by week.
← CohortsAll dashboardsDigital twin →