Blueprint · Health

Medication reminders

A person writes down the medicine they were told to take and for how long. The app reminds them at the right hour on their own clock: when they travel to another time zone, and on the two days a year when the clocks change.

L2–L4

Level range

7

Sprints

36

Tasks

Backend and frontend

Built as

By the last sprint

What you’ll build

A medication reminder that gets the times right. You set a course with a start and an end, and see every dose listed at the hour you will take it, including on the days the clocks change. Reminders go out at that hour on their own, and you say whether you took the dose.

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

Patient records

You can record and retrieve a patient record, and demonstrate that a clinician outside the care relationship is refused — by the server, not the interface.

03

Booking an appointment

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

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

7 sprints, 36 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

    Somebody to remind

    A person can create an account, come back to it, and the app knows which time zone they live in.

    4 tasks
    1. Let a visitor register and be signed in straight away
    2. Let a person sign in and stay signed in
    3. Let a person sign out fully on a borrowed device
    4. Record each person's time zone on their account
  2. Sprint 02

    A course with an end

    A person records what they take, how much, at what times of day, from when, and until when.

    5 tasks
    1. Let a person record a course of medicine
    2. Let a course end on a date, or never
    3. Keep each course private to the person who created it
    4. Show all of a person's courses on one screen
    5. Keep earlier days unchanged when a course is changed
  3. Sprint 03

    The hour on their own clock

    Every dose of every course is listed at the clock time the person will see in their own time zone, on every day of the year.

    5 tasks
    1. Show a day-by-day plan of every dose
    2. Show every time in the person's own time zone
    3. Keep dose times right on the day the clocks go back
    4. Keep dose times right on the day the clocks go forward
    5. Move future doses when a person changes time zone
  4. Sprint 04

    A reminder you can answer

    The app sends a reminder at the time of each dose, and the person's answer becomes the record.

    5 tasks
    1. Send a reminder email at each dose time on the plan
    2. Let a person answer a dose in one tap
    3. Mark a dose as missed when nobody answers
    4. Send nothing for a course that is over or a dose already answered
    5. Let a person turn off reminders for one course
  5. Sprint 05

    Work nobody starts

    Reminders go out on their own at each person's local time, with nobody watching, and never twice for the same dose.

    5 tasks
    1. Send due reminders on their own, with nobody pressing anything
    2. Send each reminder at the local time in every time zone
    3. Send one reminder per dose, even when the clocks go back
    4. Build each reminder from what is true when it is sent
    5. Show a record of what was sent and what failed
  6. Sprint 06

    An address that is theirs

    No reminder is sent to an email address until its owner has proved it is theirs.

    6 tasks
    1. Send a link that confirms the email address at registration
    2. Make the link expire after 24 hours, not at a clock time
    3. Make confirmation links impossible to guess or reuse
    4. Let a person ask for a new confirmation link
    5. Keep an unconfirmed account useful but silent
    6. Let a person reset a forgotten password
  7. Sprint 07

    Somewhere with its own clock

    The app is live on the internet at its own address, and the server's own clock and time zone never show in anything a person sees or receives.

    6 tasks
    1. Put the app on a server strangers can reach
    2. Load every setting and secret from the server, not the repository
    3. Serve the app at a short address over a secure connection
    4. Deliver confirmation and reminder emails to real inboxes
    5. Keep reminder times right on a server far from its users
    6. Let an operator undo a bad release in minutes
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 one person who uses it, the four parts that make it hard, and what is left out.

Taking medicine on time

Background you may not have: what a course is, when the exact hour matters, and why a missed dose is recorded rather than chased.

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 medication reminders.

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

Start today, for free