📋 Product Requirements Document — v1.2

Integrated Healthcare
Ecosystem

A unified digital platform connecting Doctors, Pharmacies, Labs, and Patients — so prescriptions become medicines instantly, and results reach patients the same day.

👨‍⚕️ Doctor
📋 Prescription
💊 Pharmacy
🔬 Lab
🧑 Patient
🔁 Follow-up
♾️ Repeat
4
Interconnected Modules
5
Core Workflows
8
New Feature Ideas
3
Rollout Phases
0
Paper Files Needed
🚨 The Problem

Why Healthcare is Broken Today

Traditional healthcare workflows are fragmented, manual, and full of gaps. Here are the 5 core pain points this platform solves.

📄

Prescription Confusion

Patients carry stacks of paper prescriptions. Doctors prescribe medicines that aren't even in stock — patients make wasted trips and return empty-handed.

📦

Inventory Blindness

Doctors prescribe without knowing what's available at the pharmacy. Pharmacies manually track stock and routinely run out of high-demand medicines.

Lab Result Delays

Traditional labs take 1–3 days to share results. Both doctor and patient wait, treatment is delayed, and critical decisions are postponed.

📅

Follow-up Failures

No unified reminder system means missed appointments, medication non-adherence, and preventable hospital readmissions.

🗂️

Data Silos

Patient data is scattered across clinic files, pharmacy logs, and lab archives. Providers lack complete records — leading to medication errors and redundant tests.

💡

Market Signal

A 2021 study found 26% of patients reported improved healthcare access due to digital technology adoption. Patients expect digital-first convenience — the infrastructure just hasn't caught up. No existing platform in the Indian mid-market connects doctors, pharmacies, labs, and patients in a single workflow.

🧩 Platform Modules

4 Modules. One Ecosystem.

Each module runs independently but shares a common patient record, prescription layer, and notification engine. Think of them as four specialists working in the same room.

👨‍⚕️

Doctor / Clinic Module

  • Digital patient profiles with full history
  • Appointment scheduling (in-person + tele)
  • E-prescribing with real-time stock check
  • 🟢 🟡 🔴 Stock indicator per medicine
  • One-click prescription → pharmacy push
  • Digital lab test orders
  • Drug interaction & allergy alerts NEW
  • Patient health score panel NEW
💊

Pharmacy Module

  • Real-time inventory with batch & expiry tracking
  • Smart alerts: low stock, expiry warnings
  • Incoming prescription queue (auto-populated)
  • POS & billing — linked to patient record
  • Discount / offer engine for medicines
  • SMS / WhatsApp / push when order is ready
  • Supplier restock auto-orders NEW
🔬

Lab Module

  • Digital order queue — no phone calls needed
  • Sample scheduling & home collection booking
  • Result entry (numbers + PDF upload)
  • Instant result delivery — doctor & patient
  • Automated notification when results are ready
  • Full audit trail (sample ID, technician, time)
  • Home sample collection scheduling NEW
🧑

Patient App / Portal

  • Unified dashboard: appointments, Rx, lab results
  • Medicine ordering — like Zomato, but for meds
  • Nearby pharmacy availability + delivery ETA
  • Prescription history & one-tap reorder
  • Lab results with trend graphs
  • Smart reminders: refill, follow-up, lab re-test
  • Health score timeline NEW

5 Flows That Power Everything

Every feature in the system traces back to one of these five flows. Click each tab to explore.

📍 Case A: In-House Pharmacy

1

Patient Arrives

Doctor opens the system and selects the patient's profile — full history instantly visible.

2

Doctor Prescribes

Each medicine shows a live stock indicator: 🟢 Available · 🟡 Limited · 🔴 Out of Stock.

3

Auto-Push to Pharmacy

Doctor clicks finalise → prescription instantly appears in the pharmacy queue.

4

Pharmacy Prepares

Pharmacist prepares the order BEFORE the patient even leaves the consultation room.

