ITB Healthcare Reservation & Quota Engine
Modernized and engineered an institutional-scale clinic booking and clinical screening infrastructure for Institut Teknologi Bandung (UPT Layanan Kesehatan ITB / Bumi Medika Ganesha). Architected high-concurrency doctor-shift quota matching, automated BPJS PCare API bridging, Azure AD SSO integration, and multi-profile patient workflows handling 73,000+ patient records and 58,000+ transactional logs across 47 relational tables.
The Problem
UPT Layanan Kesehatan ITB (Bumi Medika Ganesha / BMG) serves tens of thousands of active students, lecturers, academic staff, and their families across Ganesha and Jatinangor campuses. During peak academic medical check-up (MCU) cycles and routine consultations, the legacy system experienced severe booking concurrency bottlenecks, slot overbooking, and synchronization delays with national health insurance services.
The operational challenge required modernizing the reservation pipeline with strict transactional concurrency to prevent race conditions during slot bookings, automating real-time participant eligibility checks via the BPJS PCare API, and establishing enterprise single sign-on (SSO) with Microsoft Azure AD while maintaining complete audit trails across 73,000+ patient records.
My Contribution
I engineered the full-stack architecture, database models, and external bridging integrations for the modernized Reservasi V2 platform.
Dynamic Quota & Shift Engine
BPJS PCare API Bridging
Enterprise Identity & SSO
Clinical Screening & Documents
System Architecture & Database Integrity
A deep breakdown of the high-throughput architecture supporting 73,000+ patient records, zero-race-condition quota matching, and external interoperability.
Concurrency & Atomic Quota
To prevent overbooking during high-demand doctor shifts, slot allocations are wrapped in transactional atomic queries with pessimistic row locking. If multiple users attempt to reserve the final remaining quota simultaneously, requests are serialized safely without data corruption.
BPJS Signature & API Fallback
Bridging communications with BPJS PCare use cryptographic HMAC authorization headers generated per-request with UTC timestamp validation. Network timeouts or service downtimes trigger automated retry queues and graceful offline logging to prevent user booking blockage.
Normalized 47-Entity Schema
Structured 47 relational tables separating identity (`pengguna`), patient medical masters (`pasien`), family hierarchies (`keluarga_pasien`), doctor shifts (`shift`, `jadwal_layanan`), and transactional event logs (`log_reservasi`, `log_reservasi_mcu`, `log_srq20`) to maintain 3NF normalization.
System Features & User Journeys
Explore the core functional modules of the ITB healthcare platform through live UI captures.
Interface & Architecture Gallery
Comprehensive system screenshots capturing administrative controls, clinical workflows, and multi-user modules. Click any image to view in full resolution.
Antarmuka Pemesanan Layanan Klinik V2
Sistem kalender FullCalendar yang memetakan ketersediaan kuota dan jadwal shift dokter secara real-time.
Pencocokan Dokter & Sisa Kuota Jam
Alokasi slot jam pelayanan pagi/siang dengan visualisasi sisa kuota yang transparan per dokter.
E-Tiket & Barcode Nomor Antrean
Bukti reservasi digital resmi yang memuat Nomor Antrean A001 dan barcode untuk verifikasi saat hadir di klinik.
Diagram Arsitektur Sistem 5 Lapis
Pemetaan alur end-to-end dari Azure AD SSO, Quota Matcher, SRQ-20, BPJS PCare API, hingga 47 tabel MySQL.
Katalog Konsultasi Dokter Spesialis
Pilihan poliklinik spesialis mencakup Spesialis Jiwa, Spesialis Mata, dan Spesialis Penyakit Dalam.
Surat Keterangan Sehat & Telefarmasi
Pengajuan surat keterangan sehat (SKS), tes buta warna, bebas narkoba, MMPI, dan tebus resep Apotek Ganesa.
Portal Dasbor Utama Civitas ITB
Antarmuka beranda terpadu civitas akademika ITB yang memuat status profil dan gerbang akses layanan faskes.
Manajemen Profil Pasien & Keluarga
Struktur data hierarkis untuk menghubungkan civitas akademika ITB dengan tanggungan keluarga untuk layanan kesehatan terpadu.
Engineering Decisions, Data Validation & Access Governance
Institutional single-source-of-truth (SSOT) validation, concurrency protection across 47 MySQL tables, and strict healthcare privacy boundaries.
Data Validation & Unification Rules
Key Engineering Decisions
Access Governance & Patient Privacy Matrix
| Institutional Role | Authorized Data Scope | Access Restriction & Data Sovereignty |
|---|---|---|
| Civitas ITB / Pasien | Own profile, registered family dependents, personal queue tickets & medical PDFs | Authenticated via Azure AD / ITB SSO + Email OTP; strict ownership check prevents viewing other patients' records |
| Dokter & Tenaga Medis | Assigned polyclinic queue, SRQ-20 screening risk indicators & medical notices | Scoped to scheduled shift patients only; prohibited from altering system quota policies or cross-unit admin configs |
| Admin Poli / UPT Kesehatan | Shift quota orchestration, BPJS sync audit logs & MCU/SKS institutional reporting | Audited administrative trace across reservations without raw SSO password exposure |
Why This Matters for Machine Learning & Applied AI Engineering
In real-world enterprise environments, machine learning systems do not operate in a vacuum. A model is only as effective as the software infrastructure that feeds it data, enforces concurrency, and integrates its predictions into production workflows.
Developing and maintaining the ITB healthcare platform gave me hands-on mastery over transactional consistency across 47 relational tables, high-throughput slot matching algorithms, and enterprise API bridging (BPJS & Azure AD). This provides the exact foundation required of a T-Shaped Machine Learning Engineer: the rare ability to build sophisticated predictive systems while possessing the software engineering rigor to deploy and scale them reliably for tens of thousands of real users.