Buca Digital Works

Own product · Health SaaS

notex.clinic

Cloud medical records for doctors, practices and clinics in Mexico, built to the NOM-004 and NOM-024 health-records standards. It is our own product: we designed it, we build it and we run it.

Type
Own product · SaaS
Industry
Healthcare
Platform
Web + PWA
Status
Live
Role
Product, design, engineering and operations
notex.clinic home page: headline “Expediente clínico electrónico para médicos en México”, Create account and See features buttons, and a signed progress note over a photo of a doctor

The problem

Doctors in Mexico still juggle paper, spreadsheets and systems built for hospitals. They need records that meet the standard, cannot be altered once signed, and do not eat into consultation time.

What we built

One platform for the whole practice: specialty-aware records, branded prescriptions, online booking, a patient portal, front desk and metrics. The AI drafts, the doctor approves.

By the numbers

Postgres tables
92
row-level security policies
124
immutability triggers
41
releases in 3 months
424
E2E tests in CI
58
documented ADRs
150

What it does

8 groups

Clinical records

  • Immutable signed notes: corrected with addenda, never edited
  • Specialty sections that appear only when they apply
  • Templates for common conditions
  • Formal referrals to other specialists
  • Audit log of who opened, exported or changed each record

Specialty tools

  • Gynecology: prenatal tracking with gestational age and due date
  • Pediatrics: WHO percentiles and weight-based dosing the doctor confirms
  • Internal medicine: chronic disease control against each patient’s targets
  • Psychiatry: PHQ-9 and GAD-7, scored and interpreted automatically
  • Geriatrics, surgery, orthopedics and allergology

Prescriptions and documents

  • PDF prescriptions with folio, license number and signature
  • Custom letterheads, several per doctor
  • Clinical summaries, letters, consent forms and lab requests
  • Layouts that print cleanly in black and white

Scheduling and booking

  • Week, fortnight or month views, color-coded by appointment type
  • Public booking page, no patient account needed
  • Services with their own duration, lead time and room
  • WhatsApp confirmation and a reminder 24 hours before
  • Installable app with push notifications

Patient portal

  • Passwordless access through a secure single-use link
  • Confirm appointments and download prescriptions and documents
  • Sign informed consent from a phone

Clinical AI

  • Consultation dictation that builds a SOAP note in real time
  • ICD-10 suggestions and differential diagnoses
  • Lab results read from a photo or PDF
  • AI-assisted migration of old records, reviewed patient by patient
  • The doctor approves everything; audio is processed and discarded

Team and front desk

  • Reception and nursing accounts with no access to clinical content
  • Institution mode to share records inside a clinic
  • Sales notes and payments from the front desk
  • Metrics for visits, revenue, no-shows and top diagnoses

Security and compliance

  • NOM-004-SSA3-2012, NOM-024-SSA3-2012 and Mexico’s LFPDPPP
  • Encryption in transit and at rest; files on S3 with temporary signed access
  • TOTP 2FA and professional license verification
  • Data isolation enforced in the database, not just the UI
Progress note screen in notex.clinic with reason for visit, vital signs, Structure with AI and Dictate with AI buttons, and the app sidebar
Progress note with AI dictation and structuring.
Prescription editor on a phone with a sulfa allergy warning, diagnosis search and a saved medication with dose, frequency, duration and route
Prescriptions with allergy warnings and favorites.
Chronic disease panel inside a note: HbA1c, glucose, blood pressure, LDL and eGFR against each patient’s target, with a creatinine chart on the right
Chronic care tracked against the patient’s targets.
Progress note for a pregnant patient with the prenatal section open: gestational age, due date and obstetric fields
The prenatal section shows up only when it applies.
Generated prescription on a doctor’s letterhead: patient details, allergies, two medications with directions and a signature line
The printed prescription on the doctor’s letterhead.
Patient list on a phone with search by name, CURP or phone, diagnosis filters and one ongoing pregnancy
Patients, filterable by diagnosis.
WhatsApp chat where the patient taps Confirm appointment and receives the booked date and time
Confirmation arrives on WhatsApp.
Public booking page confirmation: “Done! Check your WhatsApp”, with the follow-up appointment and instructions for the patient
Public booking, no patient account.
notex.clinic migration page: “Switch systems without losing a single visit”, with PDFs, photos and documents the AI turns into a patient chart
AI migration of old records.
notex.clinic demo page with three entry points: doctor panel, assistant panel and nursing panel
Role-based demos, no account needed.
notex.clinic plan comparison table for Básico, Premium and Clínica Starter, feature by feature
Plans compared feature by feature.
notex.clinic home page on a phone, with the headline, buttons and badges for verified license, two-step verification and encryption
The site on a phone.

Full page

Scroll inside the frame to read the site top to bottom.

Full capture of the notex.clinic home page: hero, video, features, specialties, WhatsApp reminders, branded prescriptions and progress charts

Technical decisions

  • Multi-tenant with row-level security and two Postgres connections: a privileged one for system tasks and a restricted one for each doctor’s data.
  • Notes are signed with a SHA-256 hash. From then on, a Postgres trigger rejects any UPDATE or DELETE, and the same holds for consent forms and the audit log.
  • Private-by-default middleware: a new route that nobody configured stays closed.
  • Every signed document keeps a frozen copy of the doctor’s details, so editing the profile later never changes what was already signed.
  • Patient files upload straight to S3 through short-lived signed URLs; their metadata is append-only.

Stack

  • Next.js 15
  • TypeScript
  • Postgres
  • Drizzle
  • Gemini
  • Stripe
  • AWS S3
  • Playwright
  • Web Push

Need something like this?

Start a project