5

Patient Collects

Patient walks to the window, pays, and collects — zero waiting, zero confusion.

No waiting. No confusion. Faster workflow. Patient never gets an unfillable prescription.

📍 Case B: External Pharmacy

1

Doctor Prescribes

System checks the nearby pharmacy network in real time — across all partner stores.

2

Stock Indicators Appear

🟢 Easily available · 🟡 Limited stock at 2 stores · 🔴 Not available nearby. Doctor swaps red items before finalising.

3

Patient Gets Digital Rx

Prescription is linked to the nearest stocked pharmacy — patient receives it on their phone.

4

Patient Chooses

Either visits the pharmacy directly, or places an online delivery order via the Patient App.

Patient never struggles to find medicine. No wasted trips. No re-visits to the clinic.

🟢 🟡 🔴 How the Stock Indicator Works

When the doctor types a medicine name, the system instantly queries pharmacy stock and shows one of three states:

Metformin 500mg✓ In Stock
Amoxicillin 250mg⚠ Limited (8 left)
Pantoprazole 40mg✗ Out of Stock

Think of this as a Zomato for medicines — patient opens the app, sees which pharmacies have their meds, picks delivery or pickup, and it shows up at the door.

1

Patient Opens App

Views current prescription stored in their profile, or uploads a new one as an image.

2

System Searches Nearby

Queries all affiliated pharmacies within delivery radius. Returns: availability, estimated delivery time (20–60 min), and optionally price comparison.

3

Patient Selects & Places Order

Choose a pharmacy and pickup or home delivery. Pay in-app or at pickup. Order confirmed instantly.

4

Pharmacy Receives Order

Order appears in pharmacy queue. Staff prepare and dispatch. Real-time status updates sent to patient.

5

Patient Receives Medicine

Medicine delivered or ready for pickup. Order linked to patient's medical record automatically.

For chronic patients (diabetes, BP) — reorder with one tap. No re-uploading prescriptions. Massive convenience improvement.

1

Doctor Orders Lab Test

Doctor clicks "Order Test" in the patient's encounter — system creates a digital lab order instantly. No paper, no phone calls.

2

Lab Receives Instantly

Lab module shows the new order in its queue. Lab schedules the patient's visit or offers home sample collection booking.

3

Sample Collected

Patient visits the lab or technician comes home. Sample tagged with a digital ID — traceable throughout.

4

Lab Uploads Results

Technician enters values and uploads the PDF report — the moment they click submit, results are live in the system.

5

Doctor & Patient Notified

Both receive an instant alert. Doctor sees results in the patient chart. Patient views and downloads from the app. No waiting. No calling the lab.

Eliminates the 1–3 day result delay. No phone calls to the lab. Doctor can act on results the same day.

This flow is the long-term retention engine. Every interaction builds the patient's digital file — making the next visit better than the last.

1

Every Visit is Recorded

Prescription, diagnosis, vitals, and lab results all saved automatically to the patient's digital profile.

2

Next Visit — Doctor Sees Everything

Full longitudinal history at a glance. No "what medicines were you on?" — it's all there.

3

System Sends Smart Reminders

Automated follow-up reminders, refill alerts ("5 days of Metformin left"), and lab re-test schedules — via SMS, WhatsApp, or push.

4

Patient Never Carries Files

All past prescriptions, lab reports, and visit records are in the app. Patient walks in — doctor is already prepared.

Transforms one-time patients into long-term users. Doctors grow their practice. Platform revenue grows. Everyone wins.

The business model core — one good experience creates a self-reinforcing loop of growth.

😊
Great Patient Experience
🔁
Patient Returns
Doctor grows practice
📋
More Prescriptions
Pharmacy sales ↑
🔬
More Lab Tests
Lab revenue ↑
💰
Platform Revenue ↑
Better features → loop repeats
🎯

This is the business model core.

