Healthcare Technology

SEHA+

Lead Architect & Solo Developer

A production-grade, multi-tenant healthcare SaaS built for Seha Indonesia. I compressed a 15-month enterprise roadmap into just 15 days using AI-augmented engineering workflows — delivering a resilient system that passed 100% of client UAT.

Tech Stack

Next.js 15TypeScriptPostgreSQLRedisPrismaNextAuth.jsRadix UITailwind CSS
SEHA+ Login Preview
Quick Preview
AI-Augmented Engineering

15 Months of Roadmap
Delivered in 15 Days

By orchestrating Claude Code with a custom autonomous loop (ralph.sh), I achieved a 30x increase in development velocity. This enabled the complete architecture, implementation, and clinical UAT of SEHA+ in just two weeks — maintaining 100% data integrity and compliance.

Project Ralph: The Velocity Framework

To achieve extreme development speed without sacrificing quality, I engineered a custom orchestration bridge called ralph.sh.

This Rigorous Autonomous Verification loop leverages Claude Code to handle the heavy lifting: from decomposition of complex PRDs to cascading test suites (Unit → Integration → E2E → Edge → Chaos).

The framework ensures that only 100% verified code reaches production. If any test fails, an autonomous "Heal" session is spawned to self-correct and re-verify, enabling a zero-regression culture at high speed.

01 DECOMPOSITION

Input: PRD.md content

Output: prd.json (Tasks, Deps, Test Config)

02 PLAN REVIEW

Human-in-the-loop: User approval gate (y/n/e)

03 CONTRACT DEFINITION

Output: Shared types & Interface contracts

04 ITERATIVE TASK LOOP (PER TASK)

RESEARCH & IMPLEMENT

Exploration → Code Gen by Claude Code

CASCADING VERIFICATION

Unit → Integration → E2E → Edge → Chaos

On Failure: Spawn <heal.md> → Re-verify

The Challenge

Modernizing Indonesian Healthcare Infrastructure

Indonesian clinics still rely on paper-based medical records — leading to data loss, retrieval delays, and storage issues. Workflows between registration, examination, and billing are disconnected, and no digital solution exists for dental condition tracking.

With the Ministry of Health's SATUSEHAT mandate requiring all healthcare facilities to digitize and sync records, SEHA+ was built to bridge this gap — a modern, compliant clinic management system with end-to-end digital workflows.

Key Requirements

  • SATUSEHAT Integration for national health data exchange
  • Multi-tenant architecture for clinic chains
  • HIPAA-inspired security with field-level encryption
  • Full compliance with UU PDP and MOH Regulation 24/2022
  • Dental-specific features (Odontogram)
  • Real-time queue management system
Feature 01

Secure Authentication System

Role-Based Access Control

A clean login portal built with NextAuth.js v5, featuring email/password authentication with hardened hashing. The interface displays partner logos — BPJS Kesehatan, SATUSEHAT, Kemenkes RI, SNOMED CT, and HL7 FHIR — signaling compliance and interoperability. A language selector supports Bahasa Indonesia as the primary locale.

  • Six user roles: Super Admin, Admin, Doctor, Dentist, Nurse, Cashier
  • Industry-standard password hashing (OWASP recommended)
  • Partner integrations: BPJS, SATUSEHAT, SNOMED CT, HL7 FHIR
  • Bahasa Indonesia-first interface with language selector
  • Session management with configurable timeout
SEHA+ Login Page
Secure Login Portal
Feature 02

Multi-Tenant Clinic Management

Platform-Level Tenant Oversight

The Super Admin panel provides a bird's-eye view of all registered clinics. A platform summary shows total active tenants, patients, monthly visits, and revenue. Below it, a tenant overview table lists each clinic with real-time status, patient count, visit count, revenue, and last activity — with quick actions to view or manage each.

  • Platform-wide summary cards (tenants, patients, visits, revenue)
  • Tenant overview table with status, stats, and last activity
  • One-click tenant creation and management
  • Login-based tenant resolution and data scoping
  • Per-clinic view and configuration actions
SEHA+ Super Admin Dashboard
Super Admin Panel
Feature 03

Doctor's Operational Dashboard

Real-Time Clinical Overview

