Which clinics serve returning patients?

Why ask this?

A clinic operations lead reviewing follow-up workload wants to compare how many patients appear more than once at each clinic during the period covered by the input.

Start with the sample data

Open source.csv. In the first row of source.csv, Clinic = A, Patient = P1.

What to say

Show the top two clinics by number of returning patients as a bar chart, breaking ties alphabetically.

Processing time

Recorded audio to chart ready
4.00 s
Transcript to chart ready
0.40 ms

One local replay from recorded audio through transcription and native chart data preparation. Recording time and screen painting are excluded.

See the transcript in the composerRecorded transcript entered in the native composer
What n0is transcribed

Show the top two clinics by number of returning patients as a bar chart. Breaking ties alphabetically.

How the canvas produces the result

  1. CSV Input · Read the sample records

    source.csv supplies 5 rows. These records are the inputs to the next step.

  2. Aggregate · Count populated values in Patient for each Clinic, Patient

    If a category appears more than once, its records contribute to one result. The first output row contains Clinic = A, Patient = P1, nonblank_Patient = 1.

  3. Find / Replace · Mark identifiers that appeared fewer than twice

    In nonblank_Patient, clear counts of zero or one. Counts of two or more stay populated. The next count can include each returning identifier once while keeping every location in the table.

  4. Aggregate · Count populated values in nonblank_Patient for each Clinic

    If a category appears more than once, its records contribute to one result. The first output row contains Clinic = A, nonblank_nonblank_Patient = 0.

  5. Column Renamer · Prepare the output columns

    nonblank_nonblank_Patient becomes Returning patients. The result exposes Clinic, Returning patients.

  6. Sort · Order the results

    Sort by Returning patients (descending), then Clinic (ascending). The first rows in order are B → A.

  7. Rank · Assign a rank

    The ordered rows receive positions starting at 1. Here, B is #1, A is #2.

  8. Measure Filter · Keep the requested rows

    The filter uses rank <= 2 in keep mode. 2 rows remain including B.

  9. Column Renamer · Prepare the output columns

    Remove rank. The result exposes Clinic, Returning patients.

  10. Charts · Draw the bar chart

    Use Clinic for the categories and Returning patients for the plotted values.

Native n0is canvas for Which clinics serve returning patients?

The chart

Workflow result in n0is
ClinicReturning patients
B1
A0

How to use the result

For Clinic B, the sample reports Returning patients of 1.

Synthetic test audio. Screenshots from the recorded workflow in n0is.