The platform doesn't just serve healthcare — it creates a self-reinforcing growth loop. Every new patient, doctor, or pharmacy that joins makes the network more valuable for everyone else. This is a network-effect business.

🔗 Platform Interactions

How the 4 Modules Talk to Each Other

Every arrow represents a real data flow. Click a card to see what each module sends and receives.

👨‍⚕️
Doctor
Prescribes · Orders Tests · Views History
💊
Pharmacy
Fulfils Orders · Manages Stock · Notifies Patient
🏥
Central Platform
Shared Patient Record · APIs · Notifications
🔬
Laboratory
Receives Orders · Uploads Results · Alerts Doctor
🧑
Patient App
Views Records · Orders Meds · Books Appointments

All the Data Connections — Explained Simply

👨‍⚕️→💊

Doctor → Pharmacy

Doctor finalises prescription → automatically pushed to pharmacy queue. Pharmacy starts preparing before patient arrives.

💊→🏥

Pharmacy → Platform

Pharmacy updates stock levels → Platform shows real-time availability to doctors and patients. Green / yellow / red indicators update live.

👨‍⚕️→🔬

Doctor → Lab

Doctor orders lab test digitally → Lab receives it instantly in their queue. No phone calls, no paper slips required.

🔬→👨‍⚕️+🧑

Lab → Doctor & Patient

Lab uploads results → Both doctor and patient notified instantly. Results viewable in-app. No 1–3 day wait.

🧑→💊

Patient → Pharmacy

Patient orders medicine from app → Pharmacy receives order, prepares and dispatches. Patient tracks delivery in real time.

🏥→🧑

Platform → Patient

Automated reminders sent via WhatsApp, SMS, and push: prescription ready, follow-up due, refill needed, lab result available.

🧑→👨‍⚕️

Patient → Doctor

Patient books appointment via app → appears in doctor's calendar. Patient health data feeds into doctor's pre-consultation view.

🏥→👨‍⚕️

Platform → Doctor

Alerts when lab results are ready, when a patient hasn't collected medicine, or when a high-risk interaction is detected in a new prescription.

🗓️ Phased Rollout

What Gets Built When

Three phases, each building on the last. Phase 1 proves the core value. Phase 2 scales it. Phase 3 dominates the market.

Phase 1 — MVP

🏥 E-Prescribing (Basic)

Doctor writes digital prescriptions. Real-time stock check for in-house pharmacy only. Auto-push to pharmacy queue on finalise.

Phase 1 — MVP

💊 Pharmacy Inventory

Manual stock entry + supplier invoice upload. Incoming prescription queue. POS and billing linked to patient records.

Phase 1 — MVP

🔬 Lab Order & Results

Digital lab orders from doctor. Manual result entry by lab staff. Doctor and patient notified when results are ready.

Phase 1 — MVP

🧑 Basic Patient Portal

View prescriptions and lab results. Linked in-house pharmacy ordering. In-app notifications.

Phase 1 — MVP

📅 Appointment Scheduling

Staff-entered calendar booking. Conflict detection. Automated reminder SMS and email.

Phase 1 — MVP

📴 Offline Mode

Local data caching. Sync queue — works without internet. Essential for rural clinics with patchy connectivity.

Phase 2

🌐 All-Pharmacy Network

Stock check across all partner pharmacies. ETA shown per pharmacy. Patient orders from any nearby store.

Phase 2

💬 WhatsApp Notifications

Results, order ready, refill reminders — all via WhatsApp Business API. No app download required for patients.

Phase 2

🏠 Home Sample Collection

Patients book lab sample pickup from the app. Technician dispatched. Results still flow through the same system.

Phase 2

⚠️ Drug Interaction Alerts

System cross-checks new prescriptions against patient's current medications and known allergies. Flags dangerous combinations.

Phase 2

📊 Clinic Analytics Dashboard

Top prescribed drugs, patient return rates, peak hours, revenue trends. Turns operational data into a practice-growth tool.

