HealthTech HQ Sync 44+ stakeholder roles 55+ products 48+ revenue streams 17 markets 18+ scheme paths 85+ OSS components Launch ready on subdomain, folder, or white-label
Platform Pulse 18 role journeys 253+ modules 48+ revenue paths 55+ products 17 markets 12+ deployment profiles regional & global languages 40+ compliance frameworks Launch deployment map

Architecture & Data Model

Tenant-Aware Database Schema

A practical reference for the core entities, relationships, security controls, subscriptions, add-ons, devices, AI context, and audit visibility required to run the full IdeaDunes healthcare platform cleanly at scale.

253+

Platform modules mapped into the schema

18

Role-aware journeys tied to records

48+

Subscription and expansion motions

130+

API routes supported by the model

Design Principles

What the schema is optimized for

Tenant isolation

Every clinical, financial, AI, and audit object is scoped to the correct tenant, branch, department, and user role so data stays separated and secure.

Operational continuity

Appointments, encounters, labs, billing, pharmacy, and documents stay interconnected across the full care journey for both demo-safe and live tenant states.

Growth and monetization

Plans, subscriptions, add-ons, service entitlements, devices, and support layers are modeled as first-class business entities instead of afterthoughts.

Core Clinical Tables

Patient and care-delivery entities

TableImportant fieldsPurpose
tenantsid, tenant_code, name, facility_type, locale, timezone, plan_code, statusTop-level business and deployment boundary
branchestenant_id, branch_name, city, state, address, contact_noMulti-branch and network facility structure
patientstenant_id, uhid, abha_id, first_name, last_name, gender, dob, mobile, consent_statusMaster patient identity and demographic profile
appointmentstenant_id, patient_id, provider_id, slot_time, queue_no, channel, statusScheduling, reminder, and follow-up orchestration
encounterstenant_id, patient_id, encounter_type, doctor_id, department_id, visit_status, diagnosis_codeOPD, IPD, emergency, telemedicine, and visit history
clinical_notesencounter_id, note_type, soap_json, vitals_json, allergy_json, medication_jsonClinical documentation and contextual EMR continuity
documentstenant_id, patient_id, encounter_id, doc_type, file_path, source_device, verified_byConsent forms, scans, summaries, IDs, MRD records

Billing, Claims & Revenue

Financial entities that support real healthcare commercialization

TableImportant fieldsPurpose
invoicestenant_id, patient_id, invoice_no, gross_amount, discount, net_amount, payer_typePatient billing and package charging
paymentsinvoice_id, mode, reference_no, received_amount, collected_by, posted_atCollections and reconciliation
claimstenant_id, patient_id, scheme_code, tpa_name, claim_status, submitted_at, approved_amountPM-JAY, RGHS, insurance, and TPA workflows
subscriptionstenant_id, plan_code, billing_cycle, user_seats, storage_limit, renewal_at, statusSaaS plan control and renewals
subscription_addonssubscription_id, addon_code, addon_type, quantity, monthly_fee, activation_statusAI, compliance, hardware, migration, support, and white-label upsells
service_orderstenant_id, service_type, delivery_scope, owner_team, sla_target, commercial_statusImplementation, training, migration, and managed services

Devices, Printing & Sync

Tables for real-world hospitals using scanners, kiosks, labels, and mixed networks

TableImportant fieldsPurpose
devicestenant_id, branch_id, device_type, serial_no, driver_profile, ip_address, health_statusPrinters, scanners, kiosks, barcode devices, tablets, biometric units
print_jobstenant_id, device_id, template_code, job_type, status, requested_by, rendered_atPrescription, label, bill, consent, and discharge printing
scan_ingest_queuetenant_id, patient_id, source_device, ingest_status, ocr_state, verified_atScanned document capture and processing
offline_sync_batchestenant_id, device_id, sync_token, event_count, uploaded_at, conflict_stateOffline form autosave and later synchronization

Security, AI & Audit

Visibility and traceability across users, assistants, and tenants

TableImportant fieldsPurpose
userstenant_id, role_code, email, mobile, last_login_at, mfa_enabled, statusAccess control and role-specific visibility
role_permissionsrole_code, module_code, action_code, scope_type, granted_byRole-based authorization mapping
audit_eventstenant_id, actor_id, module, action, entity_type, entity_id, ip, created_atWho did what, when, where, and to which record
ai_sessionstenant_id, actor_id, context_type, patient_id, confidence, action_taken, reviewed_byAssistant context, suggestion traceability, and approvals
security_incidentstenant_id, severity, source, summary, opened_at, resolved_at, ownerThreat monitoring and security response visibility

Linked References

Connect the data model to rollout and integration planning

Open API docs View deployment map Device access coverage

Get Started Today

Transform Your Healthcare Practice with IdeaDunes

Join hundreds of hospitals and clinics using IdeaDunes to streamline operations, improve patient care, and grow revenue. Start your free trial — no credit card required.

Start Free 30-Day Trial Schedule Live Demo

No credit card required • Free onboarding • Cancel anytime

Role Quick Start

Every major live page now routes back to the right stakeholder journey

Executives, hospital teams, partners, government buyers, and patient-facing users can jump directly to their correct next step from anywhere in the web experience.

Stakeholder Center Command Centers Deployment Map Sign In Free Trial Contact
Leadership Hospital Admin Clinical Staff Revenue & Claims IT & Assurance Partner Government Patient / Family
18 role journeys 253+ modules 48+ revenue paths 12+ deployment profiles