Skip to content
Selected work

Patients Registry

A patient intake and records app for a clinic front desk: register, search, edit and print patients, each visitor in a private demo sandbox.

The patient list with ten demo patients in a table of ID, name, sex, date of birth, age, email and phone, under an app bar with search and a New patient button
The patient list on a phone as stacked cards, each with the name, ID, age, birth date, email, phone and Edit and Delete actions
Role
Solo developer
Year
2020 to 2026
Stack
  • Vue 2
  • Vue Router
  • Firebase Auth
  • Cloud Firestore
  • Netlify
Live site
patients-registry.netlify.app(opens in a new tab)

Patients Registry is a patient intake and records app for a clinic's front desk. Staff see every patient in one list, find someone by name, patient ID, email, phone or date of birth, register a new patient with the full intake form, and open, edit, print or delete a record. I built it on my own between November 2020 and July 2021, and in 2026 I came back to it to make it safe to show.

What I built

The first version was a Vue 2 single page app on Firebase: the patient list with search, the intake form (the patient, contact details, employment, insurance, the person responsible for the bill, an emergency contact and a signed consent) and the record page. In 2026 I rebuilt the interface around one form and one field schema, moved the data into a private sandbox for each visitor, and took the social security number fields out of the form and the data.

How it is built

The app is Vue 2 with Vue Router and the Firebase JavaScript SDK, built with Vue CLI and hosted on Netlify. Each field is described once in a schema: its label, input type, width in the grid, whether it is required, how it is checked, when it is shown and how it reads back. The form, the record page, the search and the stored document all read that schema, where the first version had three hand-written copies of the field list. The form checks each field as the user leaves it, groups about fifty fields into sections with a section list beside them, and shows fields such as the insurance details only when they apply.

Patients get six-character IDs without look-alike characters, such as K7M2QX, instead of Firestore's twenty-character IDs. A transaction checks that a new ID is free before the record is written and tries again on a collision.

The hard parts

The first version kept every patient in one collection that anyone could read and write. To keep the demo open without a backend, every visitor now signs in anonymously on the first load and works in a sandbox of their own, and the Firestore security rules are the only gate: a signed-in visitor reads and writes only their own sandbox, nothing else. An empty sandbox is seeded with ten fictional patients in one batched write with fixed document IDs, so two tabs opening at once cannot double the data.

The list has to work on a phone as well as at a desk. The table becomes a list of cards on a narrow screen, the record page leaves out empty fields instead of showing a row of empty commas, and a print stylesheet prints only the record.

Stack

Vue 2, Vue Router and Vue CLI. Firebase Authentication with anonymous sign-in, and Cloud Firestore with security rules. Public Sans, inline SVG icons and Netlify for hosting.

How it fits together
  1. Vue 2 appOne field schema
  2. Firebase AuthAnonymous sign-in
  3. FirestoreA sandbox per visitor

Screens

  • The edit form for a demo patient, with a section list on the left and the patient section filled in above the contact section
  • A demo patient's record, with a summary row of ID, date of birth, age, sex, insurance and registration date above labeled sections
  • The patient list on a phone as stacked cards, each with the name, ID, age, birth date, email, phone and Edit and Delete actions
    A demo patient's record on a phone, with full width Edit, Print and Delete buttons and the summary facts in two columns

Next projectVolunteer Assistant

Scheduling for a coding outreach program: coordinators build each school session's team from the volunteers free for it, with travel time and clashes checked.

The coordinator's dashboard for a school week: a summary of 13 sessions with 10 ready and 3 needing attention, a list of what needs attention, and the week's sessions by day with each school, time and team