Phase 2

❤️ Health Score Timeline

Aggregated patient health data into a simple trend view. BP, sugar, cholesterol tracked over months. Sticky feature = long-term retention.

Phase 3

📹 Teleconsultation

In-platform video consultation. Book → consult → get prescription → order medicine — all in one app. Full telemedicine loop.

Phase 3

🏦 Insurance Pre-Auth

Auto-generate insurance pre-authorisation requests at point of prescription. Connect to major TPAs and insurers via API.

Phase 3

🚚 Distributor API

Pharmacies auto-order from distributors when stock hits reorder threshold. Revenue opportunity: commission on orders placed through platform.

👥 User Roles

Who Uses What

Every user role has scoped permissions — no one can see data they shouldn't. All actions are logged for audit.

🛡️

Super Admin

  • Global platform settings
  • Add / remove clinics & pharmacies
  • View all-platform analytics
  • User management across all sites
  • Compliance and audit oversight
🏢

Clinic Admin

  • Manage their clinic's users
  • Configure clinic hours & settings
  • View local reports and analytics
  • Add doctors and receptionists
  • Cannot access other clinics' data
👨‍⚕️

Doctor

  • View & edit their own patients only
  • Write prescriptions & order lab tests
  • See lab results for their patients
  • View stock indicators when prescribing
  • Cannot access billing or inventory
💊

Pharmacist

  • Manage their pharmacy's stock only
  • Process incoming prescriptions
  • Record sales and generate bills
  • Set discounts and configure alerts
  • Cannot write prescriptions or see lab results
🔬

Lab Technician

  • View orders assigned to their lab
  • Enter test results and upload PDFs
  • See patient details for assigned tests only
  • Cannot prescribe or access billing
  • All entries are time-stamped for audit
🧑

Patient

  • View own records only
  • Order medicines from the app
  • Book appointments
  • Download lab results
  • Cannot see other patients' data
📋

Receptionist

  • Schedule and check in patients
  • Limited view of patient records
  • Cannot write prescriptions
  • Cannot access lab results or stock
  • Calendar management only
💡 New Additions

8 High-Demand Features to Add

These aren't in the original plan — but they're critical for real-world adoption and competitive positioning. Each is rated by Impact and Build Effort.

⚠️

Drug Interaction & Allergy Alerts

High ImpactMedium Effort

When a doctor adds a new medicine, the system cross-checks it against the patient's existing meds and allergies. If a dangerous interaction is found, an inline flag appears — requires doctor acknowledgment. Drug-drug interactions are a leading cause of preventable hospital admissions in India. This feature is standard in US EHRs but nearly absent in Indian mid-tier clinics.

💬

WhatsApp-Native Notifications

High ImpactLow Effort

Instead of relying on app downloads, deliver all patient notifications via WhatsApp Business API. "Your blood test is ready — view: [link]". "5 days of Metformin remaining — reorder?". WhatsApp has 530M+ users in India. This strategy removes the biggest barrier to patient adoption — installing yet another health app.

❤️

Digital Health Score / Timeline

Medium ImpactMedium Effort

Aggregate a patient's data — BP, sugar, lab trends, medication adherence — into a simple health score visible to both patient and doctor. Patient sees a 6-month health trend. Doctor sees a flag for patients trending poorly. This transforms the platform from a transaction tool into a long-term health companion. This is the "sticky" retention feature.

🚚

Supplier / Distributor Integration

High ImpactMedium Effort

Pharmacies currently order stock via phone and WhatsApp. The platform closes this loop: when stock hits a reorder threshold, the system auto-generates a purchase order to the configured distributor. Start with email/WhatsApp orders, later formalise via API with major distributors. Revenue opportunity: earn a commission on every order placed through the platform.

🏠

Home Sample Collection

High ImpactMedium Effort

