Demo home
How we build yours

How we built SampleOS

The real build of this app, step by step. We do exactly this for your business, in your name, colours and taste.

01

Brief

A diagnostic lab sells a promise: the right tube from the right person reaches the right machine, and a signed report reaches the patient and the doctor on time. Most labs in Bengaluru run that on a booking phone, a notebook of home visits, hand-written tube labels, a technician typing values off the analyser screen and a pathologist signing printouts. So the patient doesn't know when the collection partner is coming, tubes get mixed up, a high sugar goes out without the last three reports beside it, the doctor who referred the patient hears nothing, reports breach their promised time unnoticed, and the nursing home on credit hasn't paid since August.

SampleOS tracks every sample from booking to report. The patient books a test or package with the price upfront, at home in a collection slot or at a centre, and pays by UPI. A collection partner is assigned automatically; the patient watches the ETA, and the partner can only draw blood after entering the sample code from the patient's phone. Each tube gets a real Code 128 barcode made from the sample id, and the lab receives it with one scan, which starts its turnaround clock.

The technician enters results with normal ranges (or pulls them from the analyser, simulated here), and high, low and critical values are flagged as they're typed. The pathologist sees every value against the patient's past results, sends a test back for a rerun or signs; the report goes to the phone as a PDF on the lab's letterhead with the signature, with trends over past reports, and to the referring doctor's portal. The owner sees the lab live, dues, daily and monthly reports, B2B clients on credit, doctors' commissions and the collection centres side by side.

02

Names considered

FrameMind SampleOS names the thing a lab actually tracks: the sample, from the patient's arm to the signed report. It reads well on a tube label and a WhatsApp message, fits a single collection centre as well as a chain, and follows the family rule (FrameMind <Word>OS, “OS” in the accent).

  • SampleOS — chosen — the unit of work in every lab, and what patients ask about (“has my sample reached?”)
  • LabOS — taken — already used by other lab software
  • ReportOS — considered — names only the last step, not the collection and tracking that come before it
03

Logo variations

Primary
Primary
Primary, reversed
Primary, reversed
Horizontal
Horizontal
Horizontal, reversed
Horizontal, reversed
Horizontal, navy
Horizontal, navy
Stacked
Stacked
Stacked, reversed
Stacked, reversed
Icon — a test tube rising into a data line
Icon — a test tube rising into a data line
Icon, outline
Icon, outline
S monogram
S monogram
App icon, magenta
App icon, magenta
App icon, navy
App icon, navy
App icon, pink
App icon, pink
Nav lockup, light
Nav lockup, light
Nav lockup, pink
Nav lockup, pink
Nav lockup, dark
Nav lockup, dark
04

Brand guidelines

Open the brand guidelines (PDF)
05

