M.HMuhammad Hashir
  • Work
  • Principles
  • Experience
  • Contact
WorkCV ↓
← All work

SymCloud·2026

SymClinic

Clinic and hospital management platform for many clinics

RoleSole engineer: specification, build, deployment and client

Problem

Clinics needed reception, doctors, lab, pharmacy, billing and inventory in one automated system, with every clinic's data kept strictly separate.

Actions

  • Automated workflow from reception through doctor, payment, lab, tests, pharmacy and inventory, in a single web app.
  • Strictly isolated clinic data, with role-based permissions per clinic.
  • Live queue on staff screens and the waiting-room display.

Result

Reception → inventory

one automated web app, every clinic's data isolated

Architecture primary focus data outside
RECEPTIONLIVE QUEUEWAITING-ROOM SCREENDOCTORLABPHARMACYSURGERYBILLING
RECEPTIONLIVE QUEUEWAITING-ROOM SCREENDOCTORLABPHARMACYSURGERYBILLING

Details

SymClinic runs a clinic: patients, queues, consultations, lab tests, prescriptions, pharmacy sales, surgeries, invoices and stock. Many clinics share one platform, each fully separated.

Responsible for requirements, specification, database design and the build of both the clinic portal and the admin portal that onboards new clinics.

Automated from reception to inventory

Reception registers the patient and issues a queue token. The doctor sees their queue, records the consultation (across several days if needed) and orders tests, medicines or surgery. Each order reaches the lab, pharmacy or surgery and adds its charge to one invoice, which stays pending until it's paid. Pharmacy sales reduce stock as they are made, so inventory stays current without manual updates.

Access by role, per clinic

Staff can work at more than one clinic, with a different role in each. Every action checks a detailed permission matrix, and staff sign in with a clinic code, so one clinic can never see another's data. Deleted records go to an archive where an admin can restore or permanently remove them.

The hard part

A live queue without leaking data

The queue had to update instantly on the reception, doctor and waiting-room screens. Next.js runs behind a custom Node server with Socket.IO; each connection is verified against the user's session token and placed in its own clinic's channel, so live updates never reach another clinic. The waiting-room screen uses a separate signed link and exposes only what a patient may see.

Stack, and why

  • Next.js + custom Node serverpages and live updates in one process
  • Socket.IOauthenticated, per-clinic live queue
  • PostgreSQL + Prismaone shared database, separated by clinic
  • Winston + Graylogstructured, searchable production logs

Next case study

Daffodils School System →