Healthcare SaaS Architecture — Phase 1 Live

Seamless Patient Referrals. Connected Healthcare.

ReferCare connects referring doctors, specialists, hospitals, diagnostic centres, and patients across India. Experience structured clinical handovers, zero paperwork loss, and real-time triage.

14-State
Lifecycle Engine
< 200ms
API Response Time
DPDP Act
2023 Compliant
MySQL 8+
Prisma 7 ORM
Standardized Workflow

End-to-End Referral State Machine

Every patient referral progresses through an immutable, auditable state machine with strict role-based access at each milestone.

Step 01

Draft & Validate

Referring doctor prepares clinical narrative and labs

Step 02

Submit & Log

Idempotent submission with immutable timestamp

Step 03

Clinical Triage

Receiving team reviews urgency & medical specialty

Step 04

Accept & Assign

Allocated to designated specialist or consultant

Step 05

Appointment

Slot booked without calendar double-booking

Step 06

Outcome & Close

Consultation notes sent back to referring doctor

Multi-Role SaaS Ecosystem

Built for Every Stakeholder in Care

Tailored interfaces and strict permission boundaries for healthcare professionals across the continuum.

Referring Doctors

Find verified specialists and hospitals by geography, specialty, and wait time. Submit complete clinical packages with lab reports and track status live.

  • Verified Indian provider directory
  • Clinical question bookmarks & draft autosave
  • Real-time consultation closure feedback

Hospitals & Receiving Teams

Centralized incoming triage queues, automated urgency flags (routine, urgent, two-week-wait), and instant specialist assignment.

  • Departmental and doctor-specific queues
  • Structured request-for-info loops
  • No-conflict appointment scheduling

Coordinators & Patients

Referral coordinators manage scheduling bottlenecks while patients receive SMS, email, and portal notifications for appointments.

  • Attendance tracking & no-show management
  • In-hospital doctor-to-doctor handovers
  • Patient consent management & transparency
Security by Design

Healthcare Data Security Without Compromise

ReferCare implements enterprise healthcare standards with granular multi-tenant isolation. No patient data or doctor credentials leak across organization boundaries.

Strict Server-Side Authorization

Every database query enforces organization isolation, role membership, and record-level participation.

Immutable Audit Trail

Every referral creation, view, status transition, and assignment is permanently logged with IP and actor metadata.

System Health & Phase 1 Verification

Live connection verification to the active ReferCare stack

Backend APIExpress 5.x on :8035
Database EngineMySQL 8+ (InnoDB, utf8mb4)
ORM & DriverPrisma 7.10.1 + Driver Adapter
Frontend AppNext.js 16.4.3 (App Router)
AuthenticationBetter Auth 1.7.14