Blueprint · Health

Therapy intake and consent

Intake for a small therapy practice. New clients fill in one long form over as many evenings as they need. Each agreement is saved with the exact wording the client read and the date they read it. A therapist sees only the clients assigned to them.

L2–L4

Level range

8

Sprints

36

Tasks

Backend and frontend

Built as

By the last sprint

What you’ll build

An intake and consent system for a small therapy practice. A client opens it on the internet, registers, proves their email address, and fills in a long intake form over as many sittings as they need. They agree to the practice's terms and can still read that exact wording a year later. They can withdraw their agreement and see their therapist lose access. They can see everybody who has opened their record, and everybody who was refused. Their own therapist reads the intake; the therapist at the next desk is refused.

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

Consent, and taking it back

You can capture consent against a specific version of what was agreed, show it at a point in time, and stop the processing it permitted when it is withdrawn.

04

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.

05

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.

06

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

    Who you are here

    The app has three kinds of account, and only a client account can be made by filling in the sign-up form.

    4 tasks
    1. Let a client register and land signed in
    2. Let a client sign back in and stay signed in
    3. Let a client sign out so nothing is left on a shared computer
    4. Create practitioner and administrator accounts that nobody can give themselves
  2. Sprint 02

    The form nobody finishes in one sitting

    A client fills in the intake form over several days, submits it once, and can still read what they sent.

    4 tasks
    1. Let a client fill in the intake form in sections
    2. Save a half-finished intake so the client can return to it on any device
    3. Let a client review and submit the intake once, then read it back
    4. Let a client correct a submitted answer without losing the original
  3. Sprint 03

    Agreeing to something specific

    A client agrees to one dated version of the practice's terms, and both the client and the practice can read that exact wording later.

    4 tasks
    1. Let the administrator publish the terms, and keep every version
    2. Let a client agree to the terms and record exactly what they read
    3. Let a client read back the exact terms they agreed to
    4. Ask clients to agree again when new terms are published
  4. Sprint 04

    The desk next to yours

    Being the client's assigned practitioner, with the client's agreement in place, is what lets someone read an intake. Being a practitioner is not enough.

    5 tasks
    1. Let the administrator assign a client to a practitioner
    2. Show a practitioner their caseload and their clients' full intakes
    3. Refuse a practitioner who asks for a client who is not theirs
    4. Show the administrator the paperwork without any answers
    5. Move a client to another practitioner and end the old practitioner's access
  5. Sprint 05

    Taking it back

    A client withdraws their agreement and sees their therapist lose access, and the record that they once agreed is kept.

    4 tasks
    1. Let a client withdraw their agreement after reading what it does
    2. Stop the practitioner's access the moment a client withdraws
    3. Keep the original agreement when a client withdraws
    4. Let a client agree again after withdrawing, as a new agreement
  6. Sprint 06

    Who opened my record

    A client can see every time their intake was opened, and every time somebody was refused.

    4 tasks
    1. Record every time someone opens an intake
    2. Show a client who has opened their record
    3. Record refused attempts and show them in the client's history
    4. Make the access history impossible to change from within the app
  7. Sprint 07

    An address that is theirs

    Nobody can agree to the terms with an email address they have not proved they can read, and anyone who forgets their password can reset it through that address.

    5 tasks
    1. Send a link that proves a client's email address when they register
    2. Block agreeing to the terms until the address is proved, and say why
    3. Make proving links impossible to guess, single use and expiring
    4. Let a client resend the link or correct a mistyped address
    5. Let anyone with an account reset a forgotten password
  8. Sprint 08

    Somewhere a client can reach

    The practice's app is live on the internet at its own address, and it keeps running without the person who built it.

    6 tasks
    1. Put the app somewhere a stranger can reach it
    2. Keep every secret out of the repository and its history
    3. Deliver the app's emails to real inboxes
    4. Serve the app on the practice's own domain over a secure connection
    5. Back up the data, test a restore safely, and close the database to outsiders
    6. Make releases repeatable and undoable within 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 three kinds of people who use it, what finished means, and what is left out.

Why this data is different

What an intake form holds, what a leak of it costs a person, and the three rules that follow for the whole road map.

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 therapy intake and consent.

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

Start today, for free