Patients book a lab sample pickup from the app. A technician is assigned and visits. Results are uploaded through the standard flow. Directly competes with Thyrocare, Redcliffe Labs — but with the massive advantage of being integrated into the doctor's existing workflow rather than a standalone service.

📊

Clinic Analytics Dashboard

Medium ImpactLow Effort

Show doctors and clinic owners: top prescribed medicines, patient return rates, peak appointment hours, and monthly revenue trends. Doctors love data about their own practice — this turns operational data into a growth tool. Power users become advocates, referring colleagues to the platform. Strong retention driver.

🏦

Insurance Pre-Authorisation

High ImpactHigh EffortPhase 3

Automate the insurance pre-auth process at the point of prescription. Doctor raises a high-value test or hospitalisation → system auto-generates and submits the form to the insurer via TPA API. Patients with cashless insurance currently wait hours for approvals. Solving this creates enormous goodwill. Must be architectured for from Day 1 (ICD codes, policy linkage).

📹

Teleconsultation Integration

High ImpactHigh EffortPhase 2

Add in-platform video consultation. The complete care loop: book → consult → receive e-prescription → order medicine — all in one app. Use WebRTC-based solutions (100ms.live, Daily.co) — never build video infrastructure from scratch. Post-consultation, the prescription auto-populates into the pharmacy queue. Fully compliant under India's Telemedicine Practice Guidelines (2020).

📈 Key Metrics

How to Know If It's Working

Track these from Day 1. First 6 months: focus on adoption. After product-market fit: optimise revenue.

500
Active Doctors — Year 1 target
↑ from 50 in Month 6
25K
Monthly Active Patients — Year 1
↑ from 1,000 in Month 6
>95%
Prescription Fill Rate — Year 1
vs. ~65% in paper-based clinics
<1hr
Lab Result Turnaround
vs. 1–3 days traditionally
<45min
Average Medicine Delivery Time
Year 1 target (from order to door)
>70%
Follow-up Appointment Kept Rate
vs. ~35% without reminders
50+
Pharmacy Partners — Year 1
↑ from 5 in Month 6
₹50L
Monthly Platform Revenue — Year 1
SaaS + transaction fees + referrals
💰

Revenue Streams — Explained Simply

SaaS Subscriptions (Primary): ₹2,000–5,000/month per clinic · ₹1,000–2,500/month per pharmacy.
Transaction Fee: 1–2% on medicine orders placed through the Patient App (paid by pharmacy).
Lab Referral: Small fixed fee per digital lab order placed through the platform.
Distributor Commission: Small margin on restocking orders placed through the platform.
Premium Analytics: Anonymised health trend data sold to pharma/public health bodies (with full patient consent).

⚠️ Risks

What Could Go Wrong & How to Prevent It

Every real product has risks. Knowing them early means you can design around them.

High Risk

User Adoption Resistance

Doctors and pharmacists may resist new software if it adds even a little friction to their daily workflow. One bad first experience = they stop using it.

Run a 4-week pilot with champion clinics. Setup must take <30 min. Provide on-site training. Make the UI genuinely faster than paper.
High Risk

Data Privacy Breach

Health data is among the most sensitive. A breach would be catastrophic for patient trust and regulatory standing.

AES-256 encryption at rest, TLS 1.3 in transit. Quarterly penetration tests. Role-based access — minimum necessary data per role.
Medium Risk

Sparse Pharmacy Network

In early phases, if only 2–3 pharmacies are on the platform, the stock-check feature has limited value and won't impress doctors.

Launch in one dense neighbourhood. Partner with 5 anchor pharmacies before any public launch. Quantity-over-geography first.
Medium Risk

Offline Sync Conflicts

Two users editing the same patient record offline can create conflicting data versions — dangerous in a medical context.

Timestamp-based conflict resolution. Server version wins for clinical data. Admin review queue for flagged conflicts.
Medium Risk

Regulatory Changes

India's DPDP Act implementation rules are still evolving. Data localisation requirements may shift unexpectedly.

