Case File 09 / 21 · Healthcare

    Bhavishya Bharat

    Bhavishya Bharat: Offline-first hospital management

    A hospital system that runs a whole village health camp with no internet

    Our role
    Platform Engineering · Offline-First Healthcare
    Industry
    Healthcare
    Outcome
    A village health camp runs its full clinic day with no internet, then syncs every record back to head office.

    The engagement

    What Bhavishya Bharat needed

    Rootlex built the hospital information system that Bhavishya Bharat uses across its clinics and its village outreach health camps. It covers the whole visit, from registration and consultation to lab, pharmacy and printed documents, for several branches in one system. Its defining capability is that a camp can run a complete clinic day offline on a small local server and then sync every record back to head office.

    What we built

    • One hospital information system across clinics, branches and mobile outreach camps.
    • A camp mode that moves a branch onto a local server for the day and reconciles it with head office afterwards.
    • Registration, appointments, configurable case sheets, prescriptions, lab and pharmacy in a single visit record.
    • Medicine stock tracked from purchase to the box packed for each camp trip.
    • A responsive web app, an Android app and an offline edge server.

    Impact

    A village health camp runs its full clinic day with no internet, then syncs every record back to head office.

    The challenge

    Why it had to be built

    Outreach camps are held in villages where there is often no internet connection, yet the team still has to register patients, run consultations, order lab tests, dispense medicines and print documents. A system that only works online is no use there, and paper records have to be typed up later. The platform lets a camp carry its own server: the camp and head office take turns holding the live records for that branch, so the day's work is captured on site and merged back safely once the team returns.

    Who uses it

    Front desk operators
    Register patients, book and check in visits, record vitals and handle billing.
    Doctors and assistants
    Fill in case sheets, write prescriptions and order lab tests.
    Lab technicians
    Work through a list of ordered tests and enter the results.
    Pharmacists
    Dispense against prescriptions and manage medicine stock.
    Managers
    Run branches, prepare camps and look after stock.
    Head office admins
    Manage users, branches, templates and reports across the organisation.

    Inside the product

    What Bhavishya Bharat does

    • 01

      Patient registration and records

      A patient list, detail pages, a history drawer and tracking by village.

    • 02

      Appointments and visit flow

      Booking, daily check-in, tokens and queues, and checkout at the end of the visit.

    • 03

      Configurable case sheets

      A template builder with a library of fields, grouped and tabular sections, template history and activation per branch.

    • 04

      Prescriptions

      A prescription composer with a medicine picker, tied directly to dispensing.

    • 05

      Lab

      A catalogue of lab tests, orders placed from the case sheet, and a technician worklist for results.

    • 06

      Referrals and printing

      Prescription, lab and referral documents printed with each branch's own letterhead and partner logos.

    • 07

      Pharmacy

      Medicine and distributor masters, purchases, inventory, stock adjustments, medicine billing, returns and stock reports.

    • 08

      Billing and receipts

      Bills, payments and PDF receipts.

    • 09

      Camp control

      Prepare, start and end a camp, sync the branch to the offline server and back to head office, with the office locked out of that branch while the camp is running.

    • 10

      Camp medicine stock

      Box packing, allocation per trip, top-ups, returns and a stock ledger for each camp.

    • 11

      Paper back-entry

      A keyboard-driven screen for entering records from camps that were run on paper.

    • 12

      WhatsApp messages

      Visit documents sent to patients as short links, and a daily camp summary, with every attempt logged.

    • 13

      Reports and administration

      A report builder, branch management, user administration with history, and a dashboard.

    Under the hood

    How it is engineered

    Offline-first edge sync
    Changes made at a camp are recorded as an ordered log of operations and replayed at head office, with receipts, conflict records and sync that can resume if it is interrupted.
    One writer at a time
    A lease decides whether the camp or head office holds a branch. While a camp holds it, head office refuses writes to that branch, so two copies can never diverge silently.
    Access control that follows the branch
    Privileges control which pages a person sees and roles control what they can change, and a person's role can differ from branch to branch.
    Multi-branch by design
    Every record is scoped to a branch, and each branch has its own configuration and print profile.
    Audit trails
    User, template and record history is kept, along with a log of every notification sent.
    Tested where it matters most
    The automated tests concentrate on sync, camp and stock logic, the parts where a mistake would lose clinical or inventory data.
    Runbooks for non-engineers
    Deployment is scripted and documented, and camp staff have a plain-language camp-day guide with screenshots.

    Forward Deployed Engineering

    Embedded with Bhavishya Bharat, not working at arm's length

    Rootlex engagements are run by forward deployed engineers (FDEs) who join the client's team, learn the business first-hand, and own the platform in production.

    • Embedded in your team: your repos, tools, channels and stand-ups
    • Accountable for the outcome in production, not just the code
    • Backed by our AI, cloud, embedded and security practices

    Get in touch

    Planning something similar?

    Tell us where you’re headed — we’ll bring the architecture, the team, and the partnership to get there.