Clinic
Psychology & People Development
Portal klinik
Practice Management
Pendaftaran, catatan, invoice, dan bagi hasil dalam satu website.
Input Data Klien
Daftar anak / dewasa, layanan, psikolog
Catatan Psikolog
Form pendek atau klinis setelah sesi
Kirim ke Psikolog
Email konfirmasi sesi yang belum terkirim
Laporan MHCU
Generate PDF DASS-42, kirim lampiran
Pembagian Hasil
Slip 60/40 per psikolog per periode
Invoice Overtime
Buat PDF OT lalu kirim ke klien
Portal klinik: daftar klien, catatan psikolog, MHCU, bagi hasil, dan overtime — satu website.
04 / Product
Therapy Practice Management
A therapy practice management system — patient records, booking sessions, payments, and daily reports.
03 / Context
Problem
Psychology clinics struggle with patient records scattered across books and chat. Session scheduling conflicts, payment tracking is manual, and daily reports are hard to compile.
04 / Concept
Solution
Built a unified practice management system: patient database with full history, automatic session scheduling with conflict prevention, integrated payment tracking, and one-click daily reports.
01 / Outcome
Deliverable
- Patient CRUD with complete identity and history
- Website booking form — replaces Google Forms
- Session notes, invoices, MHCU, and profit-sharing slips
- Daily, weekly, monthly reports + therapist commission recap
02 / Process
Workflow
- 1Prospective patient fills booking form → creates account
- 2Therapist schedules session, system prevents conflicts
- 3After session, notes and invoice are created
- 4Payment recorded → MHCU and profit-sharing auto-calculated
- 5Admin downloads daily reports
05 / System
Architecture
- UI: Next.js with form validation and modal for CRUD
- State: booking status, session notes, payment flow in React
- Data: Client, Session, Invoice, MHCU, Therapist tables
- Output: PDF notes, MHCU, invoices, and WhatsApp notifications
06 / Diagram
Flowchart
Admin bekerja di Admin Panel (tombol MHCU, kirim email, bagi hasil, overtime). Psikolog mengisi Form Upload Catatan Psikologis — bukan dashboard admin.
Admin klinik
Admin PanelPanel tombol: daftar klien di website, generate MHCU, kirim catatan/invoice, pembagian hasil, template email, hapus data. Bukan spreadsheet.
Psikolog
Form catatan psikologForm terpisah: pilih tipe catatan pendek/panjang, pilih klien & layanan, isi hasil konsultasi atau unggah file klinis, submit PDF.
| Menu | Admin | Psikolog |
|---|---|---|
| Input data klien | ● | ○ |
| Form catatan konsultasi | ○ | ● |
| Kirim ke psikolog | ● | ○ |
| Kirim catatan ke klien | ● | ○ |
| Generate / kirim MHCU | ● | ● |
| Invoice overtime | ● | ○ |
| Pembagian hasil / slip | ● | ● |
| Template email | ● | ○ |
PANEL ADMIN
Menu admin panelBuka panel
Input data klien
Form website, bukan Google FormKirim ke psikolog
Email konfirmasi sesiAda overtime?
Tidak · Lanjut catatan/MHCUYa · Buat + kirim invoice OTGenerate bagi hasil
Pilih periodeSelesai
FORM PSIKOLOG
Catatan pendek / klinisBuka form catatan
Pilih tipe + klien
Pendek / panjangIsi hasil konsultasi
Kondisi, rekomendasi, OTCatatan klinis?
Tidak · Catatan pendek sajaYa · Upload PDF/DOCSubmit catatan
PDF tersimpan
SISTEM
PDF, email, rekapValidasi form
Tulis Klien / Sesi
Hitung invoice + admin
Catatan tersimpan?
Tidak · Tunggu psikologYa · Generate PDF DriveEmail klien / psikolog
Rekap 60/40 ke slip
Commit
07 / Data
Database Design
Skema website klinik. Setiap garis menghubungkan dua tabel yang bertetangga: PK emas, FK hijau. Kaki gagak = sisi banyak.
08 / Features
Full Features
Clinic website modules — from client CRUD and psychologist portal to invoices, MHCU, and profit-sharing slips.
Client CRUD
Add, edit, search, and delete child/adult clients on the website: identity, WhatsApp, email, address, concerns. No Google Form or spreadsheet rows.
Sessions & schedule
Create service per client: type, medium (online/onsite), date, time, psychologist. One client can have multiple sessions.
Automatic invoice
Invoice number, service fee + admin, discount, payment status. PDF ready to email to client.
Overtime invoice
Overtime duration from session notes triggers an additional invoice. Generate PDF, then send to client.
Psychologist portal
Psychologists log in to their own page. View assigned sessions, fill consultation results, download slips.
Consultation notes form
Brief notes (condition, recommendation, follow-up assessment) or clinical notes (upload + service type). Linked to client session.
Send notes to client
Choose brief / long / both. Email + PDF, send date recorded on session.
MHCU report (DASS-42)
Generate MHCU summary PDF, save to client folder, send to psychologist as attachment.
Salary slip & profit-sharing
Session recap per psychologist per period. 60% psychologist / 40% clinic. Generate slip PDF, mark sessions as recapped.
Psychologist & service master
CRUD psychologists (email, active status) and service list + rates. Used automatically in session and invoice forms.
Email templates
Psychologist confirmation and notes delivery body, with placeholders for name, schedule, medium, and phone number.