Build multi-region cloud architecture from Day 1. Maintain a compliance calendar with quarterly legal review.
Lower Risk

Competitive Response

Practo, 1mg, or PharmEasy could attempt to replicate the integrated clinic-level workflow.

Differentiate on clinic integration and offline capability — hard to replicate at scale from a consumer-app starting point. Win loyalty fast.
🔒 Compliance

Security & Legal Requirements

Health data has the strictest privacy requirements of any industry. The platform is built to comply with Indian and international standards from Day 1.

India — DPDP Act 2023

Digital Personal Data Protection

  • Explicit patient consent before sharing data across modules
  • Consent screens and opt-in/opt-out built into onboarding
  • Breach notification within 72 hours
  • Patient right to data export and deletion (erasure)
  • Data Processing Agreements with all third parties
India — NDHM / ABHA

National Digital Health Mission

  • Patient records aligned with ABHA ID structure
  • HL7-FHIR resource format for all clinical data
  • Patient, Encounter, MedicationRequest, DiagnosticReport objects
  • Ready for integration with National Health Stack
India — Telemedicine Guidelines 2020

E-Prescription Compliance

  • Electronic prescriptions from registered doctors — fully supported
  • Telemedicine consultations legally permitted and compliant
  • Doctor registration verification before prescribing rights
Global — HIPAA-Aligned Best Practices

Even Without US Obligation

  • Unique user IDs for every access action
  • Minimum necessary data principle enforced
  • Encrypted backups with 90-day retention
  • All PHI access logged for audit trail
  • Regular security audits and penetration testing
⚠️

Important Design Decision

Consent must be explicit and granular. A patient consenting to share data with their doctor does NOT automatically consent to sharing it with the pharmacy or lab. Each module-to-module data share requires its own consent layer. Build this into onboarding from Day 1 — retrofitting consent management is expensive and legally risky.

📌 Critical Points

Things That Must Not Be Ignored

These are the decisions that will make or break the platform. Resolve these before writing a single line of code.

🔴

The #1 Priority: Prescription Fill Rate

If a doctor prescribes a medicine that isn't available, you've failed at the most basic level. The real-time stock check is NOT optional. It is the core product. Everything else is secondary.

🔴

Launch Dense, Not Wide

Don't launch city-wide on Day 1. Launch in one neighbourhood with 3–5 anchor clinics and 5 pharmacies. Make it work perfectly for them first. Word spreads.

🟡

Don't Build the App First

The Patient App is Phase 1 but it's the least critical on Day 1. The Doctor → Pharmacy workflow is the highest-value and highest-urgency flow. Get that right first.

🟡

Offline Mode Is Non-Negotiable

Indian clinic connectivity is unreliable — especially in Tier 2/3 cities. If the system stops working when the internet drops, doctors will abandon it within a week. Offline-first is a core architecture requirement.

🔵

WhatsApp > App Downloads

For patient engagement, WhatsApp notifications will outperform app download campaigns 10:1. Patients don't want another app — they want their doctor's prescription on WhatsApp. Plan for this.

🔵

The Three Pillars — Never Compromise These

Pillar 1: Prescription → Stock Awareness. Pillar 2: Connected Ecosystem (Doctor + Pharmacy + Lab). Pillar 3: Patient Record + Follow-up System. Every feature must serve one of these three pillars.

🟢

Competitive Moat: The Integration Layer

Your competitors (Practo, 1mg) solve one problem each. You solve the entire chain. The moment a doctor relies on you for prescribing, the pharmacy relies on you for orders, and the patient relies on you for results — switching cost becomes extremely high.

🟢

Architecture: Design for ABHA from Day 1

Even if ABHA integration is Phase 3, the patient data model must accommodate ABHA IDs and HL7-FHIR structure from Day 1. Retrofitting this later is a complete re-architecture — and it will happen once the government mandates it.