📋

Referral Tracker

Track every referral from the moment it’s sent to the day the patient is booked. Automatic alerts when referrals go stale so nothing falls through the cracks.

Google Sheets + ScriptEasySaves 2–4 hrs/week

The problem

Referral leakage is one of the biggest hidden costs in Canadian clinics. A referral gets sent, and nobody follows up. The specialist never confirms receipt. The patient never gets booked. Weeks pass. The patient calls back, frustrated.

How it works

  1. 1Log referrals in a structured Google Sheet with status tracking
  2. 2Status changes auto-timestamp (Sent → Confirmed → Booked → Complete)
  3. 3Daily check at 8 AM flags stale referrals (7+ days unconfirmed, 14+ days unbooked)
  4. 4Email alert sent to clinic manager with a summary of overdue referrals

What you need

  • A Google account with Google Sheets access
  • Access to Google Apps Script
  • 5 minutes for setup

Download

Setup guide

1

Create a new Google Sheet

Open Google Sheets and create a blank spreadsheet. Name it 'Referral Tracker'.

2

Open Apps Script

Go to Extensions → Apps Script. Delete any existing code.

3

Paste the script

Copy the full Referral Tracker script below and paste it into the editor. Save.

4

Set your manager email

Find MANAGER_EMAIL at the top of the script and set it to your clinic manager’s email address.

5

Run setup

Select 'setupReferralTracker' from the function dropdown and click Run. Authorise when prompted. This creates the sheet headers, validation rules, formulas, and triggers.

6

Start logging referrals

Go back to the spreadsheet. You’ll see the Referrals sheet with headers. Start entering referral data. The Status column is a dropdown (Sent, Confirmed, Booked, Complete, Cancelled). When you change the status, the date columns auto-fill.

The 'Days Since Sent' column updates automatically. Use it to quickly spot referrals that need follow-up.

Full code

referral-tracker.gs
/**
 * TOSC Referral Tracker
 * Lifecycle tracking from sent → confirmed → booked.
 * Auto-reminders on stale referrals.
 *
 * SETUP:
 * 1. Create a new Google Sheet
 * 2. Open Extensions → Apps Script → paste this code
 * 3. Run setupReferralTracker() once
 * 4. Set MANAGER_EMAIL below
 */

const MANAGER_EMAIL = ""; // e.g. "moa@yourclinic.ca"
const SHEET_NAME = "Referrals";
const STALE_CONFIRM_DAYS = 7;  // days before flagging unconfirmed
const STALE_BOOK_DAYS = 14;    // days before flagging unbooked

function setupReferralTracker() {
  const ss = SpreadsheetApp.getActiveSpreadsheet();
  l

// ... Enter your email above to see the full code

Sheet structure

Tab: Referrals

ColumnDescriptionExample
Patient NameFull patient nameJane Smith
PHNBC Personal Health Number9876543210
SpecialistSpecialist or clinic referred toDr. Lee - Cardiology
Referred ByReferring providerDr. Patel
Date SentDate referral was sent2025-03-01
StatusCurrent status (dropdown)Sent
Date ConfirmedAuto-filled when status changes to Confirmed2025-03-05
Date BookedAuto-filled when status changes to Booked2025-03-10
Appointment DateActual appointment date with specialist2025-04-15
NotesAny additional notesFaxed to office
Days Since SentAuto-calculated formula14

Need help setting this up?

Book a free 30-minute call. We'll walk through the setup together and customise it for your clinic.

Book a Setup Call