Skip to content

Startiffy Labs 02 · concept: Clinic management platform

One place for appointments, records, prescriptions and billing, with safety checks built into the daily work.

Part 01The product

Who it is for and what goes wrong today.

01Project overview

What this exploration is.

Cedar Clinic is a product exploration by Startiffy: a clinic management platform for small and mid-sized US practices.

It covers the daily loop of a front desk and a clinician: book the visit, see the patient, record what happened, prescribe safely, and bill. The prototype is clickable and uses fictional patients only.

Type
Concept exploration, not a client project
Market
United States
Users
Front desk, clinicians, billing
Prototype
10 working screens, sample data
Compliance
Designed with HIPAA in mind, not certified
  • Next.js
  • TypeScript
  • Spring Boot
  • PostgreSQL
  • Redis
  • AWS

02Product vision

Where it is headed.

A clinic should feel calm on its busiest day: the schedule is clear, the record is one click away, and the system stops an unsafe prescription before it reaches the patient.

03Industry and target market

Where it fits.

Healthcare (clinic software) · United States

Independent US practices often run on a patchwork of a scheduling tool, a records system and a separate billing service. Staff re-enter the same details, and information falls between tools.

The opening we explore is a single, lighter platform for small practices. We make no market-size claim. Sizing, and the regulatory review that goes with healthcare, would be the first task of real discovery.

04Problem statement

What goes wrong today.

  • Front desks juggle several screens to book, check in and bill one visit.
  • Clinicians search for the right record while the patient waits, and allergy information lives in more than one place.
  • Unpaid invoices are noticed late, because billing status is not visible next to the schedule.

05Business challenges

What makes it hard.

Patient safety

A missed allergy is the worst failure this product can have. Safety checks have to be impossible to skip.

Privacy and regulation

Health data is sensitive. Access, audit trails and retention have to be designed in from the first day.

A calm interface under pressure

Staff use it between patients. Every common task must take few steps and few decisions.

Scheduling is a hard problem

Doctors, rooms and visit types all constrain a slot. Conflicts must be caught as the booking is made.

Insurance and billing complexity

Real claims are intricate. The first release has to be honest about what it automates and what it does not.

06Target audience

Who it is for.

Small group practices

Two to fifteen clinicians, with a front desk and part-time billing support.

Clinicians

Need the day's queue and the patient record, and little else.

Practice managers

Own the schedule, staffing and the cash position of the clinic.

07User personas

Three people we design for.

Rosa, the front desk lead

Runs reception for a 6-clinician practice

Goals

  • Book without double-booking
  • Send reminders without chasing

Frustrations

  • Cancellations that leave gaps
  • Re-typing patient details

Dr. Okafor, a clinician

General practitioner

Goals

  • See today's queue at a glance
  • Prescribe with allergy checks

Frustrations

  • Hunting through tabs for notes
  • Unclear who is waiting

Sam, the practice manager

Manages operations and billing

Goals

  • See what is outstanding
  • Understand visit volume

Frustrations

  • Invoices that go stale
  • Reports built by hand
Part 02The approach

What we would build, and in what order.

08Proposed approach

What we would build.

Cedar combines scheduling, records, prescribing and billing around one patient profile, so nobody re-enters anything.

Safety is part of the workflow, not a report. The prescription form checks the patient's allergy list, and a booking cannot be saved if it conflicts with another.

One patient profile

Visits, notes, prescriptions and invoices in a single place.

Checks that cannot be skipped

Allergy blocks and booking conflicts stop errors at the moment of entry.

A schedule that tells the truth

Status flows from booked to in consultation to done, visible to everyone.

09Product strategy

How we would decide.

  1. Front desk firstThe schedule is the heart of the clinic. Win there, then add records and billing depth.
  2. Safety before featuresShip allergy checks and an audit trail before any convenience feature.
  3. Integrate, do not replace, the lab and pharmacyUse standard interfaces rather than rebuilding them.
  4. Be honest about complianceDesign for HIPAA from day one, and complete a formal review before holding real patient data.

10Core features

What it does.

Patient management

Directory, search, insurance, allergies and contact details.

Appointment scheduling

Weekly calendar with conflict checks and doctor filters.

Doctor queue

A live list of who is waiting, in consult or done.

Medical records

Visit notes by clinician, kept on the patient profile.

Prescription management

Prescriptions with an allergy check at the moment of entry.

Billing

Invoices, status, mark paid and CSV export.

Patient communication

One-click reminders for next-day visits.

Staff and analytics

Roles, availability, and reports on volume and collection.

11Feature prioritisation

What comes first, and why.

