LabTrail
Lab Software with Home Sample Collection, Result Review and Report Delivery
A concept study: we worked up this product, its architecture and its screens as an example of how we would approach it. The screens use fictional demo data and are design concepts, not screenshots of a live product, and this is not a client project.

About the Project
LabTrail is a design concept for a laboratory information system (LIS) for a diagnostic lab or a home collection network. It follows a blood or urine sample from the moment a patient books a visit to the moment a signed report reaches the patient and the referring doctor.
Every tube is a tracked item with a barcode. The phlebotomist's phone is the first scanning point and keeps working without signal. Each handover, from phlebotomist to rider to lab, is a scan with a time and a person, and a timer warns when a sample is close to its time limit. At the lab, results from the analysers appear next to the patient's earlier values and the lab's reference ranges.
The software records and routes information. Rules only highlight values for attention. A report cannot be released without a named pathologist's approval, and every release is logged. Qualified people read the results and take responsibility for each report. The design accounts for national health record exchange and lab quality standards, and makes no claim to meet them.
Why This Matters Now
Market, rule and technology context for this kind of product, checked on 16 November 2026. Each item names its source.
- The Ministry of Health's July 2026 ABDM explainer, published through PIB, says over 104 crore health records are linked to over 93 crore ABHA accounts and that labs and diagnostic centres can join the network.Press Information Bureau (PIB), Government of India, 6 Jul 2026
- NABL amended its medical imaging criteria to move fully to ISO 15189:2022 and renamed authorised signatory roles as personnel responsible for report review and release (reported by TeamLease RegTech).TeamLease RegTech (secondary, summarises NABL notice), 7 Jan 2026
- A law-firm summary of India's DPDP Rules says consent manager rules start on 12 November 2026 and most other obligations on 12 May 2027.AZB & Partners (law firm), 14 Nov 2025
- NABL launched a Medical Application Portal for laboratories applying for ISO 15189:2022 accreditation, saying it aims to improve ease, efficiency and transparency (reported by IndiaMedToday).IndiaMedToday (trade press), 20 Aug 2025
- The Delhi High Court told the Health Ministry to finish notifying minimum standards for sample collection and transport within three months, after the Ministry said approved standards awaited notification (reported by Medical Dialogues).Medical Dialogues (trade press), 24 Jul 2025
Requirements & Objectives
- Let patients or call centre staff book tests and a time slot with address, fasting instructions and a payment link.
- Group visits by area and time window and assign them to phlebotomists, with live changes for cancellations and late arrivals.
- Give phlebotomists a phone app that shows the day's route, checks the patient's identity twice and scans every tube barcode, working without signal.
- Record every handover as a scan with time and person, and warn when a sample nears its allowed time out of cold storage.
- Log the condition of each tube on arrival and raise a recollection request with a reason the patient can understand.
- Bring analyser results into the system through HL7 and ASTM interfaces, with unit and range checks and an exceptions queue for unmatched results.
- Show results beside earlier values and reference ranges, and block release until a named pathologist approves and signs.
- Deliver the signed report by WhatsApp, email or app with a QR code for verification, and share it to a health record only where the patient has agreed.
The Engineered Solution
1One tracked path from doorstep to report
The home visit and the lab share one system. Each tube keeps a short history of collected, in transit, received, processing, reviewed and released, so no handover is invisible.
2A phone app that works in a lift
Every action is stored on the phone and synced in order. Barcodes are pre-allocated per device, and a conflicting scan becomes a review task instead of a silent overwrite.
3Review before release
Rules can highlight, sort and hold results, but the state machine blocks release without a pathologist's approval event. Rule changes are versioned and logged.
4Reports patients can follow and verify
The patient sees where the sample is, then downloads a signed PDF. A QR code opens a check page, and a consent toggle controls sharing to a health record.
Design Concept Screens
Design concepts with fictional demo data. They show how the product could look and work, not a live release.
01 / 05 Phlebotomist route - start a visit, confirm the patient's identity and scan each tube, even with no signal
Engineering Process
- Map the sample journey with the lab's owner, phlebotomists, technicians and pathologists, from the booking call to the signed report.
- Model the data: test catalogue, versioned reference ranges, orders, tubes, an append-only event history and the release state machine.
- Prototype the phlebotomist app, receiving bench and review workspace and test them with staff on their own devices and labels.
- Build the booking, roster, offline scanning and chain-of-custody flows, and test them with the phone in airplane mode.
- Build one analyser interface, the review workspace, report templates and signing, then add delivery by WhatsApp and email.
- Add the health record sharing against the ABDM sandbox, the quality dashboards and a security review of access and audit trails.
- Run load and failure tests, pilot with fictional data and then one branch, and widen once the lab's reviewers are comfortable.
Production Tech Stack
| Layer / Component | Production Technologies |
|---|---|
| Web app | Next.js with TypeScriptTailwind CSSshadcn/uiTanStack TableRecharts |
| Collection app | React Native with Expocamera barcode scanninglocal SQLite with an operation log for offline sync |
| Backend | Node.js with NestJSplus a Python FastAPI service for report rendering and result rules |
| Database | PostgreSQL with row-level security by branchappend-only events and Redis queues |
| Integrations | HL7 v2 and ASTM through Mirth ConnectABDM APIs with FHIR R4 bundlesRazorpayWhatsApp Business Platform |
| Cloud | AWS Mumbai region with ECS FargateRDSS3 and SQSbuilt with Terraform and GitHub Actions |
What the design aims for
LabTrail aims to trace every sample from a home booking to a signed report, with each handover scanned and each release approved by a named pathologist.







