Core Modules Reference
Select a module below to inspect its operational features, database triggers, and business requirements.
🔑 Authentication & Users
Manages user identity, login session states, and credentials security.
- Login Flows: Email + Password login for administrative panels, Phone OTP for mobile clients, and Re-Login refreshes.
- Impersonation: Enables Super Admins to log in as any clinic tenant staff for debugging support.
- Audit Logging: Logs IP addresses and browser agent strings upon authentication.
🏥 Clinic Management (Tenants)
Clinics are the main tenant objects. Each clinic manages separate data, records, and configs.
- Geographic Coordinates: Stores latitude and longitude values for map proximity searches.
- Financial Settings: Toggles auto-deletion of doctor shares upon invoice removal, and service tax configurations.
- Gallery: Supports image assets uploads for the clinic's public profile page.
🩺 Doctor Profiles & Income Splits
Manages doctor profile data, availability rosters, and clinical payment shares.
- Roster Settings: Assigns active doctors to specialized clinical departments.
- Split Formula: Supports dynamic split settings per consultation type (OPD, Video, Emergency). Splits can be configured as fixed fees or ratio percentages.
- Doctor Reviews: Stores patient ratings and text reviews for doctor profiles.
👤 Patient Records & Family Accounts
Tracks patient demography and links medical records across multiple clinics.
- MRN Codes: Automatically generates Medical Record Numbers (MRN) during client registration.
- Family Linkage: Links different patient profiles in multiple clinics to a single global Family Member account.
- Vitals Log: Captures height, weight, pulse rate, body temperature, and blood pressure indices.
📅 Appointment Lifecycle
Controls the states of consultation bookings from initiation to final billing.
- Consultation Types: Integrates OPD in-person visits, Telemedicine video consultation, and Emergency actions.
- Status Audit Logs: Tracks status logs (Pending, Confirmed, Visited, Completed, Rescheduled, Cancelled).
- Reassignment: Allows reassigning appointments to alternate doctors.
📄 Invoicing & Patient Payments
Manages medical receipts, taxes, and payment gateways.
- Auto-generation: Invoices are generated automatically when appointments reach Visited or Completed.
- Payment Triggers: Triggers doctor split calculation ledgers once payment status is updated to Paid.
- PDF Generator: Renders print-ready receipts with custom clinic branding.
🔬 Pathology & Diagnostics Lab
Supports test booking workflows and digital laboratory reports.
- Test Catalog: Manages test categories, single pathology tests, and complex sub-tests.
- Diagnostic Cart: Tracks lab carts for ordering multiple tests.
- Report Uploads: Allows lab staff to upload pathology charts and report documents.
💳 SaaS Subscriptions & Billing
Handles tenant monetization and feature limit enforcement.
- Plan Tiers: Configures restrictions (Maximum doctors, Maximum patients, Active clinics).
- Enforcement Gates: Locks operations if renewal fails, allowing read-only access.