All work

Fluxo Clínico.

A clinic system built for the front desk.

I designed and built a SaaS for multidisciplinary therapy clinics that care for autistic children, from the first screen to the database rules, with AI doing most of the typing.

Founder, product designer and builder · Arandu Studio & Tech · March 2026 to now

Fluxo Clínico case cover
01

Why I built it

Therapy clinics for autistic children run on recurring sessions: the same child, the same therapist, the same time, every week, for months. Speech therapists, occupational therapists and psychologists share one front desk, one agenda and one family to keep informed. The tools they had were built for one-off medical appointments.

02

The person it is built for

The most important user is not the clinic owner. It is the receptionist, on an Android tablet, between two sessions. Creating a booking almost worked. What broke was fixing reality afterwards: a child who missed, a session that already happened, one day that had to move without breaking the weekly series.

So I rewrote the rules underneath. A session is done when the front desk checks the patient in, not when the clock passes its start time. The past is editable, with a warning only if a clinical note already exists. And every change to a series asks: this one, this and future, or the whole series.

A session is done when the clock passes its start time.

A session is done when the front desk checks the patient in.

The past is locked.

The past is editable, with a warning only if a clinical note exists.

A change hits the whole weekly series.

Every change asks which sessions it applies to.

Change this session

Apply to which sessions?

This oneThis and futureWhole series
03

What I built

Not a prototype: a product with a database to protect. A clinic app with four roles (front desk, therapist, coordinator, admin), a portal and app for families, and a platform admin for the business side. Underneath, Supabase with access rules per clinic and per role, 162 versioned database migrations and 24 server functions and scheduled jobs. AI does the dull part: audio to a draft clinical note, session summaries for families, no-show risk and WhatsApp reminders.

For the children themselves, the family check-in lets a child pick how they feel with pictures, not words.

4

roles in the clinic app

162

versioned database migrations

24

server functions and scheduled jobs

Clinic app

  • Front desk
  • Therapist
  • Coordinator
  • Admin

Families

  • Portal
  • App
  • Picture check-in for the child

Business

  • Platform admin

AI does the dull part

  • Audio to a draft clinical note
  • Session summaries for families
  • No-show risk
  • WhatsApp reminders
Fluxo Clínico weekly calendar with a status per session
Status is a fact about the patient, never a side effect of time. Demonstration data.
04

How I build with AI

Lovable writes most of the code and commits it straight to the main branch. That is fast, and it is also how things break silently. Once it rewrote database permissions while “fixing” an unrelated error, and the front desk lost access. So a second AI checks the first one.

Every problem from the clinic becomes a short requirement doc with the job, the rules and a clarity score. Then Claude Code does a read-only audit of the real code, every claim with a file and line, before anything changes. The work ships in phases, safest first. Database permission changes go alone, on their own branch, with a test that fails if the rule regresses. The permanent rules for the AI live in the repository.

  1. 1

    Clinic problem

    Reported by the people using it.

  2. 2

    Requirement doc

    The job, the rules and a clarity score.

  3. 3

    Read-only audit

    Claude Code checks the real code, every claim with a file and line.

  4. 4

    Ship in phases

    Safest first.

  5. 5

    Guard permissions

    Alone, on their own branch, with a test that fails if the rule regresses.

Example: WhatsApp confirmations stopped for new patients.

First guess
Bad data.
The audit found
Code reading the wrong column in six places, not five.
The fix
One shared rule for the contact phone and one way to format numbers, with no data migration.
05

A bug that cost history

The front desk said cancelling a series cancelled the whole agenda. It did worse: it rewrote sessions that had already happened, so attendance history was lost. The fix cancels only future, still-scheduled sessions, says how many before you confirm, and makes “this one” the default. It shipped first because it needed no database or permission change. The riskier parts of the same requirement, like soft delete and restricting hard deletes to managers, wait for their own branch.

Before

  • Past sessions rewritten
  • Attendance history lost
  • Whole series by default

After

  • Only future, still-scheduled sessions
  • Count shown before you confirm
  • “This one” by default

Cancel sessions?

Only future, still-scheduled sessions change. Past sessions and attendance stay as they are.

This oneThis and future
06

Two doors

Clinic software tends to fail in one of two ways: so locked that the front desk works around it, or so open that one clinic can see another's patients. I split it in two doors. Inside one clinic, the front desk can fix the agenda without asking, and every cancellation and deletion is logged. Between clinics and for anonymous visitors, the walls are hard and live in the database. Clinical notes are stricter still: only the therapist who wrote one can read its content; managers see date, author and status. An automated test fails if any screen leaks a clinic's private fields.

Door 1 · Inside one clinic

Open enough to fix reality

  • Front desk fixes the agenda without asking
  • Every cancellation and deletion is logged

Door 2 · Between clinics

Hard walls

  • Hard walls, enforced in the database
  • Anonymous visitors see nothing private
  • A test fails if a screen leaks private fields

Clinical notes

The therapist who wrote it reads the content

Managers see date, author and status

07

Where it stands

Small, real and used every day. One clinic runs its day on it, from the front desk to the family portal, and two more were testing it in August 2026. The goal is 15 clinics in the next 12 months. Next on the list, all requested by the same clinic: quick patient lookup by tap, a clear link between each patient and their therapists, WhatsApp confirmation links with opt-out, and fixing accents that erase words on Android tablets.

1

clinic runs its day on it

2

more testing, August 2026

15

clinics, the goal for the next 12 months

Next, requested by the clinic

  1. 1Quick patient lookup by tap
  2. 2A clear link between each patient and their therapists
  3. 3WhatsApp confirmation links with opt-out
  4. 4Fixing accents that erase words on Android tablets
08

What it taught me

  • AI made me fast. Specs, audits and tests made me safe. Without the second half, speed would have shipped a permission bug to a clinic.
  • Designing for the receptionist's tablet changed the data model, not just the screens.
  • Owning the whole thing, from interview to database rule, is the work I enjoy most.
09

Keeping the AI on brand

Fluxo Clínico has its own concept, a calm teal and peach palette made for a tablet at the front desk, and permanent rules in the repository that tell the AI what it must never change.

Design Systems for AI-Built Products
fluxoclinico.com.br(opens in a new tab)
Back to all work