One QR Code, Your Entire Medical History: Why I Built Arogya ID
Arogya ID is a unique, portable digital health identity that links a person's entire medical history to a single QR code, giving hospitals, insurers, and patients instant, consent-based access to critical records. In emergencies, scanning the QR without login reveals only life-saving info — blood group, allergies, and emergency contacts — helping doctors act fast when every second counts.
A few months ago, I started thinking about something most of us don't think about until it's too late: what happens when someone can't speak for themselves in a hospital?
Picture this. Someone gets into an accident on a highway between two towns. They're unconscious. No ID that says anything useful, no family around, no way to ask "are you allergic to anything?" or "what medications are you on?" The doctors are working against the clock, and they're working blind. Every minute spent guessing is a minute not spent treating.
That gap — between an emergency happening and a doctor actually knowing who they're treating — is what Arogya ID is trying to close.
The problem nobody talks about enough
We've all experienced some version of the smaller, everyday version of this problem. You go to a new doctor and they ask you to recall your entire medical history from memory — every surgery, every allergy, every med you're on — as if your brain is a filing cabinet. You switch clinics and your old reports just... don't follow you. You get a chronic illness and suddenly your life is a scattered pile of paper prescriptions, lab reports in one folder, X-rays in another, and nobody — not even your family — has the full picture in one place.
Now scale that problem up to India's Tier-2 and Tier-3 towns, where people regularly move between a local clinic and a city hospital, where continuity of care basically doesn't exist, and where a rural patient's medical history might live entirely in someone's memory or a stack of loose papers. And then scale it up again to insurance: claims teams spend days manually verifying a patient's history because there's no fast, trustworthy way to check it.
Everyone in the chain — patients, doctors, hospitals, insurers — is operating with fragments. Nobody has the whole story.
The idea: one ID, your whole health story
Arogya ID is a unique, portable digital health identity — think of it like APAAR ID, but for your health instead of your education. One ID, generated when you register, tied to a QR code you can carry digitally or on a physical card. Behind that ID sits your entire medical profile: blood group, allergies, chronic conditions, current medications, past surgeries, vaccination history — all of it, in one place, accessible to the people who actually need it, when they need it.
But the feature I care about most — the one that actually solves the emergency problem — is what happens when someone scans that QR code without logging in. Instead of exposing your entire medical record to a stranger, it shows only the critical, life-saving basics: blood group, allergies, major conditions, emergency contact. No login required, no waiting, no full record exposed. Just the handful of facts that could genuinely save a life in the first ten seconds after someone finds you.
Everything else — the deeper history, the full record — stays locked behind consent. Hospitals and insurers only see what you've explicitly allowed them to see, and every single access is logged. You always know who looked at your data and when.
Who this is actually for
I didn't want to build something abstract. Arogya ID is built with specific people in mind:
Patients juggling scattered records instead of one unified history. Elderly people managing multiple chronic conditions and prescriptions who shouldn't have to re-explain their entire medical past every time they see a new doctor. Rural and Tier-2/3 families who move between local clinics and city hospitals with zero continuity. And, most urgently, accident and trauma victims who simply can't communicate their own history in the moment it matters most.
On the other side, it's for emergency room staff who need instant context on an unknown patient, physicians who'd rather not repeat tests that were already done somewhere else, insurers who need verified history fast instead of slow, and even government health bodies trying to verify eligibility for schemes like Ayushman Bharat.
What's actually under the hood
I built this using the stack I already know well — Node.js and Express for the backend, React for the dashboards (separate views for patients, hospitals, and insurers), and a hybrid database approach: MongoDB for the flexible, varying-shape medical record data, and SQL for the structured stuff like ID mapping and access logs, where relational integrity actually matters.
For deployment, I kept it focused rather than over-engineering it — I used the AWS SDK for JavaScript to connect my backend to AWS, and shipped the whole thing on an EC2 instance so it was live and testable end-to-end instead of just running locally. Auth is JWT-based with role-based access control, so a hospital, an insurer, and a patient all see fundamentally different slices of the same system.
What I learned building it
The hardest part wasn't the code — it was the design tension at the center of the whole idea: how do you make critical information instantly accessible in an emergency, while still keeping the rest of someone's medical life genuinely private? Those two goals pull against each other, and most health-tech projects I looked at pick one and ignore the other. Arogya ID tries to hold both at once — emergency-first when it counts, consent-first everywhere else.
That's really the pitch, if I had to say it in one line: one ID, your entire health story, accessible when it matters most — and locked when it doesn't.
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article