Blueprint · Health

Prescription renewal requests

Repeat prescription requests for one practice. Patients ask for more of a medicine they already take. A clinician approves or declines each request with a reason the patient can read. Every decision is kept on a record that the product cannot change afterwards.

L2–L4

Level range

8

Sprints

34

Tasks

Backend and frontend

Built as

By the last sprint

What you’ll build

Repeat prescription requests. Patients see the medicines they already take and ask for a repeat of one. A clinician works through a queue of requests and approves or declines each one, with a reason the patient can read. Every decision stays on a record that nobody can change afterwards.

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

Renewing a prescription

You can take a renewal request, put it in front of the right clinician, and show what the patient sees while it waits and after it is refused.

04

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.

05

Who read this record

You can show, for one patient, everyone who accessed their record and when — and explain why that log cannot be edited by the application.

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, 34 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

    Telling people apart

    A patient can create an account and come back to it, and nobody can give themselves a clinician account.

    4 tasks
    1. Let a patient register with the details the practice knows them by
    2. Keep a patient signed in when they come back days later
    3. Make signing out on a shared computer really end the sign-in
    4. Let only the practice create clinician accounts
  2. Sprint 02

    What you already take

    A patient sees the medicines the practice has recorded for them, and a correction never erases what was there before.

    4 tasks
    1. Let a clinician record a medicine for the right patient
    2. Show a patient their own list of medicines
    3. Let a clinician stop a medicine without deleting it
    4. Keep every earlier version when a clinician corrects a medicine
  3. Sprint 03

    Asking for a repeat

    A patient asks for a repeat of a medicine on their own list, and asking twice still makes only one request.

    4 tasks
    1. Let a patient ask for a repeat of one of their medicines
    2. Show a patient each request and where it has got to
    3. Allow only one waiting request per medicine, even when asked twice at once
    4. Let a patient withdraw a request that nobody has answered
  4. Sprint 04

    Two sides of the request

    A clinician sees every request waiting. A patient sees only their own, however they ask the server.

    4 tasks
    1. Give clinicians a queue of the requests waiting
    2. Refuse a patient who asks the server for another patient's records
    3. Apply the same access rule on every route to a request or medicine
    4. Let any clinician pick up any request in the queue
  5. Sprint 05

    Yes, no, and why

    A clinician answers each request once, and the patient gets a sentence they can act on.

    5 tasks
    1. Let a clinician approve a request
    2. Make every decline give the patient a reason and a next step
    3. Stop two clinicians from answering the same request
    4. Record a change of mind as a new decision, never an edit
    5. Email the patient when their request has been answered
  6. Sprint 06

    A trail somebody answers for

    Every decision, and every time someone looks at another person's record, is kept on a log the app cannot change, and the practice can produce it without a developer.

    4 tasks
    1. Log every action on a request with who did it and when
    2. Log every look at another person's record, including refused attempts
    3. Stop the app from changing or deleting its own log
    4. Let a clinician produce one patient's log without a developer
  7. Sprint 07

    Proving the address is theirs

    A patient can only ask for a repeat, and hear about the answer, at an email address they have proved is theirs.

    4 tasks
    1. Send a confirmation link when a patient registers
    2. Block repeat requests until the patient has confirmed their address
    3. Let a patient ask for a new link and correct a mistyped address
    4. Make a confirmed patient prove a new address before it is used
  8. Sprint 08

    Where patients can reach it

    The app is on the internet at an address someone can read out over the phone, and a bad release can be undone in minutes.

    5 tasks
    1. Put the app online so a stranger can use it without you
    2. Move every setting and secret out of the code and into the server's settings
    3. Send real emails that reach patients' inboxes
    4. Serve the app at a short address over a secure connection
    5. Make a broken release possible to undo 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 two kinds of people who use it, the three parts that make it hard, and what is left out.

How a repeat prescription actually works

What a repeat prescription is, what a practice records about each medicine, why a person must make every decision, and why "no" is the hardest screen.

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 prescription renewal requests.

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

Start today, for free