Clinic operations platform

MediCare

A patient and clinic-management system covering patient administration, appointments, clinical records, billing, staff permissions and an embeddable scheduling service.

Product work and architecture overview by Savi Saluwadana.

GoNext.jsPostgreSQLSchedulingRBACDocker

What it does

Who it serves
Clinic staff, doctors, billing operators, administrators and patients.
Product purpose
Patient administration, appointments, clinical records and billing.
  • Patient profiles and conflict-aware appointment scheduling.
  • Clinical records with SOAP notes, vitals and prescriptions.
  • Billing records, payment tracking and operational dashboards.
  • Staff management and a separate embeddable scheduling API.

How it works

  1. Clinic staff register a patient or arrange an appointment.
  2. The Go API validates identity, role permissions and domain requests.
  3. PostgreSQL stores patient, appointment, clinical and billing state.
  4. A separate scheduling service supports website embeds within its intended scheduling boundary.

Architecture

Next.js → Go API + scheduling service → PostgreSQL

MediCare architectureClinic workspace connects to Clinic API. Website scheduling connects to Scheduling service. Clinic API connects to Clinic records. Scheduling service connects to Clinic records.Clinic workspaceNext.js / TypeScriptWebsite schedulingEmbeddable experienceClinic APIGo / Chi / GORMScheduling serviceSeparate Go APIClinic recordsPostgreSQL
Component overview. Arrows show requests and data flow between the main parts of the product.
MediCare components and responsibilities
ComponentResponsibility
Next.jsPatient, appointment, clinical, billing and admin interfaces.
Go domain APIJWT sessions, role checks and clinic workflows.
Scheduling APISeparate service boundary for embeddable appointments.
PostgreSQLPatient and operational records persisted by the backend.

Current scope

The main clinic API and embeddable scheduling API use separate service boundaries. Server-enforced roles separate clinical, billing and administrative access.

Architecture summary reviewed . The repository is private; this page provides a public product summary.