FeaturePriorityEffortReason
Patient directory and profileMustMEverything else hangs off the patient.
Scheduling with conflict checksMustLThe core daily workflow.
Allergy-checked prescribingMustMThe key patient-safety control.
Audit log of record accessMustMRequired for any real health data.
Billing and invoice statusShouldMProtects the clinic's cash position.
Appointment remindersShouldSCuts no-shows cheaply.
Insurance claim submissionCouldLComplex; begin with status tracking only.
Patient portalCouldLValuable, but builds on a stable core.

Effort is a relative size (S, M, L), not a time estimate. A real plan would size work after discovery.

12User journeys

A day in the product.

Rosa, the front desk leadBook a visit and remind the patient

  1. Open the week viewFilters by doctor and finds a free slot.
  2. Book the visitThe system blocks any conflicting booking.
  3. Queue a reminderOne click the day before.
  4. Check in on the dayThe patient appears in the doctor's queue.

Dr. Okafor, a clinicianSee a patient and prescribe safely

  1. Open the queueSees who is waiting and why.
  2. Start the consultOpens the patient profile with allergies shown.
  3. Write the noteSaved to the record.
  4. PrescribeA conflicting medication is blocked with a clear reason.
Part 03Design

Structure, wireframes and the working prototype.

13Information architecture

How the product is organised.

  • Cedar Clinic
    • Public
      • Landing page
      • Book a visit
    • Front desk
      • Dashboard
      • Appointments
      • Patients
        • Patient profile
      • Billing
    • Clinical
      • Doctor view
      • Records and prescriptions
    • Administration
      • Staff
      • Reports
      • Settings

14Wireframes

Layout before style.

Low-fidelity sketches settle structure and priority before colour and type enter the discussion.

Clinic dashboardToday's schedule beside reminders, KPIs above.
AppointmentsWeek grid with free slots as the primary action.
Patient directoryAllergy flags are visible in the list.
Patient profileTabs for records, prescriptions and billing.

15UI/UX design process

Idea to launch, in six steps.

  1. 1
    Discover

    Interview front desk staff and clinicians, map their day, and agree what the first release must prove.

  2. 2
    Define

    Write the product plan, the data model and the rules. Decide how we will handle consent, access control and audit before any screen is drawn.

  3. 3
    Design

    Sketch wireframes, build the design system, and test a clickable prototype with real users.

  4. 4
    Build

    Ship in weekly cycles, each ending in something a user can try.

  5. 5
    Launch

    Onboard a small group first. We watch the real schedule and the safety checks and fix what confuses people before widening access.

  6. 6
    Scale

    Add integrations and intelligence once real usage shows where they pay off.

16Final interface

Click through it.

This is the working prototype, not a picture. Pick a screen, resize the preview, and use the controls. 10 screens are connected, and every filter, form and chart responds.

Open full screen
Cedar Clinic weekly appointment calendar with booked and free slots

The clinic's public page, with a clear path to booking and to the staff dashboard.

Sample data only. Everything you change stays in your browser.

17Design system

Rules the interface follows.

  • Calm over clever: one task per screen, generous spacing.
  • Safety information is never hidden behind a click.
  • Status uses colour and a label, never colour alone.
  • Serif headings for warmth, a clean sans for data.
Teal#0f766ePrimary actions and navigation
Mist#f1f6f5Page background
Blue#2563ebInformation and in-consult status
Amber#d97706Waiting and pending
Red#b91c1cAllergies and overdue

Type. Serif display headings with a system sans-serif for body and data. Tabular numerals for money.

  • Week calendar
  • Patient card
  • Allergy banner
  • Status pill
  • Queue list
  • Invoice table
  • Modal forms with inline validation
Part 04Engineering

The stack, the architecture and how it scales.

+Technology choices

Why these tools.

Each choice follows from what this product needs. We do not use a tool because it is fashionable.

LayerChoiceWhy
FrontendNext.js, React, TypeScript, Tailwind CSSFast, accessible interfaces with strong typing.
BackendJava with Spring BootMature security, validation and transaction tooling for a regulated domain.
DatabasePostgreSQLRelational integrity, constraints that prevent double booking, and row-level security.
Queue and cacheRedisReminder jobs and short-lived caches.
CloudAWS with Docker and CI/CDHealthcare-ready services and repeatable, reviewed deployments.
AIClaude behind a policy layerDrafting help with logging and a human always in the loop.

18Frontend architecture

The client.

A Next.js application in TypeScript. Server components render lists and reports, and client components handle the calendar and forms.

The prototype is dependency-free and demonstrates the interaction design.

  • Next.js App Router with role-aware layouts
  • Tailwind CSS from design tokens
  • Accessible calendar and dialog primitives
  • Optimistic updates with server reconciliation for bookings
  • Automated accessibility checks in CI

19Backend architecture

The service.

A Spring Boot service in Java, organised into modules for patients, scheduling, clinical records, prescribing and billing. Java gives strong typing and mature security tooling, which suits a regulated domain.

Background jobs send reminders and prepare invoices.

  • Spring Boot with Spring Security and method-level authorisation
  • Domain services own rules, such as the conflict and allergy checks
  • Scheduled jobs for reminders and billing runs
  • An outbox pattern so downstream notifications are never lost

20Database architecture

The data.

PostgreSQL is the system of record. Clinical notes are append-only with versions, so history is never overwritten.

Every row carries a clinic id and an access policy.

patients

  • id
  • clinic_id
  • name
  • dob
  • insurance
  • allergies

appointments

  • id
  • patient_id
  • clinician_id
  • starts_at
  • status
  • reason

A unique constraint on clinician and time prevents double booking

clinical_notes

  • id
  • patient_id
  • author_id
  • body
  • version
  • created_at

prescriptions

  • id
  • patient_id
  • drug
  • dose
  • days
  • prescriber_id

invoices

  • id
  • patient_id
  • amount
  • status
  • due_at

audit_log

  • id
  • actor_id
  • action
  • patient_id
  • at

Every read and write of a record is logged

21API structure

The contract.

A versioned REST API. Every request is authenticated, authorised by role, and written to the audit log.

  • GET/v1/patientsSearch and list patients
  • GET/v1/patients/:idA patient profile with allergies
  • POST/v1/appointmentsBook a visit, rejecting conflicts
  • PATCH/v1/appointments/:idChange status or cancel
  • POST/v1/patients/:id/notesAdd a clinical note
  • POST/v1/patients/:id/prescriptionsPrescribe, with allergy check
  • GET/v1/invoicesList invoices by status
  • POST/v1/invoices/:id/paymentsRecord a payment

22AI integrations

Where AI helps, and where it stops.

Visit note drafting

A model turns clinician dictation into a structured draft note for review.

Guardrail. The clinician edits and signs every note. The model never writes to the record alone.

No-show prediction

A simple model flags visits likely to be missed so the front desk can confirm them.

Guardrail. Used only to prioritise reminders, never to deny or reschedule care.

Medication interaction hints

Retrieval over a licensed drug reference to suggest interactions to check.

Guardrail. Hints support, and never replace, the rule-based allergy and interaction checks.

23Security considerations

Built in from the start.

Authentication

Single sign-on or email with mandatory multi-factor sign-in for staff.

Authorization

Role-based access with least privilege. Billing staff cannot read clinical notes.

Audit trail

Every access to a patient record is logged, and the log cannot be edited.

Encryption

TLS in transit, and encryption at rest with managed keys.

Input validation and XSS

Server-side schema validation and output escaping on all clinical text.

Secrets and keys

Held in a secrets manager and rotated, never stored in code.

Regulatory path

Business associate agreements with providers, and a formal HIPAA risk assessment before any real patient data is stored.

24Infrastructure and deployment

How it would run.

Containers on AWS in a private network, with automated builds and reviewed deployments. This describes the proposed design, and nothing is running.

Backups are encrypted and restore-tested.

  1. Clients
    • Staff web app
    • Patient web
  2. Edge
    • CDN
    • WAF
    • Load balancer
  3. Application
    • Next.js web
    • Spring Boot API
    • Reminder workers
  4. Data
    • PostgreSQL
    • Redis
    • Encrypted object storage
  5. Integrations
    • Email and SMS provider
    • Lab and pharmacy interfaces
    • Payment processor

25Scalability strategy

Grow without rewriting.

  1. One clinicA single database and API. Simple to operate and audit.
  2. Many clinicsTenant isolation with row-level security, read replicas for reports, and queues for reminders.
  3. A networkRegional deployments for data residency, and a warehouse for cross-clinic analytics on de-identified data.
Part 05Roadmap

How it would ship, and what comes after.

26Development roadmap

Four phases.

Phase 1: Front desk

  • Patients and scheduling
  • Reminders
  • Basic billing status

Phase 2: Clinical

  • Notes and prescriptions
  • Allergy checks
  • Audit log

Phase 3: Revenue

  • Invoicing and payments
  • Insurance status tracking
  • Reports

Phase 4: Patients

  • Online booking
  • A patient portal
  • Assisted note drafting

Phases show order, not dates. A real plan would add timing after discovery.

27Future improvements

After launch.

  • Telehealth visits with video
  • Electronic claim submission
  • Lab result integration
  • Multi-location scheduling
  • A mobile app for clinicians

Build something similar with Startiffy.

Tell us the idea. After a 30-minute call you get a written product plan within an hour.