Bio Ecko Platform Architecture
A non-technical guide to Bio Ecko's technology stack, module organization, real-time capabilities, and infrastructure -- everything an FC needs to confidently...
February 2026 · 14 min
Manual area
FC Training Programme
Coverage
7 sections
Operator notes
3 implementation notes
Technology Stack Overview
Bio Ecko is a modern, cloud-native hospital ERP. Understanding the stack helps you communicate with developers and answer client questions about security, performance, and scalability.
| Layer | Technology | What It Does |
|---|---|---|
| Frontend | Next.js 16 (React) | The user interface -- what staff see and interact with |
| Styling | Tailwind CSS + shadcn/ui | Consistent, responsive design across all screens |
| Backend | Next.js Server Components + Route Handlers | Server-side logic, API endpoints, data fetching |
| Database | Supabase (PostgreSQL) | All data storage -- patients, orders, billing, everything |
| Authentication | Supabase Auth | Login, session management, password security |
| Authorization | Row Level Security (RLS) | Ensures users only see data they are allowed to see |
| Real-time | Supabase Realtime (WebSockets) | Live updates -- bed board, queue display, notifications |
| File Storage | Supabase Storage / Vercel Blob | Documents, images, reports, uploads |
| Hosting | Vercel | Deployment, CDN, edge functions, automatic scaling |
FC Takeaway: You don't need to know how to code in React or SQL. But knowing that the database is PostgreSQL helps when discussing data migration. Knowing the app is hosted on Vercel helps when answering uptime and performance questions.
The 61-Module Ecosystem
Bio Ecko organizes its functionality into 61 modules across 11 categories. Each module is a self-contained functional area with its own screens, data tables, and business logic.
| Category | Module Count | Key Modules |
|---|---|---|
| Clinical | 8 | Patient Registration, OPD Visits, EMR, Prescriptions, Vitals, Clinical Notes |
| IPD | 7 | Admissions, Bed Management, Nursing Console, Discharge, Diet Orders |
| Emergency | 3 | Triage, ED Console, Trauma Registry |
| Diagnostics | 5 | Lab Orders, Lab Processing, Radiology, Blood Bank, Pathology Reports |
| Pharmacy | 5 | Drug Dispensing, Formulary, Inventory, Purchase, GRN |
| Billing & Finance | 8 | Billing, Insurance, Claims, Accounts, GL, AP/AR, Budgeting |
| HR & Admin | 6 | Staff Management, Payroll, Leave, Attendance, LMS, Credentialing |
| Operations | 7 | Housekeeping, Dietary, Linen, CSSD, Bio-Medical Waste, Assets, Fleet |
| Quality | 4 | Incident Reporting, Infection Control, NABH Tracker, Clinical Audit |
| Advanced | 5 | Telemedicine, BI Analytics, Command Center, Workflow Engine, Studio |
| Integration | 3 | ABDM Gateway, HL7 Integration Hub, FHIR API |
FC Relevance: Not every hospital activates all 61 modules. A small 30-bed hospital might use 15-20 modules. Part of your discovery phase is identifying which modules the client needs.
Data Architecture -- Tables, Tenancy, and Isolation
Bio Ecko's database contains 319 tables organized around key entities:
Core Entities:
organizations-- The tenant (hospital/chain). All data belongs to an organization.profiles-- Users (doctors, nurses, staff). Linked to Supabase Auth.patients-- The central clinical entity. Every clinical, billing, and lab record links back to a patient.appointments/admissions-- OPD and IPD encounters.bills/payments-- Financial transactions.
Tenant Isolation:
Every table has an organization_id column. Row Level Security (RLS) policies ensure:
- A user from Hospital A can never read or write Hospital B's data
- Even if a developer makes a coding mistake, the database itself blocks cross-tenant access
- This is enforced at the PostgreSQL level, not just the application level
Audit Trail:
Critical tables have created_at, updated_at, created_by, and updated_by columns. Some tables (medications, diagnoses) also have a full audit log for regulatory compliance.
Authentication and Session Management
Bio Ecko uses Supabase Auth for authentication:
- Login -- User enters email/phone + password. Supabase Auth validates and returns a JWT (JSON Web Token).
- Session -- The JWT is stored as an HTTP-only cookie (not localStorage -- more secure). It auto-refreshes.
- Role Resolution -- After login, Bio Ecko reads the user's
profilesrecord to determine their role (doctor, nurse, admin, etc.) and organization. - Hub Routing -- Based on the role, the user is redirected to their role-specific dashboard hub (Nurse Hub, Pharmacist Hub, etc.).
Password Security:
- Passwords are hashed with bcrypt (industry standard; never stored in plain text)
- Brute-force protection via rate limiting
- Password complexity rules configurable per organization
FC Configuration:
- Set up user accounts during implementation
- Assign correct roles (critical: a nurse should NOT have admin access)
- Configure password policies per organizational requirements
- Set up the fallback admin account for emergency access
Real-Time Features
Bio Ecko leverages Supabase Realtime (WebSocket subscriptions) for live-updating screens:
| Feature | What Updates in Real-Time |
|---|---|
| Bed Board | Bed occupancy, patient transfers, discharge status |
| Queue Display | Token status, estimated wait time, doctor availability |
| Nursing Station | Medication due alerts, vitals entry notifications |
| Command Center | Hospital-wide KPIs, census counts, ED wait times |
| Lab Dashboard | Pending specimens, critical results, TAT counters |
| Kitchen Display | Diet order changes, new admissions, special diet alerts |
Why It Matters for the FC:
- Real-time screens reduce the need for staff to refresh or check manually
- During CRP (Conference Room Pilot), demonstrate real-time updates to wow stakeholders
- If a hospital has poor internet, real-time features may lag -- discuss infrastructure requirements during discovery
Deployment and Infrastructure
Bio Ecko is deployed on Vercel with the database on Supabase Cloud:
| Component | Infrastructure | Benefit |
|---|---|---|
| Application | Vercel Edge Network | Global CDN, auto-scaling, zero-downtime deployments |
| Database | Supabase (AWS-backed PostgreSQL) | Managed backups, point-in-time recovery, connection pooling |
| File Storage | Supabase Storage + Vercel Blob | Encrypted at rest, CDN-delivered, access-controlled |
| DNS & SSL | Vercel | Automatic HTTPS, custom domain support |
Uptime & Reliability:
- Vercel provides 99.99% uptime SLA for production deployments
- Supabase provides daily automated backups with 7-day retention (configurable)
- Point-in-time recovery allows restoring to any second in the last 7 days
FC Talking Points for Client Discussions:
- "Your data is encrypted at rest and in transit"
- "Backups happen automatically every day; we can recover to any point in the last week"
- "The system auto-scales -- whether you have 10 users or 500 online simultaneously"
- "No on-premise server to maintain -- updates are deployed with zero downtime"
Offline Considerations
Bio Ecko is a cloud-first application. It requires an internet connection to function. This is an important conversation during discovery:
What Happens If Internet Goes Down:
- Users see a connection lost indicator
- Pending form submissions are NOT saved locally (no offline mode currently)
- Once connection resumes, users continue from where they left off (session persists)
FC Guidance for Hospitals:
- Recommend a dual ISP setup (primary broadband + 4G/5G backup) for all clinical workstations
- Ensure the hospital has a UPS/inverter for network equipment (router, switches)
- For remote/rural facilities with unreliable internet, discuss if Bio Ecko is the right fit or if a hybrid approach is needed
- Document the internet dependency clearly in the BRD so there are no surprises at go-live
Future Roadmap: Progressive Web App (PWA) capabilities for critical offline workflows (e.g., vitals entry, medication administration) are on the product roadmap.
Notes
Info
When clients ask 'Is our data safe?', explain the three layers: Supabase Auth (who can log in), RLS policies (who can see what), and encryption at rest + in transit (data is unreadable even if intercepted).
Tip
During discovery, always ask about the hospital's internet infrastructure. A beautiful ERP is useless if the Wi-Fi drops every 10 minutes. Recommend a network audit before go-live.
Warning
Never share Supabase service-role keys, database connection strings, or admin credentials in emails or chat. Use the secure credential vault in Bio Ecko Settings for all sensitive configuration.
Related topics
FC Training Programme
This training programme is designed to take a complete fresher -- someone with no prior healthcare or ERP background -- and transform them into a confident...
What Is a Hospital ERP?
Enterprise Resource Planning for hospitals explained -- what it is, why hospitals need it, how it differs from generic ERP, and the module ecosystem that makes...
Data Model Primer
Key database tables, relationships, and data patterns in Bio Ecko -- a non-developer guide for functional consultants to understand how data is structured...
Patient Registration
Patient Registration is the first step in the patient journey. Every patient who visits your clinic needs a profile in the system before they can be booked for...
Staff Management
The Staff Management module maintains comprehensive employee records including personal details, qualifications, credentials, attendance, leave management, and...
Nursing Station
The Nursing Station is a dedicated workspace for nurses. It shows pending vitals recordings, medication administration schedules, and nursing assessments. For...
What Is a Hospital ERP?
Enterprise Resource Planning for hospitals explained -- what it is, why hospitals need it, how it differs from generic ERP, and the module ecosystem that makes...
Data Model Primer
Key database tables, relationships, and data patterns in Bio Ecko -- a non-developer guide for functional consultants to understand how data is structured...