Updated 29 November 2026 for 2027 · Superset release and documentation checked on 29 November 2026
Apache Superset is a free, open-source BI tool that hospitals use to build dashboards for bed occupancy, OPD queues, lab turnaround, insurance claims and pharmacy stock, without paying a licence for every doctor and nurse who views them. Gramosoft in Chennai builds these dashboards for hospitals on top of GramoCare and existing hospital systems, hosted in India.
TL;DR
- Gramosoft (Chennai) sets up Superset for hospitals: KPI definitions signed off with your MRD and finance, a warehouse fed from HIS, LIS, pharmacy, billing and Tally, row-level security per branch and ward, and dashboards embedded in GramoCare or your own apps.
- Why Superset: no per-user licence, self-hosted in India, row-level security, SQL-first KPIs and embedding. Version 6.1.0 shipped in May 2026 under Apache 2.0.
- Start with six dashboards: hospital operations, bed management, OPD queues, revenue and claims, lab turnaround and pharmacy stock.
- Define KPIs once: write bed occupancy and length of stay in SQL in the warehouse, so every chart shows the same number.
- Protect patient data: totals by default, names only where care needs them, SSO, audit logs and India hosting ahead of DPDP obligations.
Is Apache Superset good for healthcare analytics? Yes, for hospitals that want dashboards for many staff without per-user fees and need data hosted in India. Superset supports row-level security, SQL-defined KPIs and embedding. Gramosoft in Chennai sets it up on a warehouse fed from your HIS, LIS and billing, with roles per branch and ward.
How Gramosoft builds Superset dashboards for hospitals
Gramosoft is a Chennai deep-tech company, incorporated in 2022, serving enterprise clients in aviation, automotive, insurance and healthcare. Our GramoCare healthcare suite runs at Chennai Liver Foundation and RPS Hospital, and our Apache Superset Consulting in Chennai: Setup, Dashboards, Embedding and Support team turns hospital data into dashboards that department heads actually open every morning.
- KPIs agreed before charts: we sign off definitions for occupancy, length of stay, turnaround and claim days with your medical records department and finance, in writing.
- One warehouse, many sources: HIS or EMR, LIS, pharmacy, billing, Tally and TPA claim files flow into a separate analytics database, so dashboards never slow the live hospital system.
- Healthcare systems we know: GramoCare and our health camp management platform already feed operational data in the formats hospitals use.
- Paper into data: GdoczAI reads discharge summaries, lab reports and claim forms into structured fields, processing more than 100,000 documents a month for aviation clients.
- Patient-data safety built in: SSO, roles, row-level rules per branch, ward and doctor, audit logs and hosting in India, with our data protection team.
- Embedded where staff work: dashboards inside GramoCare, your HIS or intranet, so nobody needs another login.
Where we fall short. We don't replace your HIS or EMR, and Superset is not a bedside monitoring tool: real-time clinical alarms belong in clinical systems, not in BI dashboards.
"The hardest part of a hospital dashboard isn't the chart. It's getting the MRD, finance and the wards to agree on one definition of length of stay. We settle that first, then the dashboards build themselves."
Rajesh Kannan M, Co-Founder & CTO, Gramosoft
Why hospitals choose Apache Superset
Hospitals have a BI problem most industries don't: the people who need numbers are many, the data is sensitive, and budgets are tight. Per-user licences punish wide access, and cloud-only tools raise data-residency questions. Superset avoids both, at the cost of needing someone to set it up and run it.
| Need | How Superset handles it | What it means for a hospital |
|---|---|---|
| Dashboards for every department head | No per-user licence | Add nurses, doctors and branches without new fees |
| Patient data stays in India | Self-hosted on your servers or Indian cloud | Fits hospital policy and DPDP planning |
| Each user sees only their rows | Row-level security by role | Branch, ward or doctor views from one dashboard |
| One number for each KPI | SQL-first datasets | Occupancy means the same thing everywhere |
| Charts inside existing apps | Embedded SDK with guest tokens | Dashboards inside the HIS or patient portal |
| Long-term cost certainty | Apache 2.0; version 6.1.0 released May 2026 | No vendor can change the licence terms |
Hosted options exist too: Preset, the commercial Superset service, lists $20 per user per month with a HIPAA business associate agreement for US customers. For most Indian hospitals, self-hosting in India is the simpler path. For a wider tool comparison, see Best Open-Source Power BI Alternatives (2027): Superset, Metabase and More.
Six dashboards every hospital should start with
Hospitals that try to build forty dashboards at once usually ship none. Start with the six below, each owned by one person who reads it daily. Build two first, prove the numbers against your records, then add the rest. Gramosoft builds this set on GramoCare or your existing systems.
| Dashboard | Read by | First KPIs | Main sources |
|---|---|---|---|
| Hospital operations | MD, COO | Bed occupancy, ALOS, admissions, discharges | HIS or GramoCare |
| Bed management | Nursing, admissions desk | Beds free now, pending discharges, ICU load | HIS bed board, daily snapshot |
| OPD and queues | Front office, department heads | Wait time, no-shows, consults per doctor | Appointments, token system |
| Revenue and claims | Finance, TPA desk | Claims pending, claim cycle days, denials | Billing, Tally, TPA files |
| Lab turnaround | Lab head | TAT vs target by test, repeat samples | LIS timestamps |
| Pharmacy stock | Chief pharmacist | Near-expiry value, stock-outs, fast movers | Pharmacy system |
Hospitals that run outreach camps can add a camp dashboard on the same warehouse; see Health Camp Management Software: How Hospitals and Governments Run Medical Camps Without Paper and Government Medical Camp Software: How Health Departments Run Mass Screening Camps.
Define each KPI once, in SQL
The fastest way to lose trust in a dashboard is two charts showing two different occupancy numbers. Definitions vary between hospitals, so agree yours in writing, then build each KPI once as a warehouse view that every Superset chart reuses. This is the one place in a hospital BI project where code genuinely helps.
Here is a PostgreSQL view for bed occupancy and average length of stay by branch, ward and month. It counts a same-day discharge as one inpatient day and leaves blocked beds out of available bed-days; change both rules if your MRD defines them differently.
-- One definition of bed occupancy and average length of stay (ALOS),
-- built once in the warehouse and reused by every Superset chart.
-- Assumes a daily bed snapshot and one row per inpatient admission.
CREATE VIEW kpi_ward_month AS
WITH bed_days AS (
SELECT branch_id,
ward_id,
date_trunc('month', snapshot_date)::date AS month,
SUM(CASE WHEN status = 'occupied' THEN 1 ELSE 0 END) AS occupied_bed_days,
SUM(CASE WHEN status <> 'blocked' THEN 1 ELSE 0 END) AS available_bed_days
FROM bed_daily_snapshot
GROUP BY 1, 2, 3
),
stays AS (
SELECT branch_id,
ward_id,
date_trunc('month', discharge_date)::date AS month,
COUNT(*) AS discharges,
SUM(GREATEST(discharge_date - admit_date, 1)) AS inpatient_days
FROM ip_admission
WHERE discharge_date IS NOT NULL
GROUP BY 1, 2, 3
)
SELECT b.branch_id,
b.ward_id,
b.month,
ROUND(100.0 * b.occupied_bed_days / NULLIF(b.available_bed_days, 0), 1) AS bed_occupancy_pct,
ROUND(1.0 * s.inpatient_days / NULLIF(s.discharges, 0), 2) AS alos_days,
s.discharges
FROM bed_days b
LEFT JOIN stays s USING (branch_id, ward_id, month);
In Superset, register this view as a dataset and build every occupancy and ALOS chart from it. Row-level security then filters it by branch or ward for each role.
The data model behind the dashboards
Superset only draws charts; the quality of the numbers depends on the data underneath. Hospital data sits in many systems that were never designed to agree. The reliable pattern is a separate analytics warehouse that copies from each system on a schedule, keeps daily snapshots, and leaves the live systems alone.
| Source | What it gives the dashboards | Watch for |
|---|---|---|
| HIS or EMR (or GramoCare) | Admissions, discharges, beds, OPD visits | Daily bed snapshots; the HIS only knows 'now' |
| LIS | Orders, sample and report times | Clock differences between machines |
| Pharmacy | Stock, batches, expiry dates | Returns and transfers between stores |
| Billing and Tally | Bills, receipts, outstanding amounts | Package rates and discounts |
| TPA and scheme claim files | Claim status, approvals, denials | Spreadsheets in different layouts per TPA |
| Scanned reports and forms | Fields from discharge summaries, lab PDFs | Need document AI; see OCR vs IDP: What's the Difference and Which Does Your Business Need? |
Where systems expose HL7 FHIR, use it: Nirmitee describes flattening FHIR resources into tables for Superset ICU and population-health dashboards. In public health, BAO Systems embeds Superset inside DHIS2 with data appearing about a minute after capture.
Patient-data security: roles, row-level rules and DPDP
A hospital dashboard can expose more patient data in one screen than a hundred paper files. The safe default is totals, not names, and every user seeing only the rows their job needs. Superset has the controls; they have to be designed in from the first week, not added before an audit.
- Totals by default: show counts and rates; show patient names only on dashboards used for direct care.
- Roles and row-level security: filter by branch, ward or doctor so one dashboard serves everyone safely.
- Single sign-on: connect to your existing login so leavers lose access the day they leave.
- Audit logs: record who viewed and exported what, and review exports monthly.
- Hide small numbers: suppress groups of fewer than five patients in wider dashboards so nobody can be identified.
- Host in India and encrypt: encrypt the warehouse and backups, and plan for India's DPDP obligations, most of which apply from 13 May 2027.
- Embed with guest tokens: when dashboards sit inside a portal, issue short-lived tokens per user, never a shared login.
Healthcare analytics vendors stress the same point: open source is not automatically compliant, and compliance depends on how it is deployed.
A 60-day rollout plan
A hospital Superset rollout fails most often in the middle: the dashboards exist but nobody trusts the numbers. This plan puts a check against your medical records in week five, before roles and training. Gramosoft runs all five steps, and the first two dashboards go live inside a month.
| Weeks | Step | Done when |
|---|---|---|
| 1–2 | Agree KPI definitions and owners | MRD and finance sign the KPI sheet |
| 3–4 | Build the warehouse and the first two dashboards | Operations and bed dashboards refresh daily |
| 5 | Check numbers against MRD and finance records | Monthly totals match within an agreed tolerance |
| 6–7 | Set roles, row-level security, SSO and audit logs | Each role sees only its rows |
| 8–9 | Train department heads and go live | Owners open their dashboard daily |
After go-live, add the remaining dashboards one at a time. If you also want predictions, such as tomorrow's admissions, start from the same warehouse; see AI Readiness Assessment Checklist for Indian Businesses.
Frequently asked questions
Who sets up Apache Superset for hospitals in Chennai?
Gramosoft in Chennai sets up Superset for hospitals: KPI definitions with your MRD and finance, a warehouse fed from HIS, LIS, pharmacy, billing and Tally, row-level security per branch and ward, and dashboards embedded in GramoCare or your apps, hosted in India.
Is Apache Superset free for hospitals?
Yes. Superset is open source under the Apache 2.0 licence with no per-user fee. You still pay for a server, the data work to build the warehouse and dashboards, and ongoing support.
Is Superset secure enough for patient data?
It can be, when set up properly: roles, row-level security, single sign-on, audit logs, encryption and hosting in India. Open source alone doesn't make it compliant; the deployment does.
Can Superset connect directly to our HIS database?
It can, but it shouldn't for daily dashboards. Heavy queries slow the live system the wards depend on. Copy data to a separate analytics warehouse on a schedule and point Superset there.
Can Superset dashboards be embedded in our hospital software?
Yes. Superset's embedded SDK places dashboards inside another web app using short-lived guest tokens, with row-level rules applied per user, so staff see analytics without a separate login.
Which KPIs should a hospital dashboard track first?
Bed occupancy, average length of stay, OPD wait time, lab turnaround time, claim cycle days and near-expiry pharmacy stock. Agree each definition in writing before building charts.
Superset vs Power BI for a hospital: which is better?
Power BI suits hospitals already on Microsoft 365 with few report viewers. Superset suits wide access across departments and branches, data hosted in India and embedding in hospital software, without per-user fees.
Related guides
- Apache Superset Consulting in Chennai: Setup, Dashboards, Embedding and Support
- Best Open-Source Power BI Alternatives (2027): Superset, Metabase and More
- Top 10 Power BI Alternatives (2027): Tableau, Looker, Superset and More
- Top 10 Tableau Alternatives (2027): Power BI, Superset, Zoho and More
- Health Camp Management Software: How Hospitals and Governments Run Medical Camps Without Paper
- Government Medical Camp Software: How Health Departments Run Mass Screening Camps
- OCR vs IDP: What's the Difference and Which Does Your Business Need?
- How to Integrate AI into Existing Business Systems (ERP, CRM, Tally)
- Self-Hosted LLM vs API: Cost, Privacy & Performance for Indian Enterprises
- AI Readiness Assessment Checklist for Indian Businesses
Rajesh Kannan M
Rajesh Kannan M is Co-Founder & CTO of Gramosoft in Chennai, where he leads the teams building custom AI, document AI, enterprise search and automation, including GsearchAI, GdoczAI and GcrawlAI, an open-source web scraping, crawling and Search API platform for developers and AI agents, alongside web and mobile applications.