Architecture

  • Booking → tubes → samples. A booking holds packages and single tests; tests expand without duplicates, and each test names its tube (EDTA, serum, fluoride, urine). Collection makes one sample per tube type with a barcode built from the booking number and the tube letter, drawn as real Code 128 (start code, data, modulo-103 check, stop) so a lab scanner reads the printed label.
  • Slots and partners. Home collection runs in half-hour slots per centre, two bookings a slot; past and full slots are closed. A new home booking goes to a partner of that centre who covers the patient's area and has the fewest jobs that day. The 4-digit sample code is made at booking and checked at the door, so the right person gives the sample.
  • Results are checked, not trusted. Every parameter carries its reference interval (with women's ranges where they differ) and critical limits. Flags (H, L, critical, abnormal) are worked out from the value every time, never stored, so the technician, pathologist, patient, doctor and PDF always agree. Trends are the same parameter across the patient's signed reports.
  • Turnaround and sign-off. A sample's clock starts when it is scanned at the lab: due = received + the slowest test's promised hours. Late and due-within-the-hour samples raise alerts. A report is released only when every test of the booking is signed; a critical value also alerts the referring doctor.
  • Money. What a patient owes is the bill minus receipts, never a stored balance. B2B clients get their own discount and are billed on credit: balance = unpaid before this month + this month's bookings − payments, against a credit limit. Referral commission is a percentage of the bill without the home-collection charge.
  • Static pages only. Built with Next.js on FrameMind's shared core as a static export, served from framemindaistudio.com/apps/sample. No server and no sign-up: sample data lives in the visitor's browser, other tabs update live, and a fresh day starts each morning. A paying lab gets a real backend behind the same data interface, its analysers connected (ASTM / HL7), a UPI gateway and WhatsApp.
06

Workflow

  1. 1. Test or package booked, home or lab visit
  2. 2. Collection partner assigned; patient tracks arrival
  3. 3. Sample barcoded and received at the lab
  4. 4. Results entered with normal ranges; abnormal values flagged
  5. 5. Pathologist checks and signs
  6. 6. Report PDF on the phone and WhatsApp; trends over time
07

Screens

Demo home
Demo home
Six roles, the six-step sample-to-report flow and the dummy logins
Patient · home
Patient · home
A family booking with the partner assigned and the sample code, and past reports
Patient · test and package catalogue
Patient · test and package catalogue
Packages with prices upfront, against the tests' own prices
Patient · single tests
Patient · single tests
Each test with its tube, turnaround and fasting note
Patient · home collection slot
Patient · home collection slot
Diabetes care at home: day, half-hour slot (full ones closed), address, referring doctor
Demo UPI payment
Demo UPI payment
Booked and paid from the phone, clearly labelled as a demo
Patient · partner assigned
Patient · partner assigned
Santosh is assigned automatically; the 4-digit sample code waits on the phone
Partner · today's collections
Partner · today's collections
In slot order, with the tubes each booking needs and what to collect
Partner · trip started
Partner · trip started
One tap tells the patient who is coming and when
Patient · ETA
Patient · ETA
Minutes away, live, with the partner's number
Partner · sample code at the door
Partner · sample code at the door
The patient reads out the code before any blood is drawn
Partner · barcoded tubes
Partner · barcoded tubes
One Code 128 label per tube, made from the sample id
Patient · sample collected
Patient · sample collected
The same barcodes on the phone, and the step it has reached
Partner · hand-over
Partner · hand-over
The bag and the cash handed over at the lab in one tap
Lab · receiving
Lab · receiving
Turnaround alerts, the scan box and the tubes coming in
Lab · tubes scanned
Lab · tubes scanned
Each scan starts the tube's turnaround clock
Lab · worklist
Lab · worklist
By department, the next one due first
Lab · results from the analyser
Lab · results from the analyser
Pulled from the analysers (simulated); high and low flagged against the ranges
Analyser interface (simulated)
Analyser interface (simulated)
Each machine, its protocol, runs and the tests waiting; switch one off to enter by hand
Pathologist · to sign
Pathologist · to sign
Critical values first, then flagged, then by turnaround
Pathologist · a critical potassium
Pathologist · a critical potassium
Phone the doctor before releasing; past values beside each result
Pathologist · review
Pathologist · review
HbA1c 6.9 flagged high, down from 7.0 in September
Pathologist · sign and release
Pathologist · sign and release
The stored signature goes on the report
Pathologist · released
Pathologist · released
Back to the queue; the report is on its way
Patient · report with trends
Patient · report with trends
Values outside range listed, and a year of HbA1c and sugar
Report PDF
Report PDF
Letterhead, reference intervals, H / L flags, previous values, barcodes and signature
Patient · all reports
Patient · all reports
Every report on the phone, with how many values were outside range
Referring doctor · reports
Referring doctor · reports
Rekha's report arrives the moment it is signed
Referring doctor · the report
Referring doctor · the report
The same values, flags, trends and PDF
Referring doctor · refer for tests
Referring doctor · refer for tests
Pick the patient and book from the clinic
Referring doctor · commissions
Referring doctor · commissions
This month's referrals, commission and past payouts
Owner · the lab today
Owner · the lab today
Bookings, samples by stage, turnaround, partners and money, live
Owner · daily report
Owner · daily report
Billed, collected by mode, on credit, and every booking
Owner · monthly report
Owner · monthly report
30 days of revenue, bookings and reports on time
Owner · payments and dues
Owner · payments and dues
Who still owes, a reminder or a payment in one tap, today's receipts
Owner · B2B clients on credit
Owner · B2B clients on credit
Each client's rate, balance against its credit limit, statement and payments
B2B statement of account
B2B statement of account
Opening balance, this month's bookings, payments and the balance due
Owner · referring doctors
Owner · referring doctors
Referrals, business and commission owed, paid in a tap
Owner · collection centres
Owner · collection centres
The main lab and two centres side by side
Owner · catalogue and prices
Owner · catalogue and prices
Tests with tubes and turnaround; change a price and the patient app follows
08

Build log

  1. 14 Nov 2026
    Plan approved: ten FrameMind <Name>OS apps, demo only, on one shared core. SampleOS ninth, after TradeOS, TableOS, FitOS, DormOS, ClassOS, DealOS, TokenOS and SmileOS.
  2. 14 Nov 2026
    SampleOS brand kit generated by the shared OS family engine in magenta (#B5179E): 21 SVG masters, PNG exports, tokens.json and the 6-page guidelines PDF.
  3. 15 Nov 2026
    SampleOS built on the core: 6 roles, all 15 features from the plan, a made-up Basavanagudi lab with two collection centres, four partners, 14 tests and 5 packages with prices and reference ranges, today's samples at every stage, past reports for trends, four referring doctors and three B2B clients on credit.
  4. 15 Nov 2026
    Checked in the browser through framemindaistudio.com/apps/sample: every role's login, and a cross-tab flow from a package booked with home collection and paid by demo UPI, the partner's trip and ETA, the sample code at the door, barcoded tubes received at the lab, results pulled from the (simulated) analyser with a high value flagged, the pathologist's signature, and the report with trends on the patient's phone and in the doctor's portal while the owner's dashboard updated live.
09

Launch

Live demo: framemindaistudio.com/apps/sample, linked from the Diagnostic Labs industry page (“Open live demo” and “See how we build yours”).

For a lab: your test menu, prices and reference ranges, your packages, your centres and collection partners, your letterhead and pathologists' signatures on the report, your doctors and B2B clients, and only the features you pick on our Diagnostic Labs pricing page. Connecting an analyser is an add-on set up per machine.

Want this for your business?

Your name, your colours, your data — live in 3–4 weeks.