Skip to content
@medbrains

MedBrains

Hospital management software for Indian hospitals: OPD, wards, lab, pharmacy, billing. Built for ABDM, NHCX and UHI.

MedBrains logo

MedBrains

Software that runs a whole hospital. Free, forever.
One patient record across OPD, wards, lab, radiology, pharmacy and billing, built for ABDM, NHCX and UHI.

Every patient deserves safe care. Every hospital, big or small, deserves the tools to give it.
Built with love for patients, for hospitals, and for well-made software.

License: Apache 2.0 Free forever For every patient For every hospital

Source code · Website · Pricing · Partners · Sponsor · Blog · Book a demo · [email protected]

MedBrains: OPD workstation, waiting-room token board and patient app

Why it's free

  • The software and every update are free, for every hospital and clinic, under the Apache 2.0 licence. No subscription, no charge per user.
  • Safety for everyone. Every patient-safety check is free, never an upgrade.
  • Your data is yours. A full export whenever you ask. We never sell clinical data.
  • How we earn: only from optional implementation, training, hosting and support (AMC). See pricing.

What MedBrains does

  • One patient, one record. Registration with a duplicate check, so a patient never gets two UHIDs. The token, case sheet, orders, prescription, dispensing, bill and discharge summary all hang off that record.
  • Clinical safety in the software, not on paper. Schedule H/H1/X and NDPS rules at the pharmacy counter, critical lab values alerted to the doctor, the WHO surgical safety checklist enforced in OT, and nursing risk scores (NEWS2, Braden, Morse).
  • The way hospitals get paid. GST billing, insurance and TPA pre-authorisation with IRDAI's 1-hour and 3-hour clocks, and UPI, card, cash and payment links.
  • Every screen in the hospital. Web workstations, native iOS and Android apps for staff and patients, waiting-room TV token boards and kiosks.
  • Your choice of hosting. Our cloud or your own servers. Each hospital's data is kept separate in the database, with an audit trail of who saw what.

MedBrains OS

Batteries included: the hospital software, its own operating system, built-in security, control of every machine and each country's health rules, in one install. Nothing else to buy.

MedBrains is also its own operating system: a small, open OS on Debian Linux for every machine in the hospital. One image per processor type (x86-64 and arm64); you choose each machine's role on its first-boot screen.

  • Server: the database, sign-in with an authenticator app, certificates, and the screen that approves every machine.
  • Workstation: staff work here; it keeps no patient data, or only what offline mode needs.
  • Display: a queue board or TV, with no patient data. It joins today; the board itself is not built yet.
  • Ward backup: keeps a ward running if the server or network fails, with its data encrypted. Planned.

One server holds the records; every other machine is a small node that can be replaced in minutes. A new machine joins only when an administrator approves it, and the approval is audited. The OS opens to a desktop of apps, and MedBrains is one of them. No Docker: services run directly on Linux.

Hardware (recommendations from virtual-machine measurements, not tested kits):

Machine Minimum Recommended
Server, small clinic 4 cores, 8 GB RAM, 64 GB SSD Raspberry Pi 5 8 GB + NVMe SSD
Server, hospital 8 cores, 16 GB RAM, 512 GB NVMe SSD 16–32 GB RAM, mirrored SSDs, TPM, UPS, plus a standby server
Workstation 2 cores, 4 GB RAM, 32 GB storage any small PC or arm64 board that drives the screen
Display / TV board 2 cores, 2–4 GB RAM Pi-class board
GPU or AI chip optional used when present, never required

Measured so far: 478 MB download, about 1.2 GB installed, about 300 MB of memory for a workstation at its desktop.

Status: it builds and boots in virtual machines. Not done yet: signed A/B updates, verified boot, the display board and ward backup role, real hardware, an outside penetration test, and use in a hospital. Details: medbrains.in/os and MedBrains OS in the README.

Roadmap

Area Status
Registration, OPD, IPD, nursing, lab, radiology, pharmacy, billing ✅ In use at a hospital in Tamil Nadu
Native staff and patient apps (SwiftUI, Jetpack Compose) 🟡 Built; store release in progress
ABDM M1: ABHA create, verify, card, QR 🟡 Built and tested against mocks; sandbox certification next
ABDM M2/M3: share and fetch health records with consent 🟡 Built; conformance fixes to NRCeS FHIR profiles in progress
ABDM M4: facility (HFR) and professional (HPR) registries 🔵 In progress
Scan & Share at the front desk 🟡 Built; sandbox certification next
NHCX insurance claims (eligibility, pre-auth, claims, payments) 🔵 In progress: protocol conformance fixes
UHI provider: in-person consultations, ambulance, blood bank 🔵 In progress
SNOMED CT terminology and coded clinical records 🔵 In progress; national extensions pending licence approval
DPDP Act 2023 tooling: consent register, rights requests, breach register 🟡 Built; consent enforcement next
Public demo hospital 🔵 In progress
Redesigned interface with specialty components (dental, eye, maternity, ICU, dialysis and more) 🔵 Design in progress
IVF and assisted-reproduction module (ART Act) ⚪ Planned

✅ live · 🟡 built, not yet certified or released · 🔵 in progress · ⚪ planned

MedBrains is not yet certified by NHA for ABDM, NHCX or UHI production use. We say "built for" until certification is complete.

Source code

The code is at medbrains/medbrains, licensed under Apache 2.0. Start with the README and CONTRIBUTING. We are working towards recognition as a Digital Public Good.

Get involved

We'd love to hear from clinicians (what slows you down?), hospital administrators (what does your HMS get wrong?) and developers (Rust, React, Swift, Kotlin). Open an issue or write to [email protected].

Sponsor the work: fund a feature every hospital gets, implementation at a charitable hospital, or a language. See medbrains.in/sponsors.

Install MedBrains for hospitals near you: join the partner programme.

"MedBrains" and its logo are trademarks of Domnic Amalan S and are not covered by the code licence. SNOMED CT is a registered trademark of SNOMED International.

Pinned Loading

  1. medbrains medbrains Public

    Open-source, AI-native hospital operating system (AGPL-3.0). Registration, OPD, wards, pharmacy, lab, radiology and billing on one patient record, with patient-safety checks built in. Runs as its o…

    Rust 3

Repositories

Showing 3 of 3 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…