Blueprint · Health

Clinic appointment booking

Online booking for one small clinic. Patients find a time that is really free and book it themselves. The front desk sees the whole day on one screen. Nobody arrives to find their time was given to somebody else.

L1–L3

Level range

8

Sprints

37

Tasks

Backend and frontend

Built as

By the last sprint

What you’ll build

A booking site for a clinic. Patients sign up, confirm their email, book a time that is really free, get a reminder while they can still cancel, and cancel without phoning anybody. Staff open their own screen and see the whole day.

What you’ll learn

A skill in every sprint

You show you have it in a pull request your team reviews, then explain it in a walkthrough.

01

Authentication

You can register and sign in a user, keep a request authenticated without asking for the password again, and explain where the credential lives in the browser and why there rather than somewhere else.

02

Booking an appointment

You can show availability, book a slot, and prove that two simultaneous bookings produce one appointment and one clear refusal.

03

Roles and permissions

You can give users different roles and have the server refuse what a role may not do — not merely hide the button — and show the refusal working against a request the interface never offered.

04

Notifications people do not mute

You can notify a user when an event concerns them, show an unread count that survives a refresh, and honour a preference that says stop.

05

Background jobs

You can hand work to a worker, tell the user it is in progress, and show the result when it lands — and say what happens to that work if the process dies halfway.

06

Email verification

You can issue a verification link, activate the account when it is followed, and explain what the link contains and why it cannot simply be a user id.

07

Going live

Somebody who has never met you can open a URL and use the product — and you can say what is different about the copy running there, where its secrets come from, and what you do when a release turns out to be wrong.

The roadmap

8 sprints, 37 tasks

Every sprint has a goal and a set of tasks. Open a sprint to see the tasks you will pick up.

  1. Sprint 01

    Getting in

    A patient can create an account and come back to it, and clinic staff have accounts that nobody can give themselves.

    4 tasks
    1. Let a patient sign up and land signed in
    2. Let a patient sign back in and stay signed in
    3. Let a patient sign out safely on a shared computer
    4. Create staff accounts that visitors cannot give themselves
  2. Sprint 02

    The diary

    A patient can book a free time, and two patients can never book the same time.

    4 tasks
    1. Let the clinic set its details and opening hours
    2. Show a patient the times that are really free
    3. Let a patient book a free time
    4. Make sure only one of two patients can book the same time
  3. Sprint 03

    Two sides of the desk

    Staff see the whole day. A patient sees only their own appointments, because the server enforces it.

    4 tasks
    1. Show the front desk the whole day
    2. Show a patient only their own appointments
    3. Refuse a patient who asks for somebody else's appointment
    4. Let staff book an appointment for a patient
  4. Sprint 04

    Changing plans

    A patient can cancel or move an appointment, and the freed time goes back on offer.

    5 tasks
    1. Let a patient cancel an appointment before the notice period
    2. Tell a patient how to reach the clinic when it is too late to cancel online
    3. Make a cancelled time bookable again
    4. Let a patient move an appointment without losing it on the way
    5. Email the standby list when an earlier time opens up
  5. Sprint 05

    Reminders people act on

    Patients are reminded while they can still cancel, and can turn reminders off.

    5 tasks
    1. Email a patient a confirmation when they book
    2. Send the first reminder while the patient can still cancel
    3. Send a second reminder on the day before
    4. Let a patient turn reminders off, including ones already planned
    5. Never remind a patient about a cancelled or old appointment time
  6. Sprint 06

    Work that runs itself

    Reminders go out on time with nobody pressing anything, and a patient never gets the same one twice.

    4 tasks
    1. Send due reminders on a schedule instead of a button
    2. Make sure a reminder that runs twice reaches the patient once
    3. Show staff when reminders last went out and what failed
    4. Write each scheduled reminder from the facts at the moment it is sent
  7. Sprint 07

    Opening the doors

    A stranger can find the site, sign up with an email address they really own, and book.

    6 tasks
    1. Send a confirmation link when somebody signs up
    2. Make confirmation links impossible to guess and limited in time
    3. Let somebody ask for another confirmation link
    4. Stop an account with an unconfirmed address from booking
    5. Build a front page that explains the site
    6. Let a patient who forgot their password set a new one
  8. Sprint 08

    Put it where people are

    The clinic's booking site is live on the internet at its own address, and keeps running without the developer's laptop.

    5 tasks
    1. Put the site somewhere a stranger can reach it
    2. Move every setting and secret out of the code
    3. Send real email from the live site
    4. Give the site an address people can type, over a secure connection
    5. Make a broken release quick to undo
The reading

Read before you build

Senior engineers read the docs before they touch the code. Every Blueprint comes with short documents on the product and its world, the kind a team hands a new hire. Read them well and you ask sharper questions and walk into every review prepared.

What you are building

The product, the two kinds of people who use it, the three parts that make it hard, and what finished means.

How a clinic's diary actually works

How clinics set bookable times, what a missed appointment costs, and why the cancellation notice period and the reminder are one decision.

More health Blueprints

More to build

Not the one for you?

Every Blueprint is planned the same way, across health, shopping, money, education and more.

Browse all Blueprints
Ready?

Build clinic appointment booking.

Start your free week. Adaeze runs your kickoff, and Lars reviews every pull request.

Start today, for free