The doctor's dashboard greets the clinician by name and provides a real-time operational summary: waiting queue count, total visits today, patients being examined, completed patients, and average wait time. A 'My Patients Today' section links directly to the doctor's active queue, and a patient search bar enables quick lookup.

  • Real-time operational stats (queue, visits, wait time)
  • Personalized greeting with doctor's name and credentials
  • 'My Patients Today' quick-access panel
  • Global patient search bar
  • Active poli and doctor count indicators
  • Quick 'Add Patient' action button
SEHA+ Doctor Dashboard
Doctor's Operational Dashboard
Feature 04

Interactive Odontogram

Digital Dental Charting

A full dental charting module with a 4-quadrant, 32-tooth interactive diagram using FDI (ISO 3950) notation. Dentists click any tooth to select it, then choose from 10 condition types (Sehat, Karies, Tambalan, Mahkota, Bridge, Perawatan Saluran Akar, Dicabut, Hilang, Implan, Gigi Susu) and mark affected surfaces (Oklusal, Mesial, Distal, Bukal, Lingual).

  • 4-quadrant, 32-tooth interactive FDI diagram
  • 10 dental condition types with color-coded legend
  • 5-surface selector per tooth (O, M, D, B, L)
  • Per-tooth detail panel with condition history
  • Zoom, pan, and reset controls
  • Save and export odontogram data
SEHA+ Odontogram
Interactive Dental Charting
Feature 05

SATUSEHAT National Integration

Verified FHIR Data Exchange

SEHA+ integrates directly with Indonesia's SATUSEHAT platform via FHIR R4. The screenshot shows actual API logs from the SATUSEHAT developer portal — all POST requests returning 201 Created, confirming successful submission of clinical data including Organization, Location, Encounter, Condition, Observation, Medication, MedicationRequest, Composition, and PractitionerRole resources.

  • FHIR R4 resource creation verified with 201 Created responses
  • Organization and Location registration
  • Encounter, Condition, and Observation submission
  • Medication and MedicationRequest sync
  • Composition (clinical document) submission
  • PractitionerRole mapping to SATUSEHAT
SEHA+ SATUSEHAT Integration Proof
SATUSEHAT API Logs — All 201 Created
Feature 06

AI-Powered Clinical Assistant

Context-Aware Patient Support (Gemini-Powered)

A resizable clinical assistant powered by Google Gemini that activates during examination. While the assistant provides real-time medical record lookup and differential diagnosis, its entire implementation was orchestrated by Claude Code — enabling a rigorous autonomous verification loop that ensured 100% clinical data integrity even at extreme velocity.

  • Patient identity and medical record lookup
  • Diagnosis history review with frequency analysis
  • Medication history and drug interaction checks
  • Differential diagnosis suggestions based on current findings
  • Quick-action pill buttons for common queries
  • Advisory-only — all suggestions clearly disclaimed
SEHA+ AI Chatbot
AI Clinical Assistant
Technology

Built with Modern Tech

Next.js 15

Framework

TypeScript

Language

React 19

UI

Tailwind CSS

Styling

Radix UI

Components

PostgreSQL

Database

Redis

Cache

Prisma

ORM

NextAuth.js

Auth

Zod

Validation

Vitest

Testing

Docker

DevOps

Security

Enterprise-Grade Protection

Healthcare data requires the highest level of protection. SEHA+ implements field-level data encryption, comprehensive audit logging, and full compliance with Indonesian UU PDP and HIPAA-inspired security controls.

256-bit GCM

Field-level encryption

UU PDP

Indonesian data protection

MOH 24/2022

Medical record regulations

Hardened

Password hashing (OWASP)

Security Features

  • Field-level data encryption for PHI
  • Cryptographic hashing for searchable encrypted fields
  • TLS/HTTPS enforced in production
  • Comprehensive audit logging with before/after values
  • Rate limiting (100 req/min authenticated)
  • CSP, HSTS, X-Frame-Options security headers
Explore

Solo Architect. 15-Day Velocity.

SEHA+ isn't just a clinic management system—it's a demonstration of how a solo lead architect can deliver 15 months of enterprise-grade engineering in 15 days via AI-augmented workflows and Project Ralph.

